Control: tags 1128111 + patch
Control: tags 1128111 + pending

Dear maintainer,

I've prepared an NMU for barada-pam (versioned as 0.5.3-1.1) and 
uploaded it to DELAYED/2. Please feel free to tell me if I should
cancel it.

cu
Adrian
diffstat for barada-pam-0.5.3 barada-pam-0.5.3

 changelog                     |    7 +++++++
 patches/fix_615696            |    7 +++----
 patches/no_boost_system.patch |   18 ++++++++++++++++++
 patches/series                |    1 +
 4 files changed, 29 insertions(+), 4 deletions(-)

diff -Nru barada-pam-0.5.3/debian/changelog barada-pam-0.5.3/debian/changelog
--- barada-pam-0.5.3/debian/changelog	2025-01-21 12:29:34.000000000 +0200
+++ barada-pam-0.5.3/debian/changelog	2026-03-18 18:45:07.000000000 +0200
@@ -1,3 +1,10 @@
+barada-pam (0.5.3-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove unnecessary linking with libboost_system. (Closes: #1128111)
+
+ -- Adrian Bunk <[email protected]>  Wed, 18 Mar 2026 18:45:07 +0200
+
 barada-pam (0.5.3-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru barada-pam-0.5.3/debian/patches/fix_615696 barada-pam-0.5.3/debian/patches/fix_615696
--- barada-pam-0.5.3/debian/patches/fix_615696	2025-01-21 12:29:34.000000000 +0200
+++ barada-pam-0.5.3/debian/patches/fix_615696	2026-03-18 18:45:07.000000000 +0200
@@ -1,5 +1,4 @@
-Description: explicitly link with boost_system and boost_filesystem
- to fix a FTBFS
+Description: explicitly link with boost_filesystem to fix a FTBFS
 Author: Andreas Moog <[email protected]>, Dmitrijs Ledkovs <[email protected]>
 Bug-Ubuntu: https://bugs.launchpad.net/bugs/765927
 Bug-Debian: http://bugs.debian.org/615696
@@ -11,7 +10,7 @@
  LDFLAGS = @LDFLAGS@
  LIBOBJS = @LIBOBJS@
 -LIBS = @LIBS@
-+LIBS = @LIBS@ $(BOOST_FILESYSTEM) -lboost_system
++LIBS = @LIBS@ $(BOOST_FILESYSTEM)
  LTLIBOBJS = @LTLIBOBJS@
  MAKEINFO = @MAKEINFO@
  MKDIR_P = @MKDIR_P@
@@ -21,7 +20,7 @@
  
  barada_add_SOURCES = barada-add.cpp HOTPCredentials.cpp Util.cpp
  
-+LIBS +=  $(BOOST_FILESYSTEM) -lboost_system
++LIBS +=  $(BOOST_FILESYSTEM)
 +
  pam_barada_sodir = /lib/security/
  
diff -Nru barada-pam-0.5.3/debian/patches/no_boost_system.patch barada-pam-0.5.3/debian/patches/no_boost_system.patch
--- barada-pam-0.5.3/debian/patches/no_boost_system.patch	1970-01-01 02:00:00.000000000 +0200
+++ barada-pam-0.5.3/debian/patches/no_boost_system.patch	2026-03-18 18:45:07.000000000 +0200
@@ -0,0 +1,18 @@
+Description: Remove unnecessary linking with libboost_system
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1128111
+
+--- barada-pam-0.5.3.orig/configure.ac
++++ barada-pam-0.5.3/configure.ac
+@@ -12,11 +12,6 @@ AC_CHECK_LIB(boost_filesystem, main, , [
+  	AC_MSG_ERROR("boost-filesystem is needed.")
+  	])
+  	]) 
+-AC_CHECK_LIB(boost_system, main, , [
+- 	AC_CHECK_LIB(boost_system-mt, main, , [
+- 	AC_MSG_ERROR("boost-system is needed.")
+- 	])
+- 	]) 
+ AC_CHECK_LIB(pam, pam_start, [], AC_MSG_ERROR([PAM Libraries Required]))
+ AC_CHECK_LIB(crypto, HMAC, [], AC_MSG_ERROR([openssl libraries required]))
+ 
diff -Nru barada-pam-0.5.3/debian/patches/series barada-pam-0.5.3/debian/patches/series
--- barada-pam-0.5.3/debian/patches/series	2025-01-21 12:29:34.000000000 +0200
+++ barada-pam-0.5.3/debian/patches/series	2026-03-18 18:45:07.000000000 +0200
@@ -1,2 +1,3 @@
 fix_615696
 fix_format_string.patch
+no_boost_system.patch

Reply via email to