NetBSD Problem Report #18996

Received: (qmail 23155 invoked by uid 605); 9 Nov 2002 20:56:29 -0000
Message-Id: <200211092056.gA9KuJN05469@sniffer.neonramp.com>
Date: Sat, 9 Nov 2002 14:56:19 -0600 (CST)
From: root@neonramp.com
Sender: gnats-bugs-owner@netbsd.org
Reply-To: burgess@neonramp.com
To: gnats-bugs@gnats.netbsd.org
Subject: snort pkg doesn't install contrib directory
X-Send-Pr-Version: 3.95

>Number:         18996
>Category:       pkg
>Synopsis:       snort pkg doesn't install contrib directory
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    adrianp
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 09 20:57:01 +0000 2002
>Closed-Date:    Thu Sep 23 07:57:46 +0000 2004
>Last-Modified:  Thu Sep 23 07:57:46 +0000 2004
>Originator:     Dave Burgess
>Release:        NetBSD 1.6
>Organization:
Nebraska On-Ramp
>Environment:
System: NetBSD sniffer.neonramp.com 1.6 NetBSD 1.6 (NEONMAIL) #0: Sun Sep 15 14:47:48 CDT 2002 burgess@www.cynjut.net:/usr/src/sys/arch/i386/compile/NEONMAIL i386
Architecture: i386
Machine: i386
>Description:
	When I installed snort using "make update" I don't think the
	"contrib" subdirectory got installed.  I put it into
	/usr/pkg/etc/snort, but there is probably a better place to
	put it (like /usr/pkg/share/examples/snort)
>How-To-Repeat:
	make update
>Fix:
	I'm not sure, but it's probably sonething incredibly simple for
	someone that already knows how to use the Makefile.  In fact,
	putting all of the configuration file stuff in
	/usr/pkg/share/exmaples/snort might not be a bad idea.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->adrianp 
Responsible-Changed-By: adrianp 
Responsible-Changed-When: Mon Aug 16 20:29:34 UTC 2004 
Responsible-Changed-Why:  
I'm current maintainer for snort so I'll grab this. 

From: Adrian Portelli <adrianp@netbsd.org>
To: burgess@neonramp.com
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/18996
Date: Mon, 16 Aug 2004 21:37:06 +0100

 This is a multi-part message in MIME format.
 --------------060405010107090200000308
 Content-Type: text/plain; charset=us-ascii; format=flowed
 Content-Transfer-Encoding: 7bit

 Hi,

 I realise it's been a little while since you logged this PR but I've 
 done some patches for snort to at least get the database creation 
 scripts installed with snort under ${PREFIX}/share/examples/snort.

 Was there anything else in particular that you were looking at in the 
 contrib/ dir ?

 thanks,

 adrian.

 --------------060405010107090200000308
 Content-Type: text/plain;
  name="snort.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="snort.diff"

 Index: Makefile.common
 ===================================================================
 RCS file: /cvsroot/pkgsrc/net/snort/Makefile.common,v
 retrieving revision 1.15
 diff -u -r1.15 Makefile.common
 --- Makefile.common	1 Jul 2004 17:10:22 -0000	1.15
 +++ Makefile.common	16 Aug 2004 20:24:27 -0000
 @@ -79,6 +79,7 @@
  		${INSTALL_DATA} $$i ${PREFIX}/share/snort/rules ; \
  	done
  	${INSTALL_MAN} ${WRKSRC}/snort.8 ${PREFIX}/man/man8
 +	${INSTALL_DATA} ${WRKSRC}/contrib/create_* ${EGDIR}

  .include "../../devel/pcre/buildlink3.mk"
  .include "../../net/libpcap/buildlink3.mk"
 Index: PLIST
 ===================================================================
 RCS file: /cvsroot/pkgsrc/net/snort/PLIST,v
 retrieving revision 1.15
 diff -u -r1.15 PLIST
 --- PLIST	1 Jul 2004 17:10:22 -0000	1.15
 +++ PLIST	16 Aug 2004 20:24:27 -0000
 @@ -2284,6 +2284,10 @@
  share/doc/snort/snort_manual.pdf
  share/doc/snort/snort_manual.tex
  share/examples/snort/classification.config
 +share/examples/snort/create_mssql
 +share/examples/snort/create_mysql
 +share/examples/snort/create_oracle.sql
 +share/examples/snort/create_postgresql
  share/examples/snort/gen-msg.map
  share/examples/snort/generators
  share/examples/snort/reference.config

 --------------060405010107090200000308--

