[Pkg-shadow-commits] r2476 - in upstream/trunk: . man
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Tue Dec 23 22:36:45 UTC 2008
Author: nekral-guest
Date: 2008-12-23 22:36:44 +0000 (Tue, 23 Dec 2008)
New Revision: 2476
Added:
upstream/trunk/man/config.xml.in
Modified:
upstream/trunk/ChangeLog
upstream/trunk/configure.in
upstream/trunk/man/groupadd.8.xml
Log:
* man/groupadd.8.xml, configure.in, man/config.xml.in: Use the
real group name length limit in the documentation.
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2008-12-23 00:44:29 UTC (rev 2475)
+++ upstream/trunk/ChangeLog 2008-12-23 22:36:44 UTC (rev 2476)
@@ -1,5 +1,10 @@
2008-12-23 Nicolas François <nicolas.francois at centraliens.net>
+ * man/groupadd.8.xml, configure.in, man/config.xml.in: Use the
+ real group name length limit in the documentation.
+
+2008-12-23 Nicolas François <nicolas.francois at centraliens.net>
+
* src/Makefile.am: Only link with the needed library. When
compiled with PAM support, chfn, chsh, login, newgrp, passwd, and
su do not need the libcrypt library.
Modified: upstream/trunk/configure.in
===================================================================
--- upstream/trunk/configure.in 2008-12-23 00:44:29 UTC (rev 2475)
+++ upstream/trunk/configure.in 2008-12-23 22:36:44 UTC (rev 2476)
@@ -264,6 +264,8 @@
with_group_name_max_length=16
fi
AC_DEFINE_UNQUOTED(GROUP_NAME_MAX_LENGTH, $with_group_name_max_length, [max group name length])
+AC_SUBST(GROUP_NAME_MAX_LENGTH)
+GROUP_NAME_MAX_LENGTH="$with_group_name_max_length"
AM_CONDITIONAL(USE_SHA_CRYPT, test "x$with_sha_crypt" = "xyes")
if test "$with_sha_crypt" = "yes"; then
@@ -481,6 +483,7 @@
po/Makefile.in
doc/Makefile
man/Makefile
+ man/config.xml
man/po/Makefile.in
man/cs/Makefile
man/de/Makefile
Added: upstream/trunk/man/config.xml.in
===================================================================
--- upstream/trunk/man/config.xml.in (rev 0)
+++ upstream/trunk/man/config.xml.in 2008-12-23 22:36:44 UTC (rev 2476)
@@ -0,0 +1 @@
+<!ENTITY GROUP_NAME_MAX_LENGTH '@GROUP_NAME_MAX_LENGTH@'>
Modified: upstream/trunk/man/groupadd.8.xml
===================================================================
--- upstream/trunk/man/groupadd.8.xml 2008-12-23 00:44:29 UTC (rev 2475)
+++ upstream/trunk/man/groupadd.8.xml 2008-12-23 22:36:44 UTC (rev 2476)
@@ -33,6 +33,8 @@
<!ENTITY GID_MAX SYSTEM "login.defs.d/GID_MAX.xml">
<!ENTITY MAX_MEMBERS_PER_GROUP SYSTEM "login.defs.d/MAX_MEMBERS_PER_GROUP.xml">
<!ENTITY SYS_GID_MAX SYSTEM "login.defs.d/SYS_GID_MAX.xml">
+<!ENTITY % config SYSTEM "config.xml">
+%config;
]>
<refentry id='groupadd.8'>
<!-- $Id$ -->
@@ -215,7 +217,7 @@
may follow. In regular expression terms: [a-z_][a-z0-9_-]*[$]?
</para>
<para>
- Groupnames may only be up to 16 characters long.
+ Groupnames may only be up to &GROUP_NAME_MAX_LENGTH; characters long.
</para>
<para>
You may not add a NIS or LDAP group. This must be performed on the
More information about the Pkg-shadow-commits
mailing list