ports/97132: update port: net-mgmt/ipplan to 4.56
Maxim Tuliuk
mt at primats.org.ua
Thu May 11 12:51:16 UTC 2006
>Number: 97132
>Category: ports
>Synopsis: update port: net-mgmt/ipplan to 4.56
>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: Thu May 11 12:30:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Maxim Tuliuk
>Release: FreeBSD 4.11-RELEASE i386
>Organization:
ISP "TopNet"
>Environment:
System: FreeBSD stat.top.net.ua 4.11-RELEASE FreeBSD 4.11-RELEASE #1: Tue Feb 15 18:58:19 EET 2005 root at stat.top.net.ua:/.amd_mnt/nfs/host/usr/home/system/obj/.amd_mnt/nfs/host/usr/home/system/src/sys/host i386
>Description:
- update port: net-mgmt/ipplan to 4.56
- do not rewrite/delete old configuration file
>How-To-Repeat:
>Fix:
diff -urN ipplan.orig/Makefile ipplan/Makefile
--- ipplan.orig/Makefile Tue Apr 18 17:38:27 2006
+++ ipplan/Makefile Thu May 11 14:37:31 2006
@@ -6,11 +6,11 @@
#
PORTNAME= ipplan
-PORTVERSION= 4.55
+PORTVERSION= 4.56
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= iptrack
-DISTNAME= ${PORTNAME}-4.55
+DISTNAME= ${PORTNAME}-4.56
MAINTAINER= mt at primats.org.ua
COMMENT= IP address management and tracking
@@ -23,6 +23,7 @@
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
IPPLANDIR?= share/${PORTNAME}
+CONFIG= config.php
PKGMESSAGE= ${WRKDIR}/pkg-message
PLIST_SUB= IPPLANDIR=${IPPLANDIR}
@@ -50,11 +51,17 @@
${WRKSRC}/config.php
@${FIND} ${WRKSRC} -name '*.orig' -delete -o -name '*.bak' -delete
+pre-install:
+ @${MV} ${WRKSRC}/${CONFIG} ${WRKSRC}/${CONFIG}.sample
+
do-install:
@${MKDIR} ${PREFIX}/${IPPLANDIR}
@${CP} -R ${WRKSRC}/* ${PREFIX}/${IPPLANDIR}
post-install:
+.if !exists(${IPPLANDIR}/${CONFIG})
+ ${INSTALL_DATA} ${WRKSRC}/${CONFIG}.sample ${PREFIX}/${IPPLANDIR}/${CONFIG}
+.endif
@${MKDIR} -m 700 /var/spool/ipplan/uploads \
/var/spool/ipplan/exportdns
@${CHOWN} -R www:www /var/spool/ipplan
diff -urN ipplan.orig/distinfo ipplan/distinfo
--- ipplan.orig/distinfo Tue Apr 18 17:38:27 2006
+++ ipplan/distinfo Thu May 11 13:12:36 2006
@@ -1,3 +1,3 @@
-MD5 (ipplan-4.55.tar.gz) = 3e8d140584bf908c0be53ca03bf6f5b0
-SHA256 (ipplan-4.55.tar.gz) = e8c8d391b6ddcf0e6f48e972500f9f05f17ace20111f1966ac9c804e95d7a644
-SIZE (ipplan-4.55.tar.gz) = 1333149
+MD5 (ipplan-4.56.tar.gz) = c678d73377d026cfb614c343f2b703af
+SHA256 (ipplan-4.56.tar.gz) = e3f1e41cd025e729f5e78f106d908aee85303c4abecfe49faac29ec770fb1d4a
+SIZE (ipplan-4.56.tar.gz) = 1335180
diff -urN ipplan.orig/pkg-plist ipplan/pkg-plist
--- ipplan.orig/pkg-plist Tue Apr 18 17:38:27 2006
+++ ipplan/pkg-plist Thu May 11 14:42:34 2006
@@ -201,7 +201,7 @@
%%IPPLANDIR%%/class.phpmailer.php
%%IPPLANDIR%%/class.smtp.php
%%IPPLANDIR%%/class.templib.php
-%%IPPLANDIR%%/config.php
+%%IPPLANDIR%%/config.php.sample
%%IPPLANDIR%%/contrib/bind9_revzone.xsl
%%IPPLANDIR%%/contrib/bind9_zone.dtd
%%IPPLANDIR%%/contrib/bind9_zone.xsl
@@ -463,6 +463,7 @@
%%IPPLANDIR%%/templates/swip_wdb1.4_new.xsl
%%IPPLANDIR%%/themes/default.css
%%IPPLANDIR%%/themes/pastel.css
+%%IPPLANDIR%%/themes/penguin.css
%%IPPLANDIR%%/user/Net/DNS.php
%%IPPLANDIR%%/user/Net/DNS/Header.php
%%IPPLANDIR%%/user/Net/DNS/Packet.php
@@ -591,4 +592,3 @@
@dirrm %%IPPLANDIR%%/adodb/contrib
@dirrm %%IPPLANDIR%%/adodb
@dirrm %%IPPLANDIR%%/admin
- at dirrm %%IPPLANDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list