FreeBSD Bugzilla – Attachment 185858 Details for
Bug 221874
security/sudo: Update to 1.8.21.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
updated patch file
patch-security_sudo (text/plain), 3.06 KB, created by
Yasuhiro Kimura
on 2017-08-29 06:43:27 UTC
(
hide
)
Description:
updated patch file
Filename:
MIME Type:
Creator:
Yasuhiro Kimura
Created:
2017-08-29 06:43:27 UTC
Size:
3.06 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 448887) >+++ Makefile (working copy) >@@ -2,8 +2,7 @@ > # $FreeBSD$ > > PORTNAME= sudo >-PORTVERSION= 1.8.20p2 >-PORTREVISION= 3 >+PORTVERSION= 1.8.21 > CATEGORIES= security > MASTER_SITES= SUDO > >Index: distinfo >=================================================================== >--- distinfo (revision 448887) >+++ distinfo (working copy) >@@ -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 >Index: files/patch-src_exec__nopty.c >=================================================================== >--- files/patch-src_exec__nopty.c (revision 448887) >+++ files/patch-src_exec__nopty.c (working copy) >@@ -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: >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 448887) >+++ pkg-plist (working copy) >@@ -55,6 +55,7 @@ > %%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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 221874
:
185835
| 185858