From 222f86ac49b468d157c69ecd82a5bf2851f8f730 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 10 Jan 2005 03:30:50 +0000 Subject: Initial port of powerdns --- packages/powerdns.xml | 43 +++++++++++++++++++++++++++++++++++++++++++ pkg_config.xml | 12 ++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 packages/powerdns.xml diff --git a/packages/powerdns.xml b/packages/powerdns.xml new file mode 100644 index 00000000..e236e35d --- /dev/null +++ b/packages/powerdns.xml @@ -0,0 +1,43 @@ + + + nmap + true + yes + + http://www.pfsense.com/packages/config/powerdns.schema + + + + PowerDNS + +
Services
+ powerdns.xml +
+ + + + + system("rm -rf /usr/local/pgsql"); + system("/usr/sbin/pw userdel pgsql"); + system("/usr/bin/killall -9 postgres"); + echo "<p>"; + echo "Reboot required... One moment..."; + echo "<p>"; + system("/sbin/shutdown -r now"); + + + echo "<pre>"; + echo "Creating DB..."; + system("/usr/bin/su -l pgsql -c initdb"); + echo "Starting DB..."; + system("/usr/local/etc/rc.d/010.pgsql.sh start"); + system("/usr/bin/su -l pgsql -c \"dropdb powerdns\" "); + system("/usr/bin/su -l pgsql -c \"createdb powerdns\" "); + echo "Creating DB Schema..."; + system("cat /usr/local/pkg/powerdns.schema | /usr/bin/su -l pgsql -c \"psql powerdns\" "); + system("cat /usr/local/www/powerdnsadmin-0.3/docs/postgresql.sql | /usr/bin/su -l pgsql -c \"psql powerdns\" "); + + + +
\ No newline at end of file diff --git a/pkg_config.xml b/pkg_config.xml index f366fab1..da868c33 100644 --- a/pkg_config.xml +++ b/pkg_config.xml @@ -56,5 +56,17 @@ http://www.pfsense.com/packages/config/stunnel.xml stunnel.xml + + + powerdns + (BETA PACKAGE!) PDNS is an advanced high performance authoritative nameserver + Network Management + http://ftp2.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/All + powerdns-2.9.16_4.tbz + 2.9.16_4 + http://www.pfsense.com/packages/config/powerdns.xml + powerdns.xml + + -- cgit v1.2.3