diff options
Diffstat (limited to 'meta-networking/recipes-support/nis/yp-tools_2.12.bb')
-rw-r--r-- | meta-networking/recipes-support/nis/yp-tools_2.12.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/nis/yp-tools_2.12.bb b/meta-networking/recipes-support/nis/yp-tools_2.12.bb new file mode 100644 index 000000000..001784550 --- /dev/null +++ b/meta-networking/recipes-support/nis/yp-tools_2.12.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | # This package builds tools to manage NIS | ||
2 | # The source package is utils/net/NIS/yp-tools | ||
3 | # | ||
4 | PR = "r3" | ||
5 | DESCRIPTION="\ | ||
6 | Network Information Service tools. \ | ||
7 | This package contains ypcat, ypmatch, ypset, \ | ||
8 | ypwhich, yppasswd, domainname, nisdomainname \ | ||
9 | and ypdomainname." | ||
10 | |||
11 | require nis.inc | ||
12 | SRC_URI = "http://www.linux-nis.org/download/yp-tools/${BP}.tar.bz2 \ | ||
13 | file://domainname.service \ | ||
14 | " | ||
15 | |||
16 | SRC_URI[md5sum] = "ce1e06d86caa285fa8cd76fdf103f51e" | ||
17 | SRC_URI[sha256sum] = "6ae8321666eea7837da343eea90ea30273fb74943ad111d5a4befd2afb252063" | ||
18 | |||
19 | CACHED_CONFIGUREVARS += "ac_cv_prog_STRIP=/bin/true" | ||
20 | |||
21 | inherit systemd | ||
22 | |||
23 | RPROVIDES_${PN} += "${PN}-systemd" | ||
24 | RREPLACES_${PN} += "${PN}-systemd" | ||
25 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
26 | SYSTEMD_SERVICE_${PN} = "domainname.service" | ||
27 | |||
28 | do_install_append() { | ||
29 | install -d ${D}${systemd_unitdir}/system | ||
30 | install -m 0644 ${WORKDIR}/domainname.service ${D}${systemd_unitdir}/system | ||
31 | } | ||