diff options
author | Marius Mauch <genone@gentoo.org> | 2008-02-09 12:04:51 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2008-02-09 12:04:51 +0000 |
commit | 16533c84e959632f9f692c91fe997c484d37e203 (patch) | |
tree | 88b38be11dcbbf4d360d7d6686c60aee478629c9 | |
parent | a014735f374f9ec57c6b64bc4708b802d8f24cc4 (diff) | |
download | portage-16533c84e959632f9f692c91fe997c484d37e203.tar.gz portage-16533c84e959632f9f692c91fe997c484d37e203.tar.bz2 portage-16533c84e959632f9f692c91fe997c484d37e203.zip |
removing obsolete cruft
svn path=/main/trunk/; revision=9307
-rwxr-xr-x | make-man-tarball.sh | 13 | ||||
-rwxr-xr-x | tarball.sh | 58 |
2 files changed, 0 insertions, 71 deletions
diff --git a/make-man-tarball.sh b/make-man-tarball.sh deleted file mode 100755 index 0f1f3ed4d..000000000 --- a/make-man-tarball.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -if [ -z "$1" ] ; then - echo "Usage: $0 <version>" - exit 1 -fi - -find man -name '*.eclass.5' > man-page-list -tar -jcf portage-manpages-${1}.tar.bz2 --files-from man-page-list -echo "Packed away $(wc -l man-page-list | cut -f1 -d' ') manpages" -rm -f man-page-list - -ls -l portage-manpages-${1}.tar.bz2 diff --git a/tarball.sh b/tarball.sh deleted file mode 100755 index 1422fce2e..000000000 --- a/tarball.sh +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/bash -# $Id$ - -if [ -z "$1" ]; then - echo - echo "You need to have the version specified." - echo "e.g.: $0 2.0.39-r37" - echo - exit 0 -fi - -export PKG="portage" -export TMP="/tmp" -export V="$1" -export DEST="${TMP}/${PKG}-${V}" -export PREVEB="2.0.49_pre2" - -./tabcheck.py bin/emerge `find ./ -type f -name '*.py'` - -if [ -e $TMP/${PKG}-${V} ]; then - echo EXISTS ALREADY - exit 1 -fi - -rm -rf ${DEST} -install -d -m0755 ${DEST} -#get any binaries out of the way -cd src/sandbox-1.1 -make clean -cd ../.. -for x in bin cnf man pym src -do - cp -ax $x ${DEST} -done -# Clean invalid sandbox sources -rm -rf ${DEST}/src/{sandbox,sandbox-dev} -cp ${DEST}/pym/portage.py ${DEST}/pym/portage.py.orig -sed '/^VERSION=/s/^.*$/VERSION="'${V}'"/' < ${DEST}/pym/portage.py.orig > ${DEST}/pym/portage.py -cp ${DEST}/man/emerge.1 ${DEST}/man/emerge.1.orig -sed "s/##VERSION##/${V}/g" < ${DEST}/man/emerge.1.orig > ${DEST}/man/emerge.1 -rm ${DEST}/pym/portage.py.orig ${DEST}/man/emerge.1.orig -rm ${DEST}/man/*.eclass.5 - -sed -i -e "s:\t: :g" ChangeLog -cp ChangeLog ${DEST} - -cd ${DEST} -find -name CVS -exec rm -rf {} \; -find -name '*~' -exec rm -rf {} \; -find -name '*.pyc' -exec rm -rf {} \; -find -name '*.pyo' -exec rm -rf {} \; -chown -R root:root ${DEST} -cd $TMP -rm -f ${PKG}-${V}/bin/emerge.py ${PKG}-${V}/bin/{pmake,sandbox} ${PKG}-${V}/{bin,pym}/'.#'* ${PKG}-${V}/{bin,pym}/*.{orig,diff} ${PKG}-${V}/{bin,pym}/*.py[oc] -tar cjvf ${TMP}/${PKG}-${V}.tar.bz2 ${PKG}-${V} - -#scp ${TMP}/${PKG}-${V}.tar.bz2 carpaski@twobit.net:/home/html/gentoo/portage/ -#scp ${TMP}/${PKG}-${V}.tar.bz2 carpaski@zarquon.twobit.net:/home/www/localhost/htdocs/gentoo/portage/ |