From owner-freebsd-ports Sat Jul 13 8:50:13 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AFB637B400 for ; Sat, 13 Jul 2002 08:50:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB6CD43E42 for ; Sat, 13 Jul 2002 08:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6DFo1JU095776 for ; Sat, 13 Jul 2002 08:50:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6DFo1i4095775; Sat, 13 Jul 2002 08:50:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A251137B405 for ; Sat, 13 Jul 2002 08:49:36 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0229B43E58 for ; Sat, 13 Jul 2002 08:49:36 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g6DFnUOT002637 for ; Sat, 13 Jul 2002 08:49:30 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g6DFnU4F002636; Sat, 13 Jul 2002 08:49:30 -0700 (PDT) Message-Id: <200207131549.g6DFnU4F002636@www.freebsd.org> Date: Sat, 13 Jul 2002 08:49:30 -0700 (PDT) From: Paul Marquis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/40528: Update port: security/snort Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 40528 >Category: ports >Synopsis: Update port: security/snort >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jul 13 08:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Paul Marquis >Release: 4-STABLE >Organization: >Environment: FreeBSD sboy.pmarquis.com 4.6-STABLE FreeBSD 4.6-STABLE #0: Tue Jun 25 21:43:42 EDT 2002 pmarquis@sboy.pmarquis.com:/usr/obj/home/src/sys/SBOY i386 >Description: Update snort port to 1.8.7 and some minor cleanups to Makefile. Unified diff attached. >How-To-Repeat: >Fix: diff -Naur snort.orig/Makefile snort/Makefile --- snort.orig/Makefile Mon Apr 15 17:50:11 2002 +++ snort/Makefile Sat Jul 13 11:32:29 2002 @@ -6,7 +6,7 @@ # PORTNAME= snort -PORTVERSION= 1.8.6 +PORTVERSION= 1.8.7 CATEGORIES= security MASTER_SITES= http://www.snort.org/dl/ @@ -51,16 +51,11 @@ @${ECHO} "" post-install: - ${MKDIR} ${PREFIX}/share/snort -.for i in CREDITS RULES.SAMPLE USAGE attack-responses.rules backdoor.rules \ - bad-traffic.rules ddos.rules dns.rules dos.rules exploit.rules \ - finger.rules ftp.rules icmp.rules icmp-info.rules info.rules local.rules \ - misc.rules netbios.rules policy.rules porn.rules rpc.rules rservices.rules \ - scan.rules shellcode.rules smtp.rules sql.rules telnet.rules tftp.rules \ - virus.rules web-attacks.rules web-cgi.rules web-coldfusion.rules \ - web-frontpage.rules web-iis.rules web-misc.rules x11.rules - ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/snort -.endfor + ${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/CREDITS ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/RULES.SAMPLE ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/USAGE ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.rules ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/classification.config ${PREFIX}/etc/classification.config-sample ${INSTALL_DATA} ${WRKSRC}/snort.conf ${PREFIX}/etc/snort.conf-sample @${SED} -e 's#/usr/local#${PREFIX}#g' ${PKGMESSAGE} diff -Naur snort.orig/distinfo snort/distinfo --- snort.orig/distinfo Mon Apr 15 17:50:11 2002 +++ snort/distinfo Sat Jul 13 11:06:37 2002 @@ -1 +1 @@ -MD5 (snort-1.8.6.tar.gz) = 6bba7e1cbc837a5c7404d7c0b496780b +MD5 (snort-1.8.7.tar.gz) = 29c81d0bc243edb21ba4ab33ee80457e diff -Naur snort.orig/files/patch-aa snort/files/patch-aa --- snort.orig/files/patch-aa Mon Jun 3 06:19:16 2002 +++ snort/files/patch-aa Wed Dec 31 19:00:00 1969 @@ -1,11 +0,0 @@ ---- plugbase.h.orig Mon Jun 3 03:06:52 2002 -+++ plugbase.h Mon Jun 3 03:06:59 2002 -@@ -99,7 +99,7 @@ - #endif - - #if defined(FREEBSD) || defined(OPENBSD) -- #include -+ #include - #endif - - #if defined(SOLARIS) diff -Naur snort.orig/files/patch-snort.c snort/files/patch-snort.c --- snort.orig/files/patch-snort.c Wed Dec 31 19:00:00 1969 +++ snort/files/patch-snort.c Sat Jul 13 11:13:52 2002 @@ -0,0 +1,11 @@ +--- snort.c.orig Fri Jun 28 10:22:59 2002 ++++ snort.c Sat Jul 13 11:13:16 2002 +@@ -1694,7 +1694,7 @@ + difftime.tv_sec = endtime.tv_sec - starttime.tv_sec; + difftime.tv_usec = endtime.tv_usec - starttime.tv_usec; + +- printf("Run time for packet processing was %u.%u seconds\n", ++ printf("Run time for packet processing was %lu.%lu seconds\n", + difftime.tv_sec, difftime.tv_usec); + + CleanExit(SIGQUIT); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message