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