Subject: CVS commit: pkgsrc/security/sudo
From: Kimmo Suominen
Date: 2019-12-28 21:43:56
Message id: 20191228204357.39C05FA97@cvs.NetBSD.org

Log Message:
Update to sudo 1.8.30beta3

* Portability fixes from pkgsrc have been merged upstream

* Add runas_check_shell flag to require a runas user to have a valid
  shell. Not enabled by default.

* Add a new flag "allow_unknown_runas_id" to control matching of unknown
  IDs. Previous, sudo would always allow unknown user or group IDs if
  the sudoers entry permitted it. This included the "ALL" alias. With
  this change, the admin must explicitly enable support for unknown IDs.

* Transparently handle the "sudo sudoedit" problem. Some admin are
  confused about how to give users sudoedit permission and many users
  try to run sudoedit via sudo instead of directly. If the user runs
  "sudo sudoedit" sudo will now treat it as plain "sudoedit" \ 
after
  issuing a warning. If the admin has specified a fully-qualified path
  for sudoedit in sudoers, sudo will treat it as just "sudoedit" and
  match accordingly. In visudo (but not sudo), a fully-qualified path
  for sudoedit is now treated as an error.

* When restoring old resource limits, try to recover if we receive
  EINVAL. On NetBSD, setrlimit(2) can return EINVAL if the new soft
  limit is lower than the current resource usage. This can be a problem
  when restoring the old stack limit if sudo has raised it.

* Restore resource limits before executing the askpass program. Linux
  with docker seems to have issues executing a program when the stack
  size is unlimited. Bug #908

* macOS does not allow rlim_cur to be set to RLIM_INFINITY for
  RLIMIT_NOFILE. We need to use OPEN_MAX instead as per the macOS
  setrlimit manual. Bug #904

* Use 64-bit resource limits on AIX.

Files:
RevisionActionfile
1.174modifypkgsrc/security/sudo/Makefile
1.107modifypkgsrc/security/sudo/distinfo
1.2modifypkgsrc/security/sudo/patches/patch-Makefile.in
1.2modifypkgsrc/security/sudo/patches/patch-configure
1.3modifypkgsrc/security/sudo/patches/patch-plugins_sudoers_Makefile.in
1.4modifypkgsrc/security/sudo/patches/patch-src_Makefile.in
1.1removepkgsrc/security/sudo/patches/patch-include_sudo__compat.h
1.2removepkgsrc/security/sudo/patches/patch-include_sudo__event.h
1.1removepkgsrc/security/sudo/patches/patch-lib_util_sig2str.c
1.2removepkgsrc/security/sudo/patches/patch-lib_util_str2sig.c
1.2removepkgsrc/security/sudo/patches/patch-plugins_sudoers_logging.c
1.2removepkgsrc/security/sudo/patches/patch-plugins_sudoers_starttime.c
1.1removepkgsrc/security/sudo/patches/patch-plugins_sudoers_sudoers.c
1.2removepkgsrc/security/sudo/patches/patch-src_limits.c