[pkg-bacula-commits] [bacula] 02/03: deleted files from debian/ that aren't related to bacula-fd
Carsten Leonhardt
leo at moszumanska.debian.org
Mon Dec 7 22:27:56 UTC 2015
This is an automated email from the git hooks/post-receive script.
leo pushed a commit to branch bacula-fd5.2
in repository bacula.
commit 3cf3fb9f49052d91a899d0bd2e5b060a3bc01c29
Author: Carsten Leonhardt <leo at debian.org>
Date: Mon Dec 7 23:15:02 2015 +0100
deleted files from debian/ that aren't related to bacula-fd
---
debian/bacula-common-db.install.in | 2 -
debian/bacula-common-db.links.in | 2 -
debian/bacula-common.examples | 1 -
debian/bacula-console-qt.dirs | 1 -
debian/bacula-console-qt.install | 3 -
debian/bacula-console-qt.links | 4 -
debian/bacula-console-qt.manpages | 1 -
debian/bacula-console-qt.postinst | 66 -----------
debian/bacula-console-qt.postrm | 18 ---
debian/bacula-console.install | 1 -
debian/bacula-console.links | 4 -
debian/bacula-console.manpages | 1 -
debian/bacula-console.menu | 2 -
debian/bacula-console.postinst | 37 ------
debian/bacula-console.postrm | 22 ----
debian/bacula-director-common.bacula-director.init | 131 ---------------------
debian/bacula-director-common.dirs | 2 -
debian/bacula-director-common.install | 4 -
debian/bacula-director-common.manpages | 2 -
debian/bacula-director-db.config.in | 34 ------
debian/bacula-director-db.manpages.in | 2 -
debian/bacula-director-db.postrm.in | 56 ---------
debian/bacula-director-db.prerm.in | 25 ----
debian/bacula-director-db.templates.in | 18 ---
debian/bacula-director-mysql.install | 8 --
debian/bacula-director-mysql.postinst | 100 ----------------
debian/bacula-director-pgsql.install | 10 --
debian/bacula-director-pgsql.postinst | 110 -----------------
debian/bacula-director-sqlite3.install | 9 --
debian/bacula-director-sqlite3.postinst | 104 ----------------
debian/bacula-sd-db.install.in | 3 -
debian/bacula-sd-db.manpages.in | 2 -
debian/bacula-sd.dirs | 1 -
debian/bacula-sd.init | 99 ----------------
debian/bacula-sd.install | 7 --
debian/bacula-sd.manpages | 4 -
debian/bacula-sd.postinst | 71 -----------
debian/bacula-sd.postrm | 51 --------
debian/bacula-traymonitor.install | 3 -
debian/bacula-traymonitor.links | 5 -
debian/bacula-traymonitor.manpages | 1 -
debian/bacula-traymonitor.menu.unused | 2 -
debian/bacula-traymonitor.postinst | 70 -----------
debian/bacula-traymonitor.postrm | 18 ---
44 files changed, 1117 deletions(-)
diff --git a/debian/bacula-common-db.install.in b/debian/bacula-common-db.install.in
deleted file mode 100644
index 31de74d..0000000
--- a/debian/bacula-common-db.install.in
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/lib/bacula/libbacsql*.so
-usr/lib/bacula/libbaccats-XX_DBLONGNAME_XX*.so
diff --git a/debian/bacula-common-db.links.in b/debian/bacula-common-db.links.in
deleted file mode 100644
index 352d6af..0000000
--- a/debian/bacula-common-db.links.in
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/lib/bacula/libbaccats-XX_DBLONGNAME_XX.so usr/lib/bacula/libbaccats-5.2.13.so
-usr/lib/bacula/libbaccats-5.2.13.so usr/lib/bacula/libbaccats.so
diff --git a/debian/bacula-common.examples b/debian/bacula-common.examples
deleted file mode 100644
index e39721e..0000000
--- a/debian/bacula-common.examples
+++ /dev/null
@@ -1 +0,0 @@
-examples/*
diff --git a/debian/bacula-console-qt.dirs b/debian/bacula-console-qt.dirs
deleted file mode 100644
index cc4c999..0000000
--- a/debian/bacula-console-qt.dirs
+++ /dev/null
@@ -1 +0,0 @@
-etc/bacula
diff --git a/debian/bacula-console-qt.install b/debian/bacula-console-qt.install
deleted file mode 100644
index 4ddd179..0000000
--- a/debian/bacula-console-qt.install
+++ /dev/null
@@ -1,3 +0,0 @@
-usr/sbin/bat
-src/qt-console/images/bat_icon.png usr/share/pixmaps
-scripts/bat.desktop usr/share/applications
diff --git a/debian/bacula-console-qt.links b/debian/bacula-console-qt.links
deleted file mode 100644
index dbc0aba..0000000
--- a/debian/bacula-console-qt.links
+++ /dev/null
@@ -1,4 +0,0 @@
-usr/share/man/man1/bat.1.gz usr/share/man/man1/bacula-console-qt.1.gz
-usr/sbin/bat usr/sbin/bacula-console-qt
-# remove the following post-wheezy
-usr/sbin/bat usr/bin/bat
diff --git a/debian/bacula-console-qt.manpages b/debian/bacula-console-qt.manpages
deleted file mode 100644
index 8826da5..0000000
--- a/debian/bacula-console-qt.manpages
+++ /dev/null
@@ -1 +0,0 @@
-manpages/bat.1
diff --git a/debian/bacula-console-qt.postinst b/debian/bacula-console-qt.postinst
deleted file mode 100644
index c8c29f0..0000000
--- a/debian/bacula-console-qt.postinst
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/sh
-# postinst script for bacula
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-#
-# quoting from the policy:
-# Any necessary prompting should almost always be confined to the
-# post-installation script, and should be protected with a conditional
-# so that unnecessary prompting doesn't happen if a package's
-# installation fails and the `postinst' is called with `abort-upgrade',
-# `abort-remove' or `abort-deconfigure'.
-
-SRCDIR="/usr/share/bacula-common/defconfig"
-DSTDIR="/etc/bacula"
-CFGFILE="bat.conf"
-
-. /usr/share/bacula-common/common-functions.dpkg
-readOrCreatePasswords
-
-case "$1" in
- configure)
-
- if [ ! -f $DSTDIR/$CFGFILE ]; then
- TARGET=$DSTDIR/$CFGFILE
- else
- TARGET=$DSTDIR/$CFGFILE.dist
- fi
-
- # bconsole & wx-console use the same config file ;)
- sed -e s~@debian_hostname@~`hostname`~ \
- -e s~XXX_DIRPASSWORD_XXX~$DIRPASSWD~ \
- < $SRCDIR/$CFGFILE > $TARGET
-
- chown root:bacula $TARGET
- chmod 640 $TARGET
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
-
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/bacula-console-qt.postrm b/debian/bacula-console-qt.postrm
deleted file mode 100644
index 0b24c1c..0000000
--- a/debian/bacula-console-qt.postrm
+++ /dev/null
@@ -1,18 +0,0 @@
-#! /bin/sh
-
-set -e
-
-
-case "$1" in
- purge)
- rm -f /etc/bacula/bat.conf /etc/bacula/bat.conf.*
- ;;
-esac
-
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/bacula-console.install b/debian/bacula-console.install
deleted file mode 100644
index 2a60dc7..0000000
--- a/debian/bacula-console.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/sbin/bconsole
diff --git a/debian/bacula-console.links b/debian/bacula-console.links
deleted file mode 100644
index a11d424..0000000
--- a/debian/bacula-console.links
+++ /dev/null
@@ -1,4 +0,0 @@
-usr/share/man/man8/bconsole.8.gz usr/share/man/man8/bacula-console.8.gz
-usr/sbin/bconsole usr/sbin/bacula-console
-# remove the following post-wheezy
-usr/sbin/bconsole usr/bin/bconsole
diff --git a/debian/bacula-console.manpages b/debian/bacula-console.manpages
deleted file mode 100644
index 474ce8f..0000000
--- a/debian/bacula-console.manpages
+++ /dev/null
@@ -1 +0,0 @@
-manpages/bconsole.8
diff --git a/debian/bacula-console.menu b/debian/bacula-console.menu
deleted file mode 100644
index b33157d..0000000
--- a/debian/bacula-console.menu
+++ /dev/null
@@ -1,2 +0,0 @@
-?package(bacula-console):needs="text" section="Applications/System/Administration" \
- title="Bacula console" command="/usr/sbin/bconsole"
diff --git a/debian/bacula-console.postinst b/debian/bacula-console.postinst
deleted file mode 100644
index c439d0a..0000000
--- a/debian/bacula-console.postinst
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-
-set -e
-
-
-SRCDIR="/usr/share/bacula-common/defconfig"
-DSTDIR="/etc/bacula"
-CONFIG="bconsole.conf"
-
-. /usr/share/bacula-common/common-functions.dpkg
-readOrCreatePasswords
-
-case "$1" in
- configure)
- if [ ! -f $DSTDIR/$CONFIG ]; then
- TARGET=$DSTDIR/$CONFIG
- else
- TARGET=$DSTDIR/$CONFIG.dist
- fi
-
- sed -e s~@debian_hostname@~`hostname`~ \
- -e s~XXX_DIRPASSWORD_XXX~$DIRPASSWD~ \
- < $SRCDIR/$CONFIG > $TARGET
-
- # Harden permissions, so that passwords can not be looked at
- chown root:bacula $TARGET
- chmod 640 $TARGET
- ;;
-esac
-
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/bacula-console.postrm b/debian/bacula-console.postrm
deleted file mode 100644
index 39ab422..0000000
--- a/debian/bacula-console.postrm
+++ /dev/null
@@ -1,22 +0,0 @@
-#! /bin/sh
-
-set -e
-
-
-CONSOLE=/usr/sbin/bacula-console
-CFGDIR=/etc/bacula
-CFGFILE="bconsole.conf"
-
-case "$1" in
- purge)
- rm -f $CFGDIR/$CFGFILE $CFGDIR/$CFGFILE.*
- ;;
-esac
-
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/bacula-director-common.bacula-director.init b/debian/bacula-director-common.bacula-director.init
deleted file mode 100644
index 3c8f258..0000000
--- a/debian/bacula-director-common.bacula-director.init
+++ /dev/null
@@ -1,131 +0,0 @@
-#! /bin/sh
-### BEGIN INIT INFO
-# Provides: bacula-director
-# Required-Start: $remote_fs $syslog
-# Should-Start: bacula-fd postgresql mysql
-# Required-Stop: $remote_fs $syslog
-# Should-Stop: bacula-fd postgresql mysql
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
-# Short-Description: Start Bacula Director at boot time
-# Description: bacula-director is the daemon that supervises all the
-# backup, restore, verify and archive operations. The
-# system administrator uses the Bacula Director to schedule
-# backups and to recover files.
-### END INIT INFO
-# bacula-director SysV init script for Bacula-Director.
-#
-# Written by Miquel van Smoorenburg <miquels at cistron.nl>.
-# Modified for Debian GNU/Linux by Ian Murdock <imurdock at gnu.ai.mit.edu>.
-# Customized for Bacula by Jose Luis Tallon <jltallon at adv-solutions.net>
-#
-
-set -e
-
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/sbin/bacula-dir
-NAME="bacula-dir"
-PORT=9101
-DESC="Bacula Director"
-
-if [ ! -x $DAEMON ] ; then
- echo "No bacula-director SQL package installed"
- exit 0
-fi
-
-if [ -n "`getent services bacula-dir`" ]; then
- PORT=`getent services bacula-dir | awk '{ gsub("/tcp","",$2); print $2; }'`
-fi
-
-
-PIDFILE=/var/run/bacula/$NAME.$PORT.pid
-
-. /lib/lsb/init-functions
-. /usr/share/bacula-common/common-functions.init
-if [ -r /etc/default/$NAME ]; then
- . /etc/default/$NAME
-fi
-
-CONFIG="${CONFIG:-/etc/bacula/$NAME.conf}"
-
-create_var_run_dir
-
-get_pid()
-{
- if [ -r "$1" ]; then pid="`cat $1`";
- else pid=""; fi
-}
-
-kill_pid()
-{
- kill -$1 $2 2>/dev/null || true
-}
-
-# do_start()
-do_start()
-{
- start-stop-daemon --start --quiet --pidfile $PIDFILE \
- --oknodo --exec $DAEMON -- -c $CONFIG $ARGS
-}
-
-# do_stop()
-do_stop()
-{
- start-stop-daemon --oknodo --stop --quiet --pidfile $PIDFILE \
- --retry TERM/30/KILL/5 --exec $DAEMON -- -c $CONFIG $ARGS
-}
-
-
-########################################################################
-
-case "$1" in
- start)
- if [ "$ENABLED" = "no" ]; then
- log_failure_msg "Not starting $DESC: disabled via /etc/default/$NAME"
- exit 0
- fi
-
- create_var_run_dir
- log_daemon_msg "Starting $DESC..." "$NAME"
- if do_start ; then
- log_end_msg 0
- else
- log_end_msg 1
- fi
- ;;
-
- stop)
- log_daemon_msg "Stopping $DESC..." "$NAME"
- if do_stop ; then
- log_end_msg 0
- else
- log_end_msg 1
- fi
- ;;
-
- reload)
- log_daemon_msg "Reloading $DESC..." "$NAME"
- get_pid $PIDFILE
- if [ -n "$pid" ]; then kill_pid HUP $pid ;
- else do_start ;
- fi
- ;;
-
- restart|force-reload)
- $0 stop
- $0 start
- ;;
-
- status)
- status_of_proc -p $PIDFILE $DAEMON $NAME
- ;;
-
- *)
- N=/etc/init.d/$NAME
- # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
- echo "Usage: $N {start|stop|restart|reload|force-reload|status}" >&2
- exit 1
- ;;
-esac
-
-exit 0
diff --git a/debian/bacula-director-common.dirs b/debian/bacula-director-common.dirs
deleted file mode 100644
index 2b84881..0000000
--- a/debian/bacula-director-common.dirs
+++ /dev/null
@@ -1,2 +0,0 @@
-var/lib/bacula
-var/log/bacula
diff --git a/debian/bacula-director-common.install b/debian/bacula-director-common.install
deleted file mode 100644
index 4e9de64..0000000
--- a/debian/bacula-director-common.install
+++ /dev/null
@@ -1,4 +0,0 @@
-etc/bacula/scripts/query.sql
-usr/sbin/bwild
-usr/sbin/bregex
-debian/additions/postinst-common usr/share/bacula-director
diff --git a/debian/bacula-director-common.manpages b/debian/bacula-director-common.manpages
deleted file mode 100644
index ba8ba7e..0000000
--- a/debian/bacula-director-common.manpages
+++ /dev/null
@@ -1,2 +0,0 @@
-manpages/bregex.8
-manpages/bwild.8
diff --git a/debian/bacula-director-db.config.in b/debian/bacula-director-db.config.in
deleted file mode 100644
index 543405b..0000000
--- a/debian/bacula-director-db.config.in
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-
-set -e
-
-
-. /usr/share/debconf/confmodule
-db_version 2.0
-
-
-THISDB=XX_DB_XX
-
-case "$THISDB" in
- mysql)
- dbc_first_version=1.38.9-3
- dbc_dbuser=bacula
- dbc_dbname=bacula
- ;;
- pgsql)
- dbc_first_version=1.38.9-2
- dbc_dbuser=bacula
- dbc_dbname=bacula
- ;;
- sqlite3)
- dbc_first_version=3.0.3-3
- dbc_dbname=bacula.db
- dbc_basepath=/var/lib/bacula
- ;;
-esac
-
-
-if [ -f /usr/share/dbconfig-common/dpkg/config.$THISDB ]; then
- . /usr/share/dbconfig-common/dpkg/config.$THISDB
- dbc_go bacula-director-$THISDB $@
-fi
diff --git a/debian/bacula-director-db.manpages.in b/debian/bacula-director-db.manpages.in
deleted file mode 100644
index 3f2b8f2..0000000
--- a/debian/bacula-director-db.manpages.in
+++ /dev/null
@@ -1,2 +0,0 @@
-manpages/bacula-dir.8
-manpages/dbcheck.8
diff --git a/debian/bacula-director-db.postrm.in b/debian/bacula-director-db.postrm.in
deleted file mode 100644
index a51fab2..0000000
--- a/debian/bacula-director-db.postrm.in
+++ /dev/null
@@ -1,56 +0,0 @@
-#! /bin/sh
-
-set -e
-
-
-THISDB=XX_DB_XX
-CONFFILE=/etc/bacula/bacula-dir.conf
-
-
-if [ -f /usr/share/debconf/confmodule ]; then
- . /usr/share/debconf/confmodule
- db_version 2.0
-fi
-
-if [ -f /usr/share/dbconfig-common/dpkg/postrm.$THISDB ]; then
- . /usr/share/dbconfig-common/dpkg/postrm.$THISDB
- dbc_go bacula-director-$THISDB $@
-fi
-
-
-case "$1" in
- purge)
- rm -f $CONFFILE $CONFFILE.dist
-
-
- UCF_CONFIG_FILES="/etc/default/bacula-dir \
- /etc/bacula/scripts/delete_catalog_backup"
-
- # purge configs if there are no installed package
- # for other database type
- for CONF in $UCF_CONFIG_FILES; do
- if which ucfq >/dev/null && \
- ! (ucfq -w "$CONF" |egrep -q "^$CONF:bacula-director-$THISDB:");
- then
- continue
- fi
-
- rm -f "$CONF" "$CONF.ucf-old" "$CONF.ucf-new" "$CONF.ucf-dist"
-
- if which ucf >/dev/null; then
- ucf --purge "$CONF"
- fi
- if which ucfr >/dev/null; then
- ucfr --purge bacula-director-$THISDB "$CONF"
- fi
- done
- ;;
-esac
-
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/bacula-director-db.prerm.in b/debian/bacula-director-db.prerm.in
deleted file mode 100644
index 9db9409..0000000
--- a/debian/bacula-director-db.prerm.in
+++ /dev/null
@@ -1,25 +0,0 @@
-#! /bin/sh
-
-set -e
-
-
-. /usr/share/debconf/confmodule
-db_version 2.0
-
-
-THISDB=XX_DB_XX
-if [ -f /usr/share/dbconfig-common/dpkg/prerm.$THISDB ]; then
- . /usr/share/dbconfig-common/dpkg/prerm.$THISDB
- dbc_go bacula-director-$THISDB $@
-fi
-
-if test "$1" = "remove" -o "$1" = "deconfigure"; then
- invoke-rc.d bacula-director stop || exit $?-
-fi
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/bacula-director-db.templates.in b/debian/bacula-director-db.templates.in
deleted file mode 100644
index f4d7b96..0000000
--- a/debian/bacula-director-db.templates.in
+++ /dev/null
@@ -1,18 +0,0 @@
-# These templates have been reviewed by the debian-l10n-english
-# team
-#
-# If modifications/additions/rewording are needed, please ask
-# debian-l10n-english at lists.debian.org for advice.
-#
-# Even minor modifications require translation updates and such
-# changes should be coordinated with translators and reviewers.
-
-Template: bacula-director-XX_DB_XX/unsafe-director-password-was-changed
-Type: error
-_Description: Unsafe bacula-director password changed
- This installation of Bacula was still using an unsafe password for access
- to the bacula-director service, as shipped with old versions of Bacula.
- .
- In order to secure this Bacula server, the password in bacula-dir.conf
- has been modified. You will need to change it on clients so that they can
- still access the bacula-director service.
diff --git a/debian/bacula-director-mysql.install b/debian/bacula-director-mysql.install
deleted file mode 100644
index 7ee3d70..0000000
--- a/debian/bacula-director-mysql.install
+++ /dev/null
@@ -1,8 +0,0 @@
-etc/bacula/scripts/make_mysql_tables usr/share/bacula-director
-etc/bacula/scripts/update_mysql* usr/share/bacula-director
-etc/bacula/scripts/make_catalog_backup
-etc/bacula/scripts/delete_catalog_backup usr/share/bacula-common/defconfig/scripts
-etc/bacula/scripts/*catalog_backup.pl
-debian/additions/mysql/make_catalog_backup_awk etc/bacula/scripts
-usr/sbin/bacula-dir
-usr/sbin/dbcheck
diff --git a/debian/bacula-director-mysql.postinst b/debian/bacula-director-mysql.postinst
deleted file mode 100644
index f3fab5c..0000000
--- a/debian/bacula-director-mysql.postinst
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-# postinst script for bacula-director-mysql
-#
-
-set -e
-
-. /usr/share/debconf/confmodule
-db_version 2.0
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-#
-# quoting from the policy:
-# Any necessary prompting should almost always be confined to the
-# post-installation script, and should be protected with a conditional
-# so that unnecessary prompting doesn't happen if a package's
-# installation fails and the `postinst' is called with `abort-upgrade',
-# `abort-remove' or `abort-deconfigure'.
-
-dbc_first_version=1.38.9-3
-# set in config, must not be set here: dbc_dbuser=bacula
-# set in config, must not be set here: dbc_dbname=bacula
-
-if test "$1" = "configure" -a -n "$2" && dpkg --compare-versions "$2" lt "5.2.6+dfsg-1"; then
- invoke-rc.d bacula-director stop || true
-fi
-
-# source dbconfig-common shell library, and call the hook function
-if [ -f /usr/share/dbconfig-common/dpkg/config.mysql ]; then
- . /usr/share/dbconfig-common/dpkg/postinst.mysql
- dbc_go bacula-director-mysql $@
-fi
-
-LOGDIR="/var/log/bacula"
-POSTINST_COMMON="/usr/share/bacula-director/postinst-common"
-DEFCONFIG="/usr/share/bacula-common/defconfig"
-CFGFILE="/etc/bacula/bacula-dir.conf"
-
-
-. /usr/share/bacula-common/common-functions.dpkg
-readOrCreatePasswords
-setup_etc_default bacula-director-mysql $@
-
-case "$1" in
-configure)
- check_and_fix_unsafe_director_password bacula-director-mysql
-
- echo -n "Processing configuration..."
- . /etc/dbconfig-common/bacula-director-mysql.conf
- TARGET=$CFGFILE.dpkg-tmp
- # FIXME: should this tweak make_catalog_backup like bacula-director-pgsql.postinst does?
- sed -e "s/dbname = \"XXX_DBNAME_XXX\";/dbname = \"$dbc_dbname\"; DB Address = \"$dbc_dbserver\";/" \
- -e "s~/XXX_DBNAME_XXX~/$dbc_dbname~" \
- -e "s/XXX_DBUSER_XXX/$dbc_dbuser/" -e "s/XXX_DBPASSWORD_XXX/$dbc_dbpass/" \
- -e s~XXX_DIRPASSWORD_XXX~$DIRPASSWD~ \
- -e s~XXX_MONDIRPASSWORD_XXX~$DIRMPASSWD~ \
- -e s~XXX_SDPASSWORD_XXX~$SDPASSWD~ \
- -e s~XXX_FDPASSWORD_XXX~$FDPASSWD~ \
- $DEFCONFIG/bacula-dir.conf > $TARGET
-
-
- DBNAME="$dbc_dbname"
- SUBST_VARIABLES=DBNAME
- install_config \
- bacula-director-mysql \
- /usr/share/bacula-common/defconfig/scripts/delete_catalog_backup \
- /etc/bacula/scripts/delete_catalog_backup
-
-
- sh $POSTINST_COMMON
-
- echo "Ok."
- ;;
-
-abort-upgrade|abort-remove|abort-deconfigure)
-
- ;;
-
-*)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# Do start daemon
-db_stop
-
-invoke-rc.d bacula-director start || exit $?-
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/bacula-director-pgsql.install b/debian/bacula-director-pgsql.install
deleted file mode 100644
index 6627f58..0000000
--- a/debian/bacula-director-pgsql.install
+++ /dev/null
@@ -1,10 +0,0 @@
-etc/bacula/scripts/make_postgresql_tables usr/share/bacula-director
-etc/bacula/scripts/grant_postgresql_privileges usr/share/bacula-director
-etc/bacula/scripts/update_postgres* usr/share/bacula-director
-etc/bacula/scripts/make_catalog_backup
-etc/bacula/scripts/delete_catalog_backup usr/share/bacula-common/defconfig/scripts
-etc/bacula/scripts/*catalog_backup.pl
-debian/additions/pgsql/make_catalog_backup_awk etc/bacula/scripts
-usr/sbin/bacula-dir
-usr/sbin/dbcheck
-debian/additions/pgsql/database/pgsql usr/share/dbconfig-common/data/bacula-director-pgsql/install-dbadmin
diff --git a/debian/bacula-director-pgsql.postinst b/debian/bacula-director-pgsql.postinst
deleted file mode 100644
index 05b453b..0000000
--- a/debian/bacula-director-pgsql.postinst
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/bin/sh
-# postinst script for bacula-director-pgsql
-#
-
-set -e
-
-. /usr/share/debconf/confmodule
-db_version 2.0
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-#
-# quoting from the policy:
-# Any necessary prompting should almost always be confined to the
-# post-installation script, and should be protected with a conditional
-# so that unnecessary prompting doesn't happen if a package's
-# installation fails and the `postinst' is called with `abort-upgrade',
-# `abort-remove' or `abort-deconfigure'.
-
-dbc_first_version=1.38.9-2
-# set in config, must not be set here: dbc_dbuser=bacula
-# set in config, must not be set here: dbc_dbname=bacula
-
-if test "$1" = "configure" -a -n "$2" && dpkg --compare-versions "$2" lt "5.2.6+dfsg-1"; then
- invoke-rc.d bacula-director stop || true
-fi
-
-# source dbconfig-common shell library, and call the hook function
-if [ -f /usr/share/dbconfig-common/dpkg/postinst.pgsql ]; then
- . /usr/share/dbconfig-common/dpkg/postinst.pgsql
- dbc_pgsql_createdb_encoding="SQL_ASCII"
- dbc_sql_substitutions="1"
- dbc_go bacula-director-pgsql $@
-fi
-
-LOGDIR="/var/log/bacula"
-POSTINST_COMMON="/usr/share/bacula-director/postinst-common"
-DEFCONFIG="/usr/share/bacula-common/defconfig"
-CFGFILE="/etc/bacula/bacula-dir.conf"
-CATALOG=bacula
-PGSQL=/usr/bin/psql
-GRANT_SQL_PRIVS="/usr/share/bacula-director/grant_pgsql_privileges"
-AUTHFILE=`getent passwd bacula | cut -d ':' -f 6`/.pgpass
-
-
-. /usr/share/bacula-common/common-functions.dpkg
-readOrCreatePasswords
-setup_etc_default bacula-director-pgsql $@
-
-case "$1" in
-configure)
- check_and_fix_unsafe_director_password bacula-director-pgsql
-
- echo -n "Processing configuration..."
- . /etc/dbconfig-common/bacula-director-pgsql.conf
- TARGET=$CFGFILE.dpkg-tmp
-
- if [ "$dbc_install" = "true" ] ; then
- sed -e "s/make_catalog_backup bacula bacula/make_catalog_backup -h '$dbc_dbserver' -U $dbc_dbuser/" \
- -e "s/dbname = \"XXX_DBNAME_XXX\";/dbname = \"$dbc_dbname\"; DB Address = \"$dbc_dbserver\";/" \
- -e "s~/XXX_DBNAME_XXX~/$dbc_dbname~" \
- -e "s/XXX_DBUSER_XXX/$dbc_dbuser/" -e "s/XXX_DBPASSWORD_XXX/$dbc_dbpass/" \
- -e s~XXX_DIRPASSWORD_XXX~$DIRPASSWD~ \
- -e s~XXX_MONDIRPASSWORD_XXX~$DIRMPASSWD~ \
- -e s~XXX_SDPASSWORD_XXX~$SDPASSWD~ \
- -e s~XXX_FDPASSWORD_XXX~$FDPASSWD~ \
- $DEFCONFIG/bacula-dir.conf > $TARGET
- fi
-
-
- DBNAME="$dbc_dbname"
- SUBST_VARIABLES=DBNAME
- install_config \
- bacula-director-pgsql \
- /usr/share/bacula-common/defconfig/scripts/delete_catalog_backup \
- /etc/bacula/scripts/delete_catalog_backup
-
-
- sh $POSTINST_COMMON
- echo "Ok."
- ;;
-
-abort-upgrade|abort-remove|abort-deconfigure)
-
- ;;
-
-*)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-
-
-# Do start daemon
-db_stop
-
-invoke-rc.d bacula-director start || exit $?-
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/bacula-director-sqlite3.install b/debian/bacula-director-sqlite3.install
deleted file mode 100644
index a895be0..0000000
--- a/debian/bacula-director-sqlite3.install
+++ /dev/null
@@ -1,9 +0,0 @@
-etc/bacula/scripts/make_sqlite*tables usr/share/bacula-director
-etc/bacula/scripts/update_sqlite* usr/share/bacula-director
-etc/bacula/scripts/make_catalog_backup
-debian/additions/sqlite3/delete_catalog_backup.md5sum usr/share/bacula-common/defconfig/scripts
-etc/bacula/scripts/delete_catalog_backup usr/share/bacula-common/defconfig/scripts
-etc/bacula/scripts/*catalog_backup.pl
-debian/additions/sqlite3/make_catalog_backup_awk etc/bacula/scripts
-usr/sbin/bacula-dir
-usr/sbin/dbcheck
diff --git a/debian/bacula-director-sqlite3.postinst b/debian/bacula-director-sqlite3.postinst
deleted file mode 100644
index 87de84d..0000000
--- a/debian/bacula-director-sqlite3.postinst
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/bin/sh
-# postinst script for bacula-director-sqlite3
-#
-
-set -e
-
-. /usr/share/debconf/confmodule
-db_version 2.0
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-#
-# quoting from the policy:
-# Any necessary prompting should almost always be confined to the
-# post-installation script, and should be protected with a conditional
-# so that unnecessary prompting doesn't happen if a package's
-# installation fails and the `postinst' is called with `abort-upgrade',
-# `abort-remove' or `abort-deconfigure'.
-
-dbc_first_version=3.0.3-3
-dbc_dbfile_owner=bacula:bacula
-# set in config, must not be set here: dbc_dbuser=bacula
-# set in config, must not be set here: dbc_dbname=bacula.db
-# set in config, must not be set here: dbc_basepath=/var/lib/bacula
-
-if test "$1" = "configure" -a -n "$2" && dpkg --compare-versions "$2" lt "5.2.6+dfsg-1"; then
- invoke-rc.d bacula-director stop || true
-fi
-
-# source dbconfig-common shell library, and call the hook function
-if [ -f /usr/share/dbconfig-common/dpkg/config.sqlite3 ]; then
- . /usr/share/dbconfig-common/dpkg/postinst.sqlite3
- dbc_go bacula-director-sqlite3 $@
-fi
-
-LOGDIR="/var/log/bacula"
-POSTINST_COMMON="/usr/share/bacula-director/postinst-common"
-DEFCONFIG="/usr/share/bacula-common/defconfig"
-CFGFILE="/etc/bacula/bacula-dir.conf"
-
-. /usr/share/bacula-common/common-functions.dpkg
-readOrCreatePasswords
-setup_etc_default bacula-director-sqlite3 $@
-
-case "$1" in
-configure)
- check_and_fix_unsafe_director_password bacula-director-sqlite3
-
- echo -n "Processing configuration..."
- . /etc/dbconfig-common/bacula-director-sqlite3.conf
- TARGET=$CFGFILE.dpkg-tmp
- # FIXME: should this tweak make_catalog_backup like bacula-director-pgsql.postinst does?
- BACULADBNAME=`echo "$dbc_dbname" | sed 's/.db$//'`
-
- sed -e s~XXX_DIRPASSWORD_XXX~$DIRPASSWD~ \
- -e s~XXX_MONDIRPASSWORD_XXX~$DIRMPASSWD~ \
- -e s~XXX_SDPASSWORD_XXX~$SDPASSWD~ \
- -e s~XXX_FDPASSWORD_XXX~$FDPASSWD~ \
- -e "s~/XXX_DBNAME_XXX~/$BACULADBNAME~" \
- -e "s~\"XXX_DBNAME_XXX~\"$BACULADBNAME~" \
- -e s~XXX_DBUSER_XXX~~ \
- -e s~XXX_DBPASSWORD_XXX~~ \
- $DEFCONFIG/bacula-dir.conf > $TARGET
-
-
- DBNAME="$BACULADBNAME"
- SUBST_VARIABLES=DBNAME
- install_config \
- bacula-director-sqlite3 \
- /usr/share/bacula-common/defconfig/scripts/delete_catalog_backup \
- /etc/bacula/scripts/delete_catalog_backup
-
-
- sh $POSTINST_COMMON
-
- echo "Ok."
- ;;
-
-abort-upgrade|abort-remove|abort-deconfigure)
-
- ;;
-
-*)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# Do start daemon
-db_stop
-
-invoke-rc.d bacula-director start || exit $?-
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/bacula-sd-db.install.in b/debian/bacula-sd-db.install.in
deleted file mode 100644
index 618f02e..0000000
--- a/debian/bacula-sd-db.install.in
+++ /dev/null
@@ -1,3 +0,0 @@
-usr/sbin/bscan usr/bin
-usr/sbin/bcopy usr/bin
-usr/sbin/btape
diff --git a/debian/bacula-sd-db.manpages.in b/debian/bacula-sd-db.manpages.in
deleted file mode 100644
index 56c0349..0000000
--- a/debian/bacula-sd-db.manpages.in
+++ /dev/null
@@ -1,2 +0,0 @@
-manpages/bcopy.8
-manpages/bscan.8
diff --git a/debian/bacula-sd.dirs b/debian/bacula-sd.dirs
deleted file mode 100644
index 593aa51..0000000
--- a/debian/bacula-sd.dirs
+++ /dev/null
@@ -1 +0,0 @@
-var/lib/bacula
diff --git a/debian/bacula-sd.init b/debian/bacula-sd.init
deleted file mode 100644
index 6fae0ab..0000000
--- a/debian/bacula-sd.init
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/sh
-### BEGIN INIT INFO
-# Provides: bacula-sd
-# Required-Start: $remote_fs $syslog
-# Required-Stop: $remote_fs $syslog
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
-# Short-Description: Start Bacula Storage Daemon at boot time
-# Description: bacula-sd is daemon that perform the storage and recovery
-# of the file attributes and data to the physical backup
-# media or volumes. In other words, the Storage daemon is
-# responsible for reading and writing your tapes (or other
-# storage media, e.g. files).
-### END INIT INFO
-#
-# bacula-fd SysV init script for Bacula-FD.
-#
-# Written by Miquel van Smoorenburg <miquels at cistron.nl>.
-# Modified for Debian GNU/Linux by Ian Murdock <imurdock at gnu.ai.mit.edu>
-# Customized for Bacula by Jose Luis Tallon <jltallon at adv-solutions.net>
-#
-
-set -e
-
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/sbin/bacula-sd
-NAME="bacula-sd"
-PORT=9103
-DESC="Bacula Storage daemon"
-
-test -x $DAEMON || exit 0
-
-if [ -n "`getent services bacula-sd`" ]; then
- PORT=`getent services bacula-sd | awk '{ gsub("/tcp","",$2); print $2; }'`
-fi
-
-. /lib/lsb/init-functions
-. /usr/share/bacula-common/common-functions.init
-if [ -r /etc/default/$NAME ]; then
- . /etc/default/$NAME
-fi
-
-CONFIG="${CONFIG:-/etc/bacula/$NAME.conf}"
-
-create_var_run_dir
-
-PIDFILE=/var/run/bacula/$NAME.$PORT.pid
-
-do_start()
-{
- start-stop-daemon --start --quiet --pidfile $PIDFILE \
- --oknodo --exec $DAEMON -- -c $CONFIG $ARGS
-}
-
-do_stop()
-{
- start-stop-daemon --oknodo --stop --quiet --pidfile $PIDFILE \
- --retry TERM/30/KILL/5 --exec $DAEMON -- -c $CONFIG $ARGS
-}
-
-case "$1" in
- start)
- if [ "$ENABLED" = "no" ]; then
- log_failure_msg "Not starting $DESC: disabled via /etc/default/$NAME"
- exit 0
- fi
-
- log_daemon_msg "Starting $DESC..." "$NAME"
- if do_start ; then
- log_end_msg 0
- else
- log_end_msg 1
- fi
- ;;
- stop)
- log_daemon_msg "Stopping $DESC..." "$NAME"
- if do_stop ; then
- log_end_msg 0
- else
- log_end_msg 1
- fi
- ;;
-
- restart|force-reload)
- $0 stop
- sleep 1
- $0 start
- ;;
- status)
- status_of_proc -p $PIDFILE $DAEMON $NAME
- ;;
- *)
- N=/etc/init.d/$NAME
- echo "Usage: $N {start|stop|restart|force-reload|status}" >&2
- exit 1
- ;;
-esac
-
-exit 0
diff --git a/debian/bacula-sd.install b/debian/bacula-sd.install
deleted file mode 100644
index b5b5ea2..0000000
--- a/debian/bacula-sd.install
+++ /dev/null
@@ -1,7 +0,0 @@
-usr/sbin/bacula-sd
-usr/sbin/bls
-usr/sbin/bextract
-etc/bacula/scripts/mtx-changer
-etc/bacula/scripts/mtx-changer.conf
-etc/bacula/scripts/disk-changer
-etc/bacula/scripts/dvd-handler
diff --git a/debian/bacula-sd.manpages b/debian/bacula-sd.manpages
deleted file mode 100644
index a0e7ea2..0000000
--- a/debian/bacula-sd.manpages
+++ /dev/null
@@ -1,4 +0,0 @@
-manpages/bacula-sd.8
-manpages/btape.8
-manpages/bls.8
-manpages/bextract.8
diff --git a/debian/bacula-sd.postinst b/debian/bacula-sd.postinst
deleted file mode 100644
index b94475a..0000000
--- a/debian/bacula-sd.postinst
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/bin/sh
-# postinst script for bacula-sd
-#
-
-set -e
-
-. /usr/share/debconf/confmodule
-db_version 2.0
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-#
-# quoting from the policy:
-# Any necessary prompting should almost always be confined to the
-# post-installation script, and should be protected with a conditional
-# so that unnecessary prompting doesn't happen if a package's
-# installation fails and the `postinst' is called with `abort-upgrade',
-# `abort-remove' or `abort-deconfigure'.
-
-SRCDIR="/usr/share/bacula-common/defconfig"
-DSTDIR="/etc/bacula"
-CONFIG="bacula-sd.conf"
-
-. /usr/share/bacula-common/common-functions.dpkg
-readOrCreatePasswords
-setup_etc_default bacula-sd $@
-
-case "$1" in
- configure)
-
- if [ ! -f $DSTDIR/$CONFIG ]; then
- TARGET=$DSTDIR/$CONFIG
- else
- TARGET=$DSTDIR/$CONFIG.dist
- fi
-
- sed -e s~@debian_hostname@~`hostname`~ \
- -e s~XXX_SDPASSWORD_XXX~$SDPASSWD~ \
- -e s~XXX_MONSDPASSWORD_XXX~$SDMPASSWD~ < $SRCDIR/$CONFIG > $TARGET
-
- # Harden permissions, so that passwords can not be looked at
- chown bacula:bacula $TARGET
- chmod 640 $TARGET
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
-
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/bacula-sd.postrm b/debian/bacula-sd.postrm
deleted file mode 100644
index 30c3059..0000000
--- a/debian/bacula-sd.postrm
+++ /dev/null
@@ -1,51 +0,0 @@
-#! /bin/sh
-# postrm script for bacula
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postrm> `remove'
-# * <postrm> `purge'
-# * <old-postrm> `upgrade' <new-version>
-# * <new-postrm> `failed-upgrade' <old-version>
-# * <new-postrm> `abort-install'
-# * <new-postrm> `abort-install' <old-version>
-# * <new-postrm> `abort-upgrade' <old-version>
-# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
- purge)
- rm -f /etc/bacula/bacula-sd.*
-
- # purge /etc/default/bacula-sd
- rm -f /etc/default/bacula-sd /etc/default/bacula-sd.ucf-old \
- /etc/default/bacula-sd.ucf-new /etc/default/bacula-sd.ucf-dist
- if which ucf >/dev/null; then
- ucf --purge /etc/default/bacula-sd
- fi
- if which ucfr >/dev/null; then
- ucfr --purge bacula-sd /etc/default/bacula-sd
- fi
- ;;
-
- remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-
- ;;
-
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
-
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/bacula-traymonitor.install b/debian/bacula-traymonitor.install
deleted file mode 100644
index bd15d66..0000000
--- a/debian/bacula-traymonitor.install
+++ /dev/null
@@ -1,3 +0,0 @@
-usr/sbin/bacula-tray-monitor
-src/tray-monitor/generic.xpm usr/share/pixmaps
-scripts/bacula-tray-monitor.desktop usr/share/applications
diff --git a/debian/bacula-traymonitor.links b/debian/bacula-traymonitor.links
deleted file mode 100644
index 50ba6a5..0000000
--- a/debian/bacula-traymonitor.links
+++ /dev/null
@@ -1,5 +0,0 @@
-usr/share/man/man1/bacula-tray-monitor.1.gz usr/share/man/man1/bacula-traymonitor.1.gz
-usr/sbin/bacula-tray-monitor usr/sbin/bacula-traymonitor
-# remove the following post-wheezy
-usr/sbin/bacula-tray-monitor usr/bin/bacula-tray-monitor
-usr/sbin/bacula-tray-monitor usr/bin/bacula-traymonitor
diff --git a/debian/bacula-traymonitor.manpages b/debian/bacula-traymonitor.manpages
deleted file mode 100644
index 611c964..0000000
--- a/debian/bacula-traymonitor.manpages
+++ /dev/null
@@ -1 +0,0 @@
-manpages/bacula-tray-monitor.1
diff --git a/debian/bacula-traymonitor.menu.unused b/debian/bacula-traymonitor.menu.unused
deleted file mode 100644
index c82330b..0000000
--- a/debian/bacula-traymonitor.menu.unused
+++ /dev/null
@@ -1,2 +0,0 @@
-?package(bacula-traymonitor):needs="X11" section="Apps/System"\
- title="Bacula tray monitor" command="/usr/bin/bacula-tray-monitor"
diff --git a/debian/bacula-traymonitor.postinst b/debian/bacula-traymonitor.postinst
deleted file mode 100644
index e363d9f..0000000
--- a/debian/bacula-traymonitor.postinst
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/sh
-# postinst script for bacula
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-#
-# quoting from the policy:
-# Any necessary prompting should almost always be confined to the
-# post-installation script, and should be protected with a conditional
-# so that unnecessary prompting doesn't happen if a package's
-# installation fails and the `postinst' is called with `abort-upgrade',
-# `abort-remove' or `abort-deconfigure'.
-
-SRCDIR="/usr/share/bacula-common/defconfig"
-DSTDIR="/etc/bacula"
-CONFIG="tray-monitor.conf"
-
-. /usr/share/bacula-common/common-functions.dpkg
-readOrCreatePasswords
-
-case "$1" in
- configure)
-
- if [ ! -f $DSTDIR/$CONFIG ]; then
- TARGET=$DSTDIR/$CONFIG
- else
- TARGET=$DSTDIR/$CONFIG.dist
- fi
-
- sed -e s~@debian_hostname@~`hostname`~ \
- -e s~XXX_MONDIRPASSWORD_XXX~$DIRMPASSWD~ \
- -e s~XXX_MONFDPASSWORD_XXX~$FDMPASSWD~ \
- -e s~XXX_MONSDPASSWORD_XXX~$SDMPASSWD~ \
- < $SRCDIR/$CONFIG > $TARGET
-
- chown root:bacula $TARGET
- chmod 640 $TARGET
-
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
-
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/bacula-traymonitor.postrm b/debian/bacula-traymonitor.postrm
deleted file mode 100644
index d99df06..0000000
--- a/debian/bacula-traymonitor.postrm
+++ /dev/null
@@ -1,18 +0,0 @@
-#! /bin/sh
-
-set -e
-
-
-case "$1" in
- purge)
- rm -f /etc/bacula/tray-monitor.conf /etc/bacula/tray-monitor.conf.*
- ;;
-esac
-
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bacula/bacula.git
More information about the pkg-bacula-commits
mailing list