2 # Copyright (c) April 1997 Wolfram Schneider <wosch@FreeBSD.org>, Berlin.
4 # portsinfo - Generate list of new ports for last two weeks.
8 PATH=/bin:/usr/bin:/usr/local/bin:$PATH; export PATH
10 host=http://www.freebsd.org
11 url=$host/cgi/ports.cgi
12 time='?type=new&time=2+week+ago&sektion=all'
13 time2='?type=changed&time=2+week+ago&sektion=all'
16 if [ x"$info" = xyes ]; then
22 The FreeBSD Ports Collection offers a simple way for users and
23 administrators to install applications. Each "port" listed here
24 contains any patches necessary to make the original application source
25 code compile and run on FreeBSD. Installing an application is as
26 simple as downloading the port, unpacking it and typing make in the
27 port directory. The Makefile automatically fetches the application
28 source code, either from a local disk or via ftp, unpacks it on your
29 system, applies the patches, and compiles. If all goes well, simply
30 type make install to install the application.
32 For more information about using ports, see the ports collection
34 http://www.freebsd.org/handbook/ports.html
36 http://www.freebsd.org/ports/
40 lynx -dump $host/ports/ |
41 perl -ne '/^[ ]*There are currently/ && s/^\s+// && print && exit'
46 New ports added last two weeks
47 ------------------------------
55 lynx -nolist -dump -reload -nostatus "$url$time" |
56 grep -v "Description :" |
57 perl -ne 'print if (/^\s*Category/ .. /__________________/)' |
59 perl -ne 'if (/^\s*Category/) {
60 print; for(1..50) {print "="}; print "\n";
66 Updated ports last two weeks
67 -----------------------------------
71 lynx -nolist -dump -reload -nostatus "$url$time2" |
72 grep -v "Description :" |
73 perl -ne 's/\[INLINE\]\s*//g; print if (/Category/ .. /XXXXYYYYZZZZ/)' |
74 perl -ne 'if (/^\s*Category/) {
75 print; for(1..50) {print "="}; print "\n";
80 This information was produced by