tags 643257 + patch thanks Dear maintainer,
I've prepared an NMU for privbind (versioned as 1.2-1.1). The diff is attached to this message. I've not uploaded this NMU as I'm not a DD but I hope it is useful for you. The attached patch fixes also the following lintian errors: * helper-templates-in-copyright * non-empty-dependency_libs-in-la-file * debian-watch-contains-dh_make-template Regards.
diff -Nru privbind-1.2/debian/changelog privbind-1.2/debian/changelog --- privbind-1.2/debian/changelog 2010-04-03 07:56:49.000000000 +0200 +++ privbind-1.2/debian/changelog 2012-03-14 09:31:08.000000000 +0100 @@ -1,3 +1,15 @@ +privbind (1.2-1.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/rules: + - Move lines that copy config.sub and config.guess to before + ./configure and remove these files on clean target (Closes: #643257) + - Empty the dependency_libs field in .la file. + * debian/watch: remove unneeded comments. + * debian/copyright: remove the ending 's' of "Upstream Author". + + -- Mònica Ramírez Arceda <mon...@probeta.net> Wed, 14 Mar 2012 00:18:37 +0100 + privbind (1.2-1) unstable; urgency=low * Fix "1-byte buffer overflow" <explain what you changed and why> diff -Nru privbind-1.2/debian/copyright privbind-1.2/debian/copyright --- privbind-1.2/debian/copyright 2010-04-03 07:37:19.000000000 +0200 +++ privbind-1.2/debian/copyright 2012-03-14 01:37:06.000000000 +0100 @@ -6,7 +6,7 @@ http://privbind.wiki.sourceforge.net/ -Upstream Author(s): +Upstream Author: Shachar Shemesh <shac...@shemesh.biz> + others diff -Nru privbind-1.2/debian/rules privbind-1.2/debian/rules --- privbind-1.2/debian/rules 2010-04-03 07:37:19.000000000 +0200 +++ privbind-1.2/debian/rules 2012-03-14 01:25:12.000000000 +0100 @@ -27,6 +27,12 @@ config.status: configure dh_testdir # Add here commands to configure the package. +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" @@ -44,17 +50,10 @@ clean: dh_testdir dh_testroot - rm -f build-stamp + rm -f build-stamp config.guess config.sub # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean -ifneq "$(wildcard /usr/share/misc/config.sub)" "" - cp -f /usr/share/misc/config.sub config.sub -endif -ifneq "$(wildcard /usr/share/misc/config.guess)" "" - cp -f /usr/share/misc/config.guess config.guess -endif - dh_clean @@ -67,6 +66,8 @@ # Add here commands to install the package into debian/privbind. $(MAKE) DESTDIR=$(CURDIR)/debian/privbind install + sed -i "/dependency_libs/ s/'.*'/''/" "$(CURDIR)/debian/privbind/usr/lib/privbind/privbind.la" + # Build architecture-independent files here. binary-indep: build install diff -Nru privbind-1.2/debian/watch privbind-1.2/debian/watch --- privbind-1.2/debian/watch 2010-04-03 07:37:19.000000000 +0200 +++ privbind-1.2/debian/watch 2012-03-14 01:22:09.000000000 +0100 @@ -1,22 +1,5 @@ -# Example watch control file for uscan -# Rename this file to "watch" and then you can run the "uscan" command -# to check for upstream updates and more. -# See uscan(1) for format - # Compulsory line, this is a version 3 file version=3 -# Uncomment to examine a Webpage -# <Webpage URL> <string match> -#http://www.example.com/downloads.php privbind-(.*)\.tar\.gz - -# Uncomment to examine a Webserver directory -#http://www.example.com/pub/privbind-(.*)\.tar\.gz - -# Uncommment to examine a FTP server -#ftp://ftp.example.com/pub/privbind-(.*)\.tar\.gz debian uupdate - # Uncomment to find new files on sourceforge, for debscripts >= 2.9 http://sf.net/privbind/privbind-(.*)\.tar\.gz - -