Package: libclamunrar
Version: 0.96.4-1
Followup-For: Bug #727917
User: [email protected]
Usertags: origin-ubuntu trusty ubuntu-patch autoreconf

Dear Maintainer,

In Ubuntu 14.04, the attached patch was applied to achieve the following:

  * Use dh-autoreconf for newer arches.
    - Quiet the autofoo warnings.
  * Use format 3.0 (quilt).


There may be extraneous metadata in the debdiff. If so, kindly please ignore
them. Thanks for considering the patch!


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise-proposed'), (500, 'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11.0-15-generic (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 libclamunrar-0.96.4/debian/changelog libclamunrar-0.96.4/debian/changelog
diff -Nru libclamunrar-0.96.4/debian/control libclamunrar-0.96.4/debian/control
--- libclamunrar-0.96.4/debian/control	2014-01-28 15:10:10.000000000 -0500
+++ libclamunrar-0.96.4/debian/control	2014-01-28 13:56:17.000000000 -0500
@@ -1,9 +1,10 @@
 Source: libclamunrar
 Priority: extra
 Section: non-free/libs
-Maintainer: ClamAV Team <[email protected]>
+Maintainer: Ubuntu Developers <[email protected]>
+XSBC-Original-Maintainer: ClamAV Team <[email protected]>
 Uploaders: Michael Tautschnig <[email protected]>, Stephen Gran <[email protected]>
-Build-Depends: debhelper (>= 7), autotools-dev, zlib1g-dev, libbz2-dev
+Build-Depends: debhelper (>= 7), dh-autoreconf, zlib1g-dev, libbz2-dev
 Standards-Version: 3.9.1
 Homepage: http://www.clamav.net/
 XS-Autobuild: yes
diff -Nru libclamunrar-0.96.4/debian/patches/autofoo-no-fatal-warnings.patch libclamunrar-0.96.4/debian/patches/autofoo-no-fatal-warnings.patch
--- libclamunrar-0.96.4/debian/patches/autofoo-no-fatal-warnings.patch	1969-12-31 19:00:00.000000000 -0500
+++ libclamunrar-0.96.4/debian/patches/autofoo-no-fatal-warnings.patch	2014-01-28 14:26:30.000000000 -0500
@@ -0,0 +1,13 @@
+Index: libclamunrar-0.96.4/configure.in
+===================================================================
+--- libclamunrar-0.96.4.orig/configure.in	2010-10-25 17:47:12.000000000 -0400
++++ libclamunrar-0.96.4/configure.in	2014-01-28 14:26:26.219365758 -0500
+@@ -34,7 +34,7 @@
+ 
+ dnl -Wall and -Werror here are NOT CFLAGS, they refer to automake warnings
+ dnl enable stealth builds and psychedelic tests
+-AM_INIT_AUTOMAKE([1.11 -Wall -Wportability -Wno-override -Werror std-options foreign dist-bzip2 no-define color-tests parallel-tests tar-ustar])
++AM_INIT_AUTOMAKE([1.11 -Wall -Wportability -Wno-override std-options foreign dist-bzip2 no-define color-tests parallel-tests tar-ustar subdir-objects])
+ AM_SILENT_RULES([yes])
+ 
+ dnl we told automake to not define these, since we want to include
diff -Nru libclamunrar-0.96.4/debian/patches/series libclamunrar-0.96.4/debian/patches/series
--- libclamunrar-0.96.4/debian/patches/series	1969-12-31 19:00:00.000000000 -0500
+++ libclamunrar-0.96.4/debian/patches/series	2014-01-28 14:25:39.000000000 -0500
@@ -0,0 +1 @@
+autofoo-no-fatal-warnings.patch
diff -Nru libclamunrar-0.96.4/debian/rules libclamunrar-0.96.4/debian/rules
--- libclamunrar-0.96.4/debian/rules	2014-01-28 15:10:10.000000000 -0500
+++ libclamunrar-0.96.4/debian/rules	2014-01-28 13:56:41.000000000 -0500
@@ -34,13 +34,8 @@
 
 config.status: configure
 	dh_testdir
+	dh_autoreconf
 	# 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
 	chmod a+x configure
 	./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" --disable-clamav
 
@@ -61,7 +56,7 @@
 
 	# Add here commands to clean up after the build process.
 	[ ! -f Makefile ] || $(MAKE) distclean
-	rm -f config.sub config.guess
+	dh_autoreconf_clean
 
 	dh_clean 
 
diff -Nru libclamunrar-0.96.4/debian/source/format libclamunrar-0.96.4/debian/source/format
--- libclamunrar-0.96.4/debian/source/format	1969-12-31 19:00:00.000000000 -0500
+++ libclamunrar-0.96.4/debian/source/format	2014-01-28 14:25:09.000000000 -0500
@@ -0,0 +1 @@
+3.0 (quilt)
_______________________________________________
Pkg-clamav-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-clamav-devel

Reply via email to