git: 2223282d994a - main - security/portsentry: Remove expired port:

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 31 Mar 2023 00:01:58 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2223282d994ae1cebc8fc534d119e080dabfc915

commit 2223282d994ae1cebc8fc534d119e080dabfc915
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-03-25 15:06:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-03-30 23:59:43 +0000

    security/portsentry: Remove expired port:
    
    2023-03-31 security/portsentry: Abandoned, upstream is dead and last release was back in 2003
---
 MOVED                                        |  1 +
 security/Makefile                            |  1 -
 security/portsentry/Makefile                 | 37 ----------------------------
 security/portsentry/distinfo                 |  2 --
 security/portsentry/files/patch-portsentry.c | 12 ---------
 security/portsentry/files/portsentry.sh.in   | 17 -------------
 security/portsentry/pkg-descr                |  5 ----
 security/portsentry/pkg-message              | 14 -----------
 security/portsentry/pkg-plist                |  7 ------
 9 files changed, 1 insertion(+), 95 deletions(-)

diff --git a/MOVED b/MOVED
index 6d220ef5a429..da91748c0e61 100644
--- a/MOVED
+++ b/MOVED
@@ -17865,3 +17865,4 @@ print/ghostscript9-x11||2023-03-31|Has expired: Released over 10 years ago and u
 print/ghostscript9-base||2023-03-31|Has expired: Released over 10 years ago and unsupported by upstream, consider print/ghostscript9-agpl-base
 security/openscep||2023-03-31|Has expired: Do not support recent RFC 8894
 security/openvpn25|security/openvpn|2023-03-31|Has expired: replaced by new upstream release 2.6.0
+security/portsentry||2023-03-31|Has expired: Abandoned, upstream is dead and last release was back in 2003
diff --git a/security/Makefile b/security/Makefile
index 1eb8308d4dbe..db69d7838389 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -820,7 +820,6 @@
     SUBDIR += plasma5-kwallet-pam
     SUBDIR += please
     SUBDIR += poly1305aes
-    SUBDIR += portsentry
     SUBDIR += proftpd-mod_clamav
     SUBDIR += proxycheck
     SUBDIR += proxytunnel
diff --git a/security/portsentry/Makefile b/security/portsentry/Makefile
deleted file mode 100644
index 5ee0f00b3de8..000000000000
--- a/security/portsentry/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-PORTNAME=	portsentry
-PORTVERSION=	1.2
-PORTREVISION=	1
-CATEGORIES=	security
-MASTER_SITES=	SF/sentrytools/${PORTNAME}%201.x/${PORTNAME}-${PORTVERSION}
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Port scan detection and active defense
-
-DEPRECATED=	Abandoned, upstream is dead and last release was back in 2003
-EXPIRATION_DATE=2023-03-31
-
-SUB_FILES=	portsentry.sh
-ALL_TARGET=	freebsd
-CFLAGS+=	-DPREFIX=\"${PREFIX}\"
-MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
-WRKSRC=		${WRKDIR}/portsentry_beta
-
-OPTIONS_DEFINE=	DOCS
-
-post-patch:
-	@${REINPLACE_CMD} -e 's,/usr/local/psionic/portsentry,${PREFIX}/etc,g' \
-		${WRKSRC}/portsentry.conf ${WRKSRC}/portsentry_config.h
-
-do-install:
-	${INSTALL_DATA} ${WRKSRC}/portsentry.conf \
-		${STAGEDIR}${PREFIX}/etc/portsentry.conf.sample
-	${INSTALL_DATA} ${WRKSRC}/portsentry.ignore \
-		${STAGEDIR}${PREFIX}/etc/portsentry.ignore.sample
-	${INSTALL_PROGRAM} ${WRKSRC}/portsentry \
-		${STAGEDIR}${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKDIR}/portsentry.sh ${STAGEDIR}${PREFIX}/etc/rc.d/
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.install ${WRKSRC}/README.methods \
-		${WRKSRC}/README.stealth ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/security/portsentry/distinfo b/security/portsentry/distinfo
deleted file mode 100644
index db4b8e9a4fbc..000000000000
--- a/security/portsentry/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (portsentry-1.2.tar.gz) = dd1edcfcf2d9db7b5722de4f1da36ae45703bf05917af657ab6f7491be7fa52e
-SIZE (portsentry-1.2.tar.gz) = 48054
diff --git a/security/portsentry/files/patch-portsentry.c b/security/portsentry/files/patch-portsentry.c
deleted file mode 100644
index f5141bdc39f8..000000000000
--- a/security/portsentry/files/patch-portsentry.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- portsentry.c.orig	Fri May 23 20:10:13 2003
-+++ portsentry.c	Fri Oct  6 20:18:26 2006
-@@ -1581,8 +1581,7 @@
- Usage (void)
- {
-   printf ("PortSentry - Port Scan Detector.\n");
--  printf ("Copyright 1997-2003 Craig H. Rowland <craigrowland at users dot 
--sourceforget dot net>\n");
-+  printf ("Copyright 1997-2003 Craig H. Rowland <craigrowland at users dot sourceforget dot net>\n");
-   printf ("Licensing restrictions apply. Please see documentation\n");
-   printf ("Version: %s\n\n", VERSION);
- #ifdef SUPPORT_STEALTH
diff --git a/security/portsentry/files/portsentry.sh.in b/security/portsentry/files/portsentry.sh.in
deleted file mode 100644
index 08c9c2f4e430..000000000000
--- a/security/portsentry/files/portsentry.sh.in
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-PORTSENTRY="%%PREFIX%%/bin/portsentry"
-
-case "$1" in
-        start)  
-                echo -n ' portsentry ('
-                ${PORTSENTRY} -tcp > /dev/null && echo -n 'tcp'
-                ${PORTSENTRY} -udp > /dev/null && echo -n ' udp'
-                echo -n ')'
-                ;;
-        stop)   
-                killall `basename ${PORTSENTRY}`
-                ;;
-        *)
-                echo "Usage: `basename $0` {start|stop}" >&2
-                ;;
-esac
diff --git a/security/portsentry/pkg-descr b/security/portsentry/pkg-descr
deleted file mode 100644
index 134f2f199d80..000000000000
--- a/security/portsentry/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-PortSentry is part of the Abacus Project suite of security tools.
-It is a program designed to detect and respond to port scans against
-a target host in real-time. There are other port scan detectors that
-perform similar detection of scans, but PortSentry has some unique
-features that may make it worth looking into.
diff --git a/security/portsentry/pkg-message b/security/portsentry/pkg-message
deleted file mode 100644
index 72917af430e7..000000000000
--- a/security/portsentry/pkg-message
+++ /dev/null
@@ -1,14 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-       Edit ${PREFIX}/etc/portsentry.conf and change
-       your settings if you haven't already. (route, etc)
-
-
-       IGNORE stealth mode.  It is for Linux only.
-       The author hopes to have a platform independent
-       version at some time.  So don't even bother
-       trying it now.
-EOM
-}
-]
diff --git a/security/portsentry/pkg-plist b/security/portsentry/pkg-plist
deleted file mode 100644
index 98d8f62e0344..000000000000
--- a/security/portsentry/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-bin/portsentry
-etc/rc.d/portsentry.sh
-@sample etc/portsentry.conf.sample
-@sample etc/portsentry.ignore.sample
-%%PORTDOCS%%%%DOCSDIR%%/README.install
-%%PORTDOCS%%%%DOCSDIR%%/README.methods
-%%PORTDOCS%%%%DOCSDIR%%/README.stealth