Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Apr 2024 10:50:00 GMT
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ccbe1312ac24 - main - security/sancp: Remove expired port
Message-ID:  <202404131050.43DAo0ND057949@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rene:

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

commit ccbe1312ac2428b0a5a03d1cb1e3c814023c363c
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-04-13 10:49:51 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-04-13 10:49:51 +0000

    security/sancp: Remove expired port
    
    2024-04-13 security/sancp: Upstream unmaintained and last release in 2007
---
 MOVED                               |  1 +
 security/Makefile                   |  1 -
 security/sancp/Makefile             | 55 -------------------------------------
 security/sancp/distinfo             |  2 --
 security/sancp/files/patch-sancp.cc | 15 ----------
 security/sancp/files/pkg-message.in | 20 --------------
 security/sancp/files/sancp.in       | 43 -----------------------------
 security/sancp/pkg-descr            | 12 --------
 security/sancp/pkg-plist            |  3 --
 9 files changed, 1 insertion(+), 151 deletions(-)

diff --git a/MOVED b/MOVED
index dd536721c358..c56798e84b86 100644
--- a/MOVED
+++ b/MOVED
@@ -3176,3 +3176,4 @@ textproc/spiff||2024-04-13|Has expired: Active development of this port has been
 www/p5-libservlet||2024-04-13|Has expired: Upstream unmaintained and last release was in 2001
 textproc/libparsifal||2024-04-13|Has expired: Upsrteam no longer available including WWW and distfile
 www/p5-Catalyst-Plugin-FormBuilder||2024-04-13|Has expired: Deprecated by upstream
+security/sancp||2024-04-13|Has expired: Upstream unmaintained and last release in 2007
diff --git a/security/Makefile b/security/Makefile
index e1fbc80b9320..5fca409fea1c 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1228,7 +1228,6 @@
     SUBDIR += samhain
     SUBDIR += samhain-client
     SUBDIR += samhain-server
-    SUBDIR += sancp
     SUBDIR += sasp
     SUBDIR += scanlogd
     SUBDIR += scrypt
