diff --git a/debian/changelog b/debian/changelog index aa512d87..54bf54aa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -28,6 +28,8 @@ shadow (1:4.1.2-1) experimental; urgency=low * Versioned Replaces on manpages-tr (<<1..5) as conflicting manpages have been removed in that package * debian/patches/402_cppw_selinux: Add SE Linux support for cppw / cpgr. + * debian/patches/900_testsuite_groupmems, debian/patches/901_testsuite_gcov: + Added patches, only intended to be used in the testsuite. -- Christian Perrier Mon, 07 Apr 2008 23:00:26 +0200 diff --git a/debian/patches/900_testsuite_groupmems b/debian/patches/900_testsuite_groupmems new file mode 100644 index 00000000..442eb2f3 --- /dev/null +++ b/debian/patches/900_testsuite_groupmems @@ -0,0 +1,89 @@ +Index: shadow-4.1.2/debian/passwd.install +=================================================================== +--- shadow-4.1.2.orig/debian/passwd.install 2008-09-11 18:45:39.228009162 +0200 ++++ shadow-4.1.2/debian/passwd.install 2008-09-11 19:11:34.616009434 +0200 +@@ -9,6 +9,7 @@ + usr/sbin/cppw + usr/sbin/groupadd + usr/sbin/groupdel ++usr/sbin/groupmems + usr/sbin/groupmod + usr/sbin/grpck + usr/sbin/grpconv +@@ -33,6 +34,7 @@ + usr/share/man/*/man8/chpasswd.8 + usr/share/man/*/man8/groupadd.8 + usr/share/man/*/man8/groupdel.8 ++usr/share/man/*/man8/groupmems.8 + usr/share/man/*/man8/groupmod.8 + usr/share/man/*/man8/grpck.8 + usr/share/man/*/man8/grpconv.8 +@@ -59,6 +61,7 @@ + usr/share/man/man8/chpasswd.8 + usr/share/man/man8/groupadd.8 + usr/share/man/man8/groupdel.8 ++usr/share/man/man8/groupmems.8 + usr/share/man/man8/groupmod.8 + usr/share/man/man8/grpck.8 + usr/share/man/man8/grpconv.8 +Index: shadow-4.1.2/debian/passwd.postinst +=================================================================== +--- shadow-4.1.2.orig/debian/passwd.postinst 2008-09-11 18:51:29.460008023 +0200 ++++ shadow-4.1.2/debian/passwd.postinst 2008-09-11 18:56:16.504010411 +0200 +@@ -31,6 +31,24 @@ + exit 1 + ) + fi ++ if ! getent group groupmems | grep -q '^groupmems:[^:]*:99' ++ then ++ groupadd -g 99 groupmems || ( ++ cat <