sudo: upgrade to version 1.8.14p3
authorGergely Kiss <mail.gery@gmail.com>
Sun, 30 Aug 2015 17:00:08 +0000 (19:00 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 17 Sep 2015 14:47:09 +0000 (16:47 +0200)
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
admin/sudo/Makefile
admin/sudo/patches/030-musl-fix-missing-header.patch [new file with mode: 0644]

index 282db1a10982de9b285cb3ea40f235a26eb3155b..3f2d6f81aeee0466dc2570bcf3f430345156ab7b 100644 (file)
@@ -8,14 +8,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=sudo
-PKG_VERSION:=1.8.13
-PKG_RELEASE:=2
+PKG_VERSION:=1.8.14p3
+PKG_RELEASE:=1
 PKG_LICENSE:=ISC
 PKG_LICENSE_FILES:=doc/LICENSE
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://www.sudo.ws/sudo/dist
-PKG_MD5SUM:=f61577ec330ad1bd504c0e2eec6ea2d8
+PKG_SOURCE_URL:=http://www.sudo.ws/dist
+PKG_MD5SUM:=93dbd1e47c136179ff1b01494c1c0e75
 
 PKG_INSTALL:=1
 
diff --git a/admin/sudo/patches/030-musl-fix-missing-header.patch b/admin/sudo/patches/030-musl-fix-missing-header.patch
new file mode 100644 (file)
index 0000000..efb7d87
--- /dev/null
@@ -0,0 +1,12 @@
+diff -rupN sudo-1.8.14p3.orig/include/sudo_util.h sudo-1.8.14p3/include/sudo_util.h
+--- sudo-1.8.14p3.orig/include/sudo_util.h     2015-07-22 14:22:49.000000000 +0200
++++ sudo-1.8.14p3/include/sudo_util.h  2015-08-30 18:41:24.509814946 +0200
+@@ -23,6 +23,8 @@
+ # include "compat/stdbool.h"
+ #endif /* HAVE_STDBOOL_H */
++#include <sys/types.h>
++
+ /*
+  * Macros for operating on struct timeval.
+  */