summaryrefslogtreecommitdiff
path: root/security/sudo/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-08-14 13:18:37 +0000
committeradam <adam@pkgsrc.org>2018-08-14 13:18:37 +0000
commit88f486fefe3ae0fd24656b9cc100758d776f19b2 (patch)
tree9e558dc8f638aa07822b21548871c566a0ceb67d /security/sudo/Makefile
parent5b4dcd8592df2ec9e42653a9c5ad643be11539ce (diff)
downloadpkgsrc-88f486fefe3ae0fd24656b9cc100758d776f19b2.tar.gz
sudo: updated to 1.8.23
Sudo 1.8.23 * PAM account management modules and BSD auto approval modules are now run even when no password is required. * For kernel-based time stamps, if no terminal is present, fall back to parent-pid style time stamps. * The new cvtsudoers utility replaces both the "sudoers2ldif" script and the "visudo -x" functionality. It can read a file in either sudoers or LDIF format and produce JSON, LDIF or sudoers output. It is also possible to filter the generated output file by user, group or host name. * The file, ldap and sss sudoers backends now share a common set of formatting functions for "sudo -l" output, which is also used by the cvtsudoers utility. * The /run directory is now used in preference to /var/run if it exists. * More accurate descriptions of the --with-rundir and --with-vardir configure options. * The setpassent() and setgroupent() functions are now used on systems that support them to keep the passwd and group database open. Sudo performs a lot of passwd and group lookups so it can be beneficial to avoid opening and closing the files each time. * The new case_insensitive_user and case_insensitive_group sudoers options can be used to control whether sudo does case-sensitive matching of users and groups in sudoers. Case insensitive matching is now the default. * Fixed a bug on some systems where sudo could hang on command exit when I/O logging was enabled. * Fixed the build-time process start time test on Linux when the test is run from within a container. * When determining which temporary directory to use, sudoedit now checks the directory for writability before using it. Previously, sudoedit only performed an existence check. * Sudo now includes an optional set of Monty Python-inspired insults. * Fixed the execution of scripts with an associated digest (checksum) in sudoers on FreeBSD systems. FreeBSD does not have a proper /dev/fd directory mounted by default and its fexecve(2) is not fully POSIX compliant when executing scripts. * Chinese (Taiwan) translation for sudo from translationproject.org.
Diffstat (limited to 'security/sudo/Makefile')
-rw-r--r--security/sudo/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 84607566f64..a45cca7c8c5 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.160 2018/05/02 21:21:10 wiz Exp $
+# $NetBSD: Makefile,v 1.161 2018/08/14 13:18:37 adam Exp $
-DISTNAME= sudo-1.8.22
-PKGREVISION= 1
+DISTNAME= sudo-1.8.23
CATEGORIES= security
MASTER_SITES= https://www.sudo.ws/dist/
MASTER_SITES+= ftp://ftp.sudo.ws/pub/sudo/
@@ -29,9 +28,11 @@ CONFIGURE_ARGS+= --with-logpath=${VARBASE}/log/sudo.log
CONFIGURE_ENV+= NROFFPROG=${CAT:Q}
CONFIGURE_ENV+= mansectsu=8
CONFIGURE_ENV+= mansectform=5
+TEST_TARGET= check
.include "../../mk/bsd.prefs.mk"
+PLIST_VARS+= noexec
.if ${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --with-noexec=no
CONFIGURE_ENV+= ax_cv_check_cflags___static_libgcc=no
@@ -46,13 +47,10 @@ CFLAGS+= -D_OPENBSD_SOURCE=1
CFLAGS+= -D_INCOMPLETE_XOPEN_C063=1
.endif
-TEST_TARGET= check
-
.include "options.mk"
OWN_DIRS+= ${VARBASE}/run
BUILD_DEFS+= VARBASE
-PLIST_VARS+= ldap nls noexec
DOCDIR= share/doc/${PKGBASE}
EGDIR= share/examples/${PKGBASE}