summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Guertin <gerk@gentoo.org>2003-02-27 21:44:27 +0000
committerMark Guertin <gerk@gentoo.org>2003-02-27 21:44:27 +0000
commitf94cd7ca4b1d92b52a224a7fad9b1470d7b7195d (patch)
treefa57f730966068c82080716c065cd407721c5981 /app-admin
parentadd arm keyword (diff)
downloadgentoo-2-f94cd7ca4b1d92b52a224a7fad9b1470d7b7195d.tar.gz
gentoo-2-f94cd7ca4b1d92b52a224a7fad9b1470d7b7195d.tar.bz2
gentoo-2-f94cd7ca4b1d92b52a224a7fad9b1470d7b7195d.zip
rev bump to close bug #16315
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/mirrorselect/ChangeLog7
-rw-r--r--app-admin/mirrorselect/files/digest-mirrorselect-0.2-r10
-rw-r--r--app-admin/mirrorselect/files/mirrorselect2
-rw-r--r--app-admin/mirrorselect/mirrorselect-0.2-r1.ebuild22
4 files changed, 29 insertions, 2 deletions
diff --git a/app-admin/mirrorselect/ChangeLog b/app-admin/mirrorselect/ChangeLog
index 150888c69f6c..8db1d78415e5 100644
--- a/app-admin/mirrorselect/ChangeLog
+++ b/app-admin/mirrorselect/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/mirrorselect
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/mirrorselect/ChangeLog,v 1.9 2003/02/27 16:24:43 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/mirrorselect/ChangeLog,v 1.10 2003/02/27 21:44:26 gerk Exp $
+
+*mirrorselect-0.2-r1 (27 Feb 2003)
+
+ 27 Feb 2003; Mark Guertin <gerk@gentoo.org> mirrorselect-0.2-r1.ebuild files/mirrorselect :
+ fixup to close bug #16315.
*mirrorselect-0.2 (27 Feb 2003)
diff --git a/app-admin/mirrorselect/files/digest-mirrorselect-0.2-r1 b/app-admin/mirrorselect/files/digest-mirrorselect-0.2-r1
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/app-admin/mirrorselect/files/digest-mirrorselect-0.2-r1
diff --git a/app-admin/mirrorselect/files/mirrorselect b/app-admin/mirrorselect/files/mirrorselect
index 752ec1d20b28..510e63e2aacc 100644
--- a/app-admin/mirrorselect/files/mirrorselect
+++ b/app-admin/mirrorselect/files/mirrorselect
@@ -34,7 +34,7 @@ if [ "${1}" = "-a" ] ; then
echo "Fetching server list from web"
# nastiness, but it should work for now
MIRROR_LIST=$((echo -e "GET /main/en/mirrors.xml HTTP/0.9\r\n\r\n" 1>&3 & cat 0<&3) 3<> /dev/tcp/gentoo.org/80 | \
- (read i; while [ "$(echo $i | tr -d '\r')" != "" ]; do read i; echo "." > 2; done; cat) | \
+ (read i; while [ "$(echo $i | tr -d '\r')" != "" ]; do read i; done; cat) | \
perl -nle'print $1 if /\s{5}<a href="((htt|ft)p[^"]+)/' | grep -v "MIRRORS")
for i in $MIRROR_LIST
diff --git a/app-admin/mirrorselect/mirrorselect-0.2-r1.ebuild b/app-admin/mirrorselect/mirrorselect-0.2-r1.ebuild
new file mode 100644
index 000000000000..5ed7809f0274
--- /dev/null
+++ b/app-admin/mirrorselect/mirrorselect-0.2-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/mirrorselect/mirrorselect-0.2-r1.ebuild,v 1.1 2003/02/27 21:44:27 gerk Exp $
+
+DESCRIPTION="Tool to help select distfiles mirrors for Gentoo"
+SRC_URI=""
+HOMEPAGE=""
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc sparc ~alpha ~mips hppa"
+
+RDEPEND=">=dev-util/dialog-0.7
+ sys-apps/grep
+ sys-apps/sed
+ net-analyzer/netselect
+ sys-devel/perl"
+
+src_install() {
+ dosbin ${FILESDIR}/mirrorselect
+}
+