Update to version 2.2.0.

PR:		19690
Submitted by:	maintainer
This commit is contained in:
Steve Price 2000-07-07 18:34:09 +00:00
parent d5511f0046
commit a11b70fe99
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=30315
7 changed files with 74 additions and 8 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= iplog
PORTVERSION= 2.1.1
PORTVERSION= 2.2.0
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.karlsbakk.net/pub/ojnk/iplog/
@ -22,16 +22,25 @@ GNU_CONFIGURE= yes
MAKE_FLAGS= CONF_ARGS="--prefix=${PREFIX}"
USE_GMAKE= yes
MAN5= iplog.rules.5
MAN5= iplog.conf.5
MAN8= iplog.8
.include <bsd.port.pre.mk>
post-install:
strip ${PREFIX}/sbin/iplog
.if !exists(${PREFIX}/etc/iplog.rules)
${CP} ${WRKSRC}/example-iplog.rules ${PREFIX}/etc/iplog.rules
@strip ${PREFIX}/sbin/iplog
.if !exists(${PREFIX}/etc/iplog.conf)
@${CP} ${WRKSRC}/example-iplog.conf ${PREFIX}/etc/iplog.conf
.else
@echo
@echo "============================================================================"
@echo "Hint: iplog changed its configuration file from ${PREFIX}/etc/iplog.rules"
@echo " to ${PREFIX}/etc/iplog.conf"
@echo
@echo "See ${PREFIX}/etc/example-iplog.conf for an example"
@echo "============================================================================"
@echo
.endif
${CP} ${WRKSRC}/example-iplog.rules ${PREFIX}/etc/iplog.rules.sample
@${CP} ${WRKSRC}/example-iplog.conf ${PREFIX}/etc/example-iplog.conf
.include <bsd.port.post.mk>

View file

@ -1 +1 @@
MD5 (iplog-2.1.1.tar.gz) = 4ef5db56ed6b7ef0955ef658d44dcf88
MD5 (iplog-2.2.0.tar.gz) = ca906ef470c4313fe622d0a545a16cfe

24
net/iplog/files/patch-aa Normal file
View file

@ -0,0 +1,24 @@
--- example-iplog.conf.orig Mon Jul 3 20:32:42 2000
+++ example-iplog.conf Tue Jul 4 08:45:51 2000
@@ -2,7 +2,7 @@
** $Id: patch-aa,v 1.2 2000/07/04 06:46:42 ust Exp $
**
** Example iplog configuration file.
-** Edit me and copy me to /etc/iplog.conf
+** Edit me and copy me to /usr/local/etc/iplog.conf
**
** See iplog.conf(5) for details on syntax and a full description
** of available options.
@@ -33,10 +33,10 @@
set ignore_dns
# Listen on eth0 and eth1
-interface eth0,eth1
+# interface xl0,xl1
# Operate in promiscuous mode and watch the 192.168.0.x network
-promisc 192.168.0.0/24
+# promisc 192.168.0.0/24
/*
** Ignore DNS traffic from nameservers.

11
net/iplog/files/patch-ab Normal file
View file

@ -0,0 +1,11 @@
--- iplog.8.orig Fri Jun 30 22:31:43 2000
+++ iplog.8 Tue Jul 4 08:05:29 2000
@@ -355,7 +355,7 @@
.SH FILES
.TP
-.B /etc/iplog.conf
+.B /usr/local/etc/iplog.conf
The
.B iplog
configuration file.

11
net/iplog/files/patch-ac Normal file
View file

@ -0,0 +1,11 @@
--- iplog.conf.5.orig Mon Jul 3 20:32:42 2000
+++ iplog.conf.5 Tue Jul 4 08:05:47 2000
@@ -19,7 +19,7 @@
.SH DESCRIPTION
Upon execution and upon being restarted, iplog reads a list of configuration rules from its configuration file. The default location of this file is
-.B /etc/iplog.conf.
+.B /usr/local/etc/iplog.conf.
.SH NOTATION
Throughout this document, required parameters will be denoted by enclosing the parameter in angle brackets <like this>.

11
net/iplog/files/patch-ad Normal file
View file

@ -0,0 +1,11 @@
--- src/iplog.h.orig Mon Jul 3 16:49:23 2000
+++ src/iplog.h Tue Jul 4 08:18:35 2000
@@ -28,7 +28,7 @@
** Path of the iplog configuration file.
*/
-#define CONFFILE "/etc/iplog.conf"
+#define CONFFILE "/usr/local/etc/iplog.conf"
/*
** Making these smaller will probably do bad things.

View file

@ -1,2 +1,2 @@
sbin/iplog
etc/iplog.rules.sample
etc/example-iplog.conf