[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#771701: (pre-approval) unblock: bareos/14.2.1+20141017gitc6c5b56-4



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Dear RT,

I would like to get the fixes for the three currently open bugs in bareos
into jessie:
#769096 [i] [bareos-common] bareos-storage: unowned files after purge (policy 6.8, 10.8): /etc/bareos/.rndpwd
#769536 [i] [bareos-database-common] bareos-database-common: circular dependency hell
#768606 [m] [bareos-database-common] bareos-database-common: probably wrong 2nd paragraph in package description

The first two are important and should meet the freeze rules, the last one
is minor, but should count as documentation change :)

The (filtered) diffstat looks like this:
 debian/bareos-common.postrm | 16 ++++++++++++++++
 debian/control              | 11 ++++++-----
 2 files changed, 22 insertions(+), 5 deletions(-)

I attach the debdiff against 14.2.1+20141017gitc6c5b56-3 to this message.
Missing from the diff: changelog (obviously) and d/control.in which is not
used in Debian at all.

If that looks sane to you, I'd love to hear a "Go!" from you :)

Hugs and thanks for all the work you do
Evgeni

PS, obvious hint would be:
 unblock bareos/14.2.1+20141017gitc6c5b56-4

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff --git a/debian/bareos-common.postrm b/debian/bareos-common.postrm
new file mode 100644
index 0000000..6bcfc65
--- /dev/null
+++ b/debian/bareos-common.postrm
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+set -e
+
+case "$1" in
+  purge)
+    rm -f /etc/bareos/.rndpwd
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/control b/debian/control
index 6ea5d85..f35057e 100644
--- a/debian/control
+++ b/debian/control
@@ -85,7 +85,7 @@ Package:        bareos-common
 Architecture:   any
 Pre-Depends:    debconf (>= 1.4.30) | debconf-2.0, adduser
 Depends:        openssl, ${shlibs:Depends}, ${misc:Depends}
-Conflicts:	bacula-director-common, bacula-common
+Conflicts:      bacula-director-common, bacula-common
 Description:    Backup Archiving Recovery Open Sourced - common files
  Bareos is a set of programs to manage backup, recovery and verification of
  data across a network of computers of different kinds.
@@ -96,12 +96,13 @@ Description:    Backup Archiving Recovery Open Sourced - common files
 Package:        bareos-database-common
 Architecture:   any
 Pre-Depends:    debconf (>= 1.4.30) | debconf-2.0
-Depends:        bareos-database-postgresql  (= ${binary:Version}) | bareos-database-mysql (= ${binary:Version}) | bareos-database-sqlite3 (= ${binary:Version}), bareos-common (= ${binary:Version}), dbconfig-common, lsb-base (>= 3.2-13), ${shlibs:Depends}, ${misc:Depends}
+Depends:        bareos-common (= ${binary:Version}), dbconfig-common, lsb-base (>= 3.2-13), ${shlibs:Depends}, ${misc:Depends}
 Description: Backup Archiving Recovery Open Sourced - common catalog files
  Bareos is a set of programs to manage backup, recovery and verification of
  data across a network of computers of different kinds.
  .
- This package provides common files for the Bareos Director daemon.
+ This package provides generic abstraction libs and files to connect the Bareos
+ Director daemon to a database.
 
 
 Package:        bareos-database-postgresql
@@ -145,7 +146,7 @@ Description: Backup Archiving Recovery Open Sourced - SQLite backend
 Package:        bareos-database-tools
 Architecture:   any
 Pre-Depends:    debconf (>= 1.4.30) | debconf-2.0
-Depends:        bareos-common (= ${binary:Version}), bareos-database-common (= ${binary:Version}), lsb-base (>= 3.2-13), ${shlibs:Depends}, ${misc:Depends}
+Depends:        bareos-common (= ${binary:Version}), bareos-database-postgresql (= ${binary:Version}) | bareos-database-mysql (= ${binary:Version}) | bareos-database-sqlite3 (= ${binary:Version}), lsb-base (>= 3.2-13), ${shlibs:Depends}, ${misc:Depends}
 Conflicts:	bacula-sd-mysql, bacula-sd-pgsql, bacula-sd-sqlite3
 Description: Backup Archiving Recovery Open Sourced - database tools
  Bareos is a set of programs to manage backup, recovery and verification of
@@ -183,7 +184,7 @@ Description: Backup Archiving Recovery Open Sourced - development files
 Package:        bareos-director
 Architecture:   any
 Pre-Depends:    debconf (>= 1.4.30) | debconf-2.0, adduser
-Depends:        bareos-common (= ${binary:Version}), bareos-database-common (= ${binary:Version}), bareos-database-tools, lsb-base (>= 3.2-13), bsd-mailx | mailx, ${shlibs:Depends}, ${misc:Depends}
+Depends:        bareos-common (= ${binary:Version}), bareos-database-postgresql (= ${binary:Version}) | bareos-database-mysql (= ${binary:Version}) | bareos-database-sqlite3 (= ${binary:Version}), bareos-database-tools, lsb-base (>= 3.2-13), bsd-mailx | mailx, ${shlibs:Depends}, ${misc:Depends}
 Recommends:     logrotate
 Conflicts:      bacula-director
 Replaces:       bacula-director

Reply to: