Create a sorted list of precompiled packages which
are available at the FreeBSD FTP Server.
This commit is contained in:
parent
3cea33d5b3
commit
e95470247d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=2916
2 changed files with 36 additions and 0 deletions
18
data/ports/packages
Executable file
18
data/ports/packages
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/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.
|
||||
#
|
||||
# $Id: packages,v 1.1 1998-06-10 09:31:02 wosch Exp $
|
||||
|
||||
PATH=/bin:/usr/bin:/usr/local/bin; export PATH
|
||||
|
||||
release='packages-stable';
|
||||
url="http://ftp.freebsd.org/pub/FreeBSD/$release/All/"
|
||||
|
||||
|
||||
lynx -source "$url" |
|
||||
perl -ne 'print $1, "\n" if m%href="([^/"]+)"%oi' |
|
||||
sort
|
||||
|
18
en/ports/packages
Executable file
18
en/ports/packages
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/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.
|
||||
#
|
||||
# $Id: packages,v 1.1 1998-06-10 09:31:02 wosch Exp $
|
||||
|
||||
PATH=/bin:/usr/bin:/usr/local/bin; export PATH
|
||||
|
||||
release='packages-stable';
|
||||
url="http://ftp.freebsd.org/pub/FreeBSD/$release/All/"
|
||||
|
||||
|
||||
lynx -source "$url" |
|
||||
perl -ne 'print $1, "\n" if m%href="([^/"]+)"%oi' |
|
||||
sort
|
||||
|
Loading…
Reference in a new issue