summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2012-10-30 20:29:52 +0000
committerChris Rees <crees@FreeBSD.org>2012-10-30 20:29:52 +0000
commit4472e4fe42c909e0ed106b5e240b99620f110a79 (patch)
tree1dd52ebb5c203b28daca7eff04a0aba646782c31 /net-mgmt
parentNetmagis is a network management information system, (diff)
Add netmagis-database , utilities for the netmagis database server.
PR: ports/169509 Submitted by: Pierre David <pdagog@gmail.com>, Jean Benoit <jean@unistra.fr> Feature safe: yes
Notes
Notes: svn path=/head/; revision=306708
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/netmagis-database/Makefile14
-rw-r--r--net-mgmt/netmagis-database/pkg-plist38
3 files changed, 53 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 646319782305..c0a805cb9188 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -162,6 +162,7 @@
SUBDIR += netdot
SUBDIR += netleak
SUBDIR += netmagis-common
+ SUBDIR += netmagis-database
SUBDIR += netmask
SUBDIR += netmond
SUBDIR += netspoc
diff --git a/net-mgmt/netmagis-database/Makefile b/net-mgmt/netmagis-database/Makefile
new file mode 100644
index 000000000000..99cecee25d1e
--- /dev/null
+++ b/net-mgmt/netmagis-database/Makefile
@@ -0,0 +1,14 @@
+# Created by: Pierre David <pdagog@gmail.com>, Jean Benoit <jean@unistra.fr>
+# $FreeBSD$
+
+PORTNAME= netmagis
+PKGNAMESUFFIX= -database
+
+COMMENT= Utilities for the netmagis database server
+
+MASTERDIR= ${.CURDIR}/../netmagis-common
+
+PKGMESSAGE= ${.CURDIR}/pkg-message
+PLIST= ${.CURDIR}/pkg-plist
+
+.include "${MASTERDIR}/Makefile"
diff --git a/net-mgmt/netmagis-database/pkg-plist b/net-mgmt/netmagis-database/pkg-plist
new file mode 100644
index 000000000000..14c9d0fef2c3
--- /dev/null
+++ b/net-mgmt/netmagis-database/pkg-plist
@@ -0,0 +1,38 @@
+sbin/netmagis-dbcreate
+sbin/netmagis-dbimport
+sbin/netmagis-dbmaint
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README.database
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crontab.database
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/domain.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/group.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mailrelay.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mailrole.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/network.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rrsup.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/run-all.sh
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/upgrade/12-13/upgrade.sql
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/upgrade/13-14/upgrade.sql
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/upgrade/14-15/upgrade.sql
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/upgrade/15-20/README.pgauth
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/upgrade/15-20/pgauth.sed
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/upgrade/15-20/upgrade.sql
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/upgrade/20-21/upgrade.sql
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zones/1.168.192.in-addr.arpa
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zones/16.172.in-addr.arpa
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zones/4.3.2.1.8.b.d.0.1.0.0.2.ip6.arpa
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zones/example.com
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zones/example.org
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zones/plant1.example.com
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zones/subsid.co.zz
+@dirrmtry var/netmagis/dbdump
+@dirrmtry var/netmagis
+@dirrmtry var
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/zones
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/upgrade/20-21
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/upgrade/15-20
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/upgrade/14-15
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/upgrade/13-14
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/upgrade/12-13
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/upgrade
+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
+@exec mkdir -p %D/var/netmagis/dbdump