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 | 18 |
1 files changed, 16 insertions, 2 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 index fb7ebc2308..8593c6ba43 100644 --- a/meta-networking/recipes-support/nis/yp-tools_2.12.bb +++ b/meta-networking/recipes-support/nis/yp-tools_2.12.bb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # This package builds tools to manage NIS | 1 | # This package builds tools to manage NIS |
| 2 | # The source package is utils/net/NIS/yp-tools | 2 | # The source package is utils/net/NIS/yp-tools |
| 3 | # | 3 | # |
| 4 | PR = "r0" | 4 | PR = "r3" |
| 5 | DESCRIPTION="\ | 5 | DESCRIPTION="\ |
| 6 | Network Information Service tools. \ | 6 | Network Information Service tools. \ |
| 7 | This package contains ypcat, ypmatch, ypset, \ | 7 | This package contains ypcat, ypmatch, ypset, \ |
| @@ -9,9 +9,23 @@ ypwhich, yppasswd, domainname, nisdomainname \ | |||
| 9 | and ypdomainname." | 9 | and ypdomainname." |
| 10 | 10 | ||
| 11 | require nis.inc | 11 | require nis.inc |
| 12 | SRC_URI = "http://www.linux-nis.org/download/yp-tools/${BP}.tar.bz2" | 12 | SRC_URI = "http://www.linux-nis.org/download/yp-tools/${BP}.tar.bz2 \ |
| 13 | file://domainname.service \ | ||
| 14 | " | ||
| 13 | 15 | ||
| 14 | SRC_URI[md5sum] = "ce1e06d86caa285fa8cd76fdf103f51e" | 16 | SRC_URI[md5sum] = "ce1e06d86caa285fa8cd76fdf103f51e" |
| 15 | SRC_URI[sha256sum] = "6ae8321666eea7837da343eea90ea30273fb74943ad111d5a4befd2afb252063" | 17 | SRC_URI[sha256sum] = "6ae8321666eea7837da343eea90ea30273fb74943ad111d5a4befd2afb252063" |
| 16 | 18 | ||
| 17 | CACHED_CONFIGUREVARS += "ac_cv_prog_STRIP=/bin/true" | 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 | } | ||
