diff options
| author | Peter Korsgaard <peter@korsgaard.com> | 2015-02-03 14:52:07 +0100 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2015-02-03 14:52:56 +0100 |
| commit | 298cd8eaa21a21eee85f9551a26ad294347b1d5a (patch) | |
| tree | 249fa33b66f65e6daffdbfc8ca2e5399e8d89e61 /package/sudo/0001-no-netgroup.patch | |
| parent | dd798a45c571063595c45278e28ed4f614f2cf32 (diff) | |
| download | buildroot-298cd8eaa21a21eee85f9551a26ad294347b1d5a.tar.gz buildroot-298cd8eaa21a21eee85f9551a26ad294347b1d5a.zip | |
package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345)
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/sudo/0001-no-netgroup.patch')
| -rw-r--r-- | package/sudo/0001-no-netgroup.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/package/sudo/0001-no-netgroup.patch b/package/sudo/0001-no-netgroup.patch new file mode 100644 index 0000000000..64b870c67a --- /dev/null +++ b/package/sudo/0001-no-netgroup.patch @@ -0,0 +1,29 @@ +# HG changeset patch +# User Todd C. Miller <Todd.Miller@courtesan.com> +# Date 1406550172 21600 +# Node ID 57deb66ef8ffc0f551d460e15a34f7df78f54d2a +# Parent f547bf80c436c07ddb1c7385d22db96862ae7e4f +Fix compilation on systems w/o netgroups. + +Status: upstream + +Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> + +diff -r f547bf80c436 -r 57deb66ef8ff plugins/sudoers/match.c +--- a/plugins/sudoers/match.c Sat Jul 26 06:07:34 2014 -0600 ++++ b/plugins/sudoers/match.c Mon Jul 28 06:22:52 2014 -0600 +@@ -972,12 +972,12 @@ + rc = true; + else if (lhost != shost && innetgr(netgr, shost, user, domain)) + rc = true; +-#endif /* HAVE_INNETGR */ + + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "netgroup %s matches (%s|%s, %s, %s): %s", netgr, lhost ? lhost : "", + shost ? shost : "", user ? user : "", domain ? domain : "", + rc ? "true" : "false"); ++#endif /* HAVE_INNETGR */ + + debug_return_bool(rc); + } + |

