head	1.10;
access;
symbols
	HRS_XML_CLEANUP:1.10
	HRS_XML_CLEANUP_PRE:1.10
	EMILYBOYD_REDESIGN:1.10
	PRE_REDESIGN:1.10
	XML_XSL_XP:1.9.0.2
	XML_XSL_XP_BP:1.9;
locks; strict;
comment	@# @;


1.10
date	2004.04.04.21.49.41;	author phantom;	state Exp;
branches;
next	1.9;

1.9
date	2001.07.08.00.20.08;	author dd;	state Exp;
branches;
next	1.8;

1.8
date	2001.04.25.22.59.57;	author wosch;	state Exp;
branches;
next	1.7;

1.7
date	99.09.06.07.02.48;	author peter;	state Exp;
branches;
next	1.6;

1.6
date	99.05.07.06.59.05;	author wosch;	state Exp;
branches;
next	1.5;

1.5
date	99.05.06.11.34.24;	author wosch;	state Exp;
branches;
next	1.4;

1.4
date	99.04.13.12.13.32;	author wosch;	state Exp;
branches;
next	1.3;

1.3
date	99.01.14.08.31.31;	author asami;	state Exp;
branches;
next	1.2;

1.2
date	98.08.03.11.53.37;	author wosch;	state Exp;
branches;
next	1.1;

1.1
date	98.06.10.09.31.02;	author wosch;	state Exp;
branches;
next	;


desc
@@


1.10
log
@freebsd.org -> FreeBSD.org
@
text
@#!/bin/sh
# Copyright (c) June 1998 Wolfram Schneider <wosch@@FreeBSD.ORG>, Berlin.
#
# packages - create a sorted list of precompiled packages which
#            are available at the FreeBSD FTP Server.
#
# $FreeBSD: www/en/ports/packages,v 1.9 2001/07/08 00:20:08 dd Exp $

PATH=/bin:/usr/bin:/usr/local/bin; export PATH

release='packages-stable';
url="ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/$release/All/"

temp=_lynx$$

if lynx -source "$url" > $temp || ( sleep 300; lynx -source "$url" > $temp ) || ( sleep 300; lynx -source "$url" > $temp )
then
    perl -ne 'print $1, "\n" if m%href="([^"]+)"%oi' < $temp |
    perl -npe  's%.*/%%' | sort | grep -v '^\.\.$'
    rm -f $temp
else
	rm -f $temp
	exit 1
fi
@


1.9
log
@Use ftp.freebsd.org instead of ftp5.freebsd.org now that ftp-master is
in full swing.
@
text
@d7 1
a7 1
# $FreeBSD: www/en/ports/packages,v 1.8 2001/04/25 22:59:57 wosch Exp $
d12 1
a12 1
url="ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/$release/All/"
@


1.8
log
@use ftp5.freebsd.org to get package list
ftp.freebsd.org is overloaded.
@
text
@d7 1
a7 1
# $FreeBSD: www/en/ports/packages,v 1.7 1999/09/06 07:02:48 peter Exp $
d12 1
a12 1
url="ftp://ftp5.freebsd.org/pub/FreeBSD/ports/i386/$release/All/"
@


1.7
log
@$Id$,$Date$ -> $FreeBSD$
The jury is out on $Date$, but it's presently not being expanded..
@
text
@d7 1
a7 1
# $FreeBSD$
d12 1
a12 1
url="ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/$release/All/"
@


1.6
log
@If we can't get login into ftp.freebsd.org, try it 5 minutes
and 10 minutes later again.
@
text
@d7 1
a7 1
# $Id: packages,v 1.5 1999/05/06 11:34:24 wosch Exp $
@


1.5
log
@If we can't get login into ftp.freebsd.org, try it 5 minutes
later again.
@
text
@d7 1
a7 1
# $Id: packages,v 1.4 1999/04/13 12:13:32 wosch Exp $
d16 1
a16 1
if lynx -source "$url" > $temp || ( sleep 300; lynx -source "$url" > $temp )
@


1.4
log
@Fix exit status.
@
text
@d7 1
a7 1
# $Id: packages,v 1.3 1999/01/14 08:31:31 asami Exp $
d16 2
a17 1
if lynx -source "$url" > $temp; then
@


1.3
log
@Change package paths according to new layout.
@
text
@d7 1
a7 1
# $Id: packages,v 1.2 1998/08/03 11:53:37 wosch Exp $
d14 1
d16 2
a17 2
lynx -source "$url" | 
    perl -ne 'print $1, "\n" if m%href="([^"]+)"%oi' |
d19 5
a23 1

@


1.2
log
@http://ftp.freebsd.org is dead, switch to ftp://ftp.freebsd.org
@
text
@d7 1
a7 1
# $Id: packages,v 1.1 1998/06/10 09:31:02 wosch Exp $
d12 1
a12 1
url="ftp://ftp.freebsd.org/pub/FreeBSD/$release/All/"
@


1.1
log
@Create a sorted list of precompiled packages which
are available at the FreeBSD FTP Server.
@
text
@d7 1
a7 1
# $Id$
d12 1
a12 1
url="http://ftp.freebsd.org/pub/FreeBSD/$release/All/"
d16 2
a17 2
    perl -ne 'print $1, "\n" if m%href="([^/"]+)"%oi' |
    sort
@

