aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/netmagis-database
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2015-07-08 02:25:27 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2015-07-08 02:25:27 +0000
commit6d19c7ffe11ddff001ba618258be9c33162a73f4 (patch)
tree94e00384fd92797520e552709471bc374e3ab633 /net-mgmt/netmagis-database
parent9ef8e11cbfa8e0127301a078864cc614dc410f40 (diff)
downloadports-6d19c7ffe11ddff001ba618258be9c33162a73f4.tar.gz
ports-6d19c7ffe11ddff001ba618258be9c33162a73f4.zip
Notes
Diffstat (limited to 'net-mgmt/netmagis-database')
-rw-r--r--net-mgmt/netmagis-database/Makefile9
-rw-r--r--net-mgmt/netmagis-database/pkg-plist26
2 files changed, 17 insertions, 18 deletions
diff --git a/net-mgmt/netmagis-database/Makefile b/net-mgmt/netmagis-database/Makefile
index 99cecee25d1e..63d739b51982 100644
--- a/net-mgmt/netmagis-database/Makefile
+++ b/net-mgmt/netmagis-database/Makefile
@@ -6,8 +6,17 @@ PKGNAMESUFFIX= -database
COMMENT= Utilities for the netmagis database server
+RUN_DEPENDS= netmagis-config:${PORTSDIR}/net-mgmt/netmagis-common \
+ pwgen:${PORTSDIR}/sysutils/pwgen \
+ tcltls>=1.4.1:${PORTSDIR}/devel/tcltls \
+ ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
+
+WANT_PGSQL+= server pltcl
+
MASTERDIR= ${.CURDIR}/../netmagis-common
+NO_ARCH= yes
+
PKGMESSAGE= ${.CURDIR}/pkg-message
PLIST= ${.CURDIR}/pkg-plist
diff --git a/net-mgmt/netmagis-database/pkg-plist b/net-mgmt/netmagis-database/pkg-plist
index d427fb65010e..e2583580eca2 100644
--- a/net-mgmt/netmagis-database/pkg-plist
+++ b/net-mgmt/netmagis-database/pkg-plist
@@ -5,6 +5,10 @@ lib/netmagis/sql22/functions.sql
lib/netmagis/sql22/schema-mac.sql
lib/netmagis/sql22/schema-main.sql
lib/netmagis/sql22/triggers.sql
+lib/netmagis/sql23/functions.sql
+lib/netmagis/sql23/schema-mac.sql
+lib/netmagis/sql23/schema-main.sql
+lib/netmagis/sql23/triggers.sql
lib/netmagis/triggers.sql
lib/netmagis/upgrade/12-13/upgrade.sql
lib/netmagis/upgrade/13-14/upgrade.sql
@@ -14,10 +18,12 @@ lib/netmagis/upgrade/15-20/pgauth.sed
lib/netmagis/upgrade/15-20/upgrade.sql
lib/netmagis/upgrade/20-21/upgrade.sql
lib/netmagis/upgrade/21-22/upgrade.sql
+lib/netmagis/upgrade/22-23/upgrade.sql
sbin/netmagis-dbcreate
sbin/netmagis-dbimport
sbin/netmagis-dbmaint
sbin/netmagis-dbupgrade
+sbin/netmagis-getoui
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crontab.database
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/no-view/README
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/no-view/domain.txt
@@ -50,21 +56,5 @@ sbin/netmagis-dbupgrade
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/with-views/zones/example.com-ext
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/with-views/zones/example.com-int
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/with-views/zones/example.org
-@dirrmtry var/netmagis/dbdump
-@dirrmtry var/netmagis
-@dirrmtry var
-@dirrmtry lib/netmagis/sql22
-@dirrmtry lib/netmagis/upgrade/12-13
-@dirrmtry lib/netmagis/upgrade/13-14
-@dirrmtry lib/netmagis/upgrade/14-15
-@dirrmtry lib/netmagis/upgrade/15-20
-@dirrmtry lib/netmagis/upgrade/20-21
-@dirrmtry lib/netmagis/upgrade/21-22
-@dirrmtry lib/netmagis/upgrade
-@dirrmtry lib/netmagis
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/with-views/zones
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/with-views
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/no-view/zones
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/no-view
-%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
-@exec mkdir -p %D/var/netmagis/dbdump
+@dir /var/netmagis/dbdump
+@dir /var/netmagis