aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-01-20 16:49:52 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-01-20 16:49:52 +0000
commit9200f42f58cc832a44fc47d961b9b8521380278d (patch)
tree5cad6148ecc3b87faaff0cd4e2762d7f09356189 /dns
parent12c0903f21134b18a38cb7264229f401eb9819c1 (diff)
downloadports-9200f42f58cc832a44fc47d961b9b8521380278d.tar.gz
ports-9200f42f58cc832a44fc47d961b9b8521380278d.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/Makefile1
-rw-r--r--dns/poweradmin/Makefile40
-rw-r--r--dns/poweradmin/distinfo2
-rw-r--r--dns/poweradmin/files/pkg-message.in9
-rw-r--r--dns/poweradmin/pkg-descr6
-rw-r--r--dns/poweradmin/pkg-plist39
6 files changed, 97 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index 9e21b15c7cff..ce7d168bf3be 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -68,6 +68,7 @@
SUBDIR += p5-Tie-DNS
SUBDIR += pdnsd
SUBDIR += posadis
+ SUBDIR += poweradmin
SUBDIR += powerdns
SUBDIR += py-adns
SUBDIR += py-dns
diff --git a/dns/poweradmin/Makefile b/dns/poweradmin/Makefile
new file mode 100644
index 000000000000..7c2360c7c508
--- /dev/null
+++ b/dns/poweradmin/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: poweradmin
+# Date created: 19 January 2005
+# Whom: geo
+#
+# $FreeBSD$
+#
+
+PORTNAME= poweradmin
+PORTVERSION= 1.2.7
+CATEGORIES= dns www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= poweradmin
+
+MAINTAINER= grivat@sicfa.net
+COMMENT= A set of PHP-scripts to manage PowerDNS over the web
+
+RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
+
+USE_PHP= mysql
+WANT_PHP_WEB= yes
+WANT_PHP_PEAR= yes
+NO_BUILD= yes
+SUB_FILES= pkg-message
+SUB_LIST= INSTALLDIR=${INSTALLDIR}
+
+WEBOWN?= www
+WEBGRP?= www
+WWWDIR= ${PREFIX}/www
+INSTALLDIR= ${WWWDIR}/poweradmin
+
+do-install:
+ ${MKDIR} ${INSTALLDIR}
+ cd ${WRKSRC}; ${FIND} . \
+ | ${CPIO} -pdm -R ${WEBOWN}:${WEBGRP} ${INSTALLDIR}
+ ${MV} ${INSTALLDIR}/inc/config-block.inc.php ${INSTALLDIR}/inc/config.inc.php.sample
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/dns/poweradmin/distinfo b/dns/poweradmin/distinfo
new file mode 100644
index 000000000000..7a0fa656188c
--- /dev/null
+++ b/dns/poweradmin/distinfo
@@ -0,0 +1,2 @@
+MD5 (poweradmin-1.2.7.tar.gz) = 0e639b7a245b7ccda0af4b50221d2cea
+SIZE (poweradmin-1.2.7.tar.gz) = 61531
diff --git a/dns/poweradmin/files/pkg-message.in b/dns/poweradmin/files/pkg-message.in
new file mode 100644
index 000000000000..1a37ef65aa18
--- /dev/null
+++ b/dns/poweradmin/files/pkg-message.in
@@ -0,0 +1,9 @@
+*******************************************************************************
+A sample config file is located in %%INSTALLDIR%%/inc/config.inc.php.sample
+You now need to add an alias to apache's httpd.conf pointing to
+${INSTALLDIR} in order to access PowerAdmin from your web brower,
+or create a VirtualHost with DocumentRoot set to that directory.
+ Alias /poweradmin/ %%INSTALLDIR%%/
+ or
+ DocumentRoot %%INSTALLDIR%%/
+*******************************************************************************
diff --git a/dns/poweradmin/pkg-descr b/dns/poweradmin/pkg-descr
new file mode 100644
index 000000000000..41822d32b593
--- /dev/null
+++ b/dns/poweradmin/pkg-descr
@@ -0,0 +1,6 @@
+This project is a web-based front-end for the PowerDNS DNS server.
+
+WWW: http://www.poweradmin.org/
+
+- Geoffroy RIVAT
+grivat@sicfa.net
diff --git a/dns/poweradmin/pkg-plist b/dns/poweradmin/pkg-plist
new file mode 100644
index 000000000000..99f25d0a3878
--- /dev/null
+++ b/dns/poweradmin/pkg-plist
@@ -0,0 +1,39 @@
+www/poweradmin/add_record.php
+www/poweradmin/delete_domain.php
+www/poweradmin/delete_record.php
+www/poweradmin/delete_user.php
+www/poweradmin/docs/ChangeLog
+www/poweradmin/docs/README
+www/poweradmin/docs/README-Sequence
+www/poweradmin/docs/REDHAT-README
+www/poweradmin/docs/TODO
+www/poweradmin/edit.php
+www/poweradmin/edit_record.php
+www/poweradmin/edit_user.php
+www/poweradmin/images/background.jpg
+www/poweradmin/images/delete.gif
+www/poweradmin/images/edit.gif
+www/poweradmin/inc/auth.inc.php
+www/poweradmin/inc/config.inc.php.sample
+www/poweradmin/inc/dal.inc.php
+www/poweradmin/inc/database.inc.php
+www/poweradmin/inc/dns.inc.php
+www/poweradmin/inc/error.inc.php
+www/poweradmin/inc/footer.inc.php
+www/poweradmin/inc/header.inc.php
+www/poweradmin/inc/record.inc.php
+www/poweradmin/inc/toolkit.inc.php
+www/poweradmin/inc/users.inc.php
+www/poweradmin/index.php
+www/poweradmin/install.php
+www/poweradmin/migrator.php-pa
+www/poweradmin/search.php
+www/poweradmin/seq_update.php
+www/poweradmin/style/style.css.php
+www/poweradmin/test_setup.php
+www/poweradmin/users.php
+@dirrm www/poweradmin/style
+@dirrm www/poweradmin/inc
+@dirrm www/poweradmin/images
+@dirrm www/poweradmin/docs
+@dirrm www/poweradmin