summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-02-09 11:57:47 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-02-09 11:57:47 +0000
commitc589fe94b9c6543f47581495f2dc94b309965248 (patch)
tree2a1cd42e0a4e99d8066f64bff50c1d76fef719be /net-mgmt
parentUpdate to 5.7.15 (diff)
- Update to 4.0.4
PR: ports/77268 Submitted by: Maxim Tuliuk <mt@primats.org.ua> (maintainer)
Notes
Notes: svn path=/head/; revision=128367
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 945234a0c9fa..5ff4906af34e 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 618375d4ae12..e189015ce395 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 45e05b1a3b5b..e502e1435bf0 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 aab1627defcc..e0c31d019f90 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%%