aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2024-01-15 21:24:40 +0000
committerRenato Botelho <garga@FreeBSD.org>2024-01-15 21:37:36 +0000
commit9385a693ebaea36dbb1816deb9263dac3385e186 (patch)
tree9592f41f6e590fd91a955fd868d6b248471c92a4
parent052d7090f40f43fe885603dd5eea12157992c5ff (diff)
downloadports-9385a693ebaea36dbb1816deb9263dac3385e186.tar.gz
ports-9385a693ebaea36dbb1816deb9263dac3385e186.zip
security/sudo: Move manpages to ${PREFIX}/share
Sponsored by: Rubicon Communications, LLC ("Netgate")
-rw-r--r--security/sudo/Makefile6
-rw-r--r--security/sudo/pkg-plist30
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