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

Alexander Gattin pkg-shadow-devel@lists.alioth.debian.org
Sun, 10 Jul 2005 22:39:43 +0000


Author: xrgtn-guest
Date: 2005-07-10 22:39:42 +0000 (Sun, 10 Jul 2005)
New Revision: 371

Modified:
   trunk/debian/changelog
   trunk/debian/rules
Log:
Make "passwd"-->"login" dependency non-versioned for Hurd.
This allows to use native su/login provided by "hurd" pkg.


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2005-07-10 18:02:20 UTC (rev 370)
+++ trunk/debian/changelog	2005-07-10 22:39:42 UTC (rev 371)
@@ -1,3 +1,15 @@
+shadow (1:4.0.3-38) unstable; urgency=low
+
+  * Debian packaging fixes:
+    - changed debian/rules to generate non-versioned "Depends: login"
+      entry for hurd's "passwd" package. This allows to use native
+      Hurd's login/su, because "hurd" package seems to provide "login".
+      See: #249372 (I don't claim the bug to be dealt with though --
+      it's still not clear whether the newly built "login" package for
+      Hurd is functional).
+
+ -- Christian Perrier <bubulle@debian.org>  Mon, 11 Jul 2005 01:05:36 +0300
+
 shadow (1:4.0.3-37) unstable; urgency=low
 
   * The "Camembert" release

Modified: trunk/debian/rules
===================================================================
--- trunk/debian/rules	2005-07-10 18:02:20 UTC (rev 370)
+++ trunk/debian/rules	2005-07-10 22:39:42 UTC (rev 371)
@@ -141,7 +141,11 @@
 	dh_compress
 	dh_shlibdeps
 	dh_installdebconf
+ifneq ($(DEB_HOST_ARCH_OS),hurd)
 	echo "loginpam=login (>= 970502-1), libpam-modules (>= 0.72-5)" >> debian/passwd.substvars
+else
+	echo "loginpam=login, libpam-modules (>= 0.72-5)" >> debian/passwd.substvars
+endif
 	dh_installdeb
 	dh_gencontrol
 	dh_md5sums