components/sudo/patches/05-normalize-man-pages.patch
author Tomas Kuthan <tomas.kuthan@oracle.com>
Wed, 20 Apr 2016 14:58:30 -0700
changeset 5823 d41c1305c674
parent 5497 862a4276da0f
child 7301 0853d00f0cd4
permissions -rw-r--r--
22931214 upgrade OpenSSH to 7.2p2 (fix mirror)

In Solaris 12, we will be normalizing man pages. See PSARC 2015/428.
This means that what was section 1m, is now section 8 and what was
section 4 is now section 5. But currently only for Solaris 12.

This patch should eventually be sent upstream, but for that to happen
it will need to be reworked into a form that will be acceptable for
all versions of Solaris. Until then, we are just using this Solaris 12
specific patch.

--- sudo-1.8.15/configure.ac.orig	Wed Feb 17 02:36:28 2016
+++ sudo-1.8.15/configure.ac	Wed Feb 17 02:36:50 2016
@@ -1699,8 +1699,8 @@
 		if test "$with_AFS" = "yes"; then
 		    AFS_LIBS="-lc -lucb"
 		fi
-		: ${mansectsu='1m'}
-		: ${mansectform='4'}
+		: ${mansectsu='8'}
+		: ${mansectform='5'}
 		test -z "$with_pam" && AUTH_EXCL_DEF="PAM"
 		AC_CHECK_FUNCS([priv_set], [PSMAN=1])
 		;;