Index: head/net-mgmt/ipaudit/Makefile =================================================================== --- head/net-mgmt/ipaudit/Makefile +++ head/net-mgmt/ipaudit/Makefile @@ -2,28 +2,23 @@ # $FreeBSD$ PORTNAME= ipaudit -PORTVERSION= 0.95 +PORTVERSION= 1.1 CATEGORIES= net-mgmt sysutils -MASTER_SITES= http://ipaudit.sourceforge.net/download/ +MASTER_SITES= SF +MASTER_SITE_SUBDIR= ipaudit/ipaudit -MAINTAINER= ports@FreeBSD.org +MAINTAINER= amutu@amutu.com COMMENT= IP traffic summarizer LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= tar:tgz SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS +GNU_CONFIGURE= yes -do-install: -.for f in ipaudit ipstrings total - ${INSTALL_PROGRAM} ${WRKSRC}/src/${f} ${STAGEDIR}${PREFIX}/bin -.endfor -.for f in ipaudit.1 ipstrings.1 total.1 - ${INSTALL_MAN} ${WRKSRC}/man/man1/${f} ${STAGEDIR}${PREFIX}/man/man1 -.endfor +post-install: ${INSTALL_DATA} ${WRKSRC}/src/ipaudit.conf.sample ${STAGEDIR}${PREFIX}/etc do-install-DOCS-on: Index: head/net-mgmt/ipaudit/distinfo =================================================================== --- head/net-mgmt/ipaudit/distinfo +++ head/net-mgmt/ipaudit/distinfo @@ -1,2 +1,3 @@ -SHA256 (ipaudit-0.95.tgz) = 82c47fba296e93ee50b0a033e0689d4c3fbc08ebd6e1026dcd7f069a05d0e872 -SIZE (ipaudit-0.95.tgz) = 52412 +TIMESTAMP = 1497756455 +SHA256 (ipaudit-1.1.tar.gz) = ef97c9ff232f4e57624643b6b0e99b1951b55bc12d50f9b8b5e10ed267836458 +SIZE (ipaudit-1.1.tar.gz) = 170253 Index: head/net-mgmt/ipaudit/files/patch-Makefile =================================================================== --- head/net-mgmt/ipaudit/files/patch-Makefile +++ head/net-mgmt/ipaudit/files/patch-Makefile @@ -1,15 +0,0 @@ ---- Makefile.orig Wed Oct 18 01:38:27 2000 -+++ Makefile Tue Jul 15 18:20:49 2003 -@@ -8,10 +8,10 @@ - BIN=ipaudit ipstrings total pdate - - MAKE=make --CIDIR=-I/usr/include/pcap -+#CIDIR=-I/usr/include/pcap - - all: -- $(MAKE) -C src all -+ cd src && $(MAKE) all - - clean: - $(MAKE) -C src clean Index: head/net-mgmt/ipaudit/files/patch-src__Makefile =================================================================== --- head/net-mgmt/ipaudit/files/patch-src__Makefile +++ head/net-mgmt/ipaudit/files/patch-src__Makefile @@ -1,50 +0,0 @@ ---- src/Makefile.orig Mon Jan 8 05:56:59 2001 -+++ src/Makefile Tue Jul 15 18:19:58 2003 -@@ -1,36 +1,36 @@ --CIDIR=-I/usr/include/pcap -+#CIDIR=-I/usr/include/pcap - - #LIB=../../libpcap-0.5/libpcap.a - LIB=-lpcap - --all: ipaudit total ipstrings beta-dir -+all: ipaudit total ipstrings - - ipaudit: ipaudit.o hash.o -- $(CC) -o ipaudit ipaudit.o hash.o $(LIB) -+ $(CC) $(CFLAGS) -o ipaudit ipaudit.o hash.o $(LIB) - - total: total.o hash.o -- $(CC) -o total total.o hash.o -lm -+ $(CC) $(CFLAGS) -o total total.o hash.o -lm - - ipstrings: ipstrings.o -- $(CC) -o ipstrings ipstrings.o $(LIB) -+ $(CC) $(CFLAGS) -o ipstrings ipstrings.o $(LIB) - - ipaudit.o: ipaudit.c hash.h -- $(CC) -c ipaudit.c $(CIDIR) $(DFLAGS) -+ $(CC) $(CFLAGS) -c ipaudit.c $(CIDIR) $(DFLAGS) - - hash.o: hash.c hash.h -- $(CC) -c hash.c -+ $(CC) $(CFLAGS) -c hash.c - - total.o: total.c hash.c hash.h -- $(CC) -c total.c -+ $(CC) $(CFLAGS) -c total.c - - ipstrings.o: ipstrings.c -- $(CC) -c ipstrings.c $(CIDIR) $(DFLAGS) -+ $(CC) $(CFLAGS) -c ipstrings.c $(CIDIR) $(DFLAGS) - - iprange: iprange.c - $(CC) -g -o iprange iprange.c - --beta-dir: -- $(MAKE) -C beta -+#beta-dir: -+# $(MAKE) -C beta - - clean: - rm -f *.o Index: head/net-mgmt/ipaudit/files/patch-src__hash.h =================================================================== --- head/net-mgmt/ipaudit/files/patch-src__hash.h +++ head/net-mgmt/ipaudit/files/patch-src__hash.h @@ -1,11 +0,0 @@ ---- src/hash.h.orig Tue Jul 15 16:53:16 2003 -+++ src/hash.h Tue Jul 15 16:53:49 2003 -@@ -1,6 +1,8 @@ - #ifndef _HASH_H - #define _HASH_H - -+#include -+ - /* - ------------------------------------------------------------------------ - Type Definitions Index: head/net-mgmt/ipaudit/files/patch-src_ipaudit.conf.sample =================================================================== --- head/net-mgmt/ipaudit/files/patch-src_ipaudit.conf.sample +++ head/net-mgmt/ipaudit/files/patch-src_ipaudit.conf.sample @@ -0,0 +1,11 @@ +--- src/ipaudit.conf.sample.orig 2017-06-18 04:09:55 UTC ++++ src/ipaudit.conf.sample +@@ -0,0 +1,8 @@ ++# ++# test configuration file for ipaudit ++# ++# interface lo eth0 ++interface lo eth0 ++writetime on ++icmptype on ++# saveport 1:6,21,23,111,6667,65301 Index: head/net-mgmt/ipaudit/pkg-plist =================================================================== --- head/net-mgmt/ipaudit/pkg-plist +++ head/net-mgmt/ipaudit/pkg-plist @@ -1,8 +1,9 @@ -bin/ipaudit -bin/ipstrings +bin/makelocal bin/total etc/ipaudit.conf.sample -man/man1/ipaudit.1.gz -man/man1/ipstrings.1.gz man/man1/total.1.gz +man/man8/ipaudit.8.gz +man/man8/ipstrings.8.gz +sbin/ipaudit +sbin/ipstrings %%PORTDOCS%%%%DOCSDIR%%/README