Commit 95c1a472 authored by Rene Ladan's avatar Rene Ladan
Browse files

security/snortsam: Remove expired port

2026-03-31 security/snortsam: dead upstream, broken on FreeBSD 15
parent 5938d218
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5184,3 +5184,4 @@ ftp/ftpsesame||2026-03-31|Has expired: dead upstream, broken on FreeBSD 15
devel/loki||2026-03-31|Has expired: dead upstream, sole consumer removed from tree long ago
mail/missey||2026-03-31|Has expired: mail/missey has been abandoned for many years
devel/jsl||2026-03-31|Has expired: No more upstream, use JSLint instead
security/snortsam||2026-03-31|Has expired: dead upstream, broken on FreeBSD 15
+0 −1
Original line number Diff line number Diff line
@@ -1327,7 +1327,6 @@
    SUBDIR += snort-rep
    SUBDIR += snort2pfcd
    SUBDIR += snort3
    SUBDIR += snortsam
    SUBDIR += snortsnarf
    SUBDIR += snowflake-tor
    SUBDIR += snuffleupagus

security/snortsam/Makefile

deleted100644 → 0
+0 −81
Original line number Diff line number Diff line
PORTNAME=	snortsam
PORTVERSION=	2.70
PORTREVISION=	2
CATEGORIES=	security
MASTER_SITES=	http://www.snortsam.net/files/snortsam/
DISTNAME=	${PORTNAME}-src-${PORTVERSION}

MAINTAINER=	urisso@bsd.com.br
COMMENT=	Output plugin for Snort
WWW=		http://www.snortsam.net

OPTIONS_DEFINE=	IPFW SAMTOOL DEBUG DOCS
OPTIONS_DEFAULT=	IPFW SAMTOOL
IPFW_DESC=	checks if configured tables are available
SAMTOOL_DESC=	install samtool

# https://reviews.freebsd.org/D41651
BROKEN_FreeBSD_15=	requires no longer supported ioctl(DIOCGETSTATUS)

DEPRECATED=    dead upstream, broken on FreeBSD 15
EXPIRATION_DATE=       2026-03-31

.include <bsd.port.pre.mk>

USE_RC_SUBR=	snortsam
SUB_FILES=	pkg-message \
		pkg-install

PLIST_FILES=	sbin/snortsam \
		%%ETCDIR%%/snortsam.conf.sample \
		%%ETCDIR%%/country-rootservers.conf.sample \
		%%ETCDIR%%/rootservers.cfg.sample

.if ${PORT_OPTIONS:MSAMTOOL}
PLIST_FILES+=	sbin/samtool
.endif

PORTDOCS=	AUTHORS BUGS CREDITS FAQ INSTALL LICENSE README README.ciscoacl \
		README.conf README.iptables README.netscreen README.pf README.pf2 \
		README.rules README.slackware README.snmp_interface_down README.wgrd \
		README_8signs.rtf TODO

.if ! ${PORT_OPTIONS:MIPFW}
EXTRA_PATCHES+=	${FILESDIR}/ssp_ipfw2_no_table_check.patch
.endif

.if ${PORT_OPTIONS:MDEBUG}
DEBUG=-DDEBUG
.endif

# This seems silly, but the RC file gets into ${WRKDIR}/${PORTNAME} which
# without this, would exist and be a directory.
post-extract:
	@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}

post-patch:
	@${REINPLACE_CMD} -e '/^CC/d' ${WRKSRC}/src/Makefile
	@${REINPLACE_CMD} -e "s|/etc/snortsam.conf|${ETCDIR}/snortsam.conf|g" ${WRKSRC}/conf/snortsam.conf.sample
	@${REINPLACE_CMD} -e "s|/etc/snortsam.conf|${ETCDIR}/snortsam.conf|g" ${WRKSRC}/docs/README.conf
	@${REINPLACE_CMD} -e "s|/etc/snortsam.conf|${ETCDIR}/snortsam.conf|g" ${WRKSRC}/src/snortsam.h
	@${REINPLACE_CMD} -e "s|/etc/snortsam.conf|${ETCDIR}/snortsam.conf|g" ${WRKSRC}/contrib/snortsam-state.c
	@${CHMOD} +x ${WRKSRC}/makesnortsam.sh

do-build:
	@cd ${WRKSRC}/src && ${MAKE} ${DEBUG}
	@cd ${WRKSRC}/src && ${MAKE} samtool ${DEBUG}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/snortsam ${STAGEDIR}${PREFIX}/sbin
	${INSTALL_PROGRAM} ${WRKSRC}/samtool ${STAGEDIR}${PREFIX}/sbin
	@${MKDIR} ${STAGEDIR}${ETCDIR}
	${INSTALL_DATA} ${WRKSRC}/conf/snortsam.conf.sample ${STAGEDIR}${ETCDIR}/snortsam.conf.sample
	${INSTALL_DATA} ${WRKSRC}/conf/rootservers.cfg ${STAGEDIR}${ETCDIR}/rootservers.cfg.sample
	${INSTALL_DATA} ${WRKSRC}/conf/country-rootservers.conf ${STAGEDIR}${ETCDIR}/country-rootservers.conf.sample

	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.post.mk>

security/snortsam/distinfo

deleted100644 → 0
+0 −2
Original line number Diff line number Diff line
SHA256 (snortsam-src-2.70.tar.gz) = 442040a7281a641008f6410b7f6528d709f17d5041fd3752011075f8a38d19bc
SIZE (snortsam-src-2.70.tar.gz) = 1971624
+0 −11
Original line number Diff line number Diff line
--- ./src/ssp_pf2.c.orig	2009-11-27 02:39:40.000000000 +0100
+++ ./src/ssp_pf2.c	2014-01-20 19:03:47.000000000 +0100
@@ -95,7 +95,7 @@
 	  }
      }
 
-   return;
+   return 0;
 }
 
 
Loading