git: 8d77cccb0c2b - main - cleanup: Remove expired barnyard ports:

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Wed, 30 Sep 2026 21:42:53 UTC
The branch main has been updated by rene:

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

commit 8d77cccb0c2bd12f5f2d2f64aee2c6627b356c07
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2026-09-30 21:42:13 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2026-09-30 21:42:31 +0000

    cleanup: Remove expired barnyard ports:
    
    2026-09-30 security/barnyard2: Upstream has been abandoned, and the project is no longer maintained
    2026-09-30 security/barnyard2-sguil: Upstream has been abandoned, and the project is no longer maintained
---
 MOVED                                              |  2 +
 security/Makefile                                  |  2 -
 security/barnyard2-sguil/Makefile                  | 10 ---
 security/barnyard2/Makefile                        | 87 --------------------
 security/barnyard2/distinfo                        |  2 -
 security/barnyard2/files/barnyard2.in              | 52 ------------
 security/barnyard2/files/patch-decode.c            | 24 ------
 security/barnyard2/files/patch-map.c               | 65 ---------------
 security/barnyard2/files/patch-parser.c            | 11 ---
 security/barnyard2/files/patch-spo__alert__fwsam.c | 48 -----------
 security/barnyard2/files/patch-spo__alert__test.c  | 11 ---
 .../barnyard2/files/patch-spo__alert__unixsock.c   | 10 ---
 security/barnyard2/files/patch-spo__database.c     | 11 ---
 .../barnyard2/files/patch-spo__database__cache.c   | 92 ----------------------
 security/barnyard2/files/patch-spo__syslog__full.c | 11 ---
 security/barnyard2/files/patch-spooler.c           | 11 ---
 security/barnyard2/files/pkg-message.in            | 19 -----
 security/barnyard2/pkg-descr                       | 22 ------
 security/barnyard2/pkg-plist                       | 16 ----
 19 files changed, 2 insertions(+), 504 deletions(-)

diff --git a/MOVED b/MOVED
index 8ca670e3c633..0c5db2f61756 100644
--- a/MOVED
+++ b/MOVED
@@ -5693,3 +5693,5 @@ sysutils/plasma5-libksysguard||2026-09-30|Has expired: The only consumer deskuti
 graphics/peruse||2026-09-30|Has expired: Abandoned, does not work with Qt6
 deskutils/semantik||2026-09-30|Has expired: Not ported to Qt6, depends on deprecated Qt5 WebEngine
 devel/py-mime||2026-09-30|Has expired: Upstream last activity was in 2016
+security/barnyard2||2026-09-30|Has expired: Upstream has been abandoned, and the project is no longer maintained
+security/barnyard2-sguil||2026-09-30|Has expired: Upstream has been abandoned, and the project is no longer maintained
diff --git a/security/Makefile b/security/Makefile
index 3cd5a5e4bdcd..36c50050a2de 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -44,8 +44,6 @@
     SUBDIR += aws-lc
     SUBDIR += aws-vault
     SUBDIR += axc
-    SUBDIR += barnyard2
-    SUBDIR += barnyard2-sguil
     SUBDIR += bastillion
     SUBDIR += bcwipe
     SUBDIR += bdes
