Control: tag -1 + patch On Mon, 23 Jun 2014 23:16:34 +0300, Niko Tyni wrote:
> For this to work, packages containing binary perl modules need to migrate > from using the hardcoded /usr/lib/perl5 directory to the value of the > $Config{vendorarch} variable, as defined in the 'Config' module. I'm attaching a patch which uses $Config{vendorarch} in debian/rules. Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: John Coltrane & Dave Brubeck: Take Five
diff -Nru fwknop-2.6.0/debian/changelog fwknop-2.6.0/debian/changelog --- fwknop-2.6.0/debian/changelog 2014-01-18 21:43:08.000000000 +0100 +++ fwknop-2.6.0/debian/changelog 2014-07-01 17:17:51.000000000 +0200 @@ -1,3 +1,12 @@ +fwknop (2.6.0-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix "hardcodes /usr/lib/perl5": + Use $Config{vendorarch} in debian/rules. + (Closes: #752472) + + -- gregor herrmann <gre...@debian.org> Tue, 01 Jul 2014 17:17:32 +0200 + fwknop (2.6.0-2) unstable; urgency=low * Moved installation of usr.sbin/fwknopd from d.rules to diff -Nru fwknop-2.6.0/debian/rules fwknop-2.6.0/debian/rules --- fwknop-2.6.0/debian/rules 2014-01-18 21:43:08.000000000 +0100 +++ fwknop-2.6.0/debian/rules 2014-07-01 17:14:35.000000000 +0200 @@ -21,6 +21,8 @@ LIB_LIBFKODEV = usr/lib/$(DEB_HOST_MULTIARCH) +PERL_ARCHLIB = $(shell perl -MConfig -e 'print $$Config{vendorarch}') + %: dh $@ --with=python2 @@ -44,7 +46,7 @@ override_dh_auto_install: dh_auto_install cd perl/FKO && $(MAKE) install DESTDIR=$(TMP_LIBFKOPERL) PREFIX=/usr - chrpath -d $(TMP_LIBFKOPERL)/usr/lib/perl5/auto/FKO/FKO.so + chrpath -d $(TMP_LIBFKOPERL)$(PERL_ARCHLIB)/auto/FKO/FKO.so cd python && python setup.py install --root=$(TMP_LIBFKOPYTHON) --install-layout=deb override_dh_installinit:
signature.asc
Description: Digital Signature