Package: modsecurity-apache
Version: 2.7.7-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

For the ppc64el architecture in Ubuntu, since this package uses libtool, a full
autoreconf is necessary. This is because we need new libtool macros for
ppc64el.

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

  * Use dh-autoreconf to fix FTBFS on ppc64el.

Thanks for considering the patch.

Logan Rosen



-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12.0-7-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru modsecurity-apache-2.7.7/debian/control modsecurity-apache-2.7.7/debian/control
--- modsecurity-apache-2.7.7/debian/control	2013-12-20 05:18:39.000000000 -0500
+++ modsecurity-apache-2.7.7/debian/control	2014-01-08 02:28:38.000000000 -0500
@@ -2,7 +2,7 @@
 Section: httpd
 Priority: optional
 Maintainer: Alberto Gonzalez Iniesta <[email protected]>
-Build-Depends: debhelper (>> 8.1.0~), apache2-dev, libxml2-dev (>= 2.0.50-10), liblua5.1-0-dev, libcurl4-gnutls-dev
+Build-Depends: debhelper (>> 8.1.0~), apache2-dev, libxml2-dev (>= 2.0.50-10), liblua5.1-0-dev, libcurl4-gnutls-dev, dh-autoreconf
 Standards-Version: 3.9.5
 Homepage: http://www.modsecurity.org/
 
diff -Nru modsecurity-apache-2.7.7/debian/rules modsecurity-apache-2.7.7/debian/rules
--- modsecurity-apache-2.7.7/debian/rules	2013-12-20 05:30:02.000000000 -0500
+++ modsecurity-apache-2.7.7/debian/rules	2014-01-04 20:17:23.000000000 -0500
@@ -15,6 +15,7 @@
 # Nothing to do here
 build-stamp:
 	dh_testdir
+	dh_autoreconf
 	./configure --prefix=/usr --with-apxs=/usr/bin/apxs2 --with-apr=/usr/bin/apr-config --with-lua=/usr/include/lua5.1 CPPFLAGS='$(CPPFLAGS)' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)'
 	# remove rpath
 	sed -i -r 's/(hardcode_into_libs)=.*/\1=no/' $(CURDIR)/libtool
@@ -31,6 +32,7 @@
 	[ ! -f Makefile ] || $(MAKE) distclean
 	cd mlogc && [ ! -f Makefile ] || $(MAKE) clean
 	rm -f mlogc/README.mlogc
+	dh_autoreconf_clean
 	dh_clean
 	rm -f config.log
 

Reply via email to