diff options
Diffstat (limited to 'meta-networking/recipes-support/nis/ypbind-mt_1.36.bb')
-rw-r--r-- | meta-networking/recipes-support/nis/ypbind-mt_1.36.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/nis/ypbind-mt_1.36.bb b/meta-networking/recipes-support/nis/ypbind-mt_1.36.bb new file mode 100644 index 000000000..96ef19b42 --- /dev/null +++ b/meta-networking/recipes-support/nis/ypbind-mt_1.36.bb | |||
@@ -0,0 +1,39 @@ | |||
1 | # This package builds the NIS ypbind daemon | ||
2 | # The source package is utils/net/NIS/ypbind-mt | ||
3 | # | ||
4 | PR = "r0" | ||
5 | DESCRIPTION="\ | ||
6 | Multithreaded NIS bind service (ypbind-mt). \ | ||
7 | ypbind-mt is a complete new implementation of a NIS \ | ||
8 | binding daemon for Linux. It has the following \ | ||
9 | features. Supports ypbind protocol V1 and V2. \ | ||
10 | Uses threads for better response. Supports multiple \ | ||
11 | domain bindings. Supports /var/yp/binding/* file \ | ||
12 | for Linux libc 4/5 and glibc 2.x. Supports a list \ | ||
13 | of known secure NIS server (/etc/yp.conf) Binds to \ | ||
14 | the server which answered as first." | ||
15 | HOMEPAGE="http://www.linux-nis.org/nis/ypbind-mt/index.html" | ||
16 | |||
17 | require nis.inc | ||
18 | |||
19 | SRC_URI = "http://www.linux-nis.org/download/ypbind-mt/${P}.tar.bz2" | ||
20 | SRC_URI[md5sum] = "135834db97d78ff6d79fdee2810b4056" | ||
21 | |||
22 | LIC_FILES_CHKSUM = "file://COPYING;md5=082c9a0886c7c3db1bc862b5b62ffe08" | ||
23 | SRC_URI[sha256sum] = "0eff76c1849f4b38ea1a60280d8397c4240369c641fe5402ce57edf1a90958c7" | ||
24 | |||
25 | # ypbind-mt now provides all the functionality of ypbind | ||
26 | # and is used in place of it. | ||
27 | PROVIDES += "ypbind" | ||
28 | |||
29 | CACHED_CONFIGUREVARS = "ac_cv_prog_STRIP=/bin/true" | ||
30 | SRC_URI += "file://ypbind-yocto.init" | ||
31 | |||
32 | do_install_append () { | ||
33 | install -d ${D}${sysconfdir}/init.d | ||
34 | install -d ${D}${sysconfdir}/rcS.d | ||
35 | |||
36 | install -m 0755 ${WORKDIR}/ypbind-yocto.init ${D}${sysconfdir}/init.d/ypbind | ||
37 | |||
38 | ln -s ../init.d/ypbind ${D}${sysconfdir}/rcS.d/S44ypbind | ||
39 | } | ||