Package: barada-pam
Version: 0.5-1
User: [email protected]
Usertags: origin-ubuntu natty ubuntu-patch
*** /tmp/tmpp8derz
In Ubuntu, the attached patch was applied to achieve the following:
* patch Makefile.am/in to fix FTBFS with no-add-needed linking
(LP: #749106)
Thanks for considering the patch.
-- System Information:
Debian Release: squeeze/sid
APT prefers natty
APT policy: (500, 'natty')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-8-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
only in patch2:
unchanged:
--- barada-pam-0.5.orig/Makefile.in
+++ barada-pam-0.5/Makefile.in
@@ -125,7 +125,7 @@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LDFLAGS = @LDFLAGS@
+LDFLAGS = @LDFLAGS@ -lboost_system
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
only in patch2:
unchanged:
--- barada-pam-0.5.orig/Makefile.am
+++ barada-pam-0.5/Makefile.am
@@ -8,7 +8,7 @@
barada_add_SOURCES = barada-add.cpp HOTPCredentials.cpp Util.cpp
-barada_add_LDFLAGS = $(BOOST_FILESYSTEM)
+barada_add_LDFLAGS = $(BOOST_FILESYSTEM) -lboost_system
pam_barada_sodir = /lib/security/
@@ -16,6 +16,6 @@
pam_barada_so_SOURCES = HOTP.cpp HOTPCredentials.cpp HOTPWindow.cpp
pam_barada.cpp Util.cpp
-pam_barada_so_LDFLAGS = -shared
+pam_barada_so_LDFLAGS = -shared -lboost_system
-HexTest_SOURCES = HexTest.cpp Util.cpp
\ No newline at end of file
+HexTest_SOURCES = HexTest.cpp Util.cpp