Package: src:yersinia Version: 0.8.2-1 Tags: patch pending User: debian-powe...@lists.debian.org Usertags: ppc64el
-- Dear maintainer, I see that the package fails to build ppc64el. Here is a small patch that seems to fix this and maybe the FTBFS on arm64 and kfreebsd-* that look the same. I hope that helps, let me know if things need to be improved. Regards. F.
diff -Nru yersinia-0.8.2/debian/changelog yersinia-0.8.2/debian/changelog --- yersinia-0.8.2/debian/changelog 2017-08-28 16:09:19.000000000 +0000 +++ yersinia-0.8.2/debian/changelog 2017-09-15 13:34:30.000000000 +0000 @@ -1,3 +1,11 @@ +yersinia (0.8.2-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * debian/control moved Build-Depends on autotools-dev to dh-autoreconf + * debian/rules added dh_autoreconf* usage for better ppc64el support + + -- Frédéric Bonnard <fre...@linux.vnet.ibm.com> Fri, 15 Sep 2017 13:34:30 +0000 + yersinia (0.8.2-1) unstable; urgency=medium * new upstream release from 2017-08-25 diff -Nru yersinia-0.8.2/debian/control yersinia-0.8.2/debian/control --- yersinia-0.8.2/debian/control 2017-08-28 16:09:19.000000000 +0000 +++ yersinia-0.8.2/debian/control 2017-09-15 13:34:30.000000000 +0000 @@ -2,7 +2,7 @@ Section: admin Priority: optional Maintainer: Noël Köthe <n...@debian.org> -Build-Depends: debhelper (>= 9.0.0), autotools-dev, libncurses5-dev (>=5.4), libnet1-dev (>=1.1.2), libpcap0.8-dev, libgtk2.0-dev, lsb-release +Build-Depends: debhelper (>= 9.0.0), dh-autoreconf, libncurses5-dev (>=5.4), libnet1-dev (>=1.1.2), libpcap0.8-dev, libgtk2.0-dev, lsb-release Standards-Version: 4.1.0 Homepage: http://www.yersinia.net/ diff -Nru yersinia-0.8.2/debian/rules yersinia-0.8.2/debian/rules --- yersinia-0.8.2/debian/rules 2017-08-28 16:09:19.000000000 +0000 +++ yersinia-0.8.2/debian/rules 2017-09-15 13:28:20.000000000 +0000 @@ -17,19 +17,10 @@ include /usr/share/dpkg/buildflags.mk CFLAGS = -Wall -g -config.status: configure +config.status: dh_testdir - # Add here commands to configure the package. - ./autogen.sh - [ -e config.guess.d-r-orig ] || cp -p config.guess config.guess.d-r-orig - [ -e config.sub.d-r-orig ] || cp -p config.sub config.sub.d-r-orig -#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_autoreconf CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ @@ -63,8 +54,7 @@ # package recommandation. dh_clean [ -e yersinia.log ] && rm yersinia.log || true - [ ! -e config.guess.d-r-orig ] || mv config.guess.d-r-orig config.guess - [ ! -e config.sub.d-r-orig ] || mv config.sub.d-r-orig config.sub + dh_autoreconf_clean install: build dh_testdir diff -Nru yersinia-0.8.2/debian/yersinia.debhelper.log yersinia-0.8.2/debian/yersinia.debhelper.log --- yersinia-0.8.2/debian/yersinia.debhelper.log 1970-01-01 00:00:00.000000000 +0000 +++ yersinia-0.8.2/debian/yersinia.debhelper.log 2017-09-15 13:34:30.000000000 +0000 @@ -0,0 +1 @@ +dh_autoreconf_clean
pgpqBvx5rFspM.pgp
Description: PGP signature