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

Bug#688016: unblock: opendnssec/1.3.9-2



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

Please unblock package opendnssec

    Replace documentation directory with symlink. (Courtesy of Salvatore Bonaccorso) (Closes: #687885)
    Replace the documentation directory for opendnssec with a symlink. When
    updating from Squeeze to Wheezy /usr/share/doc/opendnssec resulted in an
    empty directory with no copyright file violating Debian policy 10.5.

$ diffstat opendnssec_1.3.9-2.debdiff
 changelog           |    7 +++++++
 gbp.conf            |    4 ++--
 opendnssec.postinst |   18 ++++++++++++++++++
 3 files changed, 27 insertions(+), 2 deletions(-)

unblock opendnssec/1.3.9-2

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-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 -Nru opendnssec-1.3.9/debian/changelog opendnssec-1.3.9/debian/changelog
--- opendnssec-1.3.9/debian/changelog	2012-06-28 11:27:28.000000000 +0200
+++ opendnssec-1.3.9/debian/changelog	2012-09-18 09:27:50.000000000 +0200
@@ -1,3 +1,10 @@
+opendnssec (1:1.3.9-2) unstable; urgency=low
+
+  * Replace documentation directory with symlink. (Courtesy of Salvatore
+    Bonaccorso) (Closes: #687885)
+
+ -- Ondřej Surý <ondrej@debian.org>  Tue, 18 Sep 2012 09:27:26 +0200
+
 opendnssec (1:1.3.9-1) unstable; urgency=low
 
   * Imported Upstream version 1.3.9
diff -Nru opendnssec-1.3.9/debian/gbp.conf opendnssec-1.3.9/debian/gbp.conf
--- opendnssec-1.3.9/debian/gbp.conf	2012-06-28 11:27:28.000000000 +0200
+++ opendnssec-1.3.9/debian/gbp.conf	2012-09-18 09:27:50.000000000 +0200
@@ -1,7 +1,7 @@
 [DEFAULT]
-debian-branch = debian-sid
+debian-branch = debian-testing
 debian-tag = debian/%(version)s
-upstream-branch = upstream-sid
+upstream-branch = upstream-testing
 upstream-tag = upstream/%(version)s
 pristine-tar = True
 
diff -Nru opendnssec-1.3.9/debian/opendnssec.postinst opendnssec-1.3.9/debian/opendnssec.postinst
--- opendnssec-1.3.9/debian/opendnssec.postinst	1970-01-01 01:00:00.000000000 +0100
+++ opendnssec-1.3.9/debian/opendnssec.postinst	2012-09-18 09:27:50.000000000 +0200
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+set -e
+
+# Replace documentation directory with symlink
+docdir="/usr/share/doc/opendnssec"
+if [ -d $docdir ] && [ ! -L $docdir ]; then
+    if rmdir $docdir 2>/dev/null; then
+        ln -sf opendnssec-common $docdir
+    fi
+fi
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Reply to: