aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bacula-server
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2014-12-21 21:55:49 +0000
committerDan Langille <dvl@FreeBSD.org>2014-12-21 21:55:49 +0000
commit142fb20052ac7f8a5ab272f5840ac13b4d307c8d (patch)
tree359399925dd0671008fc22544843f29cfb10c8bb /sysutils/bacula-server
parent1a27fc9ebd204d846c50af17ed0fe27e0bcdbbd8 (diff)
Notes
Diffstat (limited to 'sysutils/bacula-server')
-rw-r--r--sysutils/bacula-server/Makefile7
-rw-r--r--sysutils/bacula-server/files/pkg-deinstall.client.in3
-rw-r--r--sysutils/bacula-server/pkg-plist1
-rw-r--r--sysutils/bacula-server/pkg-plist.client7
4 files changed, 6 insertions, 12 deletions
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile
index 991e5b7777af..8cff1d1ea564 100644
--- a/sysutils/bacula-server/Makefile
+++ b/sysutils/bacula-server/Makefile
@@ -3,13 +3,13 @@
PORTNAME= bacula
DISTVERSION= 7.0.5
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES?= sysutils
MASTER_SITES= SF/bacula/bacula/${PORTVERSION}
PKGNAMEPREFIX?= #
PKGNAMESUFFIX?= -server
-MAINTAINER= dan@langille.org
+MAINTAINER= dvl@FreeBSD.org
COMMENT?= Network backup solution (server)
USES+= libtool
@@ -174,9 +174,6 @@ post-patch:
.endif
-pre-install:
- ${MKDIR} ${STAGEDIR}${BACULA_DIR}
-
.if !target(post-install)
post-install:
.if defined(WITH_CLIENT_ONLY)
diff --git a/sysutils/bacula-server/files/pkg-deinstall.client.in b/sysutils/bacula-server/files/pkg-deinstall.client.in
index e24e2a581cff..27590d301e06 100644
--- a/sysutils/bacula-server/files/pkg-deinstall.client.in
+++ b/sysutils/bacula-server/files/pkg-deinstall.client.in
@@ -20,9 +20,6 @@ case "$2" in
mv -f $TMPFILE /etc/services
if [ -d ${BACULA_DIR} ]; then
- rmdir ${BACULA_DIR};
- fi
- if [ -d ${BACULA_DIR} ]; then
echo "Check if ${BACULA_DIR} is empty and delete it to permanently remove the bacula port."
fi
diff --git a/sysutils/bacula-server/pkg-plist b/sysutils/bacula-server/pkg-plist
index c5d435dc7f6a..37beb7889e97 100644
--- a/sysutils/bacula-server/pkg-plist
+++ b/sysutils/bacula-server/pkg-plist
@@ -68,3 +68,4 @@ man/man8/btape.8.gz
man/man8/btraceback.8.gz
man/man8/bwild.8.gz
man/man8/dbcheck.8.gz
+@dir(bacula,bacula,) %%BACULA_DIR%%
diff --git a/sysutils/bacula-server/pkg-plist.client b/sysutils/bacula-server/pkg-plist.client
index 07673651842c..395b9fc579c9 100644
--- a/sysutils/bacula-server/pkg-plist.client
+++ b/sysutils/bacula-server/pkg-plist.client
@@ -12,7 +12,6 @@ man/man8/bacula-fd.8.gz
man/man8/bconsole.8.gz
sbin/bacula-fd
@(,bacula,750) sbin/bconsole
-@exec mkdir -p %%BACULA_DIR%%
-@dirrmtry %%BACULA_DIR%%
-@dirrmtry share/bacula
-@dirrmtry %%ETCDIR%%
+@dir(bacula,bacula,) %%BACULA_DIR%%
+@dir share/bacula
+@dir(,bacula,) %%ETCDIR%%