]> granicus.if.org Git - shadow/commitdiff
* man/groupadd.8.xml, configure.in, man/config.xml.in: Use the
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 23 Dec 2008 22:36:44 +0000 (22:36 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 23 Dec 2008 22:36:44 +0000 (22:36 +0000)
real group name length limit in the documentation.

ChangeLog
configure.in
man/config.xml.in [new file with mode: 0644]
man/groupadd.8.xml

index 59034efa6217219f3c2392c7860324477145c7bd..73c4325406d0755ebe949ed6b632fbe8347f3f89 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-23  Nicolas François  <nicolas.francois@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@centraliens.net>
 
        * src/Makefile.am: Only link with the needed library. When
index d99831800a3a833623ee4e5234fcfbad109e8f3a..ff2fdb83e8c2dddc294b66d2be5533673b91e0ec 100644 (file)
@@ -264,6 +264,8 @@ elif test "$with_group_name_max_length" = "yes" ; then
        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 @@ AC_CONFIG_FILES([
        po/Makefile.in
        doc/Makefile
        man/Makefile
+       man/config.xml
        man/po/Makefile.in
        man/cs/Makefile
        man/de/Makefile
diff --git a/man/config.xml.in b/man/config.xml.in
new file mode 100644 (file)
index 0000000..322f619
--- /dev/null
@@ -0,0 +1 @@
+<!ENTITY GROUP_NAME_MAX_LENGTH '@GROUP_NAME_MAX_LENGTH@'>
index a2e81dee1260a7711f4358d0f7ed1358deb75e6d..e440763b5db2f1228d9c746acb1e2c9eeed0dcca 100644 (file)
@@ -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$ -->
        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