diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-03-12 17:52:19 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-03-12 17:52:19 +0000 |
commit | dd5d7fd368bd4a1cd08459272672c0385cab8370 (patch) | |
tree | 3a5522088cee5dee6c62978a0fdeb2968be29825 /app-admin | |
parent | changed sys-devel/perl to dev-lang/perl (diff) | |
download | gentoo-2-dd5d7fd368bd4a1cd08459272672c0385cab8370.tar.gz gentoo-2-dd5d7fd368bd4a1cd08459272672c0385cab8370.tar.bz2 gentoo-2-dd5d7fd368bd4a1cd08459272672c0385cab8370.zip |
removed emerge-webrsync since it's in portage now
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/gentoolkit/files/digest-gentoolkit-0.1.19 | 0 | ||||
-rw-r--r-- | app-admin/gentoolkit/files/scripts/emerge-webrsync | 81 | ||||
-rw-r--r-- | app-admin/gentoolkit/gentoolkit-0.1.19.ebuild | 75 |
3 files changed, 0 insertions, 156 deletions
diff --git a/app-admin/gentoolkit/files/digest-gentoolkit-0.1.19 b/app-admin/gentoolkit/files/digest-gentoolkit-0.1.19 deleted file mode 100644 index e69de29bb2d1..000000000000 --- a/app-admin/gentoolkit/files/digest-gentoolkit-0.1.19 +++ /dev/null diff --git a/app-admin/gentoolkit/files/scripts/emerge-webrsync b/app-admin/gentoolkit/files/scripts/emerge-webrsync deleted file mode 100644 index 877145ef0f93..000000000000 --- a/app-admin/gentoolkit/files/scripts/emerge-webrsync +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoolkit/files/scripts/emerge-webrsync,v 1.11 2003/02/14 22:05:32 vapier Exp $ -# Author: Karl Trygve Kalleberg <karltk@gentoo.org> -# Rewritten from the old, Perl-based emerge-webrsync script - -if [ -e /usr/bin/spython ] -then - #1.0_rc6 and earlier - PYTHON=/usr/bin/spython -else - #1.0 and later - PYTHON=/usr/bin/python -fi - -GENTOO_MIRRORS="`${PYTHON} -c 'import portage; print portage.settings["GENTOO_MIRRORS"];'`" -syncpath="/var/tmp/emerge-webrsync" - -if [ ! -d $syncpath ] ; then - mkdir -p $syncpath -fi - -cd $syncpath - -found=0 -attempts=0 -download=1 -if [ "$1" == "-v" ] ; then - wgetops= -else - wgetops=-q -fi - -if [ "$1" == "-n" ] ; then - download=0 -fi - -sync_local() { - echo Syncing local tree... - tar jxf $file - rm -f $file - # Make sure user and group file ownership is root - chown -R root:root portage - cd portage - rsync -av --progress --stats --delete --delete-after \ - --exclude='distfiles/*' --exclude='packages/*' . /usr/portage - cd .. - rm -rf portage -} - -echo "Fetching most recent snapshot" - -while (( $attempts < 40 )) ; do - - day=`date -d "-$attempts day" +"%d"` - month=`date -d "-$attempts day" +"%m"` - year=`date -d "-$attempts day" +"%Y"` - - file="portage-${year}${month}${day}.tar.bz2" - - if [ -f $file ] && [ $download == 0 ] ; then - sync_local - exit 0 - fi - - for i in $GENTOO_MIRRORS ; do - url="${i}/snapshots/$file" - rm -f $file - - if (wget $wgetops $url) && [ -s $file ] ; then - sync_local - exit 0 - fi - done - attempts=$[attempts+1] -done - -rm -rf portage - -exit 1 diff --git a/app-admin/gentoolkit/gentoolkit-0.1.19.ebuild b/app-admin/gentoolkit/gentoolkit-0.1.19.ebuild deleted file mode 100644 index fd8875461d1e..000000000000 --- a/app-admin/gentoolkit/gentoolkit-0.1.19.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoolkit/gentoolkit-0.1.19.ebuild,v 1.2 2003/03/11 21:11:43 seemant Exp $ - -DESCRIPTION="Collection of unofficial administration scripts for Gentoo" -SRC_URI="" -HOMEPAGE="http://www.gentoo.org/~karltk/projects/gentoolkit/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ppc sparc alpha mips hppa arm" - -DEPEND=">=dev-lang/python-2.0 - >=dev-util/dialog-0.7 - >=dev-lang/perl-5.6 - >=sys-apps/grep-2.5-r1" - -src_install() { - dodir /usr/share/gentoolkit - - insinto /usr/share/gentoolkit - doins ${FILESDIR}/portage-statistics/histogram.awk - - dobin ${FILESDIR}/gentool/gentool-bump-revision - dobin ${FILESDIR}/gentool/gentool-total-coverage - dobin ${FILESDIR}/gentool/gentool-author-coverage - dobin ${FILESDIR}/gentool/gentool-package-count - docinto gentool - dodoc ${FILESDIR}/gentool/ChangeLog - - dobin ${FILESDIR}/scripts/qpkg - doman ${FILESDIR}/scripts/qpkg.1 - fowners root:wheel /usr/bin/qpkg - fperms 0750 /usr/bin/qpkg - - dobin ${FILESDIR}/scripts/dep-clean - doman ${FILESDIR}/scripts/dep-clean.1 - fowners root:wheel /usr/bin/dep-clean - fperms 0750 /usr/bin/dep-clean - - dobin ${FILESDIR}/scripts/pkg-size -# 2002-08-06: karltk -# This utility currently does more harm than good. I'm not including it -# until it has been fixed properly. See #5777 in particular. -# dobin ${FILESDIR}/scripts/useflag -# doman ${FILESDIR}/scripts/useflag.1 - - dosbin ${FILESDIR}/scripts/pkg-clean - dosbin ${FILESDIR}/scripts/mkebuild - dosbin ${FILESDIR}/scripts/emerge-webrsync -# dosbin ${FILESDIR}/scripts/epm - -# dobin ${FILESDIR}/lintool/lintool -# doman ${FILESDIR}/lintool/lintool.1 -# docinto lintool -# dodoc ${FILESDIR}/lintool/{checklist-for-ebuilds,ChangeLog} - - dobin ${FILESDIR}/scripts/echangelog - dobin ${FILESDIR}/scripts/ekeyword -} - -pkg_postinst() { - ewarn "The 'useflag' utility has been removed, pending an overhaul. It has proven to be too brittle to be used safely." - ewarn "The 'etc-update' utility has been moved to portage." - einfo "" - einfo "emerge-webrsync -v displays the wget status" - einfo "since epm is now it's own package please emerge it yourself sys-apps/epm" - einfo "" - einfo "if you are upgrading from gentoolkit-0.1.17-r7 or earlier and" - einfo "you're using mkebuild, please remove ~/.mkebuild to update your settings" - einfo "" - einfo "dep-clean has been re-incarnated at the request of dragon. The new version" - einfo "is much faster and better than the old one, and is included herein" - -} |