[Midnightbsd-cvs] mports [23790] trunk/security/sudo: update sudo to 1.8.23
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Aug 19 14:10:00 EDT 2018
Revision: 23790
http://svnweb.midnightbsd.org/mports/?rev=23790
Author: laffer1
Date: 2018-08-19 14:10:00 -0400 (Sun, 19 Aug 2018)
Log Message:
-----------
update sudo to 1.8.23
Modified Paths:
--------------
trunk/security/sudo/Makefile
trunk/security/sudo/distinfo
trunk/security/sudo/files/pam.conf
trunk/security/sudo/files/patch-install-sh
trunk/security/sudo/files/patch-plugins__sudoers__sudoers.in
trunk/security/sudo/pkg-plist
Removed Paths:
-------------
trunk/security/sudo/files/patch-plugins__sudoers__Makefile.in
trunk/security/sudo/files/patch-plugins__sudoers__audit.c
Modified: trunk/security/sudo/Makefile
===================================================================
--- trunk/security/sudo/Makefile 2018-08-19 18:04:08 UTC (rev 23789)
+++ trunk/security/sudo/Makefile 2018-08-19 18:10:00 UTC (rev 23790)
@@ -1,7 +1,7 @@
# $MidnightBSD$
PORTNAME= sudo
-DISTVERSION= 1.8.14p3
+DISTVERSION= 1.8.23
CATEGORIES= security
MASTER_SITES= SUDO
@@ -25,7 +25,8 @@
--with-tty-tickets \
--with-env-editor \
--with-logincap \
- --with-long-otp-prompt
+ --with-long-otp-prompt \
+ --with-rundir=/var/run/sudo
OPTIONS_DEFINE= LDAP INSULTS DISABLE_ROOT_SUDO DISABLE_AUTH NOARGS_SHELL \
AUDIT OPIE NLS SSSD DOCS
Modified: trunk/security/sudo/distinfo
===================================================================
--- trunk/security/sudo/distinfo 2018-08-19 18:04:08 UTC (rev 23789)
+++ trunk/security/sudo/distinfo 2018-08-19 18:10:00 UTC (rev 23790)
@@ -1,2 +1,3 @@
-SHA256 (sudo-1.8.14p3.tar.gz) = a8a697cbb113859058944850d098464618254804cf97961dee926429f00a1237
-SIZE (sudo-1.8.14p3.tar.gz) = 2570892
+TIMESTAMP = 1525265231
+SHA256 (sudo-1.8.23.tar.gz) = d863d29b6fc87bc784a3223350e2b28a2ff2c4738f0fb8f1c92bb38c3017e679
+SIZE (sudo-1.8.23.tar.gz) = 3150674
Modified: trunk/security/sudo/files/pam.conf
===================================================================
--- trunk/security/sudo/files/pam.conf 2018-08-19 18:04:08 UTC (rev 23789)
+++ trunk/security/sudo/files/pam.conf 2018-08-19 18:10:00 UTC (rev 23790)
@@ -1,5 +1,5 @@
#
-# $MidnightBSD$
+# $FreeBSD: head/security/sudo/files/pam.conf 340872 2014-01-24 00:14:07Z mat $
#
# PAM configuration for the "sudo" service
#
Modified: trunk/security/sudo/files/patch-install-sh
===================================================================
--- trunk/security/sudo/files/patch-install-sh 2018-08-19 18:04:08 UTC (rev 23789)
+++ trunk/security/sudo/files/patch-install-sh 2018-08-19 18:10:00 UTC (rev 23790)
@@ -1,4 +1,4 @@
---- install-sh.orig 2015-07-15 18:38:05 UTC
+--- install-sh.orig 2017-01-14 04:30:15 UTC
+++ install-sh
@@ -171,12 +171,6 @@ if ${DIRMODE} ; then
if [ ! -d "${DEST}" ] ; then
@@ -13,16 +13,16 @@
if ${CHMODIT} ; then
${CHMOD} "${MODE}" "${DEST}" || exit 1
fi
-@@ -227,12 +221,6 @@ fi
+@@ -226,12 +220,6 @@ fi
+ ## Strip and set the owner/mode.
if ${STRIPIT} ; then
${STRIP} "${DEST}" || exit 1
- fi
+-fi
-if ${CHOWNIT} ; then
- ${CHOWN} "${OWNER}" "${DEST}" || exit 1
-fi
-if ${CHGROUPIT} ; then
- ${CHGRP} "${GROUP}" "${DEST}" || exit 1
--fi
+ fi
if ${CHMODIT} ; then
${CHMOD} "${MODE}" "${DEST}" || exit 1
- fi
Deleted: trunk/security/sudo/files/patch-plugins__sudoers__Makefile.in
===================================================================
--- trunk/security/sudo/files/patch-plugins__sudoers__Makefile.in 2018-08-19 18:04:08 UTC (rev 23789)
+++ trunk/security/sudo/files/patch-plugins__sudoers__Makefile.in 2018-08-19 18:10:00 UTC (rev 23790)
@@ -1,12 +0,0 @@
---- plugins/sudoers/Makefile.in.orig 2015-07-15 18:44:07 UTC
-+++ plugins/sudoers/Makefile.in
-@@ -336,8 +336,7 @@ install-plugin: sudoers.la install-dirs
-
- install-sudoers: install-dirs
- $(INSTALL) -d $(INSTALL_OWNER) -m 0750 $(DESTDIR)$(sudoersdir)/sudoers.d
-- test -r $(DESTDIR)$(sudoersdir)/sudoers || \
-- $(INSTALL) $(INSTALL_OWNER) -m $(sudoers_mode) sudoers $(DESTDIR)$(sudoersdir)/sudoers
-+ $(INSTALL) $(INSTALL_OWNER) -m $(sudoers_mode) sudoers $(DESTDIR)$(sudoersdir)/sudoers
-
- uninstall:
- -$(LIBTOOL) $(LTFLAGS) --mode=uninstall rm -f $(DESTDIR)$(plugindir)/sudoers.la
Deleted: trunk/security/sudo/files/patch-plugins__sudoers__audit.c
===================================================================
--- trunk/security/sudo/files/patch-plugins__sudoers__audit.c 2018-08-19 18:04:08 UTC (rev 23789)
+++ trunk/security/sudo/files/patch-plugins__sudoers__audit.c 2018-08-19 18:10:00 UTC (rev 23790)
@@ -1,10 +0,0 @@
---- plugins/sudoers/audit.c.orig 2015-07-15 18:44:07 UTC
-+++ plugins/sudoers/audit.c
-@@ -24,6 +24,7 @@
-
- #ifdef HAVE_BSM_AUDIT
- # include "bsm_audit.h"
-+# include "sudo_gettext.h"
- #endif
- #ifdef HAVE_LINUX_AUDIT
- # include "linux_audit.h"
Modified: trunk/security/sudo/files/patch-plugins__sudoers__sudoers.in
===================================================================
--- trunk/security/sudo/files/patch-plugins__sudoers__sudoers.in 2018-08-19 18:04:08 UTC (rev 23789)
+++ trunk/security/sudo/files/patch-plugins__sudoers__sudoers.in 2018-08-19 18:10:00 UTC (rev 23790)
@@ -1,4 +1,4 @@
---- plugins/sudoers/sudoers.in.orig 2015-07-15 18:44:07 UTC
+--- plugins/sudoers/sudoers.in.orig 2018-01-15 17:30:32 UTC
+++ plugins/sudoers/sudoers.in
@@ -32,6 +32,14 @@
##
@@ -5,8 +5,8 @@
## Defaults specification
##
+## Uncomment if needed to preserve environmental variables related to the
-+## FreeBSD pkg_* utilities and fetch.
-+# Defaults env_keep += "PKG_PATH PKG_DBDIR PKG_TMPDIR TMPDIR PACKAGEROOT PACKAGESITE PKGDIR FTP_PASSIVE_MODE"
++## FreeBSD pkg utility and fetch.
++# Defaults env_keep += "PKG_CACHEDIR PKG_DBDIR FTP_PASSIVE_MODE"
+##
+## Additionally uncomment if needed to preserve environmental variables
+## related to portupgrade
@@ -15,3 +15,13 @@
## You may wish to keep some of the following environment variables
## when running commands via sudo.
##
+@@ -91,6 +99,9 @@ root ALL=(ALL) ALL
+ ## of the user they are running the command as (root by default).
+ # Defaults targetpw # Ask for the password of the target user
+ # ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw'
++
++## Uncomment to show on password prompt which users' password is being expected
++# Defaults passprompt="%p's password:"
+
+ ## Read drop-in files from @sysconfdir@/sudoers.d
+ ## (the '#' here does not indicate a comment)
Modified: trunk/security/sudo/pkg-plist
===================================================================
--- trunk/security/sudo/pkg-plist 2018-08-19 18:04:08 UTC (rev 23789)
+++ trunk/security/sudo/pkg-plist 2018-08-19 18:10:00 UTC (rev 23790)
@@ -1,10 +1,9 @@
+bin/cvtsudoers
bin/sudo
bin/sudoedit
bin/sudoreplay
- at sample etc/sudoers.sample
- at unexec if cmp -s %D/etc/pam.d/sudo.default %D/etc/pam.d/sudo; then rm -f %D/etc/pam.d/sudo ; fi
-etc/pam.d/sudo.default
- at exec if [ ! -f %D/etc/pam.d/sudo ] ; then cp -p %D/%F %B/sudo; fi
+ at sample etc/sudoers.dist etc/sudoers
+ at sample etc/pam.d/sudo.default etc/pam.d/sudo
include/sudo_plugin.h
libexec/sudo/group_file.so
libexec/sudo/libsudo_util.so
@@ -13,8 +12,10 @@
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/sudoers.5.gz
+man/man5/sudoers_timestamp.5.gz
%%LDAP%%man/man5/sudoers.ldap.5.gz
man/man8/sudo.8.gz
man/man8/sudo_plugin.8.gz
@@ -22,7 +23,6 @@
man/man8/sudoreplay.8.gz
man/man8/visudo.8.gz
sbin/visudo
-%%LDAP%%bin/sudoers2ldif
%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/HISTORY
@@ -57,18 +57,25 @@
%%NLS%%share/locale/fi/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/fr/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/fr/LC_MESSAGES/sudoers.mo
+%%NLS%%share/locale/fur/LC_MESSAGES/sudo.mo
+%%NLS%%share/locale/fur/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/gl/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/hr/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/hr/LC_MESSAGES/sudoers.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/sudo.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/it/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/it/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/ja/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/ja/LC_MESSAGES/sudoers.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/sudo.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/lt/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/nb/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/nb/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/nl/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/nl/LC_MESSAGES/sudoers.mo
+%%NLS%%share/locale/nn/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/pl/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/pl/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/sudo.mo
@@ -75,6 +82,8 @@
%%NLS%%share/locale/pt_BR/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/ru/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/ru/LC_MESSAGES/sudoers.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/sudo.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/sl/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/sl/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/sr/LC_MESSAGES/sudo.mo
@@ -89,7 +98,8 @@
%%NLS%%share/locale/vi/LC_MESSAGES/sudoers.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/sudo.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/sudoers.mo
-etc/sudoers.d/.keep-me
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/sudo.mo
+ at dir etc/sudoers.d
@dir /var/db/sudo/lectured
@dir /var/db/sudo
@dir /var/run/sudo
More information about the Midnightbsd-cvs
mailing list