packages: rpm/rpm-gid-uucp.patch (NEW) - pldish FHS fixed uid/gids
glen
glen at pld-linux.org
Thu Jun 4 23:47:08 CEST 2009
Author: glen Date: Thu Jun 4 21:47:08 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- pldish FHS fixed uid/gids
---- Files affected:
packages/rpm:
rpm-gid-uucp.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/rpm/rpm-gid-uucp.patch
diff -u /dev/null packages/rpm/rpm-gid-uucp.patch:1.1
--- /dev/null Thu Jun 4 23:47:08 2009
+++ packages/rpm/rpm-gid-uucp.patch Thu Jun 4 23:47:03 2009
@@ -0,0 +1,16 @@
+--- rpm-4.5/rpmio/ugid.c~ 2004-10-09 20:29:23.000000000 +0300
++++ rpm-4.5/rpmio/ugid.c 2009-06-05 00:46:30.450894061 +0300
+@@ -101,10 +101,10 @@
+ /*@=internalglobs@*/
+ grent = getgrnam(thisGname);
+ if (grent == NULL) {
+- /* XXX The filesystem package needs group/lock w/o getgrnam. */
+- if (strcmp(thisGname, "lock") == 0) {
++ /* XXX The FHS package needs group/uucp w/o getgrnam. */
++ if (strcmp(thisGname, "uucp") == 0) {
+ /*@-boundswrite@*/
+- *gid = lastGid = 54;
++ *gid = lastGid = 14;
+ /*@=boundswrite@*/
+ return 0;
+ } else
================================================================
More information about the pld-cvs-commit
mailing list