]> git.pld-linux.org Git - packages/shadow.git/blame - shadow-pld.patch
- fix for current libselinux
[packages/shadow.git] / shadow-pld.patch
CommitLineData
9a8f7050
JB
1diff -Nur shadow-4.0.3.orig/lib/getdef.c shadow-4.0.3/lib/getdef.c
2--- shadow-4.0.3.orig/lib/getdef.c 2002-01-06 15:08:00.000000000 +0100
3+++ shadow-4.0.3/lib/getdef.c 2003-06-20 19:34:37.000000000 +0200
4@@ -113,6 +113,10 @@
5 { "SYSLOG_SG_ENAB", NULL },
6 { "SYSLOG_SU_ENAB", NULL },
7 #endif
8+ { "SYS_GID_MAX", NULL },
9+ { "SYS_GID_MIN", NULL },
10+ { "SYS_UID_MAX", NULL },
11+ { "SYS_UID_MIN", NULL },
12 { "TTYGROUP", NULL },
13 { "TTYPERM", NULL },
14 { "TTYTYPE_FILE", NULL },
4cf9fafc
JB
15--- shadow-4.0.4.1/man/groupadd.8.orig 2004-01-05 02:08:23.000000000 +0100
16+++ shadow-4.0.4.1/man/groupadd.8 2004-02-29 00:40:47.255149000 +0100
17@@ -30,7 +30,7 @@
9a8f7050
JB
18 groupadd \- Create a new group
19 .SH SYNOPSIS
4cf9fafc 20 .TP 6
9a8f7050
JB
21-\fBgroupadd\fR [\fB-g\fI gid \fR[\fB-o\fR]] [\fB-f\fR] \fIgroup\fR
22+\fBgroupadd\fR [\fB-g\fI gid \fR[\fB-o\fR]] [\fB-f\fR] [\fB-r\fR] \fIgroup\fR
23 .SH DESCRIPTION
4cf9fafc
JB
24 The \fBgroupadd\fR command creates a new group account using the values
25 specified on the command line and the default values from the system. The
26@@ -45,6 +45,9 @@
9a8f7050
JB
27 This option causes to just exit with success status if the specified
28 group already exists. With \fB-g\fR, if specified gid already exists,
29 other (unique) gid is chosen (i.e. \fB-g\fR is turned off).
30+.IP "\fB-r\fR"
31+This flag is used to create a system group, with gid lower than usual
32+(chosen between SYS_GID_MIN and SYS_GID_MAX).
33 .SH FILES
4cf9fafc 34 \fI/etc/group\fR \- group account information
9a8f7050
JB
35 .br
36diff -Nur shadow-4.0.3.orig/man/pl/groupadd.8 shadow-4.0.3/man/pl/groupadd.8
37--- shadow-4.0.3.orig/man/pl/groupadd.8 2003-06-20 19:06:15.000000000 +0200
38+++ shadow-4.0.3/man/pl/groupadd.8 2003-06-20 19:40:17.000000000 +0200
39@@ -30,7 +30,7 @@
40 .SH NAZWA
41