diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/sudo/Makefile | 5 | ||||
-rw-r--r-- | package/sudo/patches/patch-plugins_sudoers_match_c | 54 |
2 files changed, 3 insertions, 56 deletions
diff --git a/package/sudo/Makefile b/package/sudo/Makefile index c472268a5..1e022d0dc 100644 --- a/package/sudo/Makefile +++ b/package/sudo/Makefile @@ -4,11 +4,12 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= sudo -PKG_VERSION:= 1.8.15 +PKG_VERSION:= 1.8.19p1 PKG_RELEASE:= 1 -PKG_HASH:= 4316381708324da8b6cb151f655c1a11855207c7c02244d8ffdea5104d7cc308 +PKG_HASH:= b8afb1cf8736b6c61f171f2bf4b174818d9e00e92ef73da55fabcd01286ffc92 PKG_DESCR:= su do PKG_SECTION:= sys/misc +PKG_NEEDS:= mmu PKG_URL:= http://www.sudo.ws/sudo/ PKG_SITES:= http://www.sudo.ws/sudo/dist/ diff --git a/package/sudo/patches/patch-plugins_sudoers_match_c b/package/sudo/patches/patch-plugins_sudoers_match_c deleted file mode 100644 index 01e2ef79a..000000000 --- a/package/sudo/patches/patch-plugins_sudoers_match_c +++ /dev/null @@ -1,54 +0,0 @@ ---- sudo-1.8.15.orig/plugins/sudoers/match.c 2015-11-01 00:35:25.000000000 +0100 -+++ sudo-1.8.15/plugins/sudoers/match.c 2015-11-03 16:24:34.000000000 +0100 -@@ -105,10 +105,12 @@ userlist_matches(const struct passwd *pw - case ALL: - matched = !m->negated; - break; -+#if 0 - case NETGROUP: - if (netgr_matches(m->name, NULL, NULL, pw->pw_name)) - matched = !m->negated; - break; -+#endif - case USERGROUP: - if (usergr_matches(m->name, pw->pw_name, pw)) - matched = !m->negated; -@@ -161,10 +163,12 @@ runaslist_matches(const struct member_li - case ALL: - user_matched = !m->negated; - break; -+#if 0 - case NETGROUP: - if (netgr_matches(m->name, NULL, NULL, runas_pw->pw_name)) - user_matched = !m->negated; - break; -+#endif - case USERGROUP: - if (usergr_matches(m->name, runas_pw->pw_name, runas_pw)) - user_matched = !m->negated; -@@ -261,10 +265,12 @@ hostlist_matches(const struct member_lis - case ALL: - matched = !m->negated; - break; -+#if 0 - case NETGROUP: - if (netgr_matches(m->name, user_runhost, user_srunhost, NULL)) - matched = !m->negated; - break; -+#endif - case NTWKADDR: - if (addr_matches(m->name)) - matched = !m->negated; -@@ -962,6 +968,7 @@ sudo_getdomainname(void) - * else return false. Either of "lhost", "shost" or "user" may be NULL - * in which case that argument is not checked... - */ -+#if 0 - bool - netgr_matches(const char *netgr, const char *lhost, const char *shost, const char *user) - { -@@ -1000,3 +1007,4 @@ netgr_matches(const char *netgr, const c - - debug_return_bool(rc); - } -+#endif |