Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2024 21:37:46 GMT
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9385a693ebae - main - security/sudo: Move manpages to ${PREFIX}/share
Message-ID:  <202401152137.40FLbkoY033924@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by garga:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9385a693ebaea36dbb1816deb9263dac3385e186

commit 9385a693ebaea36dbb1816deb9263dac3385e186
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2024-01-15 21:24:40 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2024-01-15 21:37:36 +0000

    security/sudo: Move manpages to ${PREFIX}/share
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 security/sudo/Makefile  |  6 ++++--
 security/sudo/pkg-plist | 30 +++++++++++++++---------------
 2 files changed, 19 insertions(+), 17 deletions(-)

diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 34fb612e5427..332a1b0d7e75 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sudo
 PORTVERSION=	1.9.15p5
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	SUDO
 
@@ -15,8 +16,9 @@ LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 USES=		cpe libtool pkgconfig
 CPE_VENDOR=	todd_miller
 USE_LDCONFIG=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc \
+HAS_CONFIGURE=	yes
+CONFIGURE_ARGS=	--mandir=${PREFIX}/share/man \
+		--sysconfdir=${PREFIX}/etc \
 		--with-env-editor \
 		--with-ignore-dot \
 		--with-logfac=${LOGFAC} \
diff --git a/security/sudo/pkg-plist b/security/sudo/pkg-plist
index 96573715a41b..4c6fc39e60b0 100644
--- a/security/sudo/pkg-plist
+++ b/security/sudo/pkg-plist
@@ -17,21 +17,21 @@ libexec/sudo/sudo_intercept.so
 libexec/sudo/sudo_noexec.so
 libexec/sudo/sudoers.so
 libexec/sudo/system_group.so
-man/man1/cvtsudoers.1.gz
-man/man5/sudo.conf.5.gz
-man/man5/sudo_logsrv.proto.5.gz
-man/man5/sudo_logsrvd.conf.5.gz
-man/man5/sudo_plugin.5.gz
-%%PYTHON%%man/man5/sudo_plugin_python.5.gz
-man/man5/sudoers.5.gz
-man/man5/sudoers_timestamp.5.gz
-%%LDAP%%man/man5/sudoers.ldap.5.gz
-man/man8/sudo.8.gz
-man/man8/sudo_logsrvd.8.gz
-man/man8/sudo_sendlog.8.gz
-man/man8/sudoedit.8.gz
-man/man8/sudoreplay.8.gz
-man/man8/visudo.8.gz
+share/man/man1/cvtsudoers.1.gz
+share/man/man5/sudo.conf.5.gz
+share/man/man5/sudo_logsrv.proto.5.gz
+share/man/man5/sudo_logsrvd.conf.5.gz
+share/man/man5/sudo_plugin.5.gz
+%%PYTHON%%share/man/man5/sudo_plugin_python.5.gz
+share/man/man5/sudoers.5.gz
+share/man/man5/sudoers_timestamp.5.gz
+%%LDAP%%share/man/man5/sudoers.ldap.5.gz
+share/man/man8/sudo.8.gz
+share/man/man8/sudo_logsrvd.8.gz
+share/man/man8/sudo_sendlog.8.gz
+share/man/man8/sudoedit.8.gz
+share/man/man8/sudoreplay.8.gz
+share/man/man8/visudo.8.gz
 sbin/visudo
 sbin/sudo_logsrvd
 sbin/sudo_sendlog



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401152137.40FLbkoY033924>