2012-12-17 13:11:51 +01:00
|
|
|
# Template file for 'inetutils'
|
|
|
|
pkgname=inetutils
|
2014-09-07 17:42:12 +02:00
|
|
|
version=1.9.2
|
|
|
|
revision=1
|
2012-12-17 13:11:51 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--without-wrap --with-pam --enable-ftp --enable-ftpd
|
|
|
|
--enable-telnet --enable-telnetd --enable-talk --enable-talkd
|
|
|
|
--enable-rlogin --enable-rlogind --enable-rsh --enable-rshd
|
2012-12-17 13:16:43 +01:00
|
|
|
--enable-rcp --enable-hostname --disable-rexec --disable-rexecd
|
2012-12-17 13:11:51 +01:00
|
|
|
--disable-tftp --disable-tftpd --disable-ping --disable-ping6
|
|
|
|
--disable-logger --disable-syslogd --disable-inetd --disable-whois
|
|
|
|
--disable-uucpd --disable-ifconfig --disable-traceroute"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="ncurses-devel pam-devel readline-devel"
|
2012-12-17 13:11:51 +01:00
|
|
|
short_desc="GNU network utilities"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-12-17 13:11:51 +01:00
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://www.gnu.org/software/inetutils"
|
|
|
|
distfiles="http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${version}.tar.gz"
|
2014-09-07 17:42:12 +02:00
|
|
|
checksum=0423ea40a160cd4630f817e247df5c08ecc625378d2bb56a0509117a36a89913
|
2012-12-17 13:11:51 +01:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
sed -i 's|_GL_WARN_ON_USE (gets|//_GL_WARN_ON_USE (gets|' lib/stdio.in.h
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
2012-12-17 13:16:43 +01:00
|
|
|
mv ${DESTDIR}/usr/bin/hostname ${DESTDIR}/usr/bin/${pkgname}-hostname
|
2012-12-17 13:11:51 +01:00
|
|
|
vinstall ${FILESDIR}/dnsdomainname 755 usr/bin
|
|
|
|
echo ".so man1/hostname.1" > ${DESTDIR}/usr/share/man/man1/dnsdomainname.1
|
|
|
|
for f in telnet talk rlogin rsh; do
|
|
|
|
vinstall ${FILESDIR}/${f}.xinetd 644 etc/xinetd.d ${f}
|
|
|
|
done
|
|
|
|
vinstall ${FILESDIR}/ftpd.service 644 usr/lib/systemd/system
|
2013-01-13 20:57:46 +01:00
|
|
|
mv ${DESTDIR}/usr/share/man/man1/hostname.1 \
|
|
|
|
${DESTDIR}/usr/share/man/man1/${pkgname}-hostname.1
|
2012-12-17 13:11:51 +01:00
|
|
|
}
|