ports/53678: Update net/portmon (maintainer): 1.8 -> 1.9
Kirill Ponomarew
ponomarew at oberon.net
Tue Jun 24 13:20:09 UTC 2003
>Number: 53678
>Category: ports
>Synopsis: Update net/portmon (maintainer): 1.8 -> 1.9
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 24 06:20:05 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Kirill Ponomarew
>Release: FreeBSD 4.8-STABLE i386
>Organization:
Oberon.net
>Environment:
>Description:
Update net/portmon (maintainer): 1.8 -> 1.9
* All sprintf() and strcpy() functions have been
eliminated from the code.
>How-To-Repeat:
>Fix:
diff -urN portmon.orig/Makefile portmon/Makefile
--- portmon.orig/Makefile Fri Jun 20 13:34:35 2003
+++ portmon/Makefile Tue Jun 24 15:12:01 2003
@@ -6,7 +6,7 @@
#
PORTNAME= portmon
-PORTVERSION= 1.8
+PORTVERSION= 1.9
CATEGORIES= net
MASTER_SITES= http://www.aboleo.net/software/portmon/downloads/
@@ -14,9 +14,15 @@
COMMENT= Daemon that monitor network services
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
MAN8= portmon.8
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|/etc|${PREFIX}/etc|g' \
+ ${WRKSRC}/extras/${PORTNAME}.8
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \
${PREFIX}/bin
@@ -24,6 +30,10 @@
${PREFIX}/man/man8
${INSTALL_DATA} ${WRKSRC}/extras/portmon.hosts.sample \
${PREFIX}/etc
+ @${ECHO} "------------------------------------------------------------"
+ @${ECHO} "Sample of configuration file placed at"
+ @${ECHO} "${PREFIX}/etc/portmon.hosts.sample"
+ @${ECHO} "------------------------------------------------------------
post-install:
.if !defined(NOPORTDOCS)
diff -urN portmon.orig/distinfo portmon/distinfo
--- portmon.orig/distinfo Thu Jun 19 14:07:38 2003
+++ portmon/distinfo Tue Jun 24 15:01:59 2003
@@ -1 +1 @@
-MD5 (portmon-1.8.tar.gz) = 86cc4498e6d9221fd22477bef74ed423
+MD5 (portmon-1.9.tar.gz) = 95ae1352fb6d877b36839a1f90fc2b81
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list