tags 687885 + patch
thanks

Hi!

(note: severity should also be reaised again to serious)

The attached patch should do it. It is done like David Pr??votdid it
for blackbox in #687859.

Hope that helps!

Regards,
Salvatore
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 07:03:20.000000000 +0200
@@ -1,3 +1,14 @@
+opendnssec (1:1.3.9-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Replace documentation directory with symlink.
+    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.
+    (Closes: #687885)
+
+ -- Salvatore Bonaccorso <car...@debian.org>  Tue, 18 Sep 2012 07:03:11 +0200
+
 opendnssec (1:1.3.9-1) unstable; urgency=low
 
   * Imported Upstream version 1.3.9
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 07:03:20.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

Attachment: signature.asc
Description: Digital signature

Reply via email to