inetutils: stop conflicting with tftp-hpa

This commit is contained in:
Đoàn Trần Công Danh 2020-08-22 13:32:05 +07:00
parent 3083154060
commit 48b291e2b2

View file

@ -1,7 +1,7 @@
# Template file for 'inetutils'
pkgname=inetutils
version=1.9.4
revision=11
revision=12
build_style=gnu-configure
configure_args="--without-wrap --with-pam"
makedepends="pam-devel readline-devel"
@ -178,12 +178,13 @@ inetutils-tftp_package() {
alternatives="
tftp:tftp:/usr/bin/${pkgname}
tftp:tftp.1:/usr/share/man/man1/${pkgname}.1
tftp:tftpd.8:/usr/share/man/man8/inetutils-tftpd.8
"
pkg_install() {
vbin src/tftp ${pkgname}
vman man/tftp.1 ${pkgname}.1
vbin src/tftpd
vman man/tftpd.8
vman man/tftpd.8 inetutils-tftpd.8
vinstall ${FILESDIR}/tftp.xinetd 644 etc/xinetd.d tftp
# TODO: write etc/inet.d/tftp.conf or add an etc/inetd.conf line
}