diffstat of debian/ for libxml2_2.9.1+dfsg1-5 libxml2_2.9.1+dfsg1-5tanglu1.1 changelog | 10 ++++++++++ control | 2 +- rules | 14 ++++++++++---- 3 files changed, 21 insertions(+), 5 deletions(-) --- libxml2-2.9.1+dfsg1/debian/changelog 2015-02-12 15:34:35.000000000 +0000 +++ libxml2-2.9.1+dfsg1/debian/changelog 2015-06-03 20:01:43.000000000 +0000 @@ -1,3 +1,13 @@ +libxml2 (2.9.1+dfsg1-5tanglu1.1) bartholomea-updates; urgency=medium + + * Rebuild for Tanglu because of security issue DSA 2978-2 + * Remaining changes: + - Add in rules ifeq-else clause to exchange DEB_HOST_GNU_TYPE with + HOST_GNU_TYPE in dobuild-python% and dobuild-python%-dbg because + on i386 systems no i586-linux-gnu--python-(dbg-)config exist. + + -- Thomas Funk Wed, 03 Jun 2015 21:22:35 +0200 + libxml2 (2.9.1+dfsg1-5) testing; urgency=medium * Add pkg-config to B-D --- libxml2-2.9.1+dfsg1/debian/control 2015-02-02 20:00:48.000000000 +0000 +++ libxml2-2.9.1+dfsg1/debian/control 2015-06-03 19:40:52.000000000 +0000 @@ -1,7 +1,7 @@ Source: libxml2 Priority: optional Section: libs -Maintainer: Debian XML/SGML Group +Maintainer: Tanglu Developers Uploaders: Aron Xu , YunQiang Su Standards-Version: 3.9.5 Build-Depends: debhelper (>= 9), dh-autoreconf, autotools-dev, pkg-config, --- libxml2-2.9.1+dfsg1/debian/rules 2015-02-02 20:01:08.000000000 +0000 +++ libxml2-2.9.1+dfsg1/debian/rules 2015-06-03 19:21:21.000000000 +0000 @@ -32,6 +32,12 @@ export DH_OPTIONS endif +ifeq ($(DEB_HOST_GNU_TYPE),i586-linux-gnu) +HOST_GNU_TYPE := i386-linux-gnu +else +HOST_GNU_TYPE := $(DEB_HOST_GNU_TYPE) +endif + CONFIGURE_FLAGS := --disable-silent-rules --with-history CC="$(CC)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" --cache-file="$(CURDIR)/builddir/config.cache" override_dh_auto_configure: $(TARGETS:%=doconfigure-%) @@ -56,10 +62,10 @@ dobuild-python%: BUILD_DIR=builddir/main/$* dobuild-python%: BUILD_FLAGS = libxml2mod_la_LIBADD='$$(mylibs)' \ - PYTHON_INCLUDES="$(shell $(DEB_HOST_GNU_TYPE)-python-config --includes)" \ - PYTHON_LIBS="$(shell $(DEB_HOST_GNU_TYPE)-python-config --ldflags)" -dobuild-python%-dbg: BUILD_FLAGS += PYTHON_INCLUDES="$(shell $(DEB_HOST_GNU_TYPE)-python-dbg-config --includes)" \ - PYTHON_LIBS="$(shell $(DEB_HOST_GNU_TYPE)-python-dbg-config --ldflags)" \ + PYTHON_INCLUDES="$(shell $(HOST_GNU_TYPE)-python-config --includes)" \ + PYTHON_LIBS="$(shell $(HOST_GNU_TYPE)-python-config --ldflags)" +dobuild-python%-dbg: BUILD_FLAGS += PYTHON_INCLUDES="$(shell $(HOST_GNU_TYPE)-python-dbg-config --includes)" \ + PYTHON_LIBS="$(shell $(HOST_GNU_TYPE)-python-dbg-config --ldflags)" \ CFLAGS="$(CFLAGS) -Wall -g -O0" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS) \ -L$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)" build-arch: $(TARGETS:%=dobuild-%)