From owner-freebsd-ports Thu Apr 11 12:40:16 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6978237B417 for ; Thu, 11 Apr 2002 12:40:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3BJe4425821; Thu, 11 Apr 2002 12:40:04 -0700 (PDT) (envelope-from gnats) Received: from main.v2project.com (cliente-212079143077.cm256.senpc.supercable.es [212.79.143.77]) by hub.freebsd.org (Postfix) with SMTP id A57EB37B417 for ; Thu, 11 Apr 2002 12:33:42 -0700 (PDT) Received: (qmail 14968 invoked by uid 1001); 11 Apr 2002 19:33:37 -0000 Message-Id: <20020411193337.14967.qmail@main.v2project.com> Date: 11 Apr 2002 19:33:37 -0000 From: Joseph King To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/37002: Port Update: (security/fwlogwatch) from 0.6 to 0.7 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: 37002 >Category: ports >Synopsis: Port Update: (security/fwlogwatch) from 0.6 to 0.7 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Apr 11 12:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Joseph King >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD main.v2project.com 4.5-STABLE FreeBSD 4.5-STABLE #1: Fri Apr 5 02:33:49 CEST 2002 king@main.v2project.com:/usr/src/sys-altq/compile/MAIN i386 >Description: Port Update from fwlogwatch from 0.6 to 0.7, the patch file now change the location of etc files and man page location instead of perl command in the Makefile to avoid portlint warnings. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # fwlogwatch # fwlogwatch/files # fwlogwatch/files/patch-Makefile # fwlogwatch/files/fwlogwatch.sh.sample # fwlogwatch/Makefile # fwlogwatch/distinfo # fwlogwatch/pkg-comment # fwlogwatch/pkg-descr # fwlogwatch/pkg-plist # echo c - fwlogwatch mkdir -p fwlogwatch > /dev/null 2>&1 echo c - fwlogwatch/files mkdir -p fwlogwatch/files > /dev/null 2>&1 echo x - fwlogwatch/files/patch-Makefile sed 's/^X//' >fwlogwatch/files/patch-Makefile << 'END-of-fwlogwatch/files/patch-Makefile' X--- Makefile.orig Wed Mar 27 10:09:09 2002 X+++ Makefile Thu Apr 11 21:23:03 2002 X@@ -1,10 +1,10 @@ X # $Id: Makefile,v 1.59 2002/03/27 09:09:09 bw Exp $ X X # Linux X-CC = gcc X-CFLAGS = -pipe -O2 -Wall #-pedantic -Wpointer-arith #-g #-p X-LDFLAGS = #-g #-static -p X-LIBS = -lcrypt -lz #-lc_p X+#CC = gcc X+#CFLAGS = -pipe -O2 -Wall #-pedantic -Wpointer-arith #-g #-p X+#LDFLAGS = #-g #-static -p X+#LIBS = -lcrypt -lz #-lc_p X X # Solaris X #LIBS = -lnsl -lsocket -lz -lcrypt X@@ -22,9 +22,9 @@ X #LIBS = -lz -L/usr/local/lib -lintl X X # FreeBSD X-#CC = gcc X-#CFLAGS = -pipe -O2 -Wall -I/usr/local/include X-#LIBS = -L/usr/local/lib -lintl -lcrypt -lz X+CC = gcc X+CFLAGS = -pipe -O2 -Wall -I/usr/local/include X+LIBS = -L/usr/local/lib -lintl -lcrypt -lz X X # You might want to add -DSHORT_NAMES to CFLAGS if you only intend to X # analyze log formats with short list/chain/branch/interface names like X@@ -40,8 +40,8 @@ X INSTALL_SCRIPT = $(INSTALL) -m 0755 X INSTALL_DATA = $(INSTALL) -m 0644 X INSTALL_DIR = /usr/local X-CONF_DIR = /etc X-LOCALE_DIR = /usr X+CONF_DIR = /usr/local/etc X+LOCALE_DIR = /usr/local X X OBJS = cisco_ios.o cisco_pix.o compare.o ipchains.o ipfilter.o \ X main.o modes.o net.o netfilter.o output.o parser.o \ X@@ -77,7 +77,7 @@ X $(INSTALL_PROGRAM) fwlogwatch $(INSTALL_DIR)/sbin/fwlogwatch X $(INSTALL_SCRIPT) contrib/fwlw_notify $(INSTALL_DIR)/sbin/fwlw_notify X $(INSTALL_SCRIPT) contrib/fwlw_respond $(INSTALL_DIR)/sbin/fwlw_respond X- $(INSTALL_DATA) fwlogwatch.8 $(INSTALL_DIR)/share/man/man8/fwlogwatch.8 X+ $(INSTALL_DATA) fwlogwatch.8 $(INSTALL_DIR)/man/man8/fwlogwatch.8 X X install-config: X $(INSTALL_DATA) fwlogwatch.config $(CONF_DIR)/fwlogwatch.config END-of-fwlogwatch/files/patch-Makefile echo x - fwlogwatch/files/fwlogwatch.sh.sample sed 's/^X//' >fwlogwatch/files/fwlogwatch.sh.sample << 'END-of-fwlogwatch/files/fwlogwatch.sh.sample' X#!/bin/sh X Xif ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then X echo "$0: Cannot determine the PREFIX" >&2 X exit 1 Xfi X Xcase "$1" in Xstart) X if [ -x ${PREFIX}/sbin/fwlogwatch ]; then X ${PREFIX}/sbin/fwlogwatch -R && echo -n ' fwlogwatch' X fi X ;; Xstop) X killall fwlogwatch && echo -n ' fwlogwatch' X ;; X*) X echo "Usage: `basename $0` {start|stop}" >&2 X ;; Xesac X Xexit 0 END-of-fwlogwatch/files/fwlogwatch.sh.sample echo x - fwlogwatch/Makefile sed 's/^X//' >fwlogwatch/Makefile << 'END-of-fwlogwatch/Makefile' X# ex:ts=8 X# New ports collection makefile for: fwlogwatch X# Date created: Nov 20, 2001 X# Whom: ijliao X# X# $FreeBSD: ports/security/fwlogwatch/Makefile,v 1.5 2002/03/15 19:44:17 ade Exp $ X# X XPORTNAME= fwlogwatch XPORTVERSION= 0.7 XCATEGORIES= security XMASTER_SITES= http://www.kyb.uni-stuttgart.de/boris/sw/ X XMAINTAINER= ports@FreeBSD.org X XLIB_DEPENDS= intl:${PORTSDIR}/devel/gettext-old X XINSTALL_TARGET= install install-config install-i18n XMANCOMPRESSES= no XMAN8= fwlogwatch.8 XMAKE_ENV= MKDIR="${MKDIR}" X Xpost-install: X @${INSTALL_SCRIPT} ${FILESDIR}/fwlogwatch.sh.sample ${PREFIX}/etc/rc.d X X.include END-of-fwlogwatch/Makefile echo x - fwlogwatch/distinfo sed 's/^X//' >fwlogwatch/distinfo << 'END-of-fwlogwatch/distinfo' XMD5 (fwlogwatch-0.7.tar.gz) = fbb17043ce7d55e1ae55f9b5c09540b6 END-of-fwlogwatch/distinfo echo x - fwlogwatch/pkg-comment sed 's/^X//' >fwlogwatch/pkg-comment << 'END-of-fwlogwatch/pkg-comment' XA packet filter and firewall log analyzer END-of-fwlogwatch/pkg-comment echo x - fwlogwatch/pkg-descr sed 's/^X//' >fwlogwatch/pkg-descr << 'END-of-fwlogwatch/pkg-descr' Xfwlogwatch is a packet filter and firewall log analyzer X XGeneral features: X - Can detect and process log entries in the following formats: X - Linux ipchains, Linux netfilter/iptables, Solaris/BSD/Irix/HP-UX X ipfilter, Cisco IOS and Cisco PIX. X - Entries can be parsed in combined log files, the parsers to be used X can be selected. X - Gzip-compressed logs are supported. X - Can separate recent from old entries and detects timewarps in log files. X - Can recognize 'last message repeated' entries concerning the firewall. X - Integrated resolver for protocols, services and host names. X - Can do lookups in the whois database. X - Own DNS and whois information cache for faster lookups. X - Ports and hosts can be selected or excluded as needed. X - Support for internationalization (available in english, german, X portuguese and chinese). X XWWW: http://cert.uni-stuttgart.de/projects/fwlogwatch/ END-of-fwlogwatch/pkg-descr echo x - fwlogwatch/pkg-plist sed 's/^X//' >fwlogwatch/pkg-plist << 'END-of-fwlogwatch/pkg-plist' Xetc/rc.d/fwlogwatch.sh.sample Xetc/fwlogwatch.config Xetc/fwlogwatch.template Xsbin/fwlogwatch Xsbin/fwlw_notify Xsbin/fwlw_respond Xshare/locale/de/LC_MESSAGES/fwlogwatch.mo Xshare/locale/pt_BR/LC_MESSAGES/fwlogwatch.mo Xshare/locale/sv/LC_MESSAGES/fwlogwatch.mo Xshare/locale/zh_CN/LC_MESSAGES/fwlogwatch.mo Xshare/locale/zh_TW/LC_MESSAGES/fwlogwatch.mo END-of-fwlogwatch/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message