diff options
Diffstat (limited to 'net/iplog/Makefile')
| -rw-r--r-- | net/iplog/Makefile | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/net/iplog/Makefile b/net/iplog/Makefile index 587c7043f079..481ea414d7e2 100644 --- a/net/iplog/Makefile +++ b/net/iplog/Makefile @@ -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> |
