Bug#706799: pu: net-snmp/5.4.3-3+wheezy1
Package: release.debian.org
Tags: wheezy
User: release.debian.org@packages.debian.org
Usertags: pu
I'd like to upload net-snmp package due to fix piuparts
failure with upgrade to newer version. Please check attached
debdiff (as I mistake, it contains unnecessary .ex file but
not remove it, just as is)
--
Regards,
Hideki Yamane henrich @ debian.or.jp/org
http://wiki.debian.org/HidekiYamane
diff -Nru net-snmp-5.4.3~dfsg/debian/changelog net-snmp-5.4.3~dfsg/debian/changelog
--- net-snmp-5.4.3~dfsg/debian/changelog 2012-11-24 22:06:46.000000000 +0900
+++ net-snmp-5.4.3~dfsg/debian/changelog 2013-05-05 14:38:52.000000000 +0900
@@ -1,3 +1,19 @@
+net-snmp (5.4.3~dfsg-3+wheezy1) stable-proposed-updates; urgency=low
+
+ * Rebuild for wheezy.
+
+ -- Hideki Yamane <henrich@debian.org> Sun, 05 May 2013 14:37:40 +0900
+
+net-snmp (5.4.3~dfsg-3) unstable; urgency=low
+
+ * debian/rules
+ - remove override_dh_installdoc, install each docs and copyright files to
+ avoid piuparts test failure
+ * debian/libsnmp*.preinst
+ - ensure remove symlink
+
+ -- Hideki Yamane <henrich@debian.org> Fri, 26 Apr 2013 23:30:39 +0900
+
net-snmp (5.4.3~dfsg-2.7) unstable; urgency=low
* Non-maintainer upload.
diff -Nru net-snmp-5.4.3~dfsg/debian/control net-snmp-5.4.3~dfsg/debian/control
--- net-snmp-5.4.3~dfsg/debian/control 2012-05-28 01:14:32.000000000 +0900
+++ net-snmp-5.4.3~dfsg/debian/control 2013-04-26 23:32:22.000000000 +0900
@@ -2,7 +2,7 @@
Section: net
Priority: optional
Maintainer: Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org>
-Uploaders: Jochen Friedrich <jochen@scram.de>, Thomas Anders <tanders@users.sourceforge.net>, Noah Meyerhans <noahm@debian.org>
+Uploaders: Jochen Friedrich <jochen@scram.de>, Thomas Anders <tanders@users.sourceforge.net>, Noah Meyerhans <noahm@debian.org>, Hideki Yamane <henrich@debian.org>
Build-Depends: debhelper (>= 7.0.50~), libtool, libwrap0-dev, libssl-dev (>> 0.9.8), perl (>=5.8), libperl-dev, python-all-dev (>= 2.5.4-1~), python-central (>=0.5.6), python (>=2.3.5-7), python-setuptools (>=0.6b3), autoconf, automake1.9, autotools-dev, debianutils (>=1.13.1), bash (>=2.05), findutils (>=4.1.20), procps, libbsd-dev [kfreebsd-any], libkvm-dev [kfreebsd-any], libsensors4-dev [linux-any]
Standards-Version: 3.8.4
Vcs-Svn: svn://svn.debian.org/pkg-net-snmp/
diff -Nru net-snmp-5.4.3~dfsg/debian/libsnmp-dev.preinst net-snmp-5.4.3~dfsg/debian/libsnmp-dev.preinst
--- net-snmp-5.4.3~dfsg/debian/libsnmp-dev.preinst 1970-01-01 09:00:00.000000000 +0900
+++ net-snmp-5.4.3~dfsg/debian/libsnmp-dev.preinst 2013-04-27 21:51:52.000000000 +0900
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+docdir="/usr/share/doc/libsnmp-dev"
+
+set -e
+
+case "$1" in
+ install|upgrade)
+ if [ -h $docdir ]; then
+ rm -rf $docdir
+ fi
+ ;;
+
+ abort-upgrade)
+ ;;
+
+ *)
+ echo "preinst 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 -Nru net-snmp-5.4.3~dfsg/debian/libsnmp-perl.preinst net-snmp-5.4.3~dfsg/debian/libsnmp-perl.preinst
--- net-snmp-5.4.3~dfsg/debian/libsnmp-perl.preinst 1970-01-01 09:00:00.000000000 +0900
+++ net-snmp-5.4.3~dfsg/debian/libsnmp-perl.preinst 2013-04-27 21:52:05.000000000 +0900
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+docdir="/usr/share/doc/libsnmp-perl"
+
+set -e
+
+case "$1" in
+ install|upgrade)
+ if [ -h $docdir ]; then
+ rm -rf $docdir
+ fi
+ ;;
+
+ abort-upgrade)
+ ;;
+
+ *)
+ echo "preinst 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 -Nru net-snmp-5.4.3~dfsg/debian/libsnmp15-dbg.preinst net-snmp-5.4.3~dfsg/debian/libsnmp15-dbg.preinst
--- net-snmp-5.4.3~dfsg/debian/libsnmp15-dbg.preinst 1970-01-01 09:00:00.000000000 +0900
+++ net-snmp-5.4.3~dfsg/debian/libsnmp15-dbg.preinst 2013-04-27 21:51:16.000000000 +0900
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+docdir="/usr/share/doc/libsnmp15-dbg"
+
+set -e
+
+case "$1" in
+ install|upgrade)
+ if [ -h $docdir ]; then
+ rm -rf $docdir
+ fi
+ ;;
+
+ abort-upgrade)
+ ;;
+
+ *)
+ echo "preinst 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 -Nru net-snmp-5.4.3~dfsg/debian/libsnmp15.presinst net-snmp-5.4.3~dfsg/debian/libsnmp15.presinst
--- net-snmp-5.4.3~dfsg/debian/libsnmp15.presinst 1970-01-01 09:00:00.000000000 +0900
+++ net-snmp-5.4.3~dfsg/debian/libsnmp15.presinst 2013-04-27 21:51:41.000000000 +0900
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+docdir="/usr/share/doc/libsnmp15"
+
+set -e
+
+case "$1" in
+ install|upgrade)
+ if [ -h $docdir ]; then
+ rm -rf $docdir
+ fi
+ ;;
+
+ abort-upgrade)
+ ;;
+
+ *)
+ echo "preinst 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 -Nru net-snmp-5.4.3~dfsg/debian/preinst.ex net-snmp-5.4.3~dfsg/debian/preinst.ex
--- net-snmp-5.4.3~dfsg/debian/preinst.ex 1970-01-01 09:00:00.000000000 +0900
+++ net-snmp-5.4.3~dfsg/debian/preinst.ex 2013-04-27 16:37:40.000000000 +0900
@@ -0,0 +1,35 @@
+#!/bin/sh
+# preinst script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <new-preinst> `install'
+# * <new-preinst> `install' <old-version>
+# * <new-preinst> `upgrade' <old-version>
+# * <old-preinst> `abort-upgrade' <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ install|upgrade)
+ ;;
+
+ abort-upgrade)
+ ;;
+
+ *)
+ echo "preinst 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 -Nru net-snmp-5.4.3~dfsg/debian/rules net-snmp-5.4.3~dfsg/debian/rules
--- net-snmp-5.4.3~dfsg/debian/rules 2012-05-28 01:13:55.000000000 +0900
+++ net-snmp-5.4.3~dfsg/debian/rules 2013-04-27 16:06:56.000000000 +0900
@@ -109,16 +109,6 @@
dh_installexamples -plibsnmp-perl $(shell ls -d perl/SNMP/examples/* | grep -v SCCS)
dh_install
-.PHONY: override_dh_installdocs
-override_dh_installdocs:
- dh_installdocs
- rm -rf debian/libsnmp-dev/usr/share/doc/libsnmp-dev
- rm -rf debian/libsnmp$(LIB_VERSION)-dbg/usr/share/doc/libsnmp$(LIB_VERSION)-dbg
- rm -rf debian/libsnmp-perl/usr/share/doc/libsnmp-perl
- ln -sf libsnmp$(LIB_VERSION) debian/libsnmp-dev/usr/share/doc/libsnmp-dev
- ln -sf libsnmp$(LIB_VERSION) debian/libsnmp$(LIB_VERSION)-dbg/usr/share/doc/libsnmp$(LIB_VERSION)-dbg
- ln -sf libsnmp$(LIB_VERSION) debian/libsnmp-perl/usr/share/doc/libsnmp-perl
-
.PHONY: override_dh_fixperms
override_dh_fixperms:
dh_fixperms
Reply to: