The branch main has been updated by wosch:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=b3087b63da4f9d1ce75f40fa97c5c16dbb61580f

commit b3087b63da4f9d1ce75f40fa97c5c16dbb61580f
Author:     Wolfram Schneider <wo...@freebsd.org>
AuthorDate: 2023-05-15 06:34:20 +0000
Commit:     Wolfram Schneider <wo...@freebsd.org>
CommitDate: 2023-05-15 06:34:20 +0000

    remove stale portsinfo script
---
 tools/tools/README                 |  1 -
 tools/tools/portsinfo/portsinfo.sh | 84 --------------------------------------
 2 files changed, 85 deletions(-)

diff --git a/tools/tools/README b/tools/tools/README
index 0da3d6d4a67b..0a38fac0a47c 100644
--- a/tools/tools/README
+++ b/tools/tools/README
@@ -52,7 +52,6 @@ npe           Tools specific to the Intel IXP4XXX NPE device
 pciid          Generate src/share/misc/pci_vendors.
 pciroms                A tool for dumping PCI ROM images. WARNING: alpha 
quality.
 pirtool                A tool for dumping the $PIR table on i386 machines at 
runtime.
-portsinfo      Generate list of new ports for last two weeks.
 scsi-defects   Get at the primary or grown defect list of a SCSI disk.
 sysdoc         Build a manual page with available sysctls for a specific
                kernel configuration.
diff --git a/tools/tools/portsinfo/portsinfo.sh 
b/tools/tools/portsinfo/portsinfo.sh
deleted file mode 100644
index a5e700b50efe..000000000000
--- a/tools/tools/portsinfo/portsinfo.sh
+++ /dev/null
@@ -1,84 +0,0 @@
-#!/bin/sh
-# Copyright (c) April 1997 Wolfram Schneider <wo...@freebsd.org>, Berlin.
-#
-# portsinfo - Generate list of new ports for last two weeks.
-#
-# $FreeBSD$
-
-PATH=/bin:/usr/bin:/usr/local/bin:$PATH; export PATH
-
-host=https://www.freebsd.org
-url=$host/cgi/ports.cgi
-time='?type=new&time=2+week+ago&sektion=all'
-time2='?type=changed&time=2+week+ago&sektion=all'
-info=yes
-
-if [ x"$info" = xyes ]; then
-
-cat <<'EOF'
-Introduction
-------------
-
-The FreeBSD Ports Collection offers a simple way for users and
-administrators to install applications. Each "port" listed here
-contains any patches necessary to make the original application source
-code compile and run on FreeBSD. Installing an application is as
-simple as downloading the port, unpacking it and typing make in the
-port directory. The Makefile automatically fetches the application
-source code, either from a local disk or via ftp, unpacks it on your
-system, applies the patches, and compiles. If all goes well, simply
-type make install to install the application.
-
-For more information about using ports, see the ports collection
-
-       https://www.freebsd.org/handbook/ports.html
-and
-       https://www.freebsd.org/ports/
-
-EOF
-
-    lynx -dump $host/ports/ |
-       perl -ne '/^[ ]*There are currently/ && s/^\s+// && print && exit'
-
-cat <<EOF
-
-
-New ports added last two weeks
-------------------------------
-
-EOF
-
-
-fi
-
-
-lynx -nolist -dump -reload -nostatus "$url$time" | 
-    grep -v "Description :" |
-perl -ne 'print if (/^\s*Category/ .. /__________________/)' |
-    grep -v ________ | 
-perl -ne 'if (/^\s*Category/) { 
-               print; for(1..50) {print "="}; print "\n";
-          } else { print}'
-
-cat <<EOF
-
-
-Updated ports last two weeks
------------------------------------
-
-EOF
-
-lynx -nolist -dump -reload -nostatus "$url$time2" |
-    grep -v "Description :" |
-perl -ne 's/\[INLINE\]\s*//g; print if (/Category/ .. /XXXXYYYYZZZZ/)' |      
-perl -ne 'if (/^\s*Category/) {
-                print; for(1..50) {print "="}; print "\n";
-          } else { print}'
-
-cat <<EOF
-
-This information was produced by
-       $url
-
-EOF
-

Reply via email to