From 0ff336d9076b769d2e1d2ff425e64558bbef620f Mon Sep 17 00:00:00 2001 From: Cristian Iorga Date: Wed, 11 Dec 2013 19:24:02 +0200 Subject: rpcbind: upgrade to 0.2.1 fix_host_path.patch and obsolete_automake_macros.patch are no longer necessary, removed. Signed-off-by: Cristian Iorga Signed-off-by: Saul Wold --- .../rpcbind/rpcbind/fix_host_path.patch | 16 ------ .../rpcbind/rpcbind/obsolete_automake_macros.patch | 14 ----- meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb | 60 ---------------------- meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb | 56 ++++++++++++++++++++ 4 files changed, 56 insertions(+), 90 deletions(-) delete mode 100644 meta/recipes-extended/rpcbind/rpcbind/fix_host_path.patch delete mode 100644 meta/recipes-extended/rpcbind/rpcbind/obsolete_automake_macros.patch delete mode 100644 meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb create mode 100644 meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb (limited to 'meta/recipes-extended/rpcbind') diff --git a/meta/recipes-extended/rpcbind/rpcbind/fix_host_path.patch b/meta/recipes-extended/rpcbind/rpcbind/fix_host_path.patch deleted file mode 100644 index 590b34440c..0000000000 --- a/meta/recipes-extended/rpcbind/rpcbind/fix_host_path.patch +++ /dev/null @@ -1,16 +0,0 @@ -This fixes the hardcoded HOST path - -Signed-off-by: Saul Wold - -Upstream-Status: Inappropriate [configuration] - ---- rpcbind-0.2.0/src/Makefile.am 2010-09-02 11:47:16.725763886 -0700 -+++ rpcbind-0.2.0_fixed/src/Makefile.am 2010-09-02 11:47:36.077763138 -0700 -@@ -29,6 +29,6 @@ - - rpcbind_LDFLAGS = -lpthread -ltirpc - rpcbind_LDADD = $(LIB_TIRPC) --AM_CPPFLAGS = -I/usr/include/tirpc -DCHECK_LOCAL -DPORTMAP \ -+AM_CPPFLAGS = -I=/usr/include/tirpc -DCHECK_LOCAL -DPORTMAP \ - -DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO - diff --git a/meta/recipes-extended/rpcbind/rpcbind/obsolete_automake_macros.patch b/meta/recipes-extended/rpcbind/rpcbind/obsolete_automake_macros.patch deleted file mode 100644 index a12c4ddf27..0000000000 --- a/meta/recipes-extended/rpcbind/rpcbind/obsolete_automake_macros.patch +++ /dev/null @@ -1,14 +0,0 @@ -Upstream-Status: Submitted [https://sourceforge.net/tracker/?func=detail&aid=3603149&group_id=201237&atid=976751] - -Signed-off-by: Marko Lindqvist -diff -Nurd rpcbind-0.2.0/configure.in rpcbind-0.2.0/configure.in ---- rpcbind-0.2.0/configure.in 2009-05-29 16:38:22.000000000 +0300 -+++ rpcbind-0.2.0/configure.in 2013-02-03 04:04:06.577480682 +0200 -@@ -4,7 +4,7 @@ - # AM_MAINTAINER_MODE - AC_CONFIG_SRCDIR([src/rpcbind.c]) - AC_PROG_CC -- AM_CONFIG_HEADER(config.h) -+ AC_CONFIG_HEADERS(config.h) - AC_HEADER_DIRENT - AC_PREFIX_DEFAULT(/usr) diff --git a/meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb b/meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb deleted file mode 100644 index 16fb7b7392..0000000000 --- a/meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb +++ /dev/null @@ -1,60 +0,0 @@ -SUMMARY = "Universal Addresses to RPC Program Number Mapper" -DESCRIPTION = "The rpcbind utility is a server that converts RPC \ - program numbers into universal addresses." -SECTION = "console/network" -HOMEPAGE = "http://sourceforge.net/projects/rpcbind/" -BUGTRACKER = "http://sourceforge.net/tracker/?group_id=201237&atid=976751" -DEPENDS = "libtirpc quota" - -LICENSE = "BSD" -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://init.d \ - file://fix_host_path.patch \ - file://obsolete_automake_macros.patch \ - ${UCLIBCPATCHES} \ - file://rpcbind.conf \ - file://rpcbind.service \ - " - -UCLIBCPATCHES_libc-uclibc = "file://0001-uclibc-nss.patch \ - file://0002-uclibc-rpcsvc-defines.patch \ - " -UCLIBCPATCHES ?= "" - -SRC_URI[md5sum] = "1a77ddb1aaea8099ab19c351eeb26316" -SRC_URI[sha256sum] = "c92f263e0353887f16379d7708ef1fb4c7eedcf20448bc1e4838f59497a00de3" - -PR = "r4" - -inherit autotools update-rc.d systemd - -PACKAGECONFIG ??= "tcp-wrappers" -PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" - -INITSCRIPT_NAME = "rpcbind" -INITSCRIPT_PARAMS = "start 12 2 3 4 5 . stop 60 0 1 6 ." - -SYSTEMD_SERVICE_${PN} = "rpcbind.service" -SYSTEMD_AUTO_ENABLE = "disable" - -EXTRA_OECONF += " --enable-warmstarts " - -do_install_append () { - mv ${D}${bindir} ${D}${sbindir} - - install -d ${D}${sysconfdir}/init.d - sed -e 's,/etc/,${sysconfdir}/,g' \ - -e 's,/sbin/,${sbindir}/,g' \ - ${WORKDIR}/init.d > ${D}${sysconfdir}/init.d/rpcbind - chmod 0755 ${D}${sysconfdir}/init.d/rpcbind - - install -m 0755 ${WORKDIR}/rpcbind.conf ${D}${sysconfdir} - install -d ${D}${systemd_unitdir}/system - install -m 0644 ${WORKDIR}/rpcbind.service ${D}${systemd_unitdir}/system - sed -i -e 's,@SBINDIR@,${sbindir},g' \ - -e 's,@SYSCONFDIR@,${sysconfdir},g' \ - ${D}${systemd_unitdir}/system/rpcbind.service -} diff --git a/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb b/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb new file mode 100644 index 0000000000..6043501b5b --- /dev/null +++ b/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb @@ -0,0 +1,56 @@ +SUMMARY = "Universal Addresses to RPC Program Number Mapper" +DESCRIPTION = "The rpcbind utility is a server that converts RPC \ + program numbers into universal addresses." +SECTION = "console/network" +HOMEPAGE = "http://sourceforge.net/projects/rpcbind/" +BUGTRACKER = "http://sourceforge.net/tracker/?group_id=201237&atid=976751" +DEPENDS = "libtirpc quota" + +LICENSE = "BSD" +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://init.d \ + ${UCLIBCPATCHES} \ + file://rpcbind.conf \ + file://rpcbind.service \ + " + +UCLIBCPATCHES_libc-uclibc = "file://0001-uclibc-nss.patch \ + file://0002-uclibc-rpcsvc-defines.patch \ + " +UCLIBCPATCHES ?= "" + +SRC_URI[md5sum] = "0a5f9c2142af814c55d957aaab3bcc68" +SRC_URI[sha256sum] = "da169ff877a5a07581fad50a9a808ac6e96f0c277a3df49a7ef005778428496e" + +inherit autotools update-rc.d systemd + +PACKAGECONFIG ??= "tcp-wrappers" +PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" + +INITSCRIPT_NAME = "rpcbind" +INITSCRIPT_PARAMS = "start 12 2 3 4 5 . stop 60 0 1 6 ." + +SYSTEMD_SERVICE_${PN} = "rpcbind.service" +SYSTEMD_AUTO_ENABLE = "disable" + +EXTRA_OECONF += " --enable-warmstarts " + +do_install_append () { + mv ${D}${bindir} ${D}${sbindir} + + install -d ${D}${sysconfdir}/init.d + sed -e 's,/etc/,${sysconfdir}/,g' \ + -e 's,/sbin/,${sbindir}/,g' \ + ${WORKDIR}/init.d > ${D}${sysconfdir}/init.d/rpcbind + chmod 0755 ${D}${sysconfdir}/init.d/rpcbind + + install -m 0755 ${WORKDIR}/rpcbind.conf ${D}${sysconfdir} + install -d ${D}${systemd_unitdir}/system + install -m 0644 ${WORKDIR}/rpcbind.service ${D}${systemd_unitdir}/system + sed -i -e 's,@SBINDIR@,${sbindir},g' \ + -e 's,@SYSCONFDIR@,${sysconfdir},g' \ + ${D}${systemd_unitdir}/system/rpcbind.service +} -- cgit 1.2.3-korg