New package: inetutils-1.9.1.
This commit is contained in:
parent
599ee6e2cb
commit
d3c862c902
7 changed files with 97 additions and 0 deletions
3
srcpkgs/inetutils/files/dnsdomainname
Normal file
3
srcpkgs/inetutils/files/dnsdomainname
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
exec /usr/bin/hostname -d "$@"
|
10
srcpkgs/inetutils/files/ftpd.service
Normal file
10
srcpkgs/inetutils/files/ftpd.service
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=FTPD Daemon
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/sbin/ftpd -D
|
||||||
|
Type=forking
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
10
srcpkgs/inetutils/files/rlogin.xinetd
Normal file
10
srcpkgs/inetutils/files/rlogin.xinetd
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
service login
|
||||||
|
{
|
||||||
|
flags = REUSE
|
||||||
|
socket_type = stream
|
||||||
|
wait = no
|
||||||
|
user = root
|
||||||
|
server = /usr/libexec/rlogind
|
||||||
|
log_on_failure += USERID
|
||||||
|
disable = yes
|
||||||
|
}
|
10
srcpkgs/inetutils/files/rsh.xinetd
Normal file
10
srcpkgs/inetutils/files/rsh.xinetd
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
service shell
|
||||||
|
{
|
||||||
|
flags = REUSE
|
||||||
|
socket_type = stream
|
||||||
|
wait = no
|
||||||
|
user = root
|
||||||
|
server = /usr/libexec/rshd
|
||||||
|
log_on_failure += USERID
|
||||||
|
disable = yes
|
||||||
|
}
|
10
srcpkgs/inetutils/files/talk.xinetd
Normal file
10
srcpkgs/inetutils/files/talk.xinetd
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
service ntalk
|
||||||
|
{
|
||||||
|
flags = REUSE
|
||||||
|
socket_type = dgram
|
||||||
|
wait = yes
|
||||||
|
user = root
|
||||||
|
server = /usr/libexec/talkd
|
||||||
|
log_on_failure += USERID
|
||||||
|
disable = yes
|
||||||
|
}
|
10
srcpkgs/inetutils/files/telnet.xinetd
Normal file
10
srcpkgs/inetutils/files/telnet.xinetd
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
service telnet
|
||||||
|
{
|
||||||
|
flags = REUSE
|
||||||
|
socket_type = stream
|
||||||
|
wait = no
|
||||||
|
user = root
|
||||||
|
server = /usr/libexec/telnetd
|
||||||
|
log_on_failure += USERID
|
||||||
|
disable = yes
|
||||||
|
}
|
44
srcpkgs/inetutils/template
Normal file
44
srcpkgs/inetutils/template
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
# Template file for 'inetutils'
|
||||||
|
pkgname=inetutils
|
||||||
|
version=1.9.1
|
||||||
|
revision=1
|
||||||
|
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
|
||||||
|
--enable-rcp --disable-hostname --disable-rexec --disable-rexecd
|
||||||
|
--disable-tftp --disable-tftpd --disable-ping --disable-ping6
|
||||||
|
--disable-logger --disable-syslogd --disable-inetd --disable-whois
|
||||||
|
--disable-uucpd --disable-ifconfig --disable-traceroute"
|
||||||
|
makedepends="ncurses-devel pam-devel readline-devel"
|
||||||
|
short_desc="GNU network utilities"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
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
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue