summaryrefslogtreecommitdiffstats
path: root/tarball.sh
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2008-02-09 12:04:51 +0000
committerMarius Mauch <genone@gentoo.org>2008-02-09 12:04:51 +0000
commit16533c84e959632f9f692c91fe997c484d37e203 (patch)
tree88b38be11dcbbf4d360d7d6686c60aee478629c9 /tarball.sh
parenta014735f374f9ec57c6b64bc4708b802d8f24cc4 (diff)
downloadportage-16533c84e959632f9f692c91fe997c484d37e203.tar.gz
portage-16533c84e959632f9f692c91fe997c484d37e203.tar.bz2
portage-16533c84e959632f9f692c91fe997c484d37e203.zip
removing obsolete cruft
svn path=/main/trunk/; revision=9307
Diffstat (limited to 'tarball.sh')
-rwxr-xr-xtarball.sh58
1 files changed, 0 insertions, 58 deletions
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/