diff options
author | Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> | 2019-05-06 13:27:18 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-05-06 08:32:04 -0700 |
commit | de407d4786ffefdae916bd30c1e0377fd80384c9 (patch) | |
tree | 5ef9f67f3e7f02b52bd6e36d83da0662dd805cac /meta-networking/recipes-support/nis/ypbind-mt_2.4.bb | |
parent | e6d2464e4151d3860ef4fb3a6dae7777a8987429 (diff) | |
download | meta-openembedded-de407d4786ffefdae916bd30c1e0377fd80384c9.tar.gz |
ypbind-mt: update to 2.6
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/nis/ypbind-mt_2.4.bb')
-rw-r--r-- | meta-networking/recipes-support/nis/ypbind-mt_2.4.bb | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/meta-networking/recipes-support/nis/ypbind-mt_2.4.bb b/meta-networking/recipes-support/nis/ypbind-mt_2.4.bb deleted file mode 100644 index 9822f455e..000000000 --- a/meta-networking/recipes-support/nis/ypbind-mt_2.4.bb +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
1 | # This package builds the NIS ypbind daemon | ||
2 | # The source package is utils/net/NIS/ypbind-mt | ||
3 | # | ||
4 | require nis.inc | ||
5 | |||
6 | DESCRIPTION = " \ | ||
7 | Multithreaded NIS bind service (ypbind-mt). \ | ||
8 | ypbind-mt is a complete new implementation of a NIS \ | ||
9 | binding daemon for Linux. It has the following \ | ||
10 | features. Supports ypbind protocol V1 and V2. \ | ||
11 | Uses threads for better response. Supports multiple \ | ||
12 | domain bindings. Supports /var/yp/binding/* file \ | ||
13 | for Linux libc 4/5 and glibc 2.x. Supports a list \ | ||
14 | of known secure NIS server (/etc/yp.conf) Binds to \ | ||
15 | the server which answered as first. \ | ||
16 | \ | ||
17 | This is the final IPv4-only version of ypbind-mt. \ | ||
18 | " | ||
19 | HOMEPAGE = "http://www.linux-nis.org/nis/ypbind-mt/index.html" | ||
20 | DEPENDS = " \ | ||
21 | yp-tools \ | ||
22 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ | ||
23 | " | ||
24 | DEPENDS_append_libc-musl = " bsd-headers nss" | ||
25 | RDEPENDS_${PN} += "yp-tools" | ||
26 | |||
27 | # ypbind-mt now provides all the functionality of ypbind | ||
28 | # and is used in place of it. | ||
29 | PROVIDES += "ypbind" | ||
30 | |||
31 | SRC_URI = "http://www.linux-nis.org/download/ypbind-mt/${BP}.tar.bz2 \ | ||
32 | file://ypbind.init \ | ||
33 | file://ypbind.service \ | ||
34 | file://0001-dns_hosts-Fix-build-with-musl.patch \ | ||
35 | " | ||
36 | SRC_URI[md5sum] = "1aeccd0d11c064d5d59c56941bca682b" | ||
37 | SRC_URI[sha256sum] = "a2e1fa8fc992a12b289c229e00e38c20d59070c3bcf08babf40c692515c340e0" | ||
38 | |||
39 | inherit systemd update-rc.d | ||
40 | |||
41 | SYSTEMD_SERVICE_${PN} = "ypbind.service" | ||
42 | INITSCRIPT_NAME = "ypbind" | ||
43 | INITSCRIPT_PARAMS = "start 44 3 5 . stop 70 0 1 2 6 ." | ||
44 | |||
45 | CACHED_CONFIGUREVARS = "ac_cv_prog_STRIP=/bin/true" | ||
46 | |||
47 | CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/nss3" | ||
48 | |||
49 | do_install_append () { | ||
50 | install -d ${D}${sysconfdir}/init.d | ||
51 | install -d ${D}${sysconfdir}/rcS.d | ||
52 | |||
53 | install -m 0755 ${WORKDIR}/ypbind.init ${D}${sysconfdir}/init.d/ypbind | ||
54 | |||
55 | install -d ${D}${systemd_unitdir}/system | ||
56 | install -m 0644 ${WORKDIR}/ypbind.service ${D}${systemd_unitdir}/system | ||
57 | } | ||
58 | |||
59 | |||
60 | RPROVIDES_${PN} += "${PN}-systemd" | ||
61 | RREPLACES_${PN} += "${PN}-systemd" | ||
62 | RCONFLICTS_${PN} += "${PN}-systemd" | ||