From owner-freebsd-ports Sat Jul 8 16: 0:10 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 C6DC937B758 for ; Sat, 8 Jul 2000 16:00:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA63432; Sat, 8 Jul 2000 16:00:00 -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 61FBC37B6B0 for ; Sat, 8 Jul 2000 15:55:01 -0700 (PDT) (envelope-from insane@lunatic.oneinsane.net) Received: by lunatic.oneinsane.net (Postfix, from userid 1000) id E368D15543; Sat, 8 Jul 2000 15:54:59 -0700 (PDT) Message-Id: <20000708225459.E368D15543@lunatic.oneinsane.net> Date: Sat, 8 Jul 2000 15:54:59 -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/19788: Update Snort to latest version Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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