Package: release.debian.org
Severity: normal
User: l...@pca.it
Usertags: debian-packaging
User: release.debian@packages.debian.org
Usertags: pu
Hi there!
The latest Bacula upload (5.2.6+dfsg-1) fixed #658326, a bug about
sources not being DFSG-free. Given that the bug was reported against
squeeze, I prepared an updated squeeze source package, debdiff attached.
The binary packages available at the APT repository below have been
successfully tested on three different machines (one director and two
File Daemon clients) and two different architectures (amd64 and i386):
=
$ sudo cat /etc/apt/sources.list.d/people.debian.org_gismo.list
#
http://upsilon.cc/~zack/blog/posts/2009/04/howto:_uploading_to_people.d.o_using_dput/
deb http://people.debian.org/~gismo/debian
gismo-squeeze-proposed-updates/
deb-src http://people.debian.org/~gismo/debian
gismo-squeeze-proposed-updates/
$ sudo wget -O /etc/apt/trusted.gpg.d/luca.pca.it-keyring.gpg \
http://people.debian.org/~gismo/debian/luca.pca.it-keyring.gpg
$ sudo apt-get -t gismo-squeeze-proposed-updates $DEB
=
Thx, bye,
Gismo / Luca
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.3.0-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diffstat for bacula-5.0.2 bacula-5.0.2+dfsg
debian/README.Debian| 21
debian/changelog| 16
debian/patches/switch-nonfree-sha1-to-openssl.patch | 64 ++
debian/rules|7
src/lib/sha1.c | 510
src/lib/sha1.h | 107
6 files changed, 107 insertions(+), 618 deletions(-)
diff -Nru bacula-5.0.2/debian/changelog bacula-5.0.2+dfsg/debian/changelog
--- bacula-5.0.2/debian/changelog 2012-06-15 23:41:26.0 +0200
+++ bacula-5.0.2+dfsg/debian/changelog 2012-06-15 23:41:27.0 +0200
@@ -1,3 +1,19 @@
+bacula (5.0.2+dfsg-0+squeeze1) squeeze-proposed-updates; urgency=high
+
+ [ Alexander Golovko ]
+ * debian/patches/switch-nonfree-sha1-to-openssl.patch
+(Closes: #658326):
++ switch from upstream nonfree SHA1 implementation to openssl
+
+ [ Luca Capello ]
+ * Urgency set to high because of a serious bug.
+ * debian/README.Debian:
++ explain why upstream sources are not DFSG-free.
+ * debian/rules:
++ apply/unapply Alexander's patch.
+
+ -- Luca Capello l...@pca.it Fri, 15 Jun 2012 22:58:30 +0200
+
bacula (5.0.2-2.2) unstable; urgency=low
* Non-maintainer upload.
diff -Nru bacula-5.0.2/debian/patches/switch-nonfree-sha1-to-openssl.patch bacula-5.0.2+dfsg/debian/patches/switch-nonfree-sha1-to-openssl.patch
--- bacula-5.0.2/debian/patches/switch-nonfree-sha1-to-openssl.patch 1970-01-01 01:00:00.0 +0100
+++ bacula-5.0.2+dfsg/debian/patches/switch-nonfree-sha1-to-openssl.patch 2012-06-15 23:41:27.0 +0200
@@ -0,0 +1,64 @@
+Description: Switch from non-free SHA1 implementation to openssl
+Bug-Debian: 658326
+Bug: http://bugs.bacula.org/view.php?id=1869
+Origin: Debian, commit:6c562cfdaffd730c796518233f0d97da08a3891b
+Author: Alexander Golovko alexan...@ankalagon.ru
+Reviewed-by: Luca Capello l...@pca.it
+Last-Update: 2012-06-15
+
+diff -Nur a/src/lib/lib.h bacula-5.0.2/src/lib/lib.h
+--- a/src/lib/lib.h 2010-04-27 21:58:29.0 +0200
b/src/lib/lib.h 2012-06-15 19:55:53.240076133 +0200
+@@ -60,7 +60,7 @@
+ #include fnmatch.h
+ #endif
+ #include md5.h
+-#include sha1.h
++#include openssl/sha.h
+ #include tree.h
+ #include watchdog.h
+ #include btimers.h
+diff -Nur a/src/lib/Makefile.in bacula-5.0.2/src/lib/Makefile.in
+--- a/src/lib/Makefile.in 2010-04-27 21:58:29.0 +0200
b/src/lib/Makefile.in 2012-06-15 21:11:56.429692604 +0200
+@@ -46,7 +46,7 @@
+ fnmatch.h guid_to_name.h htable.h lex.h \
+ lib.h md5.h mem_pool.h message.h openssl.h \
+ plugins.h protos.h queue.h rblist.h \
+- runscript.h rwlock.h serial.h sha1.h \
++ runscript.h rwlock.h serial.h \
+ smartall.h status.h tls.h tree.h var.h \
+ waitq.h watchdog.h workq.h \
+ parse_conf.h \
+@@ -62,7 +62,7 @@
+ guid_to_name.c hmac.c jcr.c lex.c alist.c dlist.c \
+ md5.c message.c mem_pool.c openssl.c \
+ plugins.c priv.c queue.c bregex.c \
+- rwlock.c scan.c serial.c sha1.c \
++ rwlock.c scan.c serial.c \
+ signal.c smartall.c rblist.c tls.c tree.c \
+ util.c var.c watchdog.c workq.c btimers.c \
+ address_conf.c breg.c htable.c lockmgr.c
+@@ -171,13 +171,6 @@
+ rm -f md5.o
+ $(CXX) $(DEFS) $(DEBUG) -c $(CPPFLAGS) -I$(srcdir) -I$(basedir) $(DINCLUDE) $(CFLAGS) md5.c
+
+-sha1sum: Makefile sha1.o
+- rm -f sha1.o
+- $(CXX) -DSHA1_SUM $(DEFS) $(DEBUG) -c $(CPPFLAGS) -I$(srcdir) -I$(basedir) $(DINCLUDE) $(CFLAGS) sha1.c
+- $(LIBTOOL_LINK)