summaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-02-09 11:57:47 +0000
committerpav <pav@FreeBSD.org>2005-02-09 11:57:47 +0000
commita125c00bb8b5b3dd0039d01511216e0851c8ee54 (patch)
treed433c170463c7053195292f974a4baebf58dd0b6 /net-mgmt
parent3abc20e502dcc6bc88c94e44df9a07658c4d8ffd (diff)
downloadFreeBSD-ports-a125c00bb8b5b3dd0039d01511216e0851c8ee54.zip
FreeBSD-ports-a125c00bb8b5b3dd0039d01511216e0851c8ee54.tar.gz
- Update to 4.0.4
PR: ports/77268 Submitted by: Maxim Tuliuk <mt@primats.org.ua> (maintainer)
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/ipplan/Makefile31
-rw-r--r--net-mgmt/ipplan/distinfo4
-rw-r--r--net-mgmt/ipplan/pkg-message2
-rw-r--r--net-mgmt/ipplan/pkg-plist77
4 files changed, 75 insertions, 39 deletions
diff --git a/net-mgmt/ipplan/Makefile b/net-mgmt/ipplan/Makefile
index 945234a..5ff4906 100644
--- a/net-mgmt/ipplan/Makefile
+++ b/net-mgmt/ipplan/Makefile
@@ -6,29 +6,46 @@
#
PORTNAME= ipplan
-PORTVERSION= 4.0.2
+PORTVERSION= 4.0.4
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= iptrack
-DISTNAME= ${PORTNAME}-4.02
+DISTNAME= ${PORTNAME}-4.04
MAINTAINER= mt@primats.org.ua
COMMENT= IP address management and tracking
-USE_PHP= gettext
-USE_MYSQL= yes
USE_REINPLACE= yes
-
+NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
IPPLANDIR?= share/${PORTNAME}
+PKGMESSAGE= ${WRKDIR}/pkg-message
PLIST_SUB= IPPLANDIR=${IPPLANDIR}
-NO_BUILD= yes
+USE_PHP= gettext pcre xml zlib
+
+.if !defined(WITHOUT_MYSQL)
+USE_PHP+= mysql
+.endif
+
+.if defined(WITH_PGSQL)
+USE_PHP+= pgsql
+.endif
+
+.if defined(WITH_SNMP)
+USE_PHP+= snmp
+.endif
+
+post-patch:
+ @${SED} -e 's|%IPPLANDIR%|${PREFIX}/${IPPLANDIR}|g' ${MASTERDIR}/pkg-message > ${PKGMESSAGE}
+.if defined(WITH_PGSQL)
+ @${REINPLACE_CMD} -e 's|INSTALL|INSTALL-POSTGRESQL|g' ${PKGMESSAGE}
+.endif
do-install:
@${MKDIR} ${PREFIX}/${IPPLANDIR}
@${CP} -R ${WRKSRC}/* ${PREFIX}/${IPPLANDIR}
@${FIND} ${PREFIX}/${IPPLANDIR} -name '*.orig' -delete
- @${SED} -e 's|%IPPLANDIR%|${PREFIX}/${IPPLANDIR}|g' ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/net-mgmt/ipplan/distinfo b/net-mgmt/ipplan/distinfo
index 618375d..e189015 100644
--- a/net-mgmt/ipplan/distinfo
+++ b/net-mgmt/ipplan/distinfo
@@ -1,2 +1,2 @@
-MD5 (ipplan-4.02.tar.gz) = 95e89a361799d9ce7c2a5c68f8caedf1
-SIZE (ipplan-4.02.tar.gz) = 889789
+MD5 (ipplan-4.04.tar.gz) = 64e935370103ba4acd9a7db234da18e1
+SIZE (ipplan-4.04.tar.gz) = 916407
diff --git a/net-mgmt/ipplan/pkg-message b/net-mgmt/ipplan/pkg-message
index 45e05b1..e502e14 100644
--- a/net-mgmt/ipplan/pkg-message
+++ b/net-mgmt/ipplan/pkg-message
@@ -2,4 +2,4 @@ IPPlan's installation hasn't completed yet. Please read
%IPPLANDIR%/INSTALL carefully and follow it.
If you won't use Mysql as default database, according to
your database, install required port and read
-%IPPLANDIR%/INSTALL-[ORACLE9i|POSTGRESQL]
+%IPPLANDIR%/INSTALL-[ORACLE9i|POSTGRESQL]
diff --git a/net-mgmt/ipplan/pkg-plist b/net-mgmt/ipplan/pkg-plist
index aab1627..e0c31d01 100644
--- a/net-mgmt/ipplan/pkg-plist
+++ b/net-mgmt/ipplan/pkg-plist
@@ -9,9 +9,24 @@
%%IPPLANDIR%%/INTERNALS
%%IPPLANDIR%%/IPplan.jpg
%%IPPLANDIR%%/LICENSE
+%%IPPLANDIR%%/Net/DNS.php
+%%IPPLANDIR%%/Net/DNS/Header.php
+%%IPPLANDIR%%/Net/DNS/Packet.php
+%%IPPLANDIR%%/Net/DNS/Question.php
+%%IPPLANDIR%%/Net/DNS/RR.php
+%%IPPLANDIR%%/Net/DNS/RR/A.php
+%%IPPLANDIR%%/Net/DNS/RR/CNAME.php
+%%IPPLANDIR%%/Net/DNS/RR/MX.php
+%%IPPLANDIR%%/Net/DNS/RR/NS.php
+%%IPPLANDIR%%/Net/DNS/RR/PTR.php
+%%IPPLANDIR%%/Net/DNS/RR/SOA.php
+%%IPPLANDIR%%/Net/DNS/RR/TSIG.php
+%%IPPLANDIR%%/Net/DNS/Resolver.php
+%%IPPLANDIR%%/Net/LICENSE
%%IPPLANDIR%%/README
%%IPPLANDIR%%/README.html
%%IPPLANDIR%%/README.sgml
+%%IPPLANDIR%%/README1st-WINDOWS.txt
%%IPPLANDIR%%/TODO
%%IPPLANDIR%%/TRANSLATIONS
%%IPPLANDIR%%/UPGRADE
@@ -231,6 +246,7 @@
%%IPPLANDIR%%/templates/swip_wdb1.4_delete.xsl
%%IPPLANDIR%%/templates/swip_wdb1.4_modify.xsl
%%IPPLANDIR%%/templates/swip_wdb1.4_new.xsl
+%%IPPLANDIR%%/testdns.php
%%IPPLANDIR%%/user/createarea.php
%%IPPLANDIR%%/user/createrange.php
%%IPPLANDIR%%/user/createsubnet.php
@@ -277,37 +293,40 @@
%%IPPLANDIR%%/user/whois.php
%%IPPLANDIR%%/user/whoisclass.php
%%IPPLANDIR%%/xmllib.php
-@dirrm %%IPPLANDIR%%/admin
-@dirrm %%IPPLANDIR%%/adodb/contrib
-@dirrm %%IPPLANDIR%%/adodb/cute_icons_for_site
-@dirrm %%IPPLANDIR%%/adodb/datadict
-@dirrm %%IPPLANDIR%%/adodb/docs
-@dirrm %%IPPLANDIR%%/adodb/drivers
-@dirrm %%IPPLANDIR%%/adodb/lang
+@dirrm %%IPPLANDIR%%/user
+@dirrm %%IPPLANDIR%%/templates
+@dirrm %%IPPLANDIR%%/locale/pt/LC_MESSAGES
+@dirrm %%IPPLANDIR%%/locale/pt
+@dirrm %%IPPLANDIR%%/locale/no/LC_MESSAGES
+@dirrm %%IPPLANDIR%%/locale/no
+@dirrm %%IPPLANDIR%%/locale/it/LC_MESSAGES
+@dirrm %%IPPLANDIR%%/locale/it
+@dirrm %%IPPLANDIR%%/locale/fr/LC_MESSAGES
+@dirrm %%IPPLANDIR%%/locale/fr
+@dirrm %%IPPLANDIR%%/locale/es/LC_MESSAGES
+@dirrm %%IPPLANDIR%%/locale/es
+@dirrm %%IPPLANDIR%%/locale/de/LC_MESSAGES
+@dirrm %%IPPLANDIR%%/locale/de
+@dirrm %%IPPLANDIR%%/locale
+@dirrm %%IPPLANDIR%%/layout
+@dirrm %%IPPLANDIR%%/contrib
+@dirrm %%IPPLANDIR%%/adodb/xsl
+@dirrm %%IPPLANDIR%%/adodb/tests
+@dirrm %%IPPLANDIR%%/adodb/session/old
+@dirrm %%IPPLANDIR%%/adodb/session
+@dirrm %%IPPLANDIR%%/adodb/perf
@dirrm %%IPPLANDIR%%/adodb/pear/Auth/Container
@dirrm %%IPPLANDIR%%/adodb/pear/Auth
@dirrm %%IPPLANDIR%%/adodb/pear
-@dirrm %%IPPLANDIR%%/adodb/perf
-@dirrm %%IPPLANDIR%%/adodb/session/old
-@dirrm %%IPPLANDIR%%/adodb/session
-@dirrm %%IPPLANDIR%%/adodb/tests
-@dirrm %%IPPLANDIR%%/adodb/xsl
+@dirrm %%IPPLANDIR%%/adodb/lang
+@dirrm %%IPPLANDIR%%/adodb/drivers
+@dirrm %%IPPLANDIR%%/adodb/docs
+@dirrm %%IPPLANDIR%%/adodb/datadict
+@dirrm %%IPPLANDIR%%/adodb/cute_icons_for_site
+@dirrm %%IPPLANDIR%%/adodb/contrib
@dirrm %%IPPLANDIR%%/adodb
-@dirrm %%IPPLANDIR%%/contrib
-@dirrm %%IPPLANDIR%%/layout
-@dirrm %%IPPLANDIR%%/locale/de/LC_MESSAGES
-@dirrm %%IPPLANDIR%%/locale/de
-@dirrm %%IPPLANDIR%%/locale/es/LC_MESSAGES
-@dirrm %%IPPLANDIR%%/locale/es
-@dirrm %%IPPLANDIR%%/locale/fr/LC_MESSAGES
-@dirrm %%IPPLANDIR%%/locale/fr
-@dirrm %%IPPLANDIR%%/locale/it/LC_MESSAGES
-@dirrm %%IPPLANDIR%%/locale/it
-@dirrm %%IPPLANDIR%%/locale/no/LC_MESSAGES
-@dirrm %%IPPLANDIR%%/locale/no
-@dirrm %%IPPLANDIR%%/locale/pt/LC_MESSAGES
-@dirrm %%IPPLANDIR%%/locale/pt
-@dirrm %%IPPLANDIR%%/locale
-@dirrm %%IPPLANDIR%%/templates
-@dirrm %%IPPLANDIR%%/user
+@dirrm %%IPPLANDIR%%/admin
+@dirrm %%IPPLANDIR%%/Net/DNS/RR
+@dirrm %%IPPLANDIR%%/Net/DNS
+@dirrm %%IPPLANDIR%%/Net
@dirrm %%IPPLANDIR%%
OpenPOWER on IntegriCloud