Package: libpam-encfs Version: 0.1.4.1-4 Severity: normal Tags: patch fixed User: peter.fritzs...@gmx.de Usertags: no-add-needed
The attached patch was applied in ubuntu in order to fix LP#803183. It should fix the bug described here. It changes debian/rules so that the libraries are ordered correctly. regards David Shorten
Description: Change debian/rules to reorder libraries to build with ld--as-needed Author: David Shorten <dpshor...@gmail.com> Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/libpam-encfs/+bug/803183 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633448 Last-Update: 2011-07-10 diff -u libpam-encfs-0.1.4.4/debian/changelog libpam-encfs-0.1.4.4/debian/changelog --- libpam-encfs-0.1.4.4/debian/changelog +++ libpam-encfs-0.1.4.4/debian/changelog @@ -1,3 +1,10 @@ +libpam-encfs (0.1.4.4-3ubuntu1) oneiric; urgency=low + + * Changed debian/rules so that the package built with the + ld option --as-needed enabled. (LP: #803183) + + -- David Shorten <dpshor...@gmail.com> Sun, 10 Jul 2011 13:10:02 +0200 + libpam-encfs (0.1.4.4-3) unstable; urgency=low * debian/NEWS,README.Debian: Document possible behavior diff -u libpam-encfs-0.1.4.4/debian/rules libpam-encfs-0.1.4.4/debian/rules --- libpam-encfs-0.1.4.4/debian/rules +++ libpam-encfs-0.1.4.4/debian/rules @@ -14,12 +14,13 @@ PAM_CONFIG_DIR = $(CURDIR)/debian/libpam-encfs/usr/share/pam-configs PAM_SEC_DIR = $(CURDIR)/debian/libpam-encfs/etc/security +# Explicitly link to C library (we use ld) +DEBIAN_PAMLIB = -lpam -lc + # Original upstream value (Check!) DEBIAN_LD_FLAGS = --shared # Delete all local symbols. DEBIAN_LD_FLAGS += -x -# Explicitly link to C library (we use ld) -DEBIAN_LD_FLAGS += -lc # Check binutils-gold like behavior # DEBIAN_LD_FLAGS += --no-as-needed @@ -47,7 +48,7 @@ dh_testdir # Add here commands to compile the package. - $(MAKE) LDFLAGS="$(DEBIAN_LD_FLAGS)" + $(MAKE) LDFLAGS="$(DEBIAN_LD_FLAGS)" PAMLIB="$(DEBIAN_PAMLIB)" #docbook-to-man debian/pam-encfs.sgml > pam-encfs.1 cp -i debian/Upstream.Changelog changelog diff -u libpam-encfs-0.1.4.4/debian/control libpam-encfs-0.1.4.4/debian/control --- libpam-encfs-0.1.4.4/debian/control +++ libpam-encfs-0.1.4.4/debian/control @@ -1,7 +1,8 @@ Source: libpam-encfs Section: admin Priority: optional -Maintainer: Agustin Martin Domingo <agmar...@debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com> +XSBC-Original-Maintainer: Agustin Martin Domingo <agmar...@debian.org> Uploaders: Bartosz Fenski <fe...@debian.org> Build-Depends: debhelper (>= 7.0.0), libpam0g-dev, dpatch Standards-Version: 3.9.1