Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | # This package builds tools to manage NIS |
| 2 | # The source package is utils/net/NIS/yp-tools |
| 3 | # |
| 4 | require nis.inc |
| 5 | |
| 6 | SUMMARY = "NIS client programs" |
| 7 | DESCRIPTION = " \ |
| 8 | Network Information Service tools. \ |
| 9 | This package contains ypcat, ypmatch, ypset, \ |
| 10 | ypwhich, yppasswd, domainname, nisdomainname \ |
| 11 | and ypdomainname. \ |
| 12 | \ |
| 13 | This is the final IPv4-only version of yp-tools. \ |
| 14 | " |
| 15 | |
| 16 | SRC_URI = "http://www.linux-nis.org/download/yp-tools/${BP}.tar.bz2 \ |
| 17 | file://domainname.service \ |
| 18 | " |
| 19 | SRC_URI[md5sum] = "ba1f121c17e3ad65368be173b977cd13" |
| 20 | SRC_URI[sha256sum] = "d01f70fadc643a55107a0edc47c6be99d0306bcc4f66df56f65e74238b0124c9" |
| 21 | |
| 22 | inherit systemd |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 23 | SYSTEMD_SERVICE:${PN} = "domainname.service" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 24 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 25 | RPROVIDES:${PN} += "${PN}-systemd" |
| 26 | RREPLACES:${PN} += "${PN}-systemd" |
| 27 | RCONFLICTS:${PN} += "${PN}-systemd" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 28 | |
| 29 | CACHED_CONFIGUREVARS += "ac_cv_prog_STRIP=/bin/true" |
| 30 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 31 | do_install:append() { |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 32 | install -d ${D}${systemd_unitdir}/system |
| 33 | install -m 0644 ${WORKDIR}/domainname.service ${D}${systemd_unitdir}/system |
| 34 | } |