Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  8 Jul 2000 15:54:59 -0700 (PDT)
From:      insane@lunatic.oneinsane.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19788: Update Snort to latest version 
Message-ID:  <20000708225459.E368D15543@lunatic.oneinsane.net>

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

>Number:         19788
>Category:       ports
>Synopsis:       Update snort to latest version
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 08 16:00:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Ron Rosson
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
OneInsane Network
>Environment:

	FreeBSD lunatic.oneinsane.net 4.0-STABLE FreeBSD 4.0-STABLE

>Description:

	Update the snort port to version 1.6.2 

>How-To-Repeat:

	look at http://www.snort.org

>Fix:

### PLEASE READ ###
  This is my first attempt at sending diffs to get a port upgraded. I chose
  way because of the extra functionality it adds to the port if the admin so
  chooses and makes it easier down the road to do it using the ports tree and
  by hand.

  There is some issues with the diffs I have attatched. So whoever takes this
  PR please use them as a guidline in what I was trying to accomplish.
### THANK YOU ###

--- Makefile.orig	Sat Jul  8 15:07:28 2000
+++ Makefile	Sat Jul  8 15:37:41 2000
@@ -6,15 +6,33 @@
 #
 
 PORTNAME=	snort
-PORTVERSION=	1.6
+PORTVERSION=	1.6.2
 CATEGORIES=	security net
-MASTER_SITES=	http://www.clark.net/~roesch/ \
+MASTER_SITES=	http://www.snort.org/Files/ \
 		http://www.physik.TU-Berlin.DE/~ibex/ports/distfiles/
 
 MAINTAINER=	dirk@FreeBSD.org
 
+.if defined(WITH_FLEXRESP)
+BUILD_DEPENDS+=         ${LOCALBASE}/include/libnet.h:${PORTSDIR}/net/libnet
+.endif
+.if defined(WITH_MYSQL)
+BUILD_DEPENDS+=         ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql322-client
+.endif
+
 GNU_CONFIGURE=	yes
 MAN8=		snort.8
+
+.if defined(WITH_FLEXRESP)
+CONFIGURE_ARGS+=        --enable-flexresp
+CONFIGURE_ENV+=		CPPFLAGS="-I${LOCALBASE}/include" \
+			LDFLAGS="-L${LOCALBASE}/lib"
+.endif
+
+.if defined(WITH_MYSQL)
+CONFIGURE_ARGS+=        --with-mysql-includes=${LOCALBASE}/include/mysql \
+                        --with-mysql-libraries=${LOCALBASE}/lib/mysql
+.endif
 
 post-install:
 	${MKDIR} ${PREFIX}/share/snort


--- files/md5.orig	Sat Jul  8 15:09:42 2000
+++ files/md5	Sat Jul  8 15:14:52 2000
@@ -1 +1 @@
-MD5 (snort-1.6.tar.gz) = 48193b9ff13a0ce50329ce17272eac59
+MD5 (snort-1.6.2.tar.gz) = 37d94f4ff174effd12b58349234912aa

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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