From: Adrian Portelli <adrianp@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/18996 CVS commit: pkgsrc/net/snort
Date: Tue, 21 Sep 2004 15:50:26 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	adrianp
 Date:		Tue Sep 21 15:50:26 UTC 2004

 Modified Files:
 	pkgsrc/net/snort: Makefile.common PLIST distinfo
 	pkgsrc/net/snort/patches: patch-ae

 Log Message:
 - Update snort to 2.2.0
 - ok'ed snj@, wiz@
 - Install database scripts which goes a part-way to addressing PR 18996

 Updated database schema diagram from Chris Reid. Schema can be found in
 ./doc/snort_schema_v106.pdf
 Added --include-pcre* configuration option to help cross compiling. Thanks
 Erik de Castro Lopo.
 Fixed thresholding/suppression issue with queuing multiple events per packet.
 Thanks Andreas Ostling.
 When a rebuilt stream causes an alert, log out the original packets instead of
 the rebuilt packet. Thanks sekure@gmail.com for the report.
 Turned off http_inspect alerts that were causing false positives in the preset
 webserver profiles (Thanks Dan Roelker).
 Turn off encoding alerts in HTTP parameter field. The parameter field is still
 normalized, it just doesn't alert. This helps reduce alerts that are generated
 from complex parameter queries (Thanks Dan Roelker).
 Fixed memory leak in "fast" output. Thanks for your bug report
 sekure@gmail.com.
 Clear error code which under Windows was causing a subsequent false failure in
 parsing threshold rules. (Thanks to Rich Adamson)

 Further details can be found in Changelog and RELEASE.NOTES.


 To generate a diff of this commit:
 cvs rdiff -r1.15 -r1.16 pkgsrc/net/snort/Makefile.common \
     pkgsrc/net/snort/PLIST
 cvs rdiff -r1.22 -r1.23 pkgsrc/net/snort/distinfo
 cvs rdiff -r1.3 -r1.4 pkgsrc/net/snort/patches/patch-ae

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.


From: Adrian Portelli <adrianp@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/18996 CVS commit: pkgsrc/net/snort-contrib
Date: Wed, 22 Sep 2004 15:01:36 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	adrianp
 Date:		Wed Sep 22 15:01:36 UTC 2004

 Update of /cvsroot/pkgsrc/net/snort-contrib
 In directory ivanova.netbsd.org:/tmp/cvs-serv12747

 Log Message:
 - Add snort-contrib 2.2.0
 - Package contains the files from the contrib directory of the snort tarball
 - ok'ed wiz@
 - Suggested by Dave Burgess in PR 18996, thanks Dave !


 Status:

 Vendor Tag:	TNF
 Release Tags:	pkgsrc-base

 N pkgsrc/net/snort-contrib/Makefile
 N pkgsrc/net/snort-contrib/PLIST
 N pkgsrc/net/snort-contrib/DESCR
 N pkgsrc/net/snort-contrib/distinfo

 No conflicts created by this import


From: Adrian Portelli <adrianp@netbsd.org>
To: burgess@neonramp.com
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/18996
Date: Wed, 22 Sep 2004 16:12:02 +0100

 Hi David,

 I've recently added the snort-contrib package to pkgsrc that contains 
 most of the files from the snort/contrib directory.  If you could have a 
 quick look to make sure it addresses this PR I'll close it.

 Thanks,

 adrian.
State-Changed-From-To: open->closed 
State-Changed-By: adrianp 
State-Changed-When: Thu Sep 23 07:56:45 UTC 2004 
State-Changed-Why:  
snort-contrib now in pkgsrc and the user is happy with the package. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.