netkit-telnet: Use alternatives to avoid manpage conflict
PATCH 1/2 netkit-telnet: Use alternatives to avoid manpage conflict
Fix the following manpage installation conflict:
* check_data_file_clashes: Package netkit-telnet-doc wants to install file /usr/share/man/man8/telnetd.8 But that file is already provided by package * inetutils-doc
Signed-off-by Ovidiu Panait <[email protected]>
--- .../recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb +3 -0
@@ -57,6 +57,9 @@ ALTERNATIVE_${PN} = "telnet" ALTERNATIVE_LINK_NAME[telnet] = "${bindir}/telnet" ALTERNATIVE_TARGET[telnet] = "${bindir}/telnet.${PN}" +ALTERNATIVE_${PN}-doc = "telnetd.8" +ALTERNATIVE_LINK_NAME[telnetd.8] = "${mandir}/man8/telnetd.8" + SRC_URI[md5sum] = "d6beabaaf53fe6e382c42ce3faa05a36" SRC_URI[sha256sum] = "9c80d5c7838361a328fb6b60016d503def9ce53ad3c589f3b08ff71a2bb88e00" FILES_${PN} += "${sbindir}/in.* ${libdir}/* ${sysconfdir}/xinetd.d/*"
Signature · 1 line
2.17.1
PATCH 2/2 tftp-hpa: Use alternatives to avoid manpage conflicts
Fix the following manpage conflicts:
* check_data_file_clashes: Package inetutils-doc wants to install file /usr/share/man/man1/tftp.1 But that file is already provided by package * tftp-hpa-doc
* check_data_file_clashes: Package inetutils-doc wants to install file /usr/share/man/man8/tftpd.8 But that file is already provided by package * tftp-hpa-doc
Signed-off-by Ovidiu Panait <[email protected]>
--- meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb +5 -0
@@ -82,10 +82,15 @@ INITSCRIPT_PACKAGES = "tftp-hpa-server" INITSCRIPT_NAME = "tftpd-hpa" INITSCRIPT_PARAMS = "start 20 2 3 4 5 . stop 20 1 ." +ALTERNATIVE_${PN}-doc = "tftpd.8 tftp.1" +ALTERNATIVE_LINK_NAME[tftpd.8] = "${mandir}/man8/tftpd.8" +ALTERNATIVE_LINK_NAME[tftp.1] = "${mandir}/man1/tftp.1" + ALTERNATIVE_${PN} = "tftp" ALTERNATIVE_TARGET[tftp] = "${bindir}/tftp-hpa" ALTERNATIVE_PRIORITY = "60" + SYSTEMD_PACKAGES = "tftp-hpa-server" SYSTEMD_SERVICE_tftp-hpa-server = "tftpd-hpa.socket tftpd-hpa.service" SYSTEMD_AUTO_ENABLE_tftp-hpa-server = "enable"
Signature · 1 line
2.17.1