inetutils: rename hostname.1 to inetutils-hostname.1.

This commit is contained in:
Juan RP 2013-01-13 20:57:46 +01:00
parent 4fbe03946e
commit e3aed4b671

View file

@ -1,7 +1,7 @@
# Template file for 'inetutils'
pkgname=inetutils
version=1.9.1
revision=2
revision=3
build_style=gnu-configure
configure_args="--without-wrap --with-pam --enable-ftp --enable-ftpd
--enable-telnet --enable-telnetd --enable-talk --enable-talkd
@ -17,18 +17,6 @@ license="GPL-3"
homepage="http://www.gnu.org/software/inetutils"
distfiles="http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=02a9ebde8a198cb85f87545b9d88fb103a183958139864a85fe9e027ad79ff2b
long_desc="
Inetutils is a collection of common network programs. It includes:
An ftp client and server.
A telnet client and server.
An rsh client and server.
An rlogin client and server.
A tftp client and server.
And much more...
Most of them are improved versions of programs originally from BSD. Some
others are original versions, written from scratch."
pre_configure() {
sed -i 's|_GL_WARN_ON_USE (gets|//_GL_WARN_ON_USE (gets|' lib/stdio.in.h
@ -42,4 +30,6 @@ post_install() {
vinstall ${FILESDIR}/${f}.xinetd 644 etc/xinetd.d ${f}
done
vinstall ${FILESDIR}/ftpd.service 644 usr/lib/systemd/system
mv ${DESTDIR}/usr/share/man/man1/hostname.1 \
${DESTDIR}/usr/share/man/man1/${pkgname}-hostname.1
}