yp-tools_2.14.bb 993 B

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