diff --git a/security/sancp/Makefile b/security/sancp/Makefile
deleted file mode 100644
index 5917237d0fc8..000000000000
--- a/security/sancp/Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
-PORTNAME=	sancp
-PORTVERSION=	1.6.1
-DISTVERSIONSUFFIX=	-stable
-PORTREVISION=	7
-CATEGORIES=	security
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}-stable
-
-MAINTAINER=	bofh@FreeBSD.org
-COMMENT=	Network connection profiler
-WWW=		https://sourceforge.net/projects/sancp/
-
-LICENSE=	QPLv1
-LICENSE_NAME=	Q PUBLIC LICENSE v1.0
-LICENSE_FILE=	${WRKSRC}/LICENSE
-LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-
-DEPRECATED=	Upstream unmaintained and last release in 2007
-EXPIRATION_DATE=	2024-04-13
-
-USES=		compiler
-USE_RC_SUBR=	sancp
-
-MAKE_ARGS=	CFLAGS="${CXXFLAGS}" \
-		LFLAGS="${LDFLAGS}"
-ALL_TARGET=	bsd
-
-CXXFLAGS+=	${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
-CXXFLAGS_clang=	-Wno-c++11-narrowing
-
-SUB_FILES=	pkg-message
-
-USERS=		sancp
-GROUPS=		sancp
-
-PORTDOCS=	CHANGES INSTALL ISSUES \
-		README SETUP fields.LIST
-
-OPTIONS_DEFINE=	DOCS
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|gcc|$${CC}|g ; s|g++|$${CXX}|g' \
-		${WRKSRC}/Makefile
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/sancp \
-		${STAGEDIR}${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/etc/sancp/sancp.conf \
-		${STAGEDIR}${PREFIX}/etc/sancp.conf.sample
-	${MKDIR} ${STAGEDIR}/var/log/sancp
-
-do-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/security/sancp/distinfo b/security/sancp/distinfo
deleted file mode 100644
index 2447c72e5ffa..000000000000
--- a/security/sancp/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (sancp-1.6.1-stable.tar.gz) = 9836262aaf02bde116a9e79d342ea3af8b4991c7ba27b816fb54ed6c0863ff48
-SIZE (sancp-1.6.1-stable.tar.gz) = 71748
diff --git a/security/sancp/files/patch-sancp.cc b/security/sancp/files/patch-sancp.cc
deleted file mode 100644
index 66a5ae043a9b..000000000000
--- a/security/sancp/files/patch-sancp.cc
+++ /dev/null
@@ -1,15 +0,0 @@
---- sancp.cc.orig	2013-10-04 17:55:19.000000000 +0000
-+++ sancp.cc	2013-10-04 17:56:55.000000000 +0000
-@@ -271,10 +271,10 @@
- /******************************************************************* 
-  * Function for C code to call C++ code (used by pcap_functions.c) * 
-  *******************************************************************/
--
-+         
- extern "C" void ProcessMyPacket(char *user, struct pcap_pkthdr * pkthdr, u_char * pkt)
- {
--	extern struct gvars gVars;
-+	struct gvars gVars;
- 	CBuffer *buffer;
- 	struct cnx *new_cnx=0;
-         gVars.timeptr.tv_sec=pkthdr->ts.tv_sec;
diff --git a/security/sancp/files/pkg-message.in b/security/sancp/files/pkg-message.in
deleted file mode 100644
index 14a3b13137d5..000000000000
--- a/security/sancp/files/pkg-message.in
+++ /dev/null
@@ -1,20 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-A startup script was installed in %%PREFIX%%/etc/rc.d/.  Enable the script
-in /etc/rc.conf using the usual rc.subr syntax.  See rc.conf(5) or go to
-http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-rcng.html
-
-Configuration files named sancp.conf.sample and sancp.conf
-were installed in %%PREFIX%%/etc.  See the INSTALL doc, located in
-%%PREFIX%%/share/doc/sancp/ for details on configuration
-options or type "sancp -h" on the commandline.
-
-Note that if you are installing sancp for use with sguil, you should use the
-the one that came with sguil in %%PREFIX%%/etc/sguil-sensor directory.
-
-If you're running sguil, you probably want to use at least the following flags:
-sancp_flags="-D -P -R -u sancp -g sancp -d /var/log/sancp -c %%PREFIX%%/etc/sguil-sensor/sancp.conf"
-EOM
-}
-]
diff --git a/security/sancp/files/sancp.in b/security/sancp/files/sancp.in
deleted file mode 100644
index b731d95bd8cf..000000000000
--- a/security/sancp/files/sancp.in
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: sancp
-# REQUIRE: DAEMON
-# BEFORE: LOGIN
-# KEYWORD: shutdown
-
-# Add the following lines to /etc/rc.conf to enable sancp:
-# sancp_enable (bool):	Set to YES to enable sancp
-# 				Default: NO
-# sancp_flags (str):		Extra flags passed to sancp
-#				Default: -D
-# sancp_conf (str):		Sancp configuration file
-#				Default: %%PREFIX%%/etc/sancp.conf
-# sancp_interface (str):	Default: none - MUST BE SET
-#
-
-. /etc/rc.subr
-
-name="sancp"
-rcvar=sancp_enable
-
-command="%%PREFIX%%/bin/sancp"
-
-start_precmd=start_precmd
-
-start_precmd()
-{
-	if [ -z "${sancp_interface}" ]; then
-		err 1 "sancp_interface must set."
-	fi
-}
-
-# set some defaults
-load_rc_config $name
-
-: ${sancp_enable="NO"}
-: ${sancp_flags="-D"}
-: ${sancp_conf="%%PREFIX%%/etc/sancp.conf"}
-
-command_args="-c ${sancp_conf} -i ${sancp_interface}"
-
-run_rc_command "$1"
diff --git a/security/sancp/pkg-descr b/security/sancp/pkg-descr
deleted file mode 100644
index 85d617a383bd..000000000000
--- a/security/sancp/pkg-descr
+++ /dev/null
@@ -1,12 +0,0 @@
-Sancp is a network security tool designed to collect
-statistical information regarding network traffic, as
-well as, collect the traffic itself in pcap format, all
-for the purpose of: auditing, historical analysis, and
-network activity discovery. Rules can be used to distinguish
-normal from abnormal traffic and support tagging connections
-with: rule id, node id, and status id.  From an intrusion
-detection standpoint, every connection is an event that must
-be validated through some means. Sancp uses rules to identify,
-record, and tag traffic of interest. 'Tagging' a connection
-is a new feature since v1.4.0 Connections ('stats') can be
-loaded into a database for further analysis.
diff --git a/security/sancp/pkg-plist b/security/sancp/pkg-plist
deleted file mode 100644
index 63b30649d17e..000000000000
--- a/security/sancp/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/sancp
-@sample etc/sancp.conf.sample
-@dir(sancp,sancp,750) /var/log/sancp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404131050.43DAo0ND057949>