From owner-freebsd-ports Mon Jul 24 14:20:15 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0E0E337BBFD for ; Mon, 24 Jul 2000 14:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA07868; Mon, 24 Jul 2000 14:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from lunatic.oneinsane.net (lunatic.oneinsane.net [207.113.133.231]) by hub.freebsd.org (Postfix) with ESMTP id 7767B37B870 for ; Mon, 24 Jul 2000 14:15:55 -0700 (PDT) (envelope-from insane@lunatic.oneinsane.net) Received: (from insane@localhost) by lunatic.oneinsane.net (8.9.3/8.9.3) id OAA04036; Mon, 24 Jul 2000 14:15:51 -0700 (PDT) (envelope-from insane) Message-Id: <200007242115.OAA04036@lunatic.oneinsane.net> Date: Mon, 24 Jul 2000 14:15:51 -0700 (PDT) From: insane@lunatic.oneinsane.net Reply-To: insane@lunatic.oneinsane.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/20156: Improving and Upgrading Snort port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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