components/sudo/patches/05-normalize-man-pages.patch
author Rich Burridge <rich.burridge@oracle.com>
Mon, 07 Dec 2015 16:17:05 -0800
changeset 5166 29635ee48caa
parent 5005 634e69f7ae42
child 5497 862a4276da0f
permissions -rw-r--r--
17458457 Several ncurses man pages are delivered in the wrong location
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
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
--- sudo-1.8.9p5/configure.ac.orig	2015-10-20 07:25:44.363830767 -0700
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
+++ sudo-1.8.9p5/configure.ac	2015-10-20 07:26:11.354071075 -0700
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
@@ -1640,8 +1640,8 @@
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"
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    21
 		AC_CHECK_FUNCS(priv_set, [PSMAN=1])
634e69f7ae42 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
 		;;