diff options
Diffstat (limited to 'meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb')
-rw-r--r-- | meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb | 60 |
1 files changed, 0 insertions, 60 deletions
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 @@ | |||
1 | SUMMARY = "Universal Addresses to RPC Program Number Mapper" | ||
2 | DESCRIPTION = "The rpcbind utility is a server that converts RPC \ | ||
3 | program numbers into universal addresses." | ||
4 | SECTION = "console/network" | ||
5 | HOMEPAGE = "http://sourceforge.net/projects/rpcbind/" | ||
6 | BUGTRACKER = "http://sourceforge.net/tracker/?group_id=201237&atid=976751" | ||
7 | DEPENDS = "libtirpc quota" | ||
8 | |||
9 | LICENSE = "BSD" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=b46486e4c4a416602693a711bb5bfa39 \ | ||
11 | file://src/rpcinfo.c;beginline=1;endline=27;md5=f8a8cd2cb25ac5aa16767364fb0e3c24" | ||
12 | |||
13 | SRC_URI = "${SOURCEFORGE_MIRROR}/rpcbind/rpcbind-${PV}.tar.bz2 \ | ||
14 | file://init.d \ | ||
15 | file://fix_host_path.patch \ | ||
16 | file://obsolete_automake_macros.patch \ | ||
17 | ${UCLIBCPATCHES} \ | ||
18 | file://rpcbind.conf \ | ||
19 | file://rpcbind.service \ | ||
20 | " | ||
21 | |||
22 | UCLIBCPATCHES_libc-uclibc = "file://0001-uclibc-nss.patch \ | ||
23 | file://0002-uclibc-rpcsvc-defines.patch \ | ||
24 | " | ||
25 | UCLIBCPATCHES ?= "" | ||
26 | |||
27 | SRC_URI[md5sum] = "1a77ddb1aaea8099ab19c351eeb26316" | ||
28 | SRC_URI[sha256sum] = "c92f263e0353887f16379d7708ef1fb4c7eedcf20448bc1e4838f59497a00de3" | ||
29 | |||
30 | PR = "r4" | ||
31 | |||
32 | inherit autotools update-rc.d systemd | ||
33 | |||
34 | PACKAGECONFIG ??= "tcp-wrappers" | ||
35 | PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" | ||
36 | |||
37 | INITSCRIPT_NAME = "rpcbind" | ||
38 | INITSCRIPT_PARAMS = "start 12 2 3 4 5 . stop 60 0 1 6 ." | ||
39 | |||
40 | SYSTEMD_SERVICE_${PN} = "rpcbind.service" | ||
41 | SYSTEMD_AUTO_ENABLE = "disable" | ||
42 | |||
43 | EXTRA_OECONF += " --enable-warmstarts " | ||
44 | |||
45 | do_install_append () { | ||
46 | mv ${D}${bindir} ${D}${sbindir} | ||
47 | |||
48 | install -d ${D}${sysconfdir}/init.d | ||
49 | sed -e 's,/etc/,${sysconfdir}/,g' \ | ||
50 | -e 's,/sbin/,${sbindir}/,g' \ | ||
51 | ${WORKDIR}/init.d > ${D}${sysconfdir}/init.d/rpcbind | ||
52 | chmod 0755 ${D}${sysconfdir}/init.d/rpcbind | ||
53 | |||
54 | install -m 0755 ${WORKDIR}/rpcbind.conf ${D}${sysconfdir} | ||
55 | install -d ${D}${systemd_unitdir}/system | ||
56 | install -m 0644 ${WORKDIR}/rpcbind.service ${D}${systemd_unitdir}/system | ||
57 | sed -i -e 's,@SBINDIR@,${sbindir},g' \ | ||
58 | -e 's,@SYSCONFDIR@,${sysconfdir},g' \ | ||
59 | ${D}${systemd_unitdir}/system/rpcbind.service | ||
60 | } | ||