From 933f6d4a3d9b20d0681d75bc30c57dde731624d0 Mon Sep 17 00:00:00 2001 From: Cristian Iorga Date: Fri, 24 Jan 2014 20:28:52 +0200 Subject: rpcbind: fixes crash during start This fix integrates a patch released after rpcbind 0.2.1 distribution. 0001-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch fixes the issue of rpcuser not being set in Makefile.am, which causes rpcbind to immediately exit. Fixes [YOCTO #5733]. (From OE-Core rev: 68e87652ae4865a52705f8b87b4ae0f99cbc7428) Signed-off-by: Cristian Iorga Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- ...bind-rpcuser-not-being-set-in-Makefile.am.patch | 34 ++++++++++++++++++++++ meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb | 1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-extended/rpcbind/rpcbind/0001-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch (limited to 'meta/recipes-extended/rpcbind') diff --git a/meta/recipes-extended/rpcbind/rpcbind/0001-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch b/meta/recipes-extended/rpcbind/rpcbind/0001-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch new file mode 100644 index 0000000000..b556a46347 --- /dev/null +++ b/meta/recipes-extended/rpcbind/rpcbind/0001-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch @@ -0,0 +1,34 @@ +From 914507aa6980129fefb4decaabea1a4f60c7182b Mon Sep 17 00:00:00 2001 +From: Steve Dickson +Date: Wed, 21 Aug 2013 14:40:22 -0400 +Subject: [PATCH 1/1] rpcbind: rpcuser not being set in Makefile.am + +Upstream-Status: backport + +Commit 8d7a0708 cause a regression where the rpcuser id was not +being set, which in turn cause rpcbind to immediately exit. +This patch removes the extra ',' that was in the AC_ARG_WITH +statement in the configure.ac file. + +Signed-off-by: Steve Dickson +Signed-off-by: Cristian Iorga +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 2b67720..1cf42d3 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -23,7 +23,7 @@ AC_ARG_WITH([statedir], + AC_SUBST([statedir], [$with_statedir]) + + AC_ARG_WITH([rpcuser], +- AS_HELP_STRING([--with-rpcuser=ARG], [use ARG for RPC @<:@default=root@:>@]), ++ AS_HELP_STRING([--with-rpcuser=ARG], [use ARG for RPC @<:@default=root@:>@]) + ,, [with_rpcuser=root]) + AC_SUBST([rpcuser], [$with_rpcuser]) + +-- +1.8.3.2 + diff --git a/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb b/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb index c1c34037c6..d829f74bd9 100644 --- a/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb +++ b/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb @@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b46486e4c4a416602693a711bb5bfa39 \ file://src/rpcinfo.c;beginline=1;endline=27;md5=f8a8cd2cb25ac5aa16767364fb0e3c24" SRC_URI = "${SOURCEFORGE_MIRROR}/rpcbind/rpcbind-${PV}.tar.bz2 \ + file://0001-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch \ file://init.d \ ${UCLIBCPATCHES} \ file://rpcbind.conf \ -- cgit v1.2.3-54-g00ecf