components/sudo/patches/05-normalize-man-pages.patch
author Lukas Rovensky <Lukas.Rovensky@oracle.com>
Mon, 15 Feb 2016 08:11:32 -0800
changeset 5497 862a4276da0f
parent 5005 634e69f7ae42
child 7301 0853d00f0cd4
permissions -rw-r--r--
22663737 Upgrade sudo to version 1.8.15 22519409 problem in UTILITY/SUDO
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5005
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
In Solaris 12, we will be normalizing man pages. See PSARC 2015/428.
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
This means that what was section 1m, is now section 8 and what was
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
section 4 is now section 5. But currently only for Solaris 12.
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
This patch should eventually be sent upstream, but for that to happen
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
it will need to be reworked into a form that will be acceptable for
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
all versions of Solaris. Until then, we are just using this Solaris 12
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
specific patch.
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
5497
862a4276da0f 22663737 Upgrade sudo to version 1.8.15
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 5005
diff changeset
    10
--- sudo-1.8.15/configure.ac.orig	Wed Feb 17 02:36:28 2016
862a4276da0f 22663737 Upgrade sudo to version 1.8.15
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 5005
diff changeset
    11
+++ sudo-1.8.15/configure.ac	Wed Feb 17 02:36:50 2016
862a4276da0f 22663737 Upgrade sudo to version 1.8.15
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 5005
diff changeset
    12
@@ -1699,8 +1699,8 @@
5005
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
 		if test "$with_AFS" = "yes"; then
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
 		    AFS_LIBS="-lc -lucb"
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
 		fi
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
-		: ${mansectsu='1m'}
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
-		: ${mansectform='4'}
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
+		: ${mansectsu='8'}
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
+		: ${mansectform='5'}
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
 		test -z "$with_pam" && AUTH_EXCL_DEF="PAM"
5497
862a4276da0f 22663737 Upgrade sudo to version 1.8.15
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 5005
diff changeset
    21
 		AC_CHECK_FUNCS([priv_set], [PSMAN=1])
5005
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
 		;;