diff --git a/security/barnyard2-sguil/Makefile b/security/barnyard2-sguil/Makefile
deleted file mode 100644
index 55d52f5270f7..000000000000
--- a/security/barnyard2-sguil/Makefile
+++ /dev/null
@@ -1,10 +0,0 @@
-PKGNAMESUFFIX=	-sguil
-
-MASTERDIR=	${.CURDIR}/../barnyard2
-
-# enable tcl binding for sguil
-SLAVE=		yes
-
-CONFLICTS_INSTALL=	barnyard2
-
-.include "${MASTERDIR}/Makefile"
diff --git a/security/barnyard2/Makefile b/security/barnyard2/Makefile
deleted file mode 100644
index fde14da7b00d..000000000000
--- a/security/barnyard2/Makefile
+++ /dev/null
@@ -1,87 +0,0 @@
-PORTNAME=	barnyard2
-DISTVERSION=	1.13
-DISTVERSIONPREFIX=	v2-
-PORTREVISION=	7
-CATEGORIES=	security
-
-MAINTAINER=	bofh@FreeBSD.org
-COMMENT=	Interpreter for Snort unified2 binary output files
-WWW=		https://github.com/firnsy/barnyard2
-
-LICENSE=	GPLv2
-
-DEPRECATED=	Upstream has been abandoned, and the project is no longer maintained
-EXPIRATION_DATE=	2026-09-30
-
-USES=		autoreconf libtool
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	firnsy
-
-CONFLICTS_INSTALL?=	barnyard2-sguil # bin/barnyard2
-
-OPTIONS_DEFINE=	64BIT ARUBA GRE IPV6 MPLS PORT_PCAP DOCS EXAMPLES
-OPTIONS_RADIO=	DATABASE
-OPTIONS_RADIO_DATABASE=	MYSQL MYSQL_SSL ODBC PGSQL
-NO_OPTIONS_SORT=yes
-
-64BIT_DESC=	Enable 64bit compilation (experimental)
-ARUBA_DESC=	Enable aruba support
-GRE_DESC=	Enable gre support
-MYSQL_SSL_DESC=	Enable mysql ssl support (experimental)
-PORT_PCAP_DESC=	Use libpcap from ports
-
-.if defined(SLAVE)
-OPTIONS_DEFINE+=	TCL
-TCL_DESC=	Enable tcl support for sguil
-OPTIONS_DEFAULT+=	TCL
-.endif
-
-USE_RC_SUBR=	barnyard2
-GNU_CONFIGURE=	yes
-
-SUB_FILES=	pkg-message
-
-PORTDOCS1=	README RELEASE.NOTES
-PORTDOCS2=	INSTALL README.aruba README.database README.sguil README.sig_suppress README.snortsam
-EXAMPLES=	SCHEMA_ACCESS create_db2 create_mssql create_mysql create_oracle.sql create_postgresql
-
-64BIT_CONFIGURE_ENABLE=	64bit-gcc
-ARUBA_CONFIGURE_ENABLE=	aruba
-GRE_CONFIGURE_ENABLE=	gre
-IPV6_CONFIGURE_ENABLE=	ipv6
-MPLS_CONFIGURE_ENABLE=	mpls
-MYSQL_USES=		mysql
-MYSQL_CONFIGURE_WITH=	mysql
-MYSQL_CONFIGURE_ON=	--with-mysql-includes=${LOCALBASE}/include/mysql \
-			--with-mysql-libraries=${LOCALBASE}/lib/mysql
-MYSQL_VARS=		IGNORE_WITH_MYSQL="80 81"
-MYSQL_SSL_CONFIGURE_ENABLE=	mysql-ssl-support
-MYSQL_SSL_VARS=		IGNORE_WITH_MYSQL="80"
-ODBC_BROKEN=		fails to build with ODBC=on
-ODBC_LIB_DEPENDS=	libodbc.so:databases/unixODBC
-ODBC_CONFIGURE_WITH=	odbc
-PGSQL_USES=		pgsql
-PGSQL_CONFIGURE_ON=	--with-postgresql=${LOCALBASE}/bin/pg_config --with-pgsql-includes=${LOCALBASE}/include/postgresql/server
-PGSQL_CONFIGURE_OFF=	--without-postgresql
-TCL_USES=		tcl
-TCL_CONFIGURE_ON=	--with-tcl=${LOCALBASE}/lib/tcl${TCL_VER}
-TCL_CONFIGURE_OFF=	--without-tcl
-PORT_PCAP_LIB_DEPENDS=	libpcap.so.1:net/libpcap
-PORT_PCAP_CONFIGURE_ON=	--with-libpcap-includes=${LOCALBASE}/include \
-			--with-libpcap-libraries=${LOCALBASE}/lib
-
-post-patch:
-	@${REINPLACE_CMD} 's|/etc|${LOCALBASE}/etc|' \
-		${WRKSRC}/etc/barnyard2.conf
-
-do-install:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS1:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS2:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/schemas/|} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_PROGRAM} ${WRKSRC}/src/barnyard2 ${STAGEDIR}${PREFIX}/bin/
-	${CP} ${WRKSRC}/etc/barnyard2.conf ${STAGEDIR}${PREFIX}/etc/barnyard2.conf.sample
-
-.include <bsd.port.mk>
diff --git a/security/barnyard2/distinfo b/security/barnyard2/distinfo
deleted file mode 100644
index 44906cb1daaf..000000000000
--- a/security/barnyard2/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (firnsy-barnyard2-v2-1.13_GH0.tar.gz) = b9e67f22334b937a59cf808ca20bdcd9c46561a4369979c965a0bb554d7dd09b
-SIZE (firnsy-barnyard2-v2-1.13_GH0.tar.gz) = 435017
diff --git a/security/barnyard2/files/barnyard2.in b/security/barnyard2/files/barnyard2.in
deleted file mode 100644
index 5566af9d6616..000000000000
--- a/security/barnyard2/files/barnyard2.in
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: barnyard2
-# REQUIRE: DAEMON%%MYSQL%%%%PGSQL%%
-#
-# Add the following lines to /etc/rc.conf to enable barnyard2:
-# barnyard2_enable (bool):	Set to YES to enable barnyard2
-# 				Default: NO
-# barnyard2_flags (str):		Extra flags passed to barnyard2
-#				Default: -D
-# barnyard2_conf (str):		Barnyard configuration file
-#				Default: %%PREFIX%%/etc/barnyard2.conf
-# optional, multi-barnyard2:
-# barnyard2_rules="1 2 3"
-# barnyard2_1_flags="-D"
-# barnyard2_1_pidfile=""
-# #$command $flags $args
-#
-# USAGE: barnyard2 [-options]
-
-. /etc/rc.subr
-
-name="barnyard2"
-rcvar=barnyard2_enable
-
-load_rc_config $name
-
-# set some defaults
-: ${barnyard2_enable="NO"}
-: ${barnyard2_conf="%%PREFIX%%/etc/barnyard2.conf"}
-: ${barnyard2_flags="-D"}
-
-command="%%PREFIX%%/bin/barnyard2"
-command_args="-c ${barnyard2_conf} -D"
-
-if [ -n "${barnyard2_rules}" ];then
-  _1=$1
-  rc=0
-  if [ $# -gt 1 ];then shift; barnyard2_rules=$*; fi
-  for i in ${barnyard2_rules}; do
-    echo -n "$i:"
-    eval barnyard2_flags=\$barnyard2_${i}_flags
-    eval pidfile=\$barnyard2_${i}_pidfile
-    eval barnyard2_conf=\$barnyard2_${i}_conf
-    command_args="-c $barnyard2_conf -D"
-    run_rc_command "$_1"
-    if [ $? -ne 0 ];then rc=1 ; fi
-    unset _pidcmd _rc_restart_done
-  done
-else
-   run_rc_command "$1"
-fi
diff --git a/security/barnyard2/files/patch-decode.c b/security/barnyard2/files/patch-decode.c
deleted file mode 100644
index 1da1bc9107f4..000000000000
--- a/security/barnyard2/files/patch-decode.c
+++ /dev/null
@@ -1,24 +0,0 @@
---- src/decode.c.orig	2018-10-06 13:07:26 UTC
-+++ src/decode.c
-@@ -265,9 +265,9 @@ int DecodePacket(int linktype, Packet *p
-     return 0;
- }
- 
--static INLINE void DecoderEvent(
--    Packet *p, int gid, char *str, int event_flag, int drop_flag) 
--{
-+//static INLINE void DecoderEvent(
-+//    Packet *p, int gid, char *str, int event_flag, int drop_flag) 
-+//{
- //    if((runMode == MODE_IDS) && event_flag) 
- //    {
- //        SnortEventqAdd(GENERATOR_SNORT_DECODE, gid, 1, 
-@@ -278,7 +278,7 @@ static INLINE void DecoderEvent(
- //            InlineDrop(p);
- //        }
- //    }
--}
-+//}
- 
- /*
-  * Function: DecodeEthPkt(Packet *, char *, struct pcap_pkthdr*, uint8_t*)
diff --git a/security/barnyard2/files/patch-map.c b/security/barnyard2/files/patch-map.c
deleted file mode 100644
index 9db465064206..000000000000
--- a/security/barnyard2/files/patch-map.c
+++ /dev/null
@@ -1,65 +0,0 @@
---- src/map.c.orig	2018-10-06 11:14:40 UTC
-+++ src/map.c
-@@ -818,7 +818,7 @@ void ParseSidMapLine(Barnyard2Config *bc
- 		{
-                 case 0: /* sid */
-                     t_sn.generator = 1;
--		    if( (t_sn.id = strtoul(idx, NULL, 10)) == ULONG_MAX)
-+		    if( ((unsigned long)(t_sn.id = strtoul(idx, NULL, 10))) == ULONG_MAX)
- 		    {
- 			FatalError("[%s()], error converting integer [%s] for line [%s] \n",
- 				   __FUNCTION__,
-@@ -848,7 +848,7 @@ void ParseSidMapLine(Barnyard2Config *bc
- 		{
- 
- 		case 0: /*gid */
--		    if( (t_sn.generator = strtoul(idx,NULL,10)) == ULONG_MAX)
-+		    if( ((unsigned long)(t_sn.generator = strtoul(idx,NULL,10))) == ULONG_MAX)
- 		    {
-                         FatalError("[%s()], error converting integer [%s] for line [%s] \n",
-                                    __FUNCTION__,
-@@ -859,7 +859,7 @@ void ParseSidMapLine(Barnyard2Config *bc
- 		    break;
- 
- 		case 1: /* sid */
--		    if( (t_sn.id = strtoul(idx, NULL, 10)) == ULONG_MAX)
-+		    if( ((unsigned long)(t_sn.id = strtoul(idx, NULL, 10))) == ULONG_MAX)
- 		    {
-                         FatalError("[%s()], error converting integer [%s] for line [%s] \n",
-                                    __FUNCTION__,
-@@ -869,7 +869,7 @@ void ParseSidMapLine(Barnyard2Config *bc
- 		    break;
- 
- 		case 2: /* revision */
--		    if( (t_sn.rev = strtoul(idx, NULL, 10)) == ULONG_MAX)
-+		    if( ((unsigned long)(t_sn.rev = strtoul(idx, NULL, 10))) == ULONG_MAX)
- 		    {
-                         FatalError("[%s()], error converting integer [%s] for line [%s] \n",
-                                    __FUNCTION__,
-@@ -889,7 +889,7 @@ void ParseSidMapLine(Barnyard2Config *bc
- 
- 		case 4: /* priority */
- 		    
--		    if( (t_sn.priority = strtoul(idx, NULL, 10)) == ULONG_MAX)
-+		    if( (unsigned long)(t_sn.priority = strtoul(idx, NULL, 10)) == ULONG_MAX)
- 		    {
-                         FatalError("[%s()], error converting integer [%s] for line [%s] \n",
-                                    __FUNCTION__,
-@@ -1121,7 +1121,7 @@ void ParseGenMapLine(char *data)
-         switch(i)
-         {
- 	case 0: /* gen */
--	    if( (t_sn.generator = strtoul(idx, NULL, 10)) == ULONG_MAX)
-+	    if( (unsigned long)(t_sn.generator = strtoul(idx, NULL, 10)) == ULONG_MAX)
- 	    {
- 		FatalError("[%s()], error converting integer [%s] for line [%s] \n",
- 			   __FUNCTION__,
-@@ -1131,7 +1131,7 @@ void ParseGenMapLine(char *data)
- 	    break;
- 	    
- 	case 1: /* sid */
--	    if( (t_sn.id = strtoul(idx, NULL, 10)) == ULONG_MAX)
-+	    if( (unsigned long)(t_sn.id = strtoul(idx, NULL, 10)) == ULONG_MAX)
- 	    {
- 		FatalError("[%s()], error converting integer [%s] for line [%s] \n",
- 			   __FUNCTION__,
diff --git a/security/barnyard2/files/patch-parser.c b/security/barnyard2/files/patch-parser.c
deleted file mode 100644
index 465a8010e6f2..000000000000
--- a/security/barnyard2/files/patch-parser.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/parser.c.orig	2018-10-06 12:48:05 UTC
-+++ src/parser.c
-@@ -2322,7 +2322,7 @@ int SigSuppressAddElement(SigSuppress_li
- 	{
- 	    memset(&comp_set,'\0',(sizeof(u_int8_t)*4));
- 	    
--	    if( (cNode->gid == sElement->gid))
-+	    if (cNode->gid == sElement->gid)
- 	    {
- 		switch(sElement->ss_type)
- 		{
diff --git a/security/barnyard2/files/patch-spo__alert__fwsam.c b/security/barnyard2/files/patch-spo__alert__fwsam.c
deleted file mode 100644
index 0c0fd368d58f..000000000000
--- a/security/barnyard2/files/patch-spo__alert__fwsam.c
+++ /dev/null
@@ -1,48 +0,0 @@
---- src/output-plugins/spo_alert_fwsam.c.orig	2018-09-24 20:29:16 UTC
-+++ src/output-plugins/spo_alert_fwsam.c
-@@ -115,7 +115,7 @@
- #include <sys/filio.h>
- #endif
- 
--typedef int SOCKET;
-+//typedef int SOCKET;
- 
- #ifndef INVALID_SOCKET
- #define INVALID_SOCKET  -1
-@@ -617,7 +617,8 @@ int FWsamReadLine(char *buf,unsigned lon
-         p=buf;
-         while(isspace(*p))
-           p++;
--        if(p>buf);
-+        if(p>buf)
-+	;
-             strcpy(buf,p);
-         if(*buf)
-         {
-@@ -961,7 +962,7 @@ void AlertFWsam(Packet *p, void *event, 
-     FWsamPacket sampacket;
-     FWsamStation *station=NULL;
-     FWsamList *fwsamlist;
--    SOCKET stationsocket;
-+    int stationsocket;
-     int i,len,deletestation,stationtry=0;
-     char *encbuf,*decbuf;
-     static unsigned long lastbsip[FWSAM_REPET_BLOCKS];
-@@ -1387,7 +1388,7 @@ void AlertFWsam(Packet *p, void *event, 
- void FWsamCheckOut(FWsamStation *station)
- {
-     FWsamPacket sampacket;
--    SOCKET stationsocket;
-+    int stationsocket;
-     int i,len;
-     char *encbuf,*decbuf;
- 
-@@ -1538,7 +1539,7 @@ int FWsamCheckIn(FWsamStation *station)
-     int i,len,stationok=TRUE;
-     FWsamPacket sampacket;
-     char *encbuf,*decbuf;
--    SOCKET stationsocket;
-+    int stationsocket;
- 
- 
-     /* create a socket for the station */
diff --git a/security/barnyard2/files/patch-spo__alert__test.c b/security/barnyard2/files/patch-spo__alert__test.c
deleted file mode 100644
index 5d87cdf015c3..000000000000
--- a/security/barnyard2/files/patch-spo__alert__test.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/output-plugins/spo_alert_test.c.orig	2018-10-06 12:25:46 UTC
-+++ src/output-plugins/spo_alert_test.c
-@@ -317,7 +317,7 @@ SpoAlertTestData * ParseAlertTestArgs(ch
-                         filename_end--;
- 
-                     filename_end++;
--                    filename_end = '\0';
-+                    *filename_end = '\0';
- 
-                     outfile = ProcessFileOption(barnyard2_conf_for_parsing, filename);
-                     data->file = OpenAlertFile(outfile);
diff --git a/security/barnyard2/files/patch-spo__alert__unixsock.c b/security/barnyard2/files/patch-spo__alert__unixsock.c
deleted file mode 100644
index 477f5b326d43..000000000000
--- a/security/barnyard2/files/patch-spo__alert__unixsock.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/output-plugins/spo_alert_unixsock.c.orig	2018-10-06 12:34:15 UTC
-+++ src/output-plugins/spo_alert_unixsock.c
-@@ -44,6 +44,7 @@
- #endif /* !WIN32 */
- #include <unistd.h>
- #include <errno.h>
-+#include <stdlib.h>
- 
- #include "decode.h"
- #include "plugbase.h"
diff --git a/security/barnyard2/files/patch-spo__database.c b/security/barnyard2/files/patch-spo__database.c
deleted file mode 100644
index 4b3508269d81..000000000000
--- a/security/barnyard2/files/patch-spo__database.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/output-plugins/spo_database.c.orig	2018-10-06 12:58:28 UTC
-+++ src/output-plugins/spo_database.c
-@@ -871,7 +871,7 @@ void DatabaseInitFinalize(int unused, vo
- {
-     DatabaseData *data = (DatabaseData *)arg;
-     
--    if ((data == NULL))
-+    if (data == NULL)
-     {
-         FatalError("database data uninitialized\n");
-     }
diff --git a/security/barnyard2/files/patch-spo__database__cache.c b/security/barnyard2/files/patch-spo__database__cache.c
deleted file mode 100644
index 98e91845ae10..000000000000
--- a/security/barnyard2/files/patch-spo__database__cache.c
+++ /dev/null
@@ -1,92 +0,0 @@
---- src/output-plugins/spo_database_cache.c.orig	2018-10-06 12:40:44 UTC
-+++ src/output-plugins/spo_database_cache.c
-@@ -146,7 +146,7 @@ u_int32_t inserted_sigref_object_count =
-  */
- u_int32_t cacheSignatureReferenceLookup(dbSignatureReferenceObj *iLookup,cacheSignatureReferenceObj *iHead)
- {
--    if( (iLookup == NULL))
-+    if (iLookup == NULL)
-     {
-         /* XXX */
-         FatalError("database [%s()], Called with dbReferenceSignatureObj[0x%x] cacheSignatureReferenceObj [0x%x] \n",
-@@ -224,7 +224,7 @@ u_int32_t cacheEventSignatureLookup(cach
- u_int32_t cacheSignatureLookup(dbSignatureObj *iLookup,cacheSignatureObj *iHead)
- {
-     
--    if( (iLookup == NULL))
-+    if (iLookup == NULL)
-     {
-         /* XXX */
-         FatalError("database [%s()], Called with dbSignatureObj[0x%x] cacheSignatureObj [0x%x] \n",
-@@ -266,7 +266,7 @@ u_int32_t cacheSignatureLookup(dbSignatu
- cacheSignatureObj * cacheSignatureGetObject(dbSignatureObj *iLookup,cacheSignatureObj *iHead)
- {
- 
--    if( (iLookup == NULL))
-+    if (iLookup == NULL)
-     {
-         /* XXX */
-         FatalError("database [%s()], Called with dbSignatureObj[0x%x] cacheSignatureObj [0x%x] \n",
-@@ -325,7 +325,7 @@ u_int32_t cacheEventClassificationLookup
-  */
- u_int32_t cacheClassificationLookup(dbClassificationObj *iLookup,cacheClassificationObj *iHead)
- {
--    if( (iLookup == NULL))
-+    if (iLookup == NULL)
-     {
- 	/* XXX */
-         FatalError("database [%s()], Called with dbClassiciationObj[0x%x] cacheClassificationObj [0x%x] \n",
-@@ -510,7 +510,7 @@ u_int32_t dbSignatureReferenceLookup(dbS
-  */
- u_int32_t dbReferenceLookup(dbReferenceObj *iLookup,cacheReferenceObj *iHead)
- {
--    if( (iLookup == NULL))
-+    if (iLookup == NULL)
-     {
-         /* XXX */
-         FatalError("database [%s()], Called with dbReferenceObj[0x%x] cacheReferenceObj [0x%x] \n",
-@@ -561,7 +561,7 @@ u_int32_t dbReferenceLookup(dbReferenceO
-  */
- u_int32_t dbSystemLookup(dbSystemObj *iLookup,cacheSystemObj *iHead)
- {
--    if( (iLookup == NULL))
-+    if (iLookup == NULL)
-     {
-         /* XXX */
-         FatalError("database [%s()], Called with dbSystemObj[0x%x] cacheSystemObj [0x%x] \n",
-@@ -615,7 +615,7 @@ u_int32_t dbSystemLookup(dbSystemObj *iL
- u_int32_t dbSignatureLookup(dbSignatureObj *iLookup,cacheSignatureObj *iHead)
- {
-     
--    if( (iLookup == NULL))
-+    if (iLookup == NULL)
-     {
-         /* XXX */
-         FatalError("database [%s()], Called with dbSignatureObj[0x%x] cacheSignatureObj [0x%x] \n",
-@@ -702,7 +702,7 @@ u_int32_t dbSignatureLookup(dbSignatureO
-  */
- u_int32_t dbClassificationLookup(dbClassificationObj *iLookup,cacheClassificationObj *iHead)
- {
--    if( (iLookup == NULL))
-+    if (iLookup == NULL)
-     {
-         /* XXX */
-         FatalError("database [%s()], Called with dbReferenceObj[0x%x] cacheClassificationObj [0x%x] \n",
-@@ -5206,7 +5206,7 @@ u_int32_t SignatureReferenceCacheUpdateD
- 	return 1;
-     }
-     
--    if( (iDBList == NULL))
-+    if (iDBList == NULL)
-     {
- 	/* XXX */
- 	/* No reference */
-@@ -5410,7 +5410,7 @@ u_int32_t SignatureReferencePopulateData
- {
-     u_int32_t row_validate = 0;
- 
--    if( (data == NULL))
-+    if (data == NULL)
-     {
-         /* XXX */
-         return 1;
diff --git a/security/barnyard2/files/patch-spo__syslog__full.c b/security/barnyard2/files/patch-spo__syslog__full.c
deleted file mode 100644
index 29deeb44534a..000000000000
--- a/security/barnyard2/files/patch-spo__syslog__full.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/output-plugins/spo_syslog_full.c.orig	2018-10-06 12:59:49 UTC
-+++ src/output-plugins/spo_syslog_full.c
-@@ -1711,7 +1711,7 @@ OpSyslog_Data *OpSyslog_ParseArgs(char *
- int UDPConnect(OpSyslog_Data *op_data) 
- {
-     
--    if( (op_data == NULL))
-+    if (op_data == NULL)
-     {
- 	/* XXX */
- 	return 1;
diff --git a/security/barnyard2/files/patch-spooler.c b/security/barnyard2/files/patch-spooler.c
deleted file mode 100644
index b8b3cd0c2834..000000000000
--- a/security/barnyard2/files/patch-spooler.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/spooler.c.orig	2018-10-06 11:56:32 UTC
-+++ src/spooler.c
-@@ -1042,7 +1042,7 @@ int spoolerOpenWaldo(Waldo *waldo, uint8
-     }
- 
-     /* check that a waldo file has been specified */
--    if ( waldo->filepath == NULL )
-+    if ( waldo->filepath[0] == '\0' )
-     {
-         return WALDO_FILE_EEXIST;
-     }
diff --git a/security/barnyard2/files/pkg-message.in b/security/barnyard2/files/pkg-message.in
deleted file mode 100644
index 30d9f6585f89..000000000000
--- a/security/barnyard2/files/pkg-message.in
+++ /dev/null
@@ -1,19 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-Read the notes in the barnyard2.conf file for how to configure
-%%PREFIX%%/etc/barnyard2.conf after installation.  For addtional information
-see the Securixlive FAQ at http://www.securixlive.com/barnyard2/faq.php.
-
-In order to enable barnyard2 to start on boot, you must edit /etc/rc.conf
-with the appropriate flags, etc. For the various options available, type
-% barnyard2 -h
-after install or read the options in the startup script -
-in %%PREFIX%%/etc/rc.d.
-
-Barnyard2 can process unified2 files from snort or suricata.  It can also
-interact with snortsam firewall rules as well as the sguil-sensor. Those
-ports must be installed separately if you wish to use them.
-EOM
-}
-]
diff --git a/security/barnyard2/pkg-descr b/security/barnyard2/pkg-descr
deleted file mode 100644
index 3a2bd17f7bd5..000000000000
--- a/security/barnyard2/pkg-descr
+++ /dev/null
@@ -1,22 +0,0 @@
-Barnyard is a critical tool for the parsing of Snort's unified binary files,
-processing and on-forwarding to a variety of output plugins. Unfortunately
-it has not seen an updated in over 4 years and is not going to be maintained
-by the original developers. With the new version of the unified format
-(ie. unified2) arriving we need something to bridge this gap.
-
-The SXL team love barnyard. So much so that we want it to stay and have been
-tinkering around with the code to give it a breath of new life. Here is what
-we have achieved to far for this reinvigorated code base:
-
-    * Parsing of the new unified2 log files.
-    * Maintaining majority of the command syntax of barnyard.
-    * Addressed all associated bug reports and feature requests arising since
-		barnyard-0.2.0.
-    * Completely rewritten code based on the GPLv2 Snort making it entirely
-		GPLv2.
-
-This is an effort to fuse the awesome work of Snort and the original concept
-of barnyard giving it a fresh update along the way. We've come a long way so
-far and have a very stable build that we've integrated into our NSMnow
-framework.  If you have any feature requests, bugs or gripes then send them
-our way.
diff --git a/security/barnyard2/pkg-plist b/security/barnyard2/pkg-plist
deleted file mode 100644
index 5a138fbbb1d2..000000000000
--- a/security/barnyard2/pkg-plist
+++ /dev/null
@@ -1,16 +0,0 @@
-bin/barnyard2
-@sample etc/barnyard2.conf.sample
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README.aruba
-%%PORTDOCS%%%%DOCSDIR%%/README.database
-%%PORTDOCS%%%%DOCSDIR%%/README.sguil
-%%PORTDOCS%%%%DOCSDIR%%/README.sig_suppress
-%%PORTDOCS%%%%DOCSDIR%%/README.snortsam
-%%PORTDOCS%%%%DOCSDIR%%/RELEASE.NOTES
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SCHEMA_ACCESS
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/create_db2
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/create_mssql
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/create_mysql
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/create_oracle.sql
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/create_postgresql