[Pkg-shadow-commits] r734 - trunk/debian/patches

Nicolas FRANCOIS nekral-guest at costa.debian.org
Mon Dec 19 22:45:48 UTC 2005


Author: nekral-guest
Date: 2005-12-19 22:45:47 +0000 (Mon, 19 Dec 2005)
New Revision: 734

Added:
   trunk/debian/patches/479_nologin_static
Modified:
   trunk/debian/patches/series
Log:
Link nologin statically, as in FreeBSD.


Added: trunk/debian/patches/479_nologin_static
===================================================================
--- trunk/debian/patches/479_nologin_static	2005-12-19 22:39:40 UTC (rev 733)
+++ trunk/debian/patches/479_nologin_static	2005-12-19 22:45:47 UTC (rev 734)
@@ -0,0 +1,16 @@
+Goal: link nologin statically.
+
+For security reason, nologin is statically linked on FreeBSD.
+
+Index: shadow-4.0.14/src/Makefile.am
+===================================================================
+--- shadow-4.0.14.orig/src/Makefile.am	2005-12-19 22:31:06.000000000 +0100
++++ shadow-4.0.14/src/Makefile.am	2005-12-19 22:44:52.000000000 +0100
+@@ -70,6 +70,7 @@
+ newgrp_LDADD   = $(LDADD) $(LIBPAM) $(LIBAUDIT)
+ newusers_LDADD = $(LDADD) $(LIBPAM)
+ nologin_LDADD  =
++nologin_LDFLAGS = -all-static
+ passwd_LDADD   = $(LDADD) $(LIBPAM) $(LIBCRACK) $(LIBAUDIT)
+ su_SOURCES     = \
+ 	su.c \

Modified: trunk/debian/patches/series
===================================================================
--- trunk/debian/patches/series	2005-12-19 22:39:40 UTC (rev 733)
+++ trunk/debian/patches/series	2005-12-19 22:45:47 UTC (rev 734)
@@ -51,6 +51,7 @@
 437_su_-c_option
 423_su_arguments_are_concatenated
 478_nologin.8.xml
+479_nologin_static
 # 999-2 is about using cdbs. It does not patch upstream files
 # so shouldn't be here, but we keep it for the future
 # 999-2_build_using_cdbs




More information about the Pkg-shadow-commits mailing list