Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2000 14:15:51 -0700 (PDT)
From:      insane@lunatic.oneinsane.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/20156: Improving and Upgrading Snort port
Message-ID:  <200007242115.OAA04036@lunatic.oneinsane.net>

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

>Number:         20156
>Category:       ports
>Synopsis:       1.6.2.2 has some nasty bugs
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 24 14:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Ron Rosson
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
OneInsane Network
>Environment:

FreeBSD mental 4.0-STABLE FreeBSD 4.0-STABLE #0: Wed Jul 12 10:22:42 PDT 2000
root@mental:/usr/obj/usr/src/sys/MENTAL  i386

>Description:

	Version 1.6.2.2 was released with some issues. The author reccomends to
	upgrade to the latest version (1.6.3).

	Changes to the port to help incorporate some of the compile options of
	snort.

>How-To-Repeat:

	Read the author's comments about the previous versions

>Fix:

--- Makefile.orig	Mon Jul 24 13:44:59 2000
+++ Makefile	Mon Jul 24 14:01:19 2000
@@ -6,15 +6,55 @@
 #
 
 PORTNAME=	snort
-PORTVERSION=	1.6.2.2
+PORTVERSION=	1.6.3
 CATEGORIES=	security
 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
+
+.if defined(WITH_ODBC)
+BUILD_DEPENDS+=		${LOCALBASE}/lib/libodbc.a: \
+			${PORTSDIR}/databases/unixODBC
+.endif
+
+.if defined(WITH_POSTGRES)
+BUILD_DEPENDS+=		${LOCALBASE}/pgsql/lib/libpq.a: \
+			${PORTSDIR}/databases/postgresql
+.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
+
+.if defined(WITH_ODBC)
+CONFIGURE_ARGS+=        --with-unixodbc-includes=${LOCALBASE}/include \
+			--with-unixodbc-libraries=${LOCALBASE}/lib
+.endif
+
+.if defined(WITH_POSTGRES)
+CONFIGURE_ARGS+=        --with-libpq-includes=${LOCALBASE}/include/pgsql \
+			--with-libpq-libraries=${LOCALBASE}/lib/pgsql
+.endif
 
 post-install:
 	${MKDIR} ${PREFIX}/share/snort

--- files/md5.orig	Mon Jul 24 13:45:14 2000
+++ files/md5	Mon Jul 24 13:45:43 2000
@@ -1 +1 @@
-MD5 (snort-1.6.2.2.tar.gz) = ffdab83a98faa07c5d43835354cbcfa8
+MD5 (snort-1.6.3.tar.gz) = 5d628b08c0bf42af3affc9fcfca7ea69

>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?200007242115.OAA04036>