From fd46b03c7e733f52d6f25435aeb01b34189a8f82 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 9 Nov 2015 17:18:30 +0100 Subject: [PATCH] tftp-hpa: register 'tftp' alternatives group. --- srcpkgs/tftp-hpa/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/tftp-hpa/template b/srcpkgs/tftp-hpa/template index 6229daac669..7725c59d555 100644 --- a/srcpkgs/tftp-hpa/template +++ b/srcpkgs/tftp-hpa/template @@ -1,7 +1,7 @@ # Template file for 'tftp-hpa' pkgname=tftp-hpa version=5.2 -revision=2 +revision=3 build_style=gnu-configure configure_args="--sbindir=/usr/bin --without-tcpwrappers" hostmakedepends="automake" @@ -13,6 +13,12 @@ homepage="http://www.kernel.org" distfiles="${homepage}/pub/software/network/tftp/${pkgname}/${pkgname}-${version}.tar.gz" checksum=acc04dde662491e3092565ecf9bde504c47dbb1bb0408366009b138fe7754cab +alternatives=" + tftp:tftp:/usr/bin/${pkgname} + tftp:tftp.1:/usr/share/man/man1/${pkgname}.1" + do_install() { make INSTALLROOT=${DESTDIR} install + mv ${DESTDIR}/usr/bin/{tftp,${pkgname}} + mv ${DESTDIR}/usr/share/man/man1/{tftp,${pkgname}}.1 }