diff --minimal -Nru libidn-1.33/debian/changelog libidn-1.33/debian/changelog --- libidn-1.33/debian/changelog 2017-09-12 11:18:33.000000000 +0200 +++ libidn-1.33/debian/changelog 2017-09-13 14:00:38.000000000 +0200 @@ -1,3 +1,10 @@ +libidn (1.33-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Move java dependencies to Build-Depends-Indep (Closes: #870669) + + -- Helmut Grohne Wed, 13 Sep 2017 14:00:38 +0200 + libidn (1.33-2) unstable; urgency=high * CVE-2017-14062: Fix integer overflow in decode_digit (Closes: #873903) diff --minimal -Nru libidn-1.33/debian/control libidn-1.33/debian/control --- libidn-1.33/debian/control 2017-09-12 11:18:33.000000000 +0200 +++ libidn-1.33/debian/control 2017-09-13 14:00:35.000000000 +0200 @@ -4,7 +4,8 @@ Maintainer: Debian Libidn Team Uploaders: Anibal Monsalve Salazar , Simon Josefsson , Ondřej Surý Standards-Version: 3.9.8 -Build-Depends: debhelper (>= 9), gcj-jdk [!arm !hppa !hurd-i386 !mips64el], fastjar [!arm !hppa !hurd-i386 !mips64el], dh-autoreconf, autopoint (>= 0.19.3), help2man, texinfo +Build-Depends: debhelper (>= 9), dh-autoreconf, autopoint (>= 0.19.3), help2man, texinfo +Build-Depends-Indep: gcj-jdk, fastjar Homepage: https://www.gnu.org/software/libidn/ Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/libidn.git Vcs-Git: https://anonscm.debian.org/git/collab-maint/libidn.git diff --minimal -Nru libidn-1.33/debian/rules libidn-1.33/debian/rules --- libidn-1.33/debian/rules 2017-09-12 11:18:33.000000000 +0200 +++ libidn-1.33/debian/rules 2017-09-13 14:00:38.000000000 +0200 @@ -4,16 +4,12 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all -# Don't build libidn11-java on platforms that doesn't have gcj. -NO_JAVA_ARCHES := arm hppa hurd-i386 mips64el or1k -DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) -ifneq (,$(filter stage1,$(DEB_BUILD_PROFILES))) - # Or when bootstrapping, because libidn is needed before gcj, see #738147. - export DH_OPTIONS=-Nlibidn11-java -else ifeq (,$(filter $(DEB_HOST_ARCH),$(NO_JAVA_ARCHES))) - ENABLE_JAVA := --enable-java +DOPACKAGES = $(shell dh_listpackages) +CONFIGURE_FLAGS := +ifneq ($(filter libidn11-java,$(DOPACKAGES)),) +CONFIGURE_FLAGS += --enable-java else - export DH_OPTIONS=-Nlibidn11-java +CONFIGURE_FLAGS += --disable-java endif %: @@ -26,7 +22,7 @@ --with-packager-version=$(CFG_VERS) \ --with-packager-bug-reports=https://bugs.debian.org/ \ --disable-silent-rules \ - $(ENABLE_JAVA) + $(CONFIGURE_FLAGS) override_dh_auto_install: dh_auto_install