Author: jw Date: 2006-03-29 22:49:46 +0200 (Wed, 29 Mar 2006) New Revision: 1062 Added: crux-2.2/ports/core/shadow/useradd-4.0.15.diff Modified: crux-2.2/ports/core/shadow/.md5sum crux-2.2/ports/core/shadow/Pkgfile Log: shadow: patch useradd to not use per user groups Modified: crux-2.2/ports/core/shadow/.md5sum =================================================================== --- crux-2.2/ports/core/shadow/.md5sum 2006-03-29 14:02:56 UTC (rev 1061) +++ crux-2.2/ports/core/shadow/.md5sum 2006-03-29 20:49:46 UTC (rev 1062) @@ -2,3 +2,4 @@ be8f69c2701118093af3d7f3bc02af16 pwck 01bab2b152b8f2ae0056a467fa365797 shadow-4.0.15-noshadowgrp.diff a0452fa989f8ba45023cc5a08136568e shadow-4.0.15.tar.bz2 +ed61f849a595731bf795010a4f3cea16 useradd-4.0.15.diff Modified: crux-2.2/ports/core/shadow/Pkgfile =================================================================== --- crux-2.2/ports/core/shadow/Pkgfile 2006-03-29 14:02:56 UTC (rev 1061) +++ crux-2.2/ports/core/shadow/Pkgfile 2006-03-29 20:49:46 UTC (rev 1062) @@ -4,13 +4,14 @@ name=shadow version=4.0.15 -release=1 +release=2 source=(ftp://ftp.pld.org.pl/software/shadow/$name-$version.tar.bz2 \ - pwck login.defs shadow-4.0.15-noshadowgrp.diff) + pwck login.defs shadow-4.0.15-noshadowgrp.diff useradd-4.0.15.diff) build() { cd $name-$version patch -p1 < $SRC/shadow-4.0.15-noshadowgrp.diff + patch -p0 < $SRC/useradd-4.0.15.diff ./configure --prefix=/usr \ --mandir=/usr/man \ Added: crux-2.2/ports/core/shadow/useradd-4.0.15.diff =================================================================== --- crux-2.2/ports/core/shadow/useradd-4.0.15.diff (rev 0) +++ crux-2.2/ports/core/shadow/useradd-4.0.15.diff 2006-03-29 20:49:46 UTC (rev 1062) @@ -0,0 +1,17 @@ +--- src/useradd.c.orig 2006-03-29 20:45:56.981071520 +0200 ++++ src/useradd.c 2006-03-29 22:39:13.312872040 +0200 +@@ -1765,12 +1765,14 @@ + find_new_uid (); + } + ++#if 0 /* jw */ + /* do we have to add a group for that user? This is why we need to + * open the group files in the open_files() function --gafton */ + if (!(nflg || gflg)) { + find_new_gid (); + grp_add (); + } ++#endif + + usr_update (); +
participants (1)
-
crux@crux.nu