summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Koeller <lkoeller@FreeBSD.org>2004-07-03 09:17:08 +0000
committerLars Koeller <lkoeller@FreeBSD.org>2004-07-03 09:17:08 +0000
commit08fc2e62dde29a9bbe1e68ef416d560379bd45b9 (patch)
tree27fa242ff11a776cb17d8f20326f773a3b78173b
parento) Fix build error in console.c with readline support (diff)
o) Bacula didn't create the database dir anymore when it is installed.
Now the port did it. PR: - Submitted by: Andy Wettstein <ajw@physics.umn.edu>
Notes
Notes: svn path=/head/; revision=112842
-rw-r--r--sysutils/bacula-server/Makefile4
-rw-r--r--sysutils/bacula-server/pkg-plist1
-rw-r--r--sysutils/bacula/Makefile4
-rw-r--r--sysutils/bacula/pkg-plist1
4 files changed, 8 insertions, 2 deletions
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile
index 99f31c5ded43..95a6fe086a0f 100644
--- a/sysutils/bacula-server/Makefile
+++ b/sysutils/bacula-server/Makefile
@@ -7,7 +7,7 @@
PORTNAME= bacula
PORTVERSION= 1.34.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= bacula
@@ -53,6 +53,8 @@ USE_GNOME= libgnome
.include <bsd.port.pre.mk>
+PLIST_SUB+= BACULA_DIR=${BACULA_DIR}
+
# Build gnome-console
.if defined(WITH_GNOMECONSOLE)
CONFIGURE_ARGS+= --enable-gnome
diff --git a/sysutils/bacula-server/pkg-plist b/sysutils/bacula-server/pkg-plist
index c04636ba87ae..4c40c62aad20 100644
--- a/sysutils/bacula-server/pkg-plist
+++ b/sysutils/bacula-server/pkg-plist
@@ -29,3 +29,4 @@ sbin/bconsole
%%SERVER%%share/bacula/delete_catalog_backup
%%SERVER%%share/bacula/make_catalog_backup
%%SERVER%%@dirrm share/bacula
+@exec mkdir -p %%BACULA_DIR%%
diff --git a/sysutils/bacula/Makefile b/sysutils/bacula/Makefile
index 99f31c5ded43..95a6fe086a0f 100644
--- a/sysutils/bacula/Makefile
+++ b/sysutils/bacula/Makefile
@@ -7,7 +7,7 @@
PORTNAME= bacula
PORTVERSION= 1.34.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= bacula
@@ -53,6 +53,8 @@ USE_GNOME= libgnome
.include <bsd.port.pre.mk>
+PLIST_SUB+= BACULA_DIR=${BACULA_DIR}
+
# Build gnome-console
.if defined(WITH_GNOMECONSOLE)
CONFIGURE_ARGS+= --enable-gnome
diff --git a/sysutils/bacula/pkg-plist b/sysutils/bacula/pkg-plist
index c04636ba87ae..4c40c62aad20 100644
--- a/sysutils/bacula/pkg-plist
+++ b/sysutils/bacula/pkg-plist
@@ -29,3 +29,4 @@ sbin/bconsole
%%SERVER%%share/bacula/delete_catalog_backup
%%SERVER%%share/bacula/make_catalog_backup
%%SERVER%%@dirrm share/bacula
+@exec mkdir -p %%BACULA_DIR%%