Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2011 13:42:14 GMT
From:      Nikolay Denev <ndenev@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/156172: security/barnyard2 does not need security/snort to run
Message-ID:  <201104041342.p34DgEgK024440@red.freebsd.org>
Resent-Message-ID: <201104041350.p34Do87u079809@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         156172
>Category:       ports
>Synopsis:       security/barnyard2 does not need security/snort to run
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 04 13:50:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Nikolay Denev
>Release:        RELENG_8
>Organization:
>Environment:
FreeBSD nas.totalterror.net 8.2-STABLE FreeBSD 8.2-STABLE #120: Wed Mar 30 10:26:07 EEST 2011     ndenev@nas.totalterror.net:/usr/obj/usr/src/sys/NAS  amd64

>Description:
security/barnyard2 tries to pull in security/snort when it's installed, as snort is listed as runtime dependency. But this is not true, and there are scenarios where one might not want snort on the same machine e.g. :
1. Barnyard running on a dedicated host processing snort/suricata logs shipped via some other mechanism like rsync/sftp.
2. Using baryard2 with security/suricata

>How-To-Repeat:
Try to install security/barnyard2 on a host running security/suricata to handle the logging, and it will pull security/snort as dependency.
>Fix:
Simple patch to the port makefile removes the runtime dependency of snort.

--- Makefile.orig	2011-04-04 16:36:46.093102555 +0300
+++ Makefile	2011-04-04 16:37:07.481745290 +0300
@@ -14,8 +14,6 @@
 MAINTAINER=	pauls@utdallas.edu
 COMMENT=	An output system for Snort that parses unified2 files
 
-RUN_DEPENDS+=	${LOCALBASE}/bin/snort:${PORTSDIR}/security/snort
-
 OPTIONS=	MYSQL "Enable MySQL support" on \
 		POSTGRESQL "Enable PostgreSQL support" off
 


>Release-Note:
>Audit-Trail:
>Unformatted:



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