pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/sudo sudo: updated to 1.8.29



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a4bdda40907f
branches:  trunk
changeset: 406170:a4bdda40907f
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Dec 15 18:42:09 2019 +0000

description:
sudo: updated to 1.8.29

Major changes between version 1.8.29 and 1.8.28p1:

The cvtsudoers command will now reject non-LDIF input when converting from LDIF format to sudoers or JSON formats.
The new log_allowed and log_denied sudoers settings make it possible to disable logging and auditing of allowed and/or denied commands.
The umask is now handled differently on systems with PAM or login.conf. If the umask is explicitly set in sudoers, that value is used regardless of what PAM or login.conf may specify. However, if the 
umask is not explicitly set in sudoers, PAM or login.conf may now override the default sudoers umask.
For make install, the sudoers file is no longer checked for syntax errors when DESTDIR is set. The default sudoers file includes the contents of /etc/sudoers.d which may not be readable as non-root.
Sudo now sets most resource limits to their maximum value to avoid problems caused by insufficient resources, such as an inability to allocate memory or open files and pipes.
Fixed a regression introduced in sudo 1.8.28 where sudo would refuse to run if the parent process was not associated with a session. This was due to sudo passing a session ID of -1 to the plugin.

diffstat:

 security/sudo/Makefile                                  |   5 ++---
 security/sudo/distinfo                                  |  14 +++++++-------
 security/sudo/patches/patch-plugins_sudoers_Makefile.in |  10 +++++-----
 security/sudo/patches/patch-plugins_sudoers_starttime.c |  10 +++++-----
 4 files changed, 19 insertions(+), 20 deletions(-)

diffs (84 lines):

diff -r aadd87159f41 -r a4bdda40907f security/sudo/Makefile
--- a/security/sudo/Makefile    Sun Dec 15 18:35:49 2019 +0000
+++ b/security/sudo/Makefile    Sun Dec 15 18:42:09 2019 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.170 2019/10/31 14:43:13 triaxx Exp $
+# $NetBSD: Makefile,v 1.171 2019/12/15 18:42:09 adam Exp $
 
-DISTNAME=      sudo-1.8.28
-PKGREVISION=   2
+DISTNAME=      sudo-1.8.29
 CATEGORIES=    security
 MASTER_SITES=  https://www.sudo.ws/dist/
 MASTER_SITES+= ftp://ftp.sudo.ws/pub/sudo/
diff -r aadd87159f41 -r a4bdda40907f security/sudo/distinfo
--- a/security/sudo/distinfo    Sun Dec 15 18:35:49 2019 +0000
+++ b/security/sudo/distinfo    Sun Dec 15 18:42:09 2019 +0000
@@ -1,16 +1,16 @@
-$NetBSD: distinfo,v 1.103 2019/10/16 20:25:21 maya Exp $
+$NetBSD: distinfo,v 1.104 2019/12/15 18:42:10 adam Exp $
 
-SHA1 (sudo-1.8.28.tar.gz) = c0a6ccb124b4cef58255ee9ca3179c52db07910b
-RMD160 (sudo-1.8.28.tar.gz) = 5104faf846b59a0c04045e2f464ffeae3ddf95c2
-SHA512 (sudo-1.8.28.tar.gz) = 09e589cdfd18d7c43b0859a0e11c008b3cb995ae4f8c89c717c5242db9e5696361eb574ebe74a0b5316afffb3a8037f7a7f3c249176e8ed9caffeb4cd860ddc7
-Size (sudo-1.8.28.tar.gz) = 3309744 bytes
+SHA1 (sudo-1.8.29.tar.gz) = fdce342856f1803478eb549479190370001dca95
+RMD160 (sudo-1.8.29.tar.gz) = 706c7c8ec2a90b2e464e138384335b7de91d1c25
+SHA512 (sudo-1.8.29.tar.gz) = ea780922b2afb47df4df4b533fb355fd916cb18a6bfd13c7ca36a25b03ef585d805648c6fa85692bea363b1f83664ac3bc622f99bcd149b3a86f70522eb4d340
+Size (sudo-1.8.29.tar.gz) = 3338260 bytes
 SHA1 (patch-Makefile.in) = 279c7ad0f7f85ea7bc2d4beb5aa21abdf6237a7c
 SHA1 (patch-configure) = 460b9575346c263b944535aa8e2408e959840c77
 SHA1 (patch-include_sudo__compat.h) = 4f9b021ebdd507949f13e289deabdb6090ab334c
 SHA1 (patch-include_sudo__event.h) = 4d0787a45c2c7d4a7d3ae3111ccb3a4a4b84d083
 SHA1 (patch-lib_util_sig2str.c) = e5636d9e414fc9354cd238751fa4a00026320dd3
 SHA1 (patch-lib_util_str2sig.c) = e04aa67cab901e1be10d59bd1b0ee740aa1295b8
