http://ftp.freebsd.org is dead, switch to ftp://ftp.freebsd.org

This commit is contained in:
Wolfram Schneider 1998-08-03 11:53:37 +00:00
parent 03aefbcffc
commit d4cd3cd980
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=3243

View file

@ -4,15 +4,15 @@
# packages - create a sorted list of precompiled packages which
# are available at the FreeBSD FTP Server.
#
# $Id: packages,v 1.1 1998-06-10 09:31:02 wosch Exp $
# $Id: packages,v 1.2 1998-08-03 11:53:37 wosch Exp $
PATH=/bin:/usr/bin:/usr/local/bin; export PATH
release='packages-stable';
url="http://ftp.freebsd.org/pub/FreeBSD/$release/All/"
url="ftp://ftp.freebsd.org/pub/FreeBSD/$release/All/"
lynx -source "$url" |
perl -ne 'print $1, "\n" if m%href="([^/"]+)"%oi' |
sort
perl -ne 'print $1, "\n" if m%href="([^"]+)"%oi' |
perl -npe 's%.*/%%' | sort | grep -v '^\.\.$'