[Pkg-shadow-commits] r825 - trunk/debian

Nicolas FRANCOIS nekral-guest at costa.debian.org
Mon Jan 23 10:51:27 UTC 2006


Author: nekral-guest
Date: 2006-01-23 10:51:27 +0000 (Mon, 23 Jan 2006)
New Revision: 825

Modified:
   trunk/debian/rules
Log:
Move the build-time definition of the passwd dependencies (loginpam
variable) to binary-predeb/passwd instead of binary-predeb/login.
(The later is not called on The Hurd)


Modified: trunk/debian/rules
===================================================================
--- trunk/debian/rules	2006-01-23 10:48:15 UTC (rev 824)
+++ trunk/debian/rules	2006-01-23 10:51:27 UTC (rev 825)
@@ -85,11 +85,6 @@
 	# chmod u+s debian/login/bin/login
 	chmod u+s debian/login/bin/su
 	chmod u+s debian/login/usr/bin/newgrp
-ifeq ($(DEB_HOST_ARCH_OS),hurd)
-	echo "loginpam=login, libpam-modules (>= 0.72-5)" >> debian/passwd.substvars
-else
-	echo "loginpam=login (>= 970502-1), libpam-modules (>= 0.72-5)" >> debian/passwd.substvars
-endif
 
 binary-predeb/passwd::
 	chmod u+s debian/passwd/usr/bin/chfn
@@ -100,3 +95,8 @@
 	chgrp shadow debian/passwd/usr/bin/expiry
 	chmod g+s debian/passwd/usr/bin/chage
 	chmod g+s debian/passwd/usr/bin/expiry
+ifeq ($(DEB_HOST_ARCH_OS),hurd)
+	echo "loginpam=login, libpam-modules (>= 0.72-5)" >> debian/passwd.substvars
+else
+	echo "loginpam=login (>= 970502-1), libpam-modules (>= 0.72-5)" >> debian/passwd.substvars
+endif




More information about the Pkg-shadow-commits mailing list