Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jul 2000 06:52:42 GMT
From:      Udo Schweigert <ust@cert.siemens.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19690: Port update of net/iplog to version 2.2.0
Message-ID:  <200007040652.e646qgN57573@alaska.cert.siemens.de>

next in thread | raw e-mail | index | archive | help

>Number:         19690
>Category:       ports
>Synopsis:       Port update of net/iplog to version 2.2.0
>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:   Tue Jul 04 00:00:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Udo Schweigert
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
Siemens AG. ZT IK 3
>Environment:

	FreeBSD 4.0-STABLE i386

>Description:

This updates the iplog port to version 2.2.0.

>How-To-Repeat:


>Fix:


diff -ruN iplog.orig/Makefile iplog/Makefile
--- iplog.orig/Makefile	Tue Apr 11 14:21:08 2000
+++ iplog/Makefile	Tue Jul  4 08:10:12 2000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	iplog
-PORTVERSION=	2.1.1
+PORTVERSION=	2.2.0
 CATEGORIES=	security
 MASTER_SITES=	http://download.sourceforge.net/ojnk/ \
 		ftp://ftp.karlsbakk.net/pub/ojnk/iplog/
@@ -21,16 +21,25 @@
 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>
diff -ruN iplog.orig/files/md5 iplog/files/md5
--- iplog.orig/files/md5	Sat Mar  4 15:06:38 2000
+++ iplog/files/md5	Tue Jul  4 07:45:37 2000
@@ -1 +1 @@
-MD5 (iplog-2.1.1.tar.gz) = 4ef5db56ed6b7ef0955ef658d44dcf88
+MD5 (iplog-2.2.0.tar.gz) = ca906ef470c4313fe622d0a545a16cfe
diff -ruN iplog.orig/patches/patch-aa iplog/patches/patch-aa
--- iplog.orig/patches/patch-aa	Thu Jan  1 01:00:00 1970
+++ iplog/patches/patch-aa	Tue Jul  4 08:46:42 2000
@@ -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.
diff -ruN iplog.orig/patches/patch-ab iplog/patches/patch-ab
--- iplog.orig/patches/patch-ab	Thu Jan  1 01:00:00 1970
+++ iplog/patches/patch-ab	Tue Jul  4 08:06:14 2000
@@ -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.
diff -ruN iplog.orig/patches/patch-ac iplog/patches/patch-ac
--- iplog.orig/patches/patch-ac	Thu Jan  1 01:00:00 1970
+++ iplog/patches/patch-ac	Tue Jul  4 08:06:32 2000
@@ -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>.
diff -ruN iplog.orig/patches/patch-ad iplog/patches/patch-ad
--- iplog.orig/patches/patch-ad	Thu Jan  1 01:00:00 1970
+++ iplog/patches/patch-ad	Tue Jul  4 08:19:42 2000
@@ -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.
diff -ruN iplog.orig/pkg/PLIST iplog/pkg/PLIST
--- iplog.orig/pkg/PLIST	Sat Oct  9 18:40:11 1999
+++ iplog/pkg/PLIST	Tue Jul  4 08:10:22 2000
@@ -1,2 +1,2 @@
 sbin/iplog
-etc/iplog.rules.sample
+etc/example-iplog.conf

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007040652.e646qgN57573>