Date: Tue, 29 Aug 2017 10:30:33 +0000 (UTC) From: Renato Botelho <garga@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r448901 - in head/security/sudo: . files Message-ID: <201708291030.v7TAUXrN070056@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: garga Date: Tue Aug 29 10:30:33 2017 New Revision: 448901 URL: https://svnweb.freebsd.org/changeset/ports/448901 Log: - Update security/sudo to 1.8.21 PR: 221874 Submitted by: Yasuhiro KIMURA <yasu@utahime.org> bdrewery (SIGINFO fix) Sponsored by: Rubicon Communications, LLC (Netgate) Modified: head/security/sudo/Makefile head/security/sudo/distinfo head/security/sudo/files/patch-src_exec__nopty.c head/security/sudo/pkg-plist Modified: head/security/sudo/Makefile ============================================================================== --- head/security/sudo/Makefile Tue Aug 29 10:28:45 2017 (r448900) +++ head/security/sudo/Makefile Tue Aug 29 10:30:33 2017 (r448901) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= sudo -PORTVERSION= 1.8.20p2 -PORTREVISION= 3 +PORTVERSION= 1.8.21 CATEGORIES= security MASTER_SITES= SUDO Modified: head/security/sudo/distinfo ============================================================================== --- head/security/sudo/distinfo Tue Aug 29 10:28:45 2017 (r448900) +++ head/security/sudo/distinfo Tue Aug 29 10:30:33 2017 (r448901) @@ -1,3 +1,3 @@ -TIMESTAMP = 1497103724 -SHA256 (sudo-1.8.20p2.tar.gz) = bd42ae1059e935f795c69ea97b3de09fe9410a58a74b5d5e6836eb5067a445d9 -SIZE (sudo-1.8.20p2.tar.gz) = 2930769 +TIMESTAMP = 1503887359 +SHA256 (sudo-1.8.21.tar.gz) = 126e9214613e842e19a02658f060186fe6a5927948679d64895b17ed933bb523 +SIZE (sudo-1.8.21.tar.gz) = 2973939 Modified: head/security/sudo/files/patch-src_exec__nopty.c ============================================================================== --- head/security/sudo/files/patch-src_exec__nopty.c Tue Aug 29 10:28:45 2017 (r448900) +++ head/security/sudo/files/patch-src_exec__nopty.c Tue Aug 29 10:30:33 2017 (r448901) @@ -1,26 +1,17 @@ ---- src/exec_nopty.c.orig 2017-08-09 17:20:41 UTC -+++ src/exec_nopty.c -@@ -201,7 +201,7 @@ exec_nopty(struct command_details *details, struct com - sudo_warn(U_("unable to set handler for signal %d"), SIGCHLD); - if (sudo_sigaction(SIGCONT, &sa, NULL) != 0) - sudo_warn(U_("unable to set handler for signal %d"), SIGCONT); --#ifdef SIGINFO -+#if defined(SIGINFO) && !defined(__FreeBSD__) - if (sudo_sigaction(SIGINFO, &sa, NULL) != 0) - sudo_warn(U_("unable to set handler for signal %d"), SIGINFO); - #endif -@@ -222,6 +222,14 @@ exec_nopty(struct command_details *details, struct com - sudo_warn(U_("unable to set handler for signal %d"), SIGQUIT); - if (sudo_sigaction(SIGTSTP, &sa, NULL) != 0) - sudo_warn(U_("unable to set handler for signal %d"), SIGTSTP); +--- src/exec_nopty.c.orig 2017-08-28 20:07:24.296708000 -0700 ++++ src/exec_nopty.c 2017-08-28 20:17:50.768102000 -0700 +@@ -134,6 +134,14 @@ signal_cb_nopty(int signo, int what, void *v) + sudo_ev_loopexit(ec->evbase); + } + debug_return; +#if defined(SIGINFO) && defined(__FreeBSD__) + /* -+ * FreeBSD's ^T will generate a SIGINFO to the controlling terminal's -+ * process group. ++ * FreeBSD's ^T (terminal STATUS) will send a kernel-generated SIGINFO ++ * to the controlling terminal's process group that should not be ++ * forwarded. + */ -+ if (sudo_sigaction(SIGINFO, &sa, NULL) != 0) -+ sudo_warn(U_("unable to set handler for signal %d"), SIGINFO); ++ case SIGINFO: +#endif - - /* - * The policy plugin's session init must be run before we fork + case SIGINT: + case SIGQUIT: + case SIGTSTP: Modified: head/security/sudo/pkg-plist ============================================================================== --- head/security/sudo/pkg-plist Tue Aug 29 10:28:45 2017 (r448900) +++ head/security/sudo/pkg-plist Tue Aug 29 10:30:33 2017 (r448901) @@ -55,6 +55,7 @@ sbin/visudo %%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/gl/LC_MESSAGES/sudo.mo %%NLS%%share/locale/hr/LC_MESSAGES/sudo.mo %%NLS%%share/locale/hr/LC_MESSAGES/sudoers.mo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708291030.v7TAUXrN070056>