summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2006-09-22 05:36:22 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2006-09-22 05:36:22 +0000
commitb9215aed63f2a0664f26096b18422209e64f3238 (patch)
tree084f3ece6408bc2c94a7a04c1bb22b81945ad61f /sys-libs/libuser/files
parentKeyword ~ppc. (diff)
downloadgentoo-2-b9215aed63f2a0664f26096b18422209e64f3238.tar.gz
gentoo-2-b9215aed63f2a0664f26096b18422209e64f3238.tar.bz2
gentoo-2-b9215aed63f2a0664f26096b18422209e64f3238.zip
On Gentoo, minimum gid/uid for non-system is 1000, not 500.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'sys-libs/libuser/files')
-rw-r--r--sys-libs/libuser/files/0.54.6-raise-minimum-ids-to-1000.patch114
1 files changed, 114 insertions, 0 deletions
diff --git a/sys-libs/libuser/files/0.54.6-raise-minimum-ids-to-1000.patch b/sys-libs/libuser/files/0.54.6-raise-minimum-ids-to-1000.patch
new file mode 100644
index 000000000000..8dbb3f650600
--- /dev/null
+++ b/sys-libs/libuser/files/0.54.6-raise-minimum-ids-to-1000.patch
@@ -0,0 +1,114 @@
+Index: libuser.conf
+===================================================================
+RCS file: /usr/local/CVS/libuser/libuser.conf,v
+retrieving revision 1.1
+diff -u -b -B -r1.1 libuser.conf
+--- libuser.conf 10 Oct 2005 22:11:13 -0000 1.1
++++ libuser.conf 22 Sep 2006 05:27:53 -0000
+@@ -25,7 +25,7 @@
+
+ [userdefaults]
+ LU_USERNAME = %n
+-# LU_UIDNUMBER = 500
++# LU_UIDNUMBER = 1000
+ LU_GIDNUMBER = %u
+ # LU_USERPASSWORD = !!
+ # LU_GECOS = %n
+@@ -44,7 +44,7 @@
+
+ [groupdefaults]
+ LU_GROUPNAME = %n
+-# LU_GIDNUMBER = 500
++# LU_GIDNUMBER = 1000
+ # LU_GROUPPASSWORD = !!
+ # LU_MEMBERUID =
+ # LU_ADMINISTRATORUID =
+Index: apps/lgroupadd.1
+===================================================================
+RCS file: /usr/local/CVS/libuser/apps/lgroupadd.1,v
+retrieving revision 1.1
+diff -u -b -B -r1.1 lgroupadd.1
+--- apps/lgroupadd.1 15 Jan 2005 14:19:53 -0000 1.1
++++ apps/lgroupadd.1 22 Sep 2006 05:27:53 -0000
+@@ -45,7 +45,7 @@
+ The group is a system group.
+ Groups that are not marked as system groups
+ usually have automatically selected group IDs above a certain value
+-(500 by default).
++(1000 by default).
+ This information is also passed to the
+ .B libuser
+ backends.
+Index: apps/luseradd.1
+===================================================================
+RCS file: /usr/local/CVS/libuser/apps/luseradd.1,v
+retrieving revision 1.1
+diff -u -b -B -r1.1 luseradd.1
+--- apps/luseradd.1 15 Jan 2005 14:19:53 -0000 1.1
++++ apps/luseradd.1 22 Sep 2006 05:27:53 -0000
+@@ -104,7 +104,7 @@
+ The user is a system user.
+ Users that are not marked as system user
+ usually have automatically selected user IDs above a certain value
+-(500 by default).
++(1000 by default).
+ This information is also passed to the
+ .B libuser
+ backends.
+Index: docs/libuser.conf.5.in
+===================================================================
+RCS file: /usr/local/CVS/libuser/docs/libuser.conf.5.in,v
+retrieving revision 1.2
+diff -u -b -B -r1.2 libuser.conf.5.in
+--- docs/libuser.conf.5.in 21 Feb 2006 16:17:32 -0000 1.2
++++ docs/libuser.conf.5.in 22 Sep 2006 05:27:53 -0000
+@@ -183,7 +183,7 @@
+ .B LU_UIDNUMBER
+ A decimal number, the first allowed UID value for regular users (not system
+ users).
+-Default value is \fB500\fR.
++Default value is \fB1000\fR.
+
+ .P
+ All other variables have the same names as the attribute names from
+@@ -222,7 +222,7 @@
+ .B LU_GIDNUMBER
+ A decimal number, the first allowed GID value for regular groups (not system
+ groups).
+-Default value is \fB500\fR.
++Default value is \fB1000\fR.
+
+ .P
+ The other variables follow the same rules as in the
+Index: lib/user.c
+===================================================================
+RCS file: /usr/local/CVS/libuser/lib/user.c,v
+retrieving revision 1.81
+diff -u -b -B -r1.81 user.c
+--- lib/user.c 6 Mar 2006 03:02:52 -0000 1.81
++++ lib/user.c 22 Sep 2006 05:27:54 -0000
+@@ -33,7 +33,7 @@
+ #include "user_private.h"
+ #include "internal.h"
+
+-#define DEFAULT_ID 500
++#define DEFAULT_ID 1000
+
+ enum lu_dispatch_id {
+ uses_elevated_privileges = 0x0003,
+Index: python/admin.c
+===================================================================
+RCS file: /usr/local/CVS/libuser/python/admin.c,v
+retrieving revision 1.43
+diff -u -b -B -r1.43 admin.c
+--- python/admin.c 1 May 2006 04:51:21 -0000 1.43
++++ python/admin.c 22 Sep 2006 05:27:55 -0000
+@@ -1308,7 +1308,7 @@
+ char *keywords[] = { "start", NULL };
+ struct libuser_admin *me = (struct libuser_admin *) self;
+
+- PY_LONG_LONG start = 500;
++ PY_LONG_LONG start = 1000;
+
+ g_return_val_if_fail(self != NULL, NULL);
+