aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorlkoeller <lkoeller@FreeBSD.org>2003-10-21 02:39:32 +0800
committerlkoeller <lkoeller@FreeBSD.org>2003-10-21 02:39:32 +0800
commit302ff427c7d55b4b3812331bea7dbe30ccb7094a (patch)
treef3015ed9c3ce3846a0ec389e59ac144727b02e03 /sysutils
parentb64e0c9550f26adcf8b1962314ad92340c5373fb (diff)
downloadfreebsd-ports-gnome-302ff427c7d55b4b3812331bea7dbe30ccb7094a.tar.gz
freebsd-ports-gnome-302ff427c7d55b4b3812331bea7dbe30ccb7094a.tar.zst
freebsd-ports-gnome-302ff427c7d55b4b3812331bea7dbe30ccb7094a.zip
o) Update to the new version 1.32b
o) Take over maintainership in agreement with old maintainer, who don't use bacula anymore.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/bacula-server/Makefile77
-rw-r--r--sysutils/bacula-server/distinfo2
-rw-r--r--sysutils/bacula-server/files/bacula-barcodes51
-rw-r--r--sysutils/bacula-server/files/chio-bacula138
-rw-r--r--sysutils/bacula-server/files/patch-autoconf-Make.common.in48
-rw-r--r--sysutils/bacula-server/files/patch-configure15
-rw-r--r--sysutils/bacula-server/files/patch-scripts-fd.in34
-rw-r--r--sysutils/bacula-server/files/patch-src-cats-Makefile.in76
-rw-r--r--sysutils/bacula-server/files/patch-src__cats__Makefile.in76
-rw-r--r--sysutils/bacula-server/pkg-message14
-rw-r--r--sysutils/bacula-server/pkg-plist335
-rw-r--r--sysutils/bacula/Makefile77
-rw-r--r--sysutils/bacula/distinfo2
-rw-r--r--sysutils/bacula/files/bacula-barcodes51
-rw-r--r--sysutils/bacula/files/chio-bacula138
-rw-r--r--sysutils/bacula/files/patch-autoconf-Make.common.in48
-rw-r--r--sysutils/bacula/files/patch-configure15
-rw-r--r--sysutils/bacula/files/patch-scripts-fd.in34
-rw-r--r--sysutils/bacula/files/patch-src-cats-Makefile.in76
-rw-r--r--sysutils/bacula/pkg-message14
-rw-r--r--sysutils/bacula/pkg-plist335
21 files changed, 1109 insertions, 547 deletions
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile
index 065f0b22d2b3..ba7b2c95f33f 100644
--- a/sysutils/bacula-server/Makefile
+++ b/sysutils/bacula-server/Makefile
@@ -6,32 +6,89 @@
#
PORTNAME= bacula
-PORTVERSION= 1.30a
-PORTREVISION= 1
+PORTVERSION= 1.32b
+#PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= bacula
-MAINTAINER= demon@FreeBSD.org
+MAINTAINER= Lars.Koeller@Uni-Bielefeld.DE
COMMENT= The network backup solution
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-smartalloc \
+CONFIGURE_ARGS= --with-tcp-wrappers=/usr/lib \
+ --enable-smartalloc \
--with-working-dir=/var/db/bacula
-.if defined(WITH_SQLITE)
-CONFIGURE_ARGS+= --with-sqlite=${LOCALBASE}
-LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite
-DBTYPE= sqlite
+# Default is full build with sqlite
+.if defined(WITH_CLIENT_ONLY)
+CONFIGURE_ARGS+= --enable-client-only
+PLIST_SUB+= SERVER="@comment "
.else
+.if defined(WITH_MYSQL)
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
DBTYPE= mysql
+.else
+CONFIGURE_ARGS+= --with-sqlite=yes
+LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite
+DBTYPE= sqlite
.endif
-
PLIST_SUB+= DBTYPE=${DBTYPE}
+PLIST_SUB+= SERVER=""
+.endif
+
+.include <bsd.port.pre.mk>
+
+pre-everything::
+.if !defined(WITH_CLIENT_ONLY)
+ @${ECHO_MSG} "=======> ATTENTION <======="
+ @${ECHO_MSG} "===> Note that there is a pthreads problem, which leads to the loss of 500kB"
+ @${ECHO_MSG} "===> of data at the end of an tape. This is corrected in the upcoming"
+ @${ECHO_MSG} "===> 4.9-RELEASE and 5.2-RELEASE or use the -stable or -current tree."
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "You may use the following build options:"
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} " WITH_CLIENT_ONLY=yes if you only want the file daemon."
+.if !defined(WITH_MYSQL)
+ @${ECHO_MSG} " WITH_MYSQL=yes if you want MySQL instead of SqLite as the database."
+.else
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "===> Using MySQL as the bacula database."
+.endif
+ @${ECHO_MSG} ""
+.else
+ @${ECHO_MSG} "===> Building file daemon only."
+.endif
post-install:
+.if defined(WITH_CLIENT_ONLY)
+ # don't know how to make it better
+ ${RM} -f ${PREFIX}/etc/rc.d/bacula.sh.sample
+.else
+ ${INSTALL_SCRIPT} ${FILESDIR}/chio-bacula ${PREFIX}/sbin
+ if [ -f ${PREFIX}/etc/bacula-barcodes ]; then \
+ ${INSTALL_DATA} ${FILESDIR}/bacula-barcodes ${PREFIX}/etc/bacula-barcodes.new ; \
+ ${ECHO_CMD} "etc/bacula-barcodes.new" >> ${TMPPLIST}; \
+ else \
+ ${INSTALL_DATA} ${FILESDIR}/bacula-barcodes ${PREFIX}/etc ; \
+ ${ECHO_CMD} "etc/bacula-barcodes" >> ${TMPPLIST}; \
+ fi
+ if [ -f ${PREFIX}/etc/console.conf.new ]; then \
+ ${ECHO_CMD} "etc/console.conf.new" >> ${TMPPLIST}; \
+ elif [ -f ${PREFIX}/etc/console.conf ]; then \
+ ${ECHO_CMD} "etc/console.conf" >> ${TMPPLIST}; \
+ fi
+.endif
+ # Install leaves existing conf files untouched. Respect this here!
+ for na in sd fd dir; do \
+ if [ -f ${PREFIX}/etc/bacula-$$na.conf.new ]; then \
+ ${ECHO_CMD} "etc/bacula-$$na.conf.new" >> ${TMPPLIST}; \
+ elif [ -f ${PREFIX}/etc/bacula-$$na.conf ]; then \
+ ${ECHO_CMD} "etc/bacula-$$na.conf" >> ${TMPPLIST}; \
+ fi \
+ done; \
+
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/html-manual
${INSTALL_DATA} ${WRKSRC}/doc/bacula.pdf ${DOCSDIR}
@@ -39,4 +96,4 @@ post-install:
cpio -pdm -L -R root:wheel ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/sysutils/bacula-server/distinfo b/sysutils/bacula-server/distinfo
index f6aece1b9ab1..70489152c9ee 100644
--- a/sysutils/bacula-server/distinfo
+++ b/sysutils/bacula-server/distinfo
@@ -1 +1 @@
-MD5 (bacula-1.30a.tar.gz) = a2520f82be95f1c9b7674c446f7d5471
+MD5 (bacula-1.32b.tar.gz) = 3a8dbfec52221a7ae7a51d4043b63ed3
diff --git a/sysutils/bacula-server/files/bacula-barcodes b/sysutils/bacula-server/files/bacula-barcodes
new file mode 100644
index 000000000000..0a0b2dc28f24
--- /dev/null
+++ b/sysutils/bacula-server/files/bacula-barcodes
@@ -0,0 +1,51 @@
+#
+# Bacula barcode simulation file
+# used by ${PREFIX}/sbin/chio-bacula (FreeBSD)
+#
+# The volumenames are returned by the "changer list" command
+# labeling in the console is done by "label barcodes"
+# (then all volumes belog to the default pool).
+# All Lines with an "#" at the bedinning are ignored
+#
+# !!!! If you export an tape and reinsert another one,
+# !!!! don't forget to change the volume name in this file!
+#
+1:Volume1-100
+2:Volume1-101
+3:Volume1-102
+4:Volume1-103
+5:Volume1-104
+6:Volume1-105
+7:Volume1-106
+8:Volume1-107
+9:Volume1-108
+10:Volume1-109
+11:Volume1-110
+12:Volume1-111
+#
+# Further volumes exported from the changer
+#
+# 36GB AIT2 tapes
+#Volume1-100
+#Volume1-101
+#Volume1-102
+#Volume1-103
+#Volume1-104
+#Volume1-105
+#Volume1-106
+#Volume1-107
+#Volume1-108
+#Volume1-109
+#Volume1-110
+#Volume1-111
+#Volume1-112
+#Volume1-113
+#Volume1-114
+#Volume1-115
+#
+# 50GB AIT2 tapes
+#Volume2-200
+#Volume2-201
+#Volume2-202
+#Volume2-203
+#Volume2-204
diff --git a/sysutils/bacula-server/files/chio-bacula b/sysutils/bacula-server/files/chio-bacula
new file mode 100644
index 000000000000..dd6b9e8b88d8
--- /dev/null
+++ b/sysutils/bacula-server/files/chio-bacula
@@ -0,0 +1,138 @@
+#!/bin/sh
+#
+# Bacula interface to mtx autoloader
+# (By Lars Köller, lars+bacula@koellers.net)
+#
+# If you set in your Device resource
+#
+# Changer Command = "path-to-this-script/chio-bacula" %c %o %S %a
+# you will have the following input to this script:
+#
+# chio-bacula "changer-device" "command" "slot" "archive-device"
+#
+# for example:
+#
+# chio-bacula /dev/sg0 load 1 /dev/nst0 (on a FreeBSD system)
+#
+# If you need to to an offline, refer to the drive as $4
+# e.g. mt -f $f offline
+#
+# Many changers need an offline after the unload. Also many
+# changers need a sleep 60 after the mtx load.
+#
+# N.B. If you change the script, take care to return either
+# the mtx exit code or a 0. If the script exits with a non-zero
+# exit code, Bacula will assume the request failed.
+#
+
+# This simulates a barcode reader in the changer.
+# The labes of the virtual barcode reader are located in the BARCODE_FILE
+SIMULATE_BARCODE=true
+BARCODE_FILE=/usr/local/etc/bacula-barcodes
+
+me=$(basename $0)
+
+# Debug
+echo "$me $@" > /dev/console
+
+if [ -z "$1" ] ; then
+ usage;
+fi
+
+if [ -z "$2" ] ; then
+ usage;
+fi
+
+MTX=/bin/chio
+CHANGER=$1
+COMMAND=$2
+if [ ! -z "$3" ]; then
+ SLOT=$3
+fi
+if [ ! -z "$4" ]; then
+ TAPE=$4
+else
+ TAPE=/dev/nrsa2
+fi
+
+# Time to wait for loading
+SLEEP=20
+# What drive of the autochanger should be used primary
+# At the moment bacula (1.31a) could not deal with more drives
+DRIVE=1
+
+usage()
+{
+ echo ""
+ echo "The $me script for bacula"
+ echo "--------------------------------------"
+ echo ""
+ echo "usage: $me <changer-device> <command> [slot] [devicename of tapedrive]"
+ echo ""
+ echo "Valid commands:"
+ echo ""
+ echo "unload Unloads a tape into the slot"
+ echo " from where it was loaded."
+ echo "load <slot> Loads a tape from the slot <slot>"
+ echo " (slot-base is calculated to 1 as first slot)"
+ echo "list Lists full storage slots"
+ echo "loaded Gives slot from where the tape was loaded."
+ echo " 0 means the tape drive is empty."
+ echo "slots Gives Number of aviable slots."
+ echo ""
+ echo "Example:"
+ echo " mtx-changer /dev/changer load 1 loads a tape from slot 1"
+ echo ""
+ exit 2
+}
+
+
+case ${COMMAND} in
+ unload)
+ # enable the following line if you need to eject the cartridge
+ #mt -f ${TAPE} off
+ #sleep 2
+ ${MTX} -f ${CHANGER} return drive ${DRIVE}
+ ;;
+
+ load)
+ ${MTX} -f ${CHANGER} move slot $((${SLOT}-1)) drive ${DRIVE}
+ rtn=$?
+ # Increase the sleep time if you have a slow device
+ sleep $SLEEP
+ exit $rtn
+ ;;
+
+ list)
+ if [ "${SIMULATE_BARCODE}" = "true" ]; then
+ if [ -f "$BARCODE_FILE" ]; then
+ cat $BARCODE_FILE | grep -v "^#"
+ exit 0
+ else
+ echo "Barcode file $BARCODE_FILE missing ... exiting!"
+ exit 1
+ fi
+ else
+ ${MTX} -f ${CHANGER} status | grep "^slot .*: .*FULL>" | awk '{print $2}' | awk -F: '{print $1+1" "}' | tr -d "[\r\n]"
+ fi
+ ;;
+
+ loaded)
+ # echo "Request loaded"
+ ${MTX} -f ${CHANGER} status -S > /tmp/mtx.$$
+ rtn=$?
+ cat /tmp/mtx.$$ | grep "^drive ${DRIVE}: <FULL>" | awk '{print $6+1}' | tr -d ">"
+ cat /tmp/mtx.$$ | grep "^drive ${DRIVE}: source: <>" | awk "{print 0}"
+ rm -f /tmp/mtx.$$
+ exit $rtn
+ ;;
+
+ slots)
+ # echo "Request slots"
+ ${MTX} -f ${CHANGER} status | grep "^slot " | tail -1 | awk '{print $2+1}' | tr -d ":"
+ ;;
+
+ *)
+ usage
+ ;;
+esac
diff --git a/sysutils/bacula-server/files/patch-autoconf-Make.common.in b/sysutils/bacula-server/files/patch-autoconf-Make.common.in
index ed9ed2a4cf8b..110aaa06d79c 100644
--- a/sysutils/bacula-server/files/patch-autoconf-Make.common.in
+++ b/sysutils/bacula-server/files/patch-autoconf-Make.common.in
@@ -1,19 +1,29 @@
---- autoconf/Make.common.in Sat Mar 29 13:25:04 2003
-+++ autoconf/Make.common.in Thu May 8 07:18:26 2003
-@@ -31,6 +31,7 @@
- sysconfdir = @sysconfdir@
- scriptdir = @scriptdir@
- mandir = @mandir@/man1
-+datadir = @datadir@
- manext = 1
-
- # Tools & program stuff
-@@ -50,7 +51,7 @@
- RANLIB = @RANLIB@
- INSTALL = @INSTALL@
- # add the -s to the following in PRODUCTION mode
--INSTALL_PROGRAM = @INSTALL@ -m 754
-+INSTALL_PROGRAM = @INSTALL@ -s -m 754
- INSTALL_DATA = @INSTALL@ -m 644
- INSTALL_SCRIPT = @INSTALL@ -m 754
- INSTALL_CONFIG = @INSTALL@ -m 640
+*** autoconf/Make.common.in.orig Thu May 8 14:40:44 2003
+--- autoconf/Make.common.in Sat Oct 11 10:50:22 2003
+***************
+*** 24,29 ****
+--- 24,30 ----
+ sysconfdir = @sysconfdir@
+ scriptdir = @scriptdir@
+ mandir = @mandir@/man1
++ datadir = @datadir@
+ manext = 1
+
+ # Tools & program stuff
+***************
+*** 43,49 ****
+ RANLIB = @RANLIB@
+ INSTALL = @INSTALL@
+ # add the -s to the following in PRODUCTION mode
+! INSTALL_PROGRAM = @INSTALL@ -m 754
+ INSTALL_DATA = @INSTALL@ -m 644
+ INSTALL_SCRIPT = @INSTALL@ -m 754
+ INSTALL_CONFIG = @INSTALL@ -m 640
+--- 44,50 ----
+ RANLIB = @RANLIB@
+ INSTALL = @INSTALL@
+ # add the -s to the following in PRODUCTION mode
+! INSTALL_PROGRAM = @INSTALL@ -s -m 754
+ INSTALL_DATA = @INSTALL@ -m 644
+ INSTALL_SCRIPT = @INSTALL@ -m 754
+ INSTALL_CONFIG = @INSTALL@ -m 640
diff --git a/sysutils/bacula-server/files/patch-configure b/sysutils/bacula-server/files/patch-configure
deleted file mode 100644
index 75a3d2074f70..000000000000
--- a/sysutils/bacula-server/files/patch-configure
+++ /dev/null
@@ -1,15 +0,0 @@
---- configure~ Thu May 8 07:23:27 2003
-+++ configure Thu May 8 07:26:21 2003
-@@ -4038,9 +4038,9 @@
- { echo "configure: error: Unable to find sqlite.h in standard locations" 1>&2; exit 1; }
- fi
- else
-- if test -f $withval/sqlite.h; then
-- SQLITE_INCDIR=$withval
-- SQLITE_LIBDIR=$withval
-+ if test -f $withval/include/sqlite.h; then
-+ SQLITE_INCDIR=$withval/include
-+ SQLITE_LIBDIR=$withval/lib
- SQLITE_BINDIR=$withval
- else
- echo "$ac_t""no" 1>&6
diff --git a/sysutils/bacula-server/files/patch-scripts-fd.in b/sysutils/bacula-server/files/patch-scripts-fd.in
index 783b842b4a88..62525545d487 100644
--- a/sysutils/bacula-server/files/patch-scripts-fd.in
+++ b/sysutils/bacula-server/files/patch-scripts-fd.in
@@ -1,13 +1,21 @@
---- scripts/fd.in.orig Mon Feb 24 13:49:20 2003
-+++ scripts/fd.in Mon Feb 24 13:49:59 2003
-@@ -135,8 +135,8 @@
- return 1
- fi
- fi
-- # See if /var/lock/subsys/$1 exists
-- if [ -f /var/lock/subsys/$1 ]; then
-+ # See if @subsysdir@/$1 exists
-+ if [ -f @subsysdir@/$1 ]; then
- echo "$1 dead but subsys locked"
- return 2
- fi
+*** scripts/fd.in.orig Sun May 11 22:39:16 2003
+--- scripts/fd.in Wed Oct 1 20:47:13 2003
+***************
+*** 139,146 ****
+ return 1
+ fi
+ fi
+! # See if /var/lock/subsys/$1 exists
+! if [ -f /var/lock/subsys/$1 ]; then
+ echo "$1 dead but subsys locked"
+ return 2
+ fi
+--- 139,146 ----
+ return 1
+ fi
+ fi
+! # See if @subsysdir@/$1 exists
+! if [ -f @subsysdir@/$1 ]; then
+ echo "$1 dead but subsys locked"
+ return 2
+ fi
diff --git a/sysutils/bacula-server/files/patch-src-cats-Makefile.in b/sysutils/bacula-server/files/patch-src-cats-Makefile.in
index fb83790227bc..0c7ce27142fe 100644
--- a/sysutils/bacula-server/files/patch-src-cats-Makefile.in
+++ b/sysutils/bacula-server/files/patch-src-cats-Makefile.in
@@ -1,33 +1,43 @@
---- src/cats/Makefile.in~ Mon Apr 7 13:06:05 2003
-+++ src/cats/Makefile.in Thu May 8 07:39:15 2003
-@@ -12,6 +12,7 @@
- thisdir = src/cats
-
- DEBUG=@DEBUG@
-+MKDIR=$(topdir)/autoconf/mkinstalldirs
-
- SQL_INC=@SQL_INCLUDE@
-
-@@ -70,14 +71,14 @@
- (cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS)
-
- install:
-- $(INSTALL_SCRIPT) create_@DB_NAME@_database $(DESTDIR)$(scriptdir)/create_@DB_NAME@_database
-- $(INSTALL_SCRIPT) drop_@DB_NAME@_tables $(DESTDIR)$(scriptdir)/drop_@DB_NAME@_tables
-- $(INSTALL_SCRIPT) make_@DB_NAME@_tables $(DESTDIR)$(scriptdir)/make_@DB_NAME@_tables
-- $(INSTALL_SCRIPT) drop_bacula_tables $(DESTDIR)$(scriptdir)/drop_bacula_tables
-- $(INSTALL_SCRIPT) make_bacula_tables $(DESTDIR)$(scriptdir)/make_bacula_tables
-- $(INSTALL_SCRIPT) make_catalog_backup $(DESTDIR)$(scriptdir)/make_catalog_backup
-- $(INSTALL_SCRIPT) delete_catalog_backup $(DESTDIR)$(scriptdir)/delete_catalog_backup
-- $(INSTALL_SCRIPT) grant_mysql_privileges $(DESTDIR)$(scriptdir)/grant_mysql_privileges
-+ $(MKDIR) $(DESTDIR)$(datadir)/bacula
-+ $(INSTALL_SCRIPT) create_@DB_NAME@_database $(DESTDIR)$(datadir)/bacula/create_@DB_NAME@_database
-+ $(INSTALL_SCRIPT) drop_@DB_NAME@_tables $(DESTDIR)$(datadir)/bacula/drop_@DB_NAME@_tables
-+ $(INSTALL_SCRIPT) make_@DB_NAME@_tables $(DESTDIR)$(datadir)/bacula/make_@DB_NAME@_tables
-+ $(INSTALL_SCRIPT) drop_bacula_tables $(DESTDIR)$(datadir)/bacula/drop_bacula_tables
-+ $(INSTALL_SCRIPT) make_bacula_tables $(DESTDIR)$(datadir)/bacula/make_bacula_tables
-+ $(INSTALL_SCRIPT) make_catalog_backup $(DESTDIR)$(datadir)/bacula/make_catalog_backup
-+ $(INSTALL_SCRIPT) delete_catalog_backup $(DESTDIR)$(datadir)/bacula/delete_catalog_backup
-
- uninstall:
- (cd $(DESTDIR)$(scriptdir); $(RMF) create_@DB_NAME@_database)
+*** src/cats/Makefile.in.orig Sun May 11 22:39:16 2003
+--- src/cats/Makefile.in Wed Oct 1 20:59:45 2003
+***************
+*** 12,17 ****
+--- 12,18 ----
+ thisdir = src/cats
+
+ DEBUG=@DEBUG@
++ MKDIR=$(topdir)/autoconf/mkinstalldirs
+
+ SQL_INC=@SQL_INCLUDE@
+
+***************
+*** 73,86 ****
+ (cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS)
+
+ install:
+! $(INSTALL_SCRIPT) create_@DB_NAME@_database $(DESTDIR)$(scriptdir)/create_@DB_NAME@_database
+! $(INSTALL_SCRIPT) drop_@DB_NAME@_tables $(DESTDIR)$(scriptdir)/drop_@DB_NAME@_tables
+! $(INSTALL_SCRIPT) make_@DB_NAME@_tables $(DESTDIR)$(scriptdir)/make_@DB_NAME@_tables
+! $(INSTALL_SCRIPT) drop_bacula_tables $(DESTDIR)$(scriptdir)/drop_bacula_tables
+! $(INSTALL_SCRIPT) make_bacula_tables $(DESTDIR)$(scriptdir)/make_bacula_tables
+! $(INSTALL_SCRIPT) make_catalog_backup $(DESTDIR)$(scriptdir)/make_catalog_backup
+! $(INSTALL_SCRIPT) delete_catalog_backup $(DESTDIR)$(scriptdir)/delete_catalog_backup
+! $(INSTALL_SCRIPT) grant_mysql_privileges $(DESTDIR)$(scriptdir)/grant_mysql_privileges
+
+ uninstall:
+ (cd $(DESTDIR)$(scriptdir); $(RMF) create_@DB_NAME@_database)
+--- 74,87 ----
+ (cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS)
+
+ install:
+! $(MKDIR) $(DESTDIR)$(datadir)/bacula
+! $(INSTALL_SCRIPT) create_@DB_NAME@_database $(DESTDIR)$(datadir)/bacula/create_@DB_NAME@_database
+! $(INSTALL_SCRIPT) drop_@DB_NAME@_tables $(DESTDIR)$(datadir)/bacula/drop_@DB_NAME@_tables
+! $(INSTALL_SCRIPT) make_@DB_NAME@_tables $(DESTDIR)$(datadir)/bacula/make_@DB_NAME@_tables
+! $(INSTALL_SCRIPT) drop_bacula_tables $(DESTDIR)$(datadir)/bacula/drop_bacula_tables
+! $(INSTALL_SCRIPT) make_bacula_tables $(DESTDIR)$(datadir)/bacula/make_bacula_tables
+! $(INSTALL_SCRIPT) make_catalog_backup $(DESTDIR)$(datadir)/bacula/make_catalog_backup
+! $(INSTALL_SCRIPT) delete_catalog_backup $(DESTDIR)$(datadir)/bacula/delete_catalog_backup
+
+ uninstall:
+ (cd $(DESTDIR)$(scriptdir); $(RMF) create_@DB_NAME@_database)
diff --git a/sysutils/bacula-server/files/patch-src__cats__Makefile.in b/sysutils/bacula-server/files/patch-src__cats__Makefile.in
index fb83790227bc..0c7ce27142fe 100644
--- a/sysutils/bacula-server/files/patch-src__cats__Makefile.in
+++ b/sysutils/bacula-server/files/patch-src__cats__Makefile.in
@@ -1,33 +1,43 @@
---- src/cats/Makefile.in~ Mon Apr 7 13:06:05 2003
-+++ src/cats/Makefile.in Thu May 8 07:39:15 2003
-@@ -12,6 +12,7 @@
- thisdir = src/cats
-
- DEBUG=@DEBUG@
-+MKDIR=$(topdir)/autoconf/mkinstalldirs
-
- SQL_INC=@SQL_INCLUDE@
-
-@@ -70,14 +71,14 @@
- (cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS)
-
- install:
-- $(INSTALL_SCRIPT) create_@DB_NAME@_database $(DESTDIR)$(scriptdir)/create_@DB_NAME@_database
-- $(INSTALL_SCRIPT) drop_@DB_NAME@_tables $(DESTDIR)$(scriptdir)/drop_@DB_NAME@_tables
-- $(INSTALL_SCRIPT) make_@DB_NAME@_tables $(DESTDIR)$(scriptdir)/make_@DB_NAME@_tables
-- $(INSTALL_SCRIPT) drop_bacula_tables $(DESTDIR)$(scriptdir)/drop_bacula_tables
-- $(INSTALL_SCRIPT) make_bacula_tables $(DESTDIR)$(scriptdir)/make_bacula_tables
-- $(INSTALL_SCRIPT) make_catalog_backup $(DESTDIR)$(scriptdir)/make_catalog_backup
-- $(INSTALL_SCRIPT) delete_catalog_backup $(DESTDIR)$(scriptdir)/delete_catalog_backup
-- $(INSTALL_SCRIPT) grant_mysql_privileges $(DESTDIR)$(scriptdir)/grant_mysql_privileges
-+ $(MKDIR) $(DESTDIR)$(datadir)/bacula
-+ $(INSTALL_SCRIPT) create_@DB_NAME@_database $(DESTDIR)$(datadir)/bacula/create_@DB_NAME@_database
-+ $(INSTALL_SCRIPT) drop_@DB_NAME@_tables $(DESTDIR)$(datadir)/bacula/drop_@DB_NAME@_tables
-+ $(INSTALL_SCRIPT) make_@DB_NAME@_tables $(DESTDIR)$(datadir)/bacula/make_@DB_NAME@_tables
-+ $(INSTALL_SCRIPT) drop_bacula_tables $(DESTDIR)$(datadir)/bacula/drop_bacula_tables
-+ $(INSTALL_SCRIPT) make_bacula_tables $(DESTDIR)$(datadir)/bacula/make_bacula_tables
-+ $(INSTALL_SCRIPT) make_catalog_backup $(DESTDIR)$(datadir)/bacula/make_catalog_backup
-+ $(INSTALL_SCRIPT) delete_catalog_backup $(DESTDIR)$(datadir)/bacula/delete_catalog_backup
-
- uninstall:
- (cd $(DESTDIR)$(scriptdir); $(RMF) create_@DB_NAME@_database)
+*** src/cats/Makefile.in.orig Sun May 11 22:39:16 2003
+--- src/cats/Makefile.in Wed Oct 1 20:59:45 2003
+***************
+*** 12,17 ****
+--- 12,18 ----
+ thisdir = src/cats
+
+ DEBUG=@DEBUG@
++ MKDIR=$(topdir)/autoconf/mkinstalldirs
+
+ SQL_INC=@SQL_INCLUDE@
+
+***************
+*** 73,86 ****
+ (cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS)
+
+ install:
+! $(INSTALL_SCRIPT) create_@DB_NAME@_database $(DESTDIR)$(scriptdir)/create_@DB_NAME@_database
+! $(INSTALL_SCRIPT) drop_@DB_NAME@_tables $(DESTDIR)$(scriptdir)/drop_@DB_NAME@_tables
+! $(INSTALL_SCRIPT) make_@DB_NAME@_tables $(DESTDIR)$(scriptdir)/make_@DB_NAME@_tables
+! $(INSTALL_SCRIPT) drop_bacula_tables $(DESTDIR)$(scriptdir)/drop_bacula_tables
+! $(INSTALL_SCRIPT) make_bacula_tables $(DESTDIR)$(scriptdir)/make_bacula_tables
+! $(INSTALL_SCRIPT) make_catalog_backup $(DESTDIR)$(scriptdir)/make_catalog_backup
+! $(INSTALL_SCRIPT) delete_catalog_backup $(DESTDIR)$(scriptdir)/delete_catalog_backup
+! $(INSTALL_SCRIPT) grant_mysql_privileges $(DESTDIR)$(scriptdir)/grant_mysql_privileges
+
+ uninstall:
+ (cd $(DESTDIR)$(scriptdir); $(RMF) create_@DB_NAME@_database)
+--- 74,87 ----
+ (cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS)
+
+ install:
+! $(MKDIR) $(DESTDIR)$(datadir)/bacula
+! $(INSTALL_SCRIPT) create_@DB_NAME@_database $(DESTDIR)$(datadir)/bacula/create_@DB_NAME@_database
+! $(INSTALL_SCRIPT) drop_@DB_NAME@_tables $(DESTDIR)$(datadir)/bacula/drop_@DB_NAME@_tables
+! $(INSTALL_SCRIPT) make_@DB_NAME@_tables $(DESTDIR)$(datadir)/bacula/make_@DB_NAME@_tables
+! $(INSTALL_SCRIPT) drop_bacula_tables $(DESTDIR)$(datadir)/bacula/drop_bacula_tables
+! $(INSTALL_SCRIPT) make_bacula_tables $(DESTDIR)$(datadir)/bacula/make_bacula_tables
+! $(INSTALL_SCRIPT) make_catalog_backup $(DESTDIR)$(datadir)/bacula/make_catalog_backup
+! $(INSTALL_SCRIPT) delete_catalog_backup $(DESTDIR)$(datadir)/bacula/delete_catalog_backup
+
+ uninstall:
+ (cd $(DESTDIR)$(scriptdir); $(RMF) create_@DB_NAME@_database)
diff --git a/sysutils/bacula-server/pkg-message b/sysutils/bacula-server/pkg-message
new file mode 100644
index 000000000000..ffe238bb4514
--- /dev/null
+++ b/sysutils/bacula-server/pkg-message
@@ -0,0 +1,14 @@
+*******************************************************
+NOTE:
+
+A auto changer manipulation script based on FreeBSDs
+chio command is included and installed an
+
+ ${PREFIX}/sbin/chio-bacula
+
+Pleas have a look at it if you want to use an auto
+changer. You have to configure the usage in
+
+ ${PREFIX}/etc/bacula-dir.conf
+
+*******************************************************
diff --git a/sysutils/bacula-server/pkg-plist b/sysutils/bacula-server/pkg-plist
index cc56a6fe2d6d..b1313f3a32fb 100644
--- a/sysutils/bacula-server/pkg-plist
+++ b/sysutils/bacula-server/pkg-plist
@@ -1,167 +1,170 @@
-etc/bacula-dir.conf
-etc/bacula-fd.conf
-etc/bacula-sd.conf
-etc/console.conf
-etc/query.sql
-etc/rc.d/bacula.sh.sample
-etc/rc.d/fd.sh.sample
-sbin/bacula-dir
+%%SERVER%%etc/query.sql
+%%SERVER%%etc/rc.d/bacula.sh.sample
+%%SERVER%%sbin/chio-bacula
+%%SERVER%%sbin/bacula-dir
sbin/bacula-fd
-sbin/bacula-sd
-sbin/bextract
-sbin/bls
-sbin/bscan
-sbin/btape
-sbin/console
-sbin/dbcheck
-sbin/smtp
-share/bacula/create_%%DBTYPE%%_database
-share/bacula/delete_catalog_backup
-share/bacula/drop_bacula_tables
-share/bacula/drop_%%DBTYPE%%_tables
-share/bacula/make_bacula_tables
-share/bacula/make_%%DBTYPE%%_tables
-share/bacula/make_catalog_backup
-%%PORTDOCS%%share/doc/bacula/bacula.pdf
-%%PORTDOCS%%share/doc/bacula/html-manual/1
-%%PORTDOCS%%share/doc/bacula/html-manual/.cvsignore
-%%PORTDOCS%%share/doc/bacula/html-manual/Bacula.apf
-%%PORTDOCS%%share/doc/bacula/html-manual/add-nav.list
-%%PORTDOCS%%share/doc/bacula/html-manual/add-nav.pl
-%%PORTDOCS%%share/doc/bacula/html-manual/autochangers.html
-%%PORTDOCS%%share/doc/bacula/html-manual/autochangers.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/back.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/bacula-features.html
-%%PORTDOCS%%share/doc/bacula/html-manual/bacula-features.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/bacula-logo.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/bacula-styles.css
-%%PORTDOCS%%share/doc/bacula/html-manual/bacula.book
-%%PORTDOCS%%share/doc/bacula/html-manual/bacula.html
-%%PORTDOCS%%share/doc/bacula/html-manual/bacula.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/bacula_template.inc
-%%PORTDOCS%%share/doc/bacula/html-manual/bclogo.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/bootstrap.html
-%%PORTDOCS%%share/doc/bacula/html-manual/bootstrap.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/bugs.html
-%%PORTDOCS%%share/doc/bacula/html-manual/bugs.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/catalog.html
-%%PORTDOCS%%share/doc/bacula/html-manual/catalog.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/catmaintenance.html
-%%PORTDOCS%%share/doc/bacula/html-manual/catmaintenance.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/configure.html
-%%PORTDOCS%%share/doc/bacula/html-manual/configure.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/console.html
-%%PORTDOCS%%share/doc/bacula/html-manual/console.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/consoleconf.html
-%%PORTDOCS%%share/doc/bacula/html-manual/consoleconf.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/daemonprotocol.html
-%%PORTDOCS%%share/doc/bacula/html-manual/daemonprotocol.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/developers.html
-%%PORTDOCS%%share/doc/bacula/html-manual/developers.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/dirdconf.html
-%%PORTDOCS%%share/doc/bacula/html-manual/dirdconf.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/director.html
-%%PORTDOCS%%share/doc/bacula/html-manual/director.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/disk.html
-%%PORTDOCS%%share/doc/bacula/html-manual/disk.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/error.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/faq.html
-%%PORTDOCS%%share/doc/bacula/html-manual/faq.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/file.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/file.html
-%%PORTDOCS%%share/doc/bacula/html-manual/file.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/filedconf.html
-%%PORTDOCS%%share/doc/bacula/html-manual/filedconf.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/flow.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/flow.jpeg
-%%PORTDOCS%%share/doc/bacula/html-manual/gpl.html
-%%PORTDOCS%%share/doc/bacula/html-manual/gpl.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/home.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/idle.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/imgdot-1x1-000000.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/imgdot-1x1-transp-ffffff.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/index.html
-%%PORTDOCS%%share/doc/bacula/html-manual/index.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/install.html
-%%PORTDOCS%%share/doc/bacula/html-manual/install.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/internaldb.html
-%%PORTDOCS%%share/doc/bacula/html-manual/internaldb.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/internals.html
-%%PORTDOCS%%share/doc/bacula/html-manual/internals.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/kaboom.html
-%%PORTDOCS%%share/doc/bacula/html-manual/kaboom.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/lesser.html
-%%PORTDOCS%%share/doc/bacula/html-manual/lesser.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/license.html
-%%PORTDOCS%%share/doc/bacula/html-manual/license.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/md5.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/md5.html
-%%PORTDOCS%%share/doc/bacula/html-manual/md5.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/mediaformat.html
-%%PORTDOCS%%share/doc/bacula/html-manual/mediaformat.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/mempool.html
-%%PORTDOCS%%share/doc/bacula/html-manual/mempool.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/messagesres.html
-%%PORTDOCS%%share/doc/bacula/html-manual/messagesres.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/mysql.html
-%%PORTDOCS%%share/doc/bacula/html-manual/mysql.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/netprotocol.html
-%%PORTDOCS%%share/doc/bacula/html-manual/netprotocol.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/next.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/philosophical-gnu-sm.jpg
-%%PORTDOCS%%share/doc/bacula/html-manual/porting.html
-%%PORTDOCS%%share/doc/bacula/html-manual/porting.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/progs.html
-%%PORTDOCS%%share/doc/bacula/html-manual/progs.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/projects.html
-%%PORTDOCS%%share/doc/bacula/html-manual/projects.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/quickstart.html
-%%PORTDOCS%%share/doc/bacula/html-manual/quickstart.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/recycling.html
-%%PORTDOCS%%share/doc/bacula/html-manual/recycling.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/rescue.html
-%%PORTDOCS%%share/doc/bacula/html-manual/rescue.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/restore.html
-%%PORTDOCS%%share/doc/bacula/html-manual/restore.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/running.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/running.html
-%%PORTDOCS%%share/doc/bacula/html-manual/running.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/security.html
-%%PORTDOCS%%share/doc/bacula/html-manual/security.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/smartall.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/smartall.html
-%%PORTDOCS%%share/doc/bacula/html-manual/smartall.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/sqlite.html
-%%PORTDOCS%%share/doc/bacula/html-manual/sqlite.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/state.html
-%%PORTDOCS%%share/doc/bacula/html-manual/state.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/status.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/storage.html
-%%PORTDOCS%%share/doc/bacula/html-manual/storage.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/storedconf.html
-%%PORTDOCS%%share/doc/bacula/html-manual/storedconf.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/tapetesting.html
-%%PORTDOCS%%share/doc/bacula/html-manual/tapetesting.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/thanks.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/thanks.html
-%%PORTDOCS%%share/doc/bacula/html-manual/thanks.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/tips.html
-%%PORTDOCS%%share/doc/bacula/html-manual/tips.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/verify.html
-%%PORTDOCS%%share/doc/bacula/html-manual/verify.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/waiting.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/win32.html
-%%PORTDOCS%%share/doc/bacula/html-manual/win32.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-1.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-2.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-3.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-4.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-5.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-6.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-7.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-8.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-9.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/working.gif
-%%PORTDOCS%%@dirrm share/doc/bacula/html-manual
-%%PORTDOCS%%@dirrm share/doc/bacula
-@dirrm share/bacula
+%%SERVER%%sbin/bacula-sd
+%%SERVER%%sbin/bextract
+%%SERVER%%sbin/bls
+%%SERVER%%sbin/bscan
+%%SERVER%%sbin/btape
+%%SERVER%%sbin/console
+%%SERVER%%sbin/dbcheck
+%%SERVER%%sbin/smtp
+%%SERVER%%share/bacula/create_%%DBTYPE%%_database
+%%SERVER%%share/bacula/delete_catalog_backup
+%%SERVER%%share/bacula/drop_bacula_tables
+%%SERVER%%share/bacula/drop_%%DBTYPE%%_tables
+%%SERVER%%share/bacula/make_bacula_tables
+%%SERVER%%share/bacula/make_%%DBTYPE%%_tables
+%%SERVER%%share/bacula/make_catalog_backup
+%%PORTDOCS%%%%DOCSDIR%%/bacula.pdf
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/.cvsignore
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/Bacula.apf
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/add-nav.list
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/add-nav.pl
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/autochangers.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/autochangers.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/back.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bacula-features.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bacula-features.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bacula-logo.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bacula-styles.css
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bacula.book
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bacula.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bacula.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bacula_template.inc
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bclogo.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bootstrap.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bootstrap.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bugs.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bugs.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/catalog.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/catalog.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/catmaintenance.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/catmaintenance.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/configure.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/configure.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/console.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/console.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/consoleconf.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/consoleconf.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/daemonprotocol.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/daemonprotocol.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/developers.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/developers.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/dirdconf.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/dirdconf.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/director.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/director.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/disk.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/disk.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/error.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/faq.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/faq.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/file.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/file.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/file.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/filedconf.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/filedconf.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/flow.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/flow.jpeg
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/gpl.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/gpl.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/gui-interface.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/gui-interface.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/home.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/idle.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/imgdot-1x1-000000.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/imgdot-1x1-transp-ffffff.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/index.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/index.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/install.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/install.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/internaldb.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/internaldb.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/internals.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/internals.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/kaboom.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/kaboom.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/lesser.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/lesser.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/license.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/license.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/md5.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/md5.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/md5.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/mediaformat.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/mediaformat.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/mempool.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/mempool.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/messagesres.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/messagesres.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/mysql.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/mysql.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/netprotocol.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/netprotocol.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/next.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/philosophical-gnu-sm.jpg
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/porting.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/porting.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/progs.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/progs.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/projects.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/projects.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/quickstart.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/quickstart.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/recycling.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/recycling.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/regression.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/regression.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/rescue.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/rescue.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/restore.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/restore.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/running.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/running.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/running.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/security.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/security.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/smartall.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/smartall.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/smartall.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/sqlite.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/sqlite.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/state.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/state.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/status.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/storage.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/storage.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/storedconf.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/storedconf.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/strategies.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/strategies.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/tapetesting.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/tapetesting.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/thanks.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/thanks.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/thanks.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/tips.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/tips.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/vars.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/vars.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/verify.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/verify.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/waiting.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/win32.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/win32.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/wininstall-1.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/wininstall-2.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/wininstall-3.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/wininstall-4.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/wininstall-5.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/wininstall-6.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/wininstall-7.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/wininstall-8.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/wininstall-9.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/working.gif
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html-manual
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%SERVER%%@dirrm share/bacula
diff --git a/sysutils/bacula/Makefile b/sysutils/bacula/Makefile
index 065f0b22d2b3..ba7b2c95f33f 100644
--- a/sysutils/bacula/Makefile
+++ b/sysutils/bacula/Makefile
@@ -6,32 +6,89 @@
#
PORTNAME= bacula
-PORTVERSION= 1.30a
-PORTREVISION= 1
+PORTVERSION= 1.32b
+#PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= bacula
-MAINTAINER= demon@FreeBSD.org
+MAINTAINER= Lars.Koeller@Uni-Bielefeld.DE
COMMENT= The network backup solution
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-smartalloc \
+CONFIGURE_ARGS= --with-tcp-wrappers=/usr/lib \
+ --enable-smartalloc \
--with-working-dir=/var/db/bacula
-.if defined(WITH_SQLITE)
-CONFIGURE_ARGS+= --with-sqlite=${LOCALBASE}
-LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite
-DBTYPE= sqlite
+# Default is full build with sqlite
+.if defined(WITH_CLIENT_ONLY)
+CONFIGURE_ARGS+= --enable-client-only
+PLIST_SUB+= SERVER="@comment "
.else
+.if defined(WITH_MYSQL)
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
DBTYPE= mysql
+.else
+CONFIGURE_ARGS+= --with-sqlite=yes
+LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite
+DBTYPE= sqlite
.endif
-
PLIST_SUB+= DBTYPE=${DBTYPE}
+PLIST_SUB+= SERVER=""
+.endif
+
+.include <bsd.port.pre.mk>
+
+pre-everything::
+.if !defined(WITH_CLIENT_ONLY)
+ @${ECHO_MSG} "=======> ATTENTION <======="
+ @${ECHO_MSG} "===> Note that there is a pthreads problem, which leads to the loss of 500kB"
+ @${ECHO_MSG} "===> of data at the end of an tape. This is corrected in the upcoming"
+ @${ECHO_MSG} "===> 4.9-RELEASE and 5.2-RELEASE or use the -stable or -current tree."
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "You may use the following build options:"
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} " WITH_CLIENT_ONLY=yes if you only want the file daemon."
+.if !defined(WITH_MYSQL)
+ @${ECHO_MSG} " WITH_MYSQL=yes if you want MySQL instead of SqLite as the database."
+.else
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "===> Using MySQL as the bacula database."
+.endif
+ @${ECHO_MSG} ""
+.else
+ @${ECHO_MSG} "===> Building file daemon only."
+.endif
post-install:
+.if defined(WITH_CLIENT_ONLY)
+ # don't know how to make it better
+ ${RM} -f ${PREFIX}/etc/rc.d/bacula.sh.sample
+.else
+ ${INSTALL_SCRIPT} ${FILESDIR}/chio-bacula ${PREFIX}/sbin
+ if [ -f ${PREFIX}/etc/bacula-barcodes ]; then \
+ ${INSTALL_DATA} ${FILESDIR}/bacula-barcodes ${PREFIX}/etc/bacula-barcodes.new ; \
+ ${ECHO_CMD} "etc/bacula-barcodes.new" >> ${TMPPLIST}; \
+ else \
+ ${INSTALL_DATA} ${FILESDIR}/bacula-barcodes ${PREFIX}/etc ; \
+ ${ECHO_CMD} "etc/bacula-barcodes" >> ${TMPPLIST}; \
+ fi
+ if [ -f ${PREFIX}/etc/console.conf.new ]; then \
+ ${ECHO_CMD} "etc/console.conf.new" >> ${TMPPLIST}; \
+ elif [ -f ${PREFIX}/etc/console.conf ]; then \
+ ${ECHO_CMD} "etc/console.conf" >> ${TMPPLIST}; \
+ fi
+.endif
+ # Install leaves existing conf files untouched. Respect this here!
+ for na in sd fd dir; do \
+ if [ -f ${PREFIX}/etc/bacula-$$na.conf.new ]; then \
+ ${ECHO_CMD} "etc/bacula-$$na.conf.new" >> ${TMPPLIST}; \
+ elif [ -f ${PREFIX}/etc/bacula-$$na.conf ]; then \
+ ${ECHO_CMD} "etc/bacula-$$na.conf" >> ${TMPPLIST}; \
+ fi \
+ done; \
+
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/html-manual
${INSTALL_DATA} ${WRKSRC}/doc/bacula.pdf ${DOCSDIR}
@@ -39,4 +96,4 @@ post-install:
cpio -pdm -L -R root:wheel ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/sysutils/bacula/distinfo b/sysutils/bacula/distinfo
index f6aece1b9ab1..70489152c9ee 100644
--- a/sysutils/bacula/distinfo
+++ b/sysutils/bacula/distinfo
@@ -1 +1 @@
-MD5 (bacula-1.30a.tar.gz) = a2520f82be95f1c9b7674c446f7d5471
+MD5 (bacula-1.32b.tar.gz) = 3a8dbfec52221a7ae7a51d4043b63ed3
diff --git a/sysutils/bacula/files/bacula-barcodes b/sysutils/bacula/files/bacula-barcodes
new file mode 100644
index 000000000000..0a0b2dc28f24
--- /dev/null
+++ b/sysutils/bacula/files/bacula-barcodes
@@ -0,0 +1,51 @@
+#
+# Bacula barcode simulation file
+# used by ${PREFIX}/sbin/chio-bacula (FreeBSD)
+#
+# The volumenames are returned by the "changer list" command
+# labeling in the console is done by "label barcodes"
+# (then all volumes belog to the default pool).
+# All Lines with an "#" at the bedinning are ignored
+#
+# !!!! If you export an tape and reinsert another one,
+# !!!! don't forget to change the volume name in this file!
+#
+1:Volume1-100
+2:Volume1-101
+3:Volume1-102
+4:Volume1-103
+5:Volume1-104
+6:Volume1-105
+7:Volume1-106
+8:Volume1-107
+9:Volume1-108
+10:Volume1-109
+11:Volume1-110
+12:Volume1-111
+#
+# Further volumes exported from the changer
+#
+# 36GB AIT2 tapes
+#Volume1-100
+#Volume1-101
+#Volume1-102
+#Volume1-103
+#Volume1-104
+#Volume1-105
+#Volume1-106
+#Volume1-107
+#Volume1-108
+#Volume1-109
+#Volume1-110
+#Volume1-111
+#Volume1-112
+#Volume1-113
+#Volume1-114
+#Volume1-115
+#
+# 50GB AIT2 tapes
+#Volume2-200
+#Volume2-201
+#Volume2-202
+#Volume2-203
+#Volume2-204
diff --git a/sysutils/bacula/files/chio-bacula b/sysutils/bacula/files/chio-bacula
new file mode 100644
index 000000000000..dd6b9e8b88d8
--- /dev/null
+++ b/sysutils/bacula/files/chio-bacula
@@ -0,0 +1,138 @@
+#!/bin/sh
+#
+# Bacula interface to mtx autoloader
+# (By Lars Köller, lars+bacula@koellers.net)
+#
+# If you set in your Device resource
+#
+# Changer Command = "path-to-this-script/chio-bacula" %c %o %S %a
+# you will have the following input to this script:
+#
+# chio-bacula "changer-device" "command" "slot" "archive-device"
+#
+# for example:
+#
+# chio-bacula /dev/sg0 load 1 /dev/nst0 (on a FreeBSD system)
+#
+# If you need to to an offline, refer to the drive as $4
+# e.g. mt -f $f offline
+#
+# Many changers need an offline after the unload. Also many
+# changers need a sleep 60 after the mtx load.
+#
+# N.B. If you change the script, take care to return either
+# the mtx exit code or a 0. If the script exits with a non-zero
+# exit code, Bacula will assume the request failed.
+#
+
+# This simulates a barcode reader in the changer.
+# The labes of the virtual barcode reader are located in the BARCODE_FILE
+SIMULATE_BARCODE=true
+BARCODE_FILE=/usr/local/etc/bacula-barcodes
+
+me=$(basename $0)
+
+# Debug
+echo "$me $@" > /dev/console
+
+if [ -z "$1" ] ; then
+ usage;
+fi
+
+if [ -z "$2" ] ; then
+ usage;
+fi
+
+MTX=/bin/chio
+CHANGER=$1
+COMMAND=$2
+if [ ! -z "$3" ]; then
+ SLOT=$3
+fi
+if [ ! -z "$4" ]; then
+ TAPE=$4
+else
+ TAPE=/dev/nrsa2
+fi
+
+# Time to wait for loading
+SLEEP=20
+# What drive of the autochanger should be used primary
+# At the moment bacula (1.31a) could not deal with more drives
+DRIVE=1
+
+usage()
+{
+ echo ""
+ echo "The $me script for bacula"
+ echo "--------------------------------------"
+ echo ""
+ echo "usage: $me <changer-device> <command> [slot] [devicename of tapedrive]"
+ echo ""
+ echo "Valid commands:"
+ echo ""
+ echo "unload Unloads a tape into the slot"
+ echo " from where it was loaded."
+ echo "load <slot> Loads a tape from the slot <slot>"
+ echo " (slot-base is calculated to 1 as first slot)"
+ echo "list Lists full storage slots"
+ echo "loaded Gives slot from where the tape was loaded."
+ echo " 0 means the tape drive is empty."
+ echo "slots Gives Number of aviable slots."
+ echo ""
+ echo "Example:"
+ echo " mtx-changer /dev/changer load 1 loads a tape from slot 1"
+ echo ""
+ exit 2
+}
+
+
+case ${COMMAND} in
+ unload)
+ # enable the following line if you need to eject the cartridge
+ #mt -f ${TAPE} off
+ #sleep 2
+ ${MTX} -f ${CHANGER} return drive ${DRIVE}
+ ;;
+
+ load)
+ ${MTX} -f ${CHANGER} move slot $((${SLOT}-1)) drive ${DRIVE}
+ rtn=$?
+ # Increase the sleep time if you have a slow device
+ sleep $SLEEP
+ exit $rtn
+ ;;
+
+ list)
+ if [ "${SIMULATE_BARCODE}" = "true" ]; then
+ if [ -f "$BARCODE_FILE" ]; then
+ cat $BARCODE_FILE | grep -v "^#"
+ exit 0
+ else
+ echo "Barcode file $BARCODE_FILE missing ... exiting!"
+ exit 1
+ fi
+ else
+ ${MTX} -f ${CHANGER} status | grep "^slot .*: .*FULL>" | awk '{print $2}' | awk -F: '{print $1+1" "}' | tr -d "[\r\n]"
+ fi
+ ;;
+
+ loaded)
+ # echo "Request loaded"
+ ${MTX} -f ${CHANGER} status -S > /tmp/mtx.$$
+ rtn=$?
+ cat /tmp/mtx.$$ | grep "^drive ${DRIVE}: <FULL>" | awk '{print $6+1}' | tr -d ">"
+ cat /tmp/mtx.$$ | grep "^drive ${DRIVE}: source: <>" | awk "{print 0}"
+ rm -f /tmp/mtx.$$
+ exit $rtn
+ ;;
+
+ slots)
+ # echo "Request slots"
+ ${MTX} -f ${CHANGER} status | grep "^slot " | tail -1 | awk '{print $2+1}' | tr -d ":"
+ ;;
+
+ *)
+ usage
+ ;;
+esac
diff --git a/sysutils/bacula/files/patch-autoconf-Make.common.in b/sysutils/bacula/files/patch-autoconf-Make.common.in
index ed9ed2a4cf8b..110aaa06d79c 100644
--- a/sysutils/bacula/files/patch-autoconf-Make.common.in
+++ b/sysutils/bacula/files/patch-autoconf-Make.common.in
@@ -1,19 +1,29 @@
---- autoconf/Make.common.in Sat Mar 29 13:25:04 2003
-+++ autoconf/Make.common.in Thu May 8 07:18:26 2003
-@@ -31,6 +31,7 @@
- sysconfdir = @sysconfdir@
- scriptdir = @scriptdir@
- mandir = @mandir@/man1
-+datadir = @datadir@
- manext = 1
-
- # Tools & program stuff
-@@ -50,7 +51,7 @@
- RANLIB = @RANLIB@
- INSTALL = @INSTALL@
- # add the -s to the following in PRODUCTION mode
--INSTALL_PROGRAM = @INSTALL@ -m 754
-+INSTALL_PROGRAM = @INSTALL@ -s -m 754
- INSTALL_DATA = @INSTALL@ -m 644
- INSTALL_SCRIPT = @INSTALL@ -m 754
- INSTALL_CONFIG = @INSTALL@ -m 640
+*** autoconf/Make.common.in.orig Thu May 8 14:40:44 2003
+--- autoconf/Make.common.in Sat Oct 11 10:50:22 2003
+***************
+*** 24,29 ****
+--- 24,30 ----
+ sysconfdir = @sysconfdir@
+ scriptdir = @scriptdir@
+ mandir = @mandir@/man1
++ datadir = @datadir@
+ manext = 1
+
+ # Tools & program stuff
+***************
+*** 43,49 ****
+ RANLIB = @RANLIB@
+ INSTALL = @INSTALL@
+ # add the -s to the following in PRODUCTION mode
+! INSTALL_PROGRAM = @INSTALL@ -m 754
+ INSTALL_DATA = @INSTALL@ -m 644
+ INSTALL_SCRIPT = @INSTALL@ -m 754
+ INSTALL_CONFIG = @INSTALL@ -m 640
+--- 44,50 ----
+ RANLIB = @RANLIB@
+ INSTALL = @INSTALL@
+ # add the -s to the following in PRODUCTION mode
+! INSTALL_PROGRAM = @INSTALL@ -s -m 754
+ INSTALL_DATA = @INSTALL@ -m 644
+ INSTALL_SCRIPT = @INSTALL@ -m 754
+ INSTALL_CONFIG = @INSTALL@ -m 640
diff --git a/sysutils/bacula/files/patch-configure b/sysutils/bacula/files/patch-configure
deleted file mode 100644
index 75a3d2074f70..000000000000
--- a/sysutils/bacula/files/patch-configure
+++ /dev/null
@@ -1,15 +0,0 @@
---- configure~ Thu May 8 07:23:27 2003
-+++ configure Thu May 8 07:26:21 2003
-@@ -4038,9 +4038,9 @@
- { echo "configure: error: Unable to find sqlite.h in standard locations" 1>&2; exit 1; }
- fi
- else
-- if test -f $withval/sqlite.h; then
-- SQLITE_INCDIR=$withval
-- SQLITE_LIBDIR=$withval
-+ if test -f $withval/include/sqlite.h; then
-+ SQLITE_INCDIR=$withval/include
-+ SQLITE_LIBDIR=$withval/lib
- SQLITE_BINDIR=$withval
- else
- echo "$ac_t""no" 1>&6
diff --git a/sysutils/bacula/files/patch-scripts-fd.in b/sysutils/bacula/files/patch-scripts-fd.in
index 783b842b4a88..62525545d487 100644
--- a/sysutils/bacula/files/patch-scripts-fd.in
+++ b/sysutils/bacula/files/patch-scripts-fd.in
@@ -1,13 +1,21 @@
---- scripts/fd.in.orig Mon Feb 24 13:49:20 2003
-+++ scripts/fd.in Mon Feb 24 13:49:59 2003
-@@ -135,8 +135,8 @@
- return 1
- fi
- fi
-- # See if /var/lock/subsys/$1 exists
-- if [ -f /var/lock/subsys/$1 ]; then
-+ # See if @subsysdir@/$1 exists
-+ if [ -f @subsysdir@/$1 ]; then
- echo "$1 dead but subsys locked"
- return 2
- fi
+*** scripts/fd.in.orig Sun May 11 22:39:16 2003
+--- scripts/fd.in Wed Oct 1 20:47:13 2003
+***************
+*** 139,146 ****
+ return 1
+ fi
+ fi
+! # See if /var/lock/subsys/$1 exists
+! if [ -f /var/lock/subsys/$1 ]; then
+ echo "$1 dead but subsys locked"
+ return 2
+ fi
+--- 139,146 ----
+ return 1
+ fi
+ fi
+! # See if @subsysdir@/$1 exists
+! if [ -f @subsysdir@/$1 ]; then
+ echo "$1 dead but subsys locked"
+ return 2
+ fi
diff --git a/sysutils/bacula/files/patch-src-cats-Makefile.in b/sysutils/bacula/files/patch-src-cats-Makefile.in
index fb83790227bc..0c7ce27142fe 100644
--- a/sysutils/bacula/files/patch-src-cats-Makefile.in
+++ b/sysutils/bacula/files/patch-src-cats-Makefile.in
@@ -1,33 +1,43 @@
---- src/cats/Makefile.in~ Mon Apr 7 13:06:05 2003
-+++ src/cats/Makefile.in Thu May 8 07:39:15 2003
-@@ -12,6 +12,7 @@
- thisdir = src/cats
-
- DEBUG=@DEBUG@
-+MKDIR=$(topdir)/autoconf/mkinstalldirs
-
- SQL_INC=@SQL_INCLUDE@
-
-@@ -70,14 +71,14 @@
- (cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS)
-
- install:
-- $(INSTALL_SCRIPT) create_@DB_NAME@_database $(DESTDIR)$(scriptdir)/create_@DB_NAME@_database
-- $(INSTALL_SCRIPT) drop_@DB_NAME@_tables $(DESTDIR)$(scriptdir)/drop_@DB_NAME@_tables
-- $(INSTALL_SCRIPT) make_@DB_NAME@_tables $(DESTDIR)$(scriptdir)/make_@DB_NAME@_tables
-- $(INSTALL_SCRIPT) drop_bacula_tables $(DESTDIR)$(scriptdir)/drop_bacula_tables
-- $(INSTALL_SCRIPT) make_bacula_tables $(DESTDIR)$(scriptdir)/make_bacula_tables
-- $(INSTALL_SCRIPT) make_catalog_backup $(DESTDIR)$(scriptdir)/make_catalog_backup
-- $(INSTALL_SCRIPT) delete_catalog_backup $(DESTDIR)$(scriptdir)/delete_catalog_backup
-- $(INSTALL_SCRIPT) grant_mysql_privileges $(DESTDIR)$(scriptdir)/grant_mysql_privileges
-+ $(MKDIR) $(DESTDIR)$(datadir)/bacula
-+ $(INSTALL_SCRIPT) create_@DB_NAME@_database $(DESTDIR)$(datadir)/bacula/create_@DB_NAME@_database
-+ $(INSTALL_SCRIPT) drop_@DB_NAME@_tables $(DESTDIR)$(datadir)/bacula/drop_@DB_NAME@_tables
-+ $(INSTALL_SCRIPT) make_@DB_NAME@_tables $(DESTDIR)$(datadir)/bacula/make_@DB_NAME@_tables
-+ $(INSTALL_SCRIPT) drop_bacula_tables $(DESTDIR)$(datadir)/bacula/drop_bacula_tables
-+ $(INSTALL_SCRIPT) make_bacula_tables $(DESTDIR)$(datadir)/bacula/make_bacula_tables
-+ $(INSTALL_SCRIPT) make_catalog_backup $(DESTDIR)$(datadir)/bacula/make_catalog_backup
-+ $(INSTALL_SCRIPT) delete_catalog_backup $(DESTDIR)$(datadir)/bacula/delete_catalog_backup
-
- uninstall:
- (cd $(DESTDIR)$(scriptdir); $(RMF) create_@DB_NAME@_database)
+*** src/cats/Makefile.in.orig Sun May 11 22:39:16 2003
+--- src/cats/Makefile.in Wed Oct 1 20:59:45 2003
+***************
+*** 12,17 ****
+--- 12,18 ----
+ thisdir = src/cats
+
+ DEBUG=@DEBUG@
++ MKDIR=$(topdir)/autoconf/mkinstalldirs
+
+ SQL_INC=@SQL_INCLUDE@
+
+***************
+*** 73,86 ****
+ (cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS)
+
+ install:
+! $(INSTALL_SCRIPT) create_@DB_NAME@_database $(DESTDIR)$(scriptdir)/create_@DB_NAME@_database
+! $(INSTALL_SCRIPT) drop_@DB_NAME@_tables $(DESTDIR)$(scriptdir)/drop_@DB_NAME@_tables
+! $(INSTALL_SCRIPT) make_@DB_NAME@_tables $(DESTDIR)$(scriptdir)/make_@DB_NAME@_tables
+! $(INSTALL_SCRIPT) drop_bacula_tables $(DESTDIR)$(scriptdir)/drop_bacula_tables
+! $(INSTALL_SCRIPT) make_bacula_tables $(DESTDIR)$(scriptdir)/make_bacula_tables
+! $(INSTALL_SCRIPT) make_catalog_backup $(DESTDIR)$(scriptdir)/make_catalog_backup
+! $(INSTALL_SCRIPT) delete_catalog_backup $(DESTDIR)$(scriptdir)/delete_catalog_backup
+! $(INSTALL_SCRIPT) grant_mysql_privileges $(DESTDIR)$(scriptdir)/grant_mysql_privileges
+
+ uninstall:
+ (cd $(DESTDIR)$(scriptdir); $(RMF) create_@DB_NAME@_database)
+--- 74,87 ----
+ (cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS)
+
+ install:
+! $(MKDIR) $(DESTDIR)$(datadir)/bacula
+! $(INSTALL_SCRIPT) create_@DB_NAME@_database $(DESTDIR)$(datadir)/bacula/create_@DB_NAME@_database
+! $(INSTALL_SCRIPT) drop_@DB_NAME@_tables $(DESTDIR)$(datadir)/bacula/drop_@DB_NAME@_tables
+! $(INSTALL_SCRIPT) make_@DB_NAME@_tables $(DESTDIR)$(datadir)/bacula/make_@DB_NAME@_tables
+! $(INSTALL_SCRIPT) drop_bacula_tables $(DESTDIR)$(datadir)/bacula/drop_bacula_tables
+! $(INSTALL_SCRIPT) make_bacula_tables $(DESTDIR)$(datadir)/bacula/make_bacula_tables
+! $(INSTALL_SCRIPT) make_catalog_backup $(DESTDIR)$(datadir)/bacula/make_catalog_backup
+! $(INSTALL_SCRIPT) delete_catalog_backup $(DESTDIR)$(datadir)/bacula/delete_catalog_backup
+
+ uninstall:
+ (cd $(DESTDIR)$(scriptdir); $(RMF) create_@DB_NAME@_database)
diff --git a/sysutils/bacula/pkg-message b/sysutils/bacula/pkg-message
new file mode 100644
index 000000000000..ffe238bb4514
--- /dev/null
+++ b/sysutils/bacula/pkg-message
@@ -0,0 +1,14 @@
+*******************************************************
+NOTE:
+
+A auto changer manipulation script based on FreeBSDs
+chio command is included and installed an
+
+ ${PREFIX}/sbin/chio-bacula
+
+Pleas have a look at it if you want to use an auto
+changer. You have to configure the usage in
+
+ ${PREFIX}/etc/bacula-dir.conf
+
+*******************************************************
diff --git a/sysutils/bacula/pkg-plist b/sysutils/bacula/pkg-plist
index cc56a6fe2d6d..b1313f3a32fb 100644
--- a/sysutils/bacula/pkg-plist
+++ b/sysutils/bacula/pkg-plist
@@ -1,167 +1,170 @@
-etc/bacula-dir.conf
-etc/bacula-fd.conf
-etc/bacula-sd.conf
-etc/console.conf
-etc/query.sql
-etc/rc.d/bacula.sh.sample
-etc/rc.d/fd.sh.sample
-sbin/bacula-dir
+%%SERVER%%etc/query.sql
+%%SERVER%%etc/rc.d/bacula.sh.sample
+%%SERVER%%sbin/chio-bacula
+%%SERVER%%sbin/bacula-dir
sbin/bacula-fd
-sbin/bacula-sd
-sbin/bextract
-sbin/bls
-sbin/bscan
-sbin/btape
-sbin/console
-sbin/dbcheck
-sbin/smtp
-share/bacula/create_%%DBTYPE%%_database
-share/bacula/delete_catalog_backup
-share/bacula/drop_bacula_tables
-share/bacula/drop_%%DBTYPE%%_tables
-share/bacula/make_bacula_tables
-share/bacula/make_%%DBTYPE%%_tables
-share/bacula/make_catalog_backup
-%%PORTDOCS%%share/doc/bacula/bacula.pdf
-%%PORTDOCS%%share/doc/bacula/html-manual/1
-%%PORTDOCS%%share/doc/bacula/html-manual/.cvsignore
-%%PORTDOCS%%share/doc/bacula/html-manual/Bacula.apf
-%%PORTDOCS%%share/doc/bacula/html-manual/add-nav.list
-%%PORTDOCS%%share/doc/bacula/html-manual/add-nav.pl
-%%PORTDOCS%%share/doc/bacula/html-manual/autochangers.html
-%%PORTDOCS%%share/doc/bacula/html-manual/autochangers.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/back.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/bacula-features.html
-%%PORTDOCS%%share/doc/bacula/html-manual/bacula-features.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/bacula-logo.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/bacula-styles.css
-%%PORTDOCS%%share/doc/bacula/html-manual/bacula.book
-%%PORTDOCS%%share/doc/bacula/html-manual/bacula.html
-%%PORTDOCS%%share/doc/bacula/html-manual/bacula.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/bacula_template.inc
-%%PORTDOCS%%share/doc/bacula/html-manual/bclogo.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/bootstrap.html
-%%PORTDOCS%%share/doc/bacula/html-manual/bootstrap.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/bugs.html
-%%PORTDOCS%%share/doc/bacula/html-manual/bugs.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/catalog.html
-%%PORTDOCS%%share/doc/bacula/html-manual/catalog.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/catmaintenance.html
-%%PORTDOCS%%share/doc/bacula/html-manual/catmaintenance.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/configure.html
-%%PORTDOCS%%share/doc/bacula/html-manual/configure.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/console.html
-%%PORTDOCS%%share/doc/bacula/html-manual/console.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/consoleconf.html
-%%PORTDOCS%%share/doc/bacula/html-manual/consoleconf.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/daemonprotocol.html
-%%PORTDOCS%%share/doc/bacula/html-manual/daemonprotocol.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/developers.html
-%%PORTDOCS%%share/doc/bacula/html-manual/developers.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/dirdconf.html
-%%PORTDOCS%%share/doc/bacula/html-manual/dirdconf.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/director.html
-%%PORTDOCS%%share/doc/bacula/html-manual/director.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/disk.html
-%%PORTDOCS%%share/doc/bacula/html-manual/disk.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/error.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/faq.html
-%%PORTDOCS%%share/doc/bacula/html-manual/faq.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/file.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/file.html
-%%PORTDOCS%%share/doc/bacula/html-manual/file.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/filedconf.html
-%%PORTDOCS%%share/doc/bacula/html-manual/filedconf.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/flow.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/flow.jpeg
-%%PORTDOCS%%share/doc/bacula/html-manual/gpl.html
-%%PORTDOCS%%share/doc/bacula/html-manual/gpl.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/home.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/idle.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/imgdot-1x1-000000.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/imgdot-1x1-transp-ffffff.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/index.html
-%%PORTDOCS%%share/doc/bacula/html-manual/index.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/install.html
-%%PORTDOCS%%share/doc/bacula/html-manual/install.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/internaldb.html
-%%PORTDOCS%%share/doc/bacula/html-manual/internaldb.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/internals.html
-%%PORTDOCS%%share/doc/bacula/html-manual/internals.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/kaboom.html
-%%PORTDOCS%%share/doc/bacula/html-manual/kaboom.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/lesser.html
-%%PORTDOCS%%share/doc/bacula/html-manual/lesser.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/license.html
-%%PORTDOCS%%share/doc/bacula/html-manual/license.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/md5.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/md5.html
-%%PORTDOCS%%share/doc/bacula/html-manual/md5.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/mediaformat.html
-%%PORTDOCS%%share/doc/bacula/html-manual/mediaformat.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/mempool.html
-%%PORTDOCS%%share/doc/bacula/html-manual/mempool.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/messagesres.html
-%%PORTDOCS%%share/doc/bacula/html-manual/messagesres.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/mysql.html
-%%PORTDOCS%%share/doc/bacula/html-manual/mysql.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/netprotocol.html
-%%PORTDOCS%%share/doc/bacula/html-manual/netprotocol.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/next.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/philosophical-gnu-sm.jpg
-%%PORTDOCS%%share/doc/bacula/html-manual/porting.html
-%%PORTDOCS%%share/doc/bacula/html-manual/porting.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/progs.html
-%%PORTDOCS%%share/doc/bacula/html-manual/progs.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/projects.html
-%%PORTDOCS%%share/doc/bacula/html-manual/projects.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/quickstart.html
-%%PORTDOCS%%share/doc/bacula/html-manual/quickstart.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/recycling.html
-%%PORTDOCS%%share/doc/bacula/html-manual/recycling.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/rescue.html
-%%PORTDOCS%%share/doc/bacula/html-manual/rescue.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/restore.html
-%%PORTDOCS%%share/doc/bacula/html-manual/restore.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/running.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/running.html
-%%PORTDOCS%%share/doc/bacula/html-manual/running.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/security.html
-%%PORTDOCS%%share/doc/bacula/html-manual/security.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/smartall.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/smartall.html
-%%PORTDOCS%%share/doc/bacula/html-manual/smartall.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/sqlite.html
-%%PORTDOCS%%share/doc/bacula/html-manual/sqlite.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/state.html
-%%PORTDOCS%%share/doc/bacula/html-manual/state.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/status.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/storage.html
-%%PORTDOCS%%share/doc/bacula/html-manual/storage.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/storedconf.html
-%%PORTDOCS%%share/doc/bacula/html-manual/storedconf.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/tapetesting.html
-%%PORTDOCS%%share/doc/bacula/html-manual/tapetesting.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/thanks.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/thanks.html
-%%PORTDOCS%%share/doc/bacula/html-manual/thanks.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/tips.html
-%%PORTDOCS%%share/doc/bacula/html-manual/tips.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/verify.html
-%%PORTDOCS%%share/doc/bacula/html-manual/verify.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/waiting.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/win32.html
-%%PORTDOCS%%share/doc/bacula/html-manual/win32.wml
-%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-1.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-2.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-3.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-4.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-5.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-6.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-7.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-8.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/wininstall-9.gif
-%%PORTDOCS%%share/doc/bacula/html-manual/working.gif
-%%PORTDOCS%%@dirrm share/doc/bacula/html-manual
-%%PORTDOCS%%@dirrm share/doc/bacula
-@dirrm share/bacula
+%%SERVER%%sbin/bacula-sd
+%%SERVER%%sbin/bextract
+%%SERVER%%sbin/bls
+%%SERVER%%sbin/bscan
+%%SERVER%%sbin/btape
+%%SERVER%%sbin/console
+%%SERVER%%sbin/dbcheck
+%%SERVER%%sbin/smtp
+%%SERVER%%share/bacula/create_%%DBTYPE%%_database
+%%SERVER%%share/bacula/delete_catalog_backup
+%%SERVER%%share/bacula/drop_bacula_tables
+%%SERVER%%share/bacula/drop_%%DBTYPE%%_tables
+%%SERVER%%share/bacula/make_bacula_tables
+%%SERVER%%share/bacula/make_%%DBTYPE%%_tables
+%%SERVER%%share/bacula/make_catalog_backup
+%%PORTDOCS%%%%DOCSDIR%%/bacula.pdf
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/.cvsignore
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/Bacula.apf
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/add-nav.list
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/add-nav.pl
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/autochangers.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/autochangers.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/back.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bacula-features.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bacula-features.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bacula-logo.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bacula-styles.css
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bacula.book
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bacula.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bacula.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bacula_template.inc
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bclogo.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bootstrap.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bootstrap.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bugs.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/bugs.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/catalog.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/catalog.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/catmaintenance.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/catmaintenance.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/configure.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/configure.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/console.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/console.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/consoleconf.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/consoleconf.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/daemonprotocol.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/daemonprotocol.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/developers.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/developers.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/dirdconf.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/dirdconf.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/director.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/director.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/disk.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/disk.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/error.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/faq.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/faq.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/file.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/file.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/file.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/filedconf.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/filedconf.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/flow.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/flow.jpeg
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/gpl.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/gpl.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/gui-interface.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/gui-interface.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/home.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/idle.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/imgdot-1x1-000000.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/imgdot-1x1-transp-ffffff.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/index.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/index.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/install.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/install.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/internaldb.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/internaldb.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/internals.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/internals.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/kaboom.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/kaboom.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/lesser.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/lesser.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/license.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/license.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/md5.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/md5.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/md5.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/mediaformat.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/mediaformat.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/mempool.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/mempool.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/messagesres.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/messagesres.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/mysql.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/mysql.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/netprotocol.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/netprotocol.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/next.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/philosophical-gnu-sm.jpg
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/porting.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/porting.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/progs.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/progs.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/projects.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/projects.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/quickstart.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/quickstart.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/recycling.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/recycling.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/regression.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/regression.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/rescue.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/rescue.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/restore.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/restore.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/running.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/running.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/running.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/security.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/security.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/smartall.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/smartall.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/smartall.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/sqlite.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/sqlite.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/state.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/state.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/status.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/storage.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/storage.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/storedconf.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/storedconf.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/strategies.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/strategies.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/tapetesting.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/tapetesting.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/thanks.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/thanks.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/thanks.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/tips.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/tips.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/vars.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/vars.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/verify.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/verify.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/waiting.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/win32.html
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/win32.wml
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/wininstall-1.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/wininstall-2.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/wininstall-3.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/wininstall-4.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/wininstall-5.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/wininstall-6.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/wininstall-7.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/wininstall-8.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/wininstall-9.gif
+%%PORTDOCS%%%%DOCSDIR%%/html-manual/working.gif
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html-manual
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%SERVER%%@dirrm share/bacula