summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sudo/sudo
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-07-24 15:58:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-27 12:28:00 +0100
commit53caeebc716ae9caf6ca08fd46dc58232571cd38 (patch)
tree586efca2ab475789afc11c963c29c0af4c33beca /meta/recipes-extended/sudo/sudo
parent898fd07d7754f96432338e7a2989b0de17db8be3 (diff)
downloadpoky-53caeebc716ae9caf6ca08fd46dc58232571cd38.tar.gz
sudo: upgrade to 1.8.14p3
The licence checksum is modified according to the change of doc/LICENCE. In specific, file://lib/util/reallocarray.c is added to LIC_FILES_CHECKSUM. Fix out of tree builds, and explicitly enable/disable tmpfiles.d support based on the systemd DISTRO_FEATURE to avoid non-deterministic packaging. Based on a patch by Chen Qi <Qi.Chen@windriver.com> (From OE-Core rev: ef2a842d06b3a9ee6036af06247c7c022f8c720d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sudo/sudo')
-rw-r--r--meta/recipes-extended/sudo/sudo/0001-Use-correct-path-to-init.d-and-tmpfiles.d-files.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-extended/sudo/sudo/0001-Use-correct-path-to-init.d-and-tmpfiles.d-files.patch b/meta/recipes-extended/sudo/sudo/0001-Use-correct-path-to-init.d-and-tmpfiles.d-files.patch
new file mode 100644
index 0000000000..2418689dac
--- /dev/null
+++ b/meta/recipes-extended/sudo/sudo/0001-Use-correct-path-to-init.d-and-tmpfiles.d-files.patch
@@ -0,0 +1,31 @@
1The makefile uses top_srcdir to find files that were created by configure, when
2it should use top_builddir.
3
4Upstream-Status: Submitted (http://bugzilla.sudo.ws/show_bug.cgi?id=708)
5Signed-off-by: Ross Burton <ross.burton@intel.com>
6
7---
8 src/Makefile.in | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
10
11diff --git a/src/Makefile.in b/src/Makefile.in
12index f009e10..7acfb2d 100644
13--- a/src/Makefile.in
14+++ b/src/Makefile.in
15@@ -165,11 +165,11 @@ install-dirs:
16
17 install-rc: install-dirs
18 if [ -n "$(INIT_SCRIPT)" ]; then \
19- $(INSTALL) $(INSTALL_OWNER) -m 0755 $(top_srcdir)/init.d/$(INIT_SCRIPT) $(DESTDIR)$(INIT_DIR)/sudo; \
20+ $(INSTALL) $(INSTALL_OWNER) -m 0755 $(top_builddir)/init.d/$(INIT_SCRIPT) $(DESTDIR)$(INIT_DIR)/sudo; \
21 rm -f $(DESTDIR)$(RC_LINK); \
22 ln -s $(INIT_DIR)/sudo $(DESTDIR)$(RC_LINK); \
23 elif test -n "$(tmpfiles_d)"; then \
24- $(INSTALL) $(INSTALL_OWNER) -m 0644 $(top_srcdir)/init.d/sudo.conf $(DESTDIR)$(tmpfiles_d)/sudo.conf; \
25+ $(INSTALL) $(INSTALL_OWNER) -m 0644 $(top_builddir)/init.d/sudo.conf $(DESTDIR)$(tmpfiles_d)/sudo.conf; \
26 fi
27
28 install-binaries: install-dirs $(PROGS)
29--
302.1.4
31