-SHA1 (patch-plugins_sudoers_Makefile.in) = d8612ac7bf2f5a892d9720c4df91810ca807f4ed
+SHA1 (patch-plugins_sudoers_Makefile.in) = 46bbee9c51664357099dc6d6871341de3e3fcc6f
 SHA1 (patch-plugins_sudoers_logging.c) = 700ac9540a82bea4f3106cea941b785e5bd31203
-SHA1 (patch-plugins_sudoers_starttime.c) = ab051d327a2b01736ab9ceefe7e6f03e0e2f1ee6
+SHA1 (patch-plugins_sudoers_starttime.c) = acec2f8a96041381582acff4928233568411f2c6
 SHA1 (patch-src_Makefile.in) = cc6398a810dc394d8e4b50f2b2412cda839c0ca9
diff -r aadd87159f41 -r a4bdda40907f security/sudo/patches/patch-plugins_sudoers_Makefile.in
--- a/security/sudo/patches/patch-plugins_sudoers_Makefile.in   Sun Dec 15 18:35:49 2019 +0000
+++ b/security/sudo/patches/patch-plugins_sudoers_Makefile.in   Sun Dec 15 18:42:09 2019 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-plugins_sudoers_Makefile.in,v 1.1 2016/01/01 17:00:49 spz Exp $
+$NetBSD: patch-plugins_sudoers_Makefile.in,v 1.2 2019/12/15 18:42:10 adam Exp $
 
-* don't install the sudoers file to etc
+Do not install the sudoers file to etc.
 
---- plugins/sudoers/Makefile.in.orig   2015-10-31 23:35:25.000000000 +0000
+--- plugins/sudoers/Makefile.in.orig   2019-10-28 12:28:53.000000000 +0000
 +++ plugins/sudoers/Makefile.in
-@@ -305,7 +305,7 @@ pre-install:
-           ./visudo -c -f $(DESTDIR)$(sudoersdir)/sudoers; \
+@@ -394,7 +394,7 @@ pre-install:
+           ./visudo -c -f $(sudoersdir)/sudoers; \
        fi
  
 -install: install-plugin install-binaries install-sudoers install-doc
diff -r aadd87159f41 -r a4bdda40907f security/sudo/patches/patch-plugins_sudoers_starttime.c
--- a/security/sudo/patches/patch-plugins_sudoers_starttime.c   Sun Dec 15 18:35:49 2019 +0000
+++ b/security/sudo/patches/patch-plugins_sudoers_starttime.c   Sun Dec 15 18:42:09 2019 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-plugins_sudoers_starttime.c,v 1.1 2018/08/14 13:18:38 adam Exp $
+$NetBSD: patch-plugins_sudoers_starttime.c,v 1.2 2019/12/15 18:42:10 adam Exp $
 
-Fix typo.
+Fix a typo.
 
---- plugins/sudoers/starttime.c.orig   2018-08-14 13:09:35.389271668 +0000
+--- plugins/sudoers/starttime.c.orig   2019-10-28 12:28:52.000000000 +0000
 +++ plugins/sudoers/starttime.c
-@@ -24,7 +24,7 @@
+@@ -31,7 +31,7 @@
  
  #include <sys/types.h>
  #include <sys/stat.h>
@@ -12,4 +12,4 @@
 +#if defined(HAVE_KINFO_PROC_44BSD) || defined (HAVE_KINFO_PROC_OPENBSD) || defined(HAVE_KINFO_PROC2_NETBSD)
  # include <sys/sysctl.h>
  #elif defined(HAVE_KINFO_PROC_FREEBSD)
- # include <sys/sysctl.h>
+ # include <sys/param.h>



Home | Main Index | Thread Index | Old Index