inetutils-ftp: use ftp alternative.

This commit is contained in:
Christian Neukirchen 2016-05-17 20:05:54 +02:00
parent 1e882ed026
commit fcc1f43315
1 changed files with 7 additions and 3 deletions

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=4 revision=5
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"
@ -71,9 +71,13 @@ inetutils-ifconfig_package() {
} }
inetutils-ftp_package() { inetutils-ftp_package() {
short_desc+=" - ftp client and server (file transfer protocol)" short_desc+=" - ftp client and server (file transfer protocol)"
alternatives="
ftp:ftp:/usr/bin/${pkgname}
ftp:ftp.1:/usr/share/man/man1/${pkgname}.1
"
pkg_install() { pkg_install() {
vbin ftp/ftp vbin ftp/ftp ${pkgname}
vman man/ftp.1 vman man/ftp.1 ${pkgname}.1
vbin ftpd/ftpd vbin ftpd/ftpd
vman man/ftpd.8 vman man/ftpd.8
# TODO: write etc/inet.d/ftp.conf or add an etc/inetd.conf line # TODO: write etc/inet.d/ftp.conf or add an etc/inetd.conf line