[arch-commits] Commit in inetutils/repos (36 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Sep 8 11:19:44 UTC 2015
Date: Tuesday, September 8, 2015 @ 13:19:44
Author: foutrelis
Revision: 245524
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
inetutils/repos/staging-i686/
inetutils/repos/staging-i686/PKGBUILD
(from rev 245523, inetutils/trunk/PKGBUILD)
inetutils/repos/staging-i686/ftpd.service
(from rev 245523, inetutils/trunk/ftpd.service)
inetutils/repos/staging-i686/inetutils.install
(from rev 245523, inetutils/trunk/inetutils.install)
inetutils/repos/staging-i686/rlogin.pam
(from rev 245523, inetutils/trunk/rlogin.pam)
inetutils/repos/staging-i686/rlogin.socket
(from rev 245523, inetutils/trunk/rlogin.socket)
inetutils/repos/staging-i686/rlogin.xinetd
(from rev 245523, inetutils/trunk/rlogin.xinetd)
inetutils/repos/staging-i686/rlogin at .service
(from rev 245523, inetutils/trunk/rlogin at .service)
inetutils/repos/staging-i686/rsh.pam
(from rev 245523, inetutils/trunk/rsh.pam)
inetutils/repos/staging-i686/rsh.socket
(from rev 245523, inetutils/trunk/rsh.socket)
inetutils/repos/staging-i686/rsh.xinetd
(from rev 245523, inetutils/trunk/rsh.xinetd)
inetutils/repos/staging-i686/rsh at .service
(from rev 245523, inetutils/trunk/rsh at .service)
inetutils/repos/staging-i686/talk.service
(from rev 245523, inetutils/trunk/talk.service)
inetutils/repos/staging-i686/talk.socket
(from rev 245523, inetutils/trunk/talk.socket)
inetutils/repos/staging-i686/talk.xinetd
(from rev 245523, inetutils/trunk/talk.xinetd)
inetutils/repos/staging-i686/telnet.socket
(from rev 245523, inetutils/trunk/telnet.socket)
inetutils/repos/staging-i686/telnet.xinetd
(from rev 245523, inetutils/trunk/telnet.xinetd)
inetutils/repos/staging-i686/telnet at .service
(from rev 245523, inetutils/trunk/telnet at .service)
inetutils/repos/staging-x86_64/
inetutils/repos/staging-x86_64/PKGBUILD
(from rev 245523, inetutils/trunk/PKGBUILD)
inetutils/repos/staging-x86_64/ftpd.service
(from rev 245523, inetutils/trunk/ftpd.service)
inetutils/repos/staging-x86_64/inetutils.install
(from rev 245523, inetutils/trunk/inetutils.install)
inetutils/repos/staging-x86_64/rlogin.pam
(from rev 245523, inetutils/trunk/rlogin.pam)
inetutils/repos/staging-x86_64/rlogin.socket
(from rev 245523, inetutils/trunk/rlogin.socket)
inetutils/repos/staging-x86_64/rlogin.xinetd
(from rev 245523, inetutils/trunk/rlogin.xinetd)
inetutils/repos/staging-x86_64/rlogin at .service
(from rev 245523, inetutils/trunk/rlogin at .service)
inetutils/repos/staging-x86_64/rsh.pam
(from rev 245523, inetutils/trunk/rsh.pam)
inetutils/repos/staging-x86_64/rsh.socket
(from rev 245523, inetutils/trunk/rsh.socket)
inetutils/repos/staging-x86_64/rsh.xinetd
(from rev 245523, inetutils/trunk/rsh.xinetd)
inetutils/repos/staging-x86_64/rsh at .service
(from rev 245523, inetutils/trunk/rsh at .service)
inetutils/repos/staging-x86_64/talk.service
(from rev 245523, inetutils/trunk/talk.service)
inetutils/repos/staging-x86_64/talk.socket
(from rev 245523, inetutils/trunk/talk.socket)
inetutils/repos/staging-x86_64/talk.xinetd
(from rev 245523, inetutils/trunk/talk.xinetd)
inetutils/repos/staging-x86_64/telnet.socket
(from rev 245523, inetutils/trunk/telnet.socket)
inetutils/repos/staging-x86_64/telnet.xinetd
(from rev 245523, inetutils/trunk/telnet.xinetd)
inetutils/repos/staging-x86_64/telnet at .service
(from rev 245523, inetutils/trunk/telnet at .service)
----------------------------------+
staging-i686/PKGBUILD | 90 +++++++++++++++++++++++++++++++++++++
staging-i686/ftpd.service | 12 ++++
staging-i686/inetutils.install | 24 +++++++++
staging-i686/rlogin.pam | 13 +++++
staging-i686/rlogin.socket | 9 +++
staging-i686/rlogin.xinetd | 10 ++++
staging-i686/rlogin at .service | 7 ++
staging-i686/rsh.pam | 11 ++++
staging-i686/rsh.socket | 9 +++
staging-i686/rsh.xinetd | 10 ++++
staging-i686/rsh at .service | 7 ++
staging-i686/talk.service | 12 ++++
staging-i686/talk.socket | 9 +++
staging-i686/talk.xinetd | 10 ++++
staging-i686/telnet.socket | 10 ++++
staging-i686/telnet.xinetd | 10 ++++
staging-i686/telnet at .service | 7 ++
staging-x86_64/PKGBUILD | 90 +++++++++++++++++++++++++++++++++++++
staging-x86_64/ftpd.service | 12 ++++
staging-x86_64/inetutils.install | 24 +++++++++
staging-x86_64/rlogin.pam | 13 +++++
staging-x86_64/rlogin.socket | 9 +++
staging-x86_64/rlogin.xinetd | 10 ++++
staging-x86_64/rlogin at .service | 7 ++
staging-x86_64/rsh.pam | 11 ++++
staging-x86_64/rsh.socket | 9 +++
staging-x86_64/rsh.xinetd | 10 ++++
staging-x86_64/rsh at .service | 7 ++
staging-x86_64/talk.service | 12 ++++
staging-x86_64/talk.socket | 9 +++
staging-x86_64/talk.xinetd | 10 ++++
staging-x86_64/telnet.socket | 10 ++++
staging-x86_64/telnet.xinetd | 10 ++++
staging-x86_64/telnet at .service | 7 ++
34 files changed, 520 insertions(+)
Copied: inetutils/repos/staging-i686/PKGBUILD (from rev 245523, inetutils/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,90 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=inetutils
+pkgver=1.9.4
+pkgrel=2
+pkgdesc="A collection of common network programs"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/inetutils/"
+license=('GPL3')
+groups=('base')
+depends=('pam' 'libcap')
+makedepends=('help2man')
+backup=('etc/xinetd.d/telnet' 'etc/xinetd.d/talk'
+ 'etc/xinetd.d/rlogin' 'etc/xinetd.d/rsh'
+ 'etc/pam.d/rlogin' 'etc/pam.d/rsh')
+options=('!emptydirs')
+install=inetutils.install
+source=(http://ftp.gnu.org/gnu/inetutils/${pkgname}-${pkgver}.tar.xz{,.sig}
+ ftpd.service rlogin.pam rlogin at .service rlogin.socket rlogin.xinetd
+ rsh.pam rsh at .service rsh.socket rsh.xinetd talk.service talk.socket talk.xinetd
+ telnet at .service telnet.socket telnet.xinetd)
+sha1sums=('5e515cc9da142cb73bb1beda137b4c2dcf2b528c'
+ 'SKIP'
+ '026181500b71f0c09ef5c262450be718651e5658'
+ '387b371cbaa3611b95d30f806c0dd08b621a584a'
+ '6f9a304391610a17b8ae3ad35b742c78c86aee16'
+ '0455126fa18d2a9422469d79b9e73dd928b15652'
+ 'd9b8f8aab094ecb779d0f16f21b4683ab327516f'
+ '556b5372cbab8794e931e110b896fa8a61628bb1'
+ '828da7bce49ffc4e9645288759b275a98a2fbc40'
+ '7071da32d42a133ead039197ed891b518bb0f773'
+ '26763ae31b8a5be256666a0ba55746941d75d6ee'
+ '4486c966d28736897bce1280d85d139bd10a5689'
+ 'd1813d42c5c9d2c60f03ebe33961de357a4b8b43'
+ 'b15ab4faa9d97652e182c98c1e3a3b3cbbf6383c'
+ '0917dc6b5a80d914bf550065b1733b7da2c776f3'
+ 'a7ac7bbe917ff80fd8cd4357fbc62fab50595c34'
+ '2b2dd71eb3233e5090f4c2df8abe9b4924d323f3')
+validpgpkeys=('4FBD67621082C4C502448E3B180551BAD95A3C35')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr --libexec=/usr/bin \
+ --localstatedir=/var --sysconfdir=/etc \
+ --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 --enable-hostname --enable-dnsdomainname \
+ --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
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ chmod -s "${pkgdir}"/usr/bin/{rcp,rlogin,rsh}
+
+ install -D -m644 "${srcdir}/telnet.xinetd" "${pkgdir}/etc/xinetd.d/telnet"
+ install -D -m644 "${srcdir}/talk.xinetd" "${pkgdir}/etc/xinetd.d/talk"
+ install -D -m644 "${srcdir}/rlogin.xinetd" "${pkgdir}/etc/xinetd.d/rlogin"
+ install -D -m644 "${srcdir}/rsh.xinetd" "${pkgdir}/etc/xinetd.d/rsh"
+
+ install -D -m644 "${srcdir}/rlogin.pam" "${pkgdir}/etc/pam.d/rlogin"
+ install -D -m644 "${srcdir}/rsh.pam" "${pkgdir}/etc/pam.d/rsh"
+
+ install -D -m644 "${srcdir}/ftpd.service" "${pkgdir}/usr/lib/systemd/system/ftpd.service"
+ install -D -m644 "${srcdir}/rlogin at .service" "${pkgdir}/usr/lib/systemd/system/rlogin at .service"
+ install -D -m644 "${srcdir}/rlogin.socket" "${pkgdir}/usr/lib/systemd/system/rlogin.socket"
+ install -D -m644 "${srcdir}/rsh at .service" "${pkgdir}/usr/lib/systemd/system/rsh at .service"
+ install -D -m644 "${srcdir}/rsh.socket" "${pkgdir}/usr/lib/systemd/system/rsh.socket"
+ install -D -m644 "${srcdir}/talk.service" "${pkgdir}/usr/lib/systemd/system/talk.service"
+ install -D -m644 "${srcdir}/talk.socket" "${pkgdir}/usr/lib/systemd/system/talk.socket"
+ install -D -m644 "${srcdir}/telnet at .service" "${pkgdir}/usr/lib/systemd/system/telnet at .service"
+ install -D -m644 "${srcdir}/telnet.socket" "${pkgdir}/usr/lib/systemd/system/telnet.socket"
+}
Copied: inetutils/repos/staging-i686/ftpd.service (from rev 245523, inetutils/trunk/ftpd.service)
===================================================================
--- staging-i686/ftpd.service (rev 0)
+++ staging-i686/ftpd.service 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,12 @@
+[Unit]
+Description=FTPD Daemon
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/ftpd.pid
+ExecStart=/usr/bin/ftpd -D
+ExecStopPost=/usr/bin/rm -f /run/ftpd.pid
+
+[Install]
+WantedBy=multi-user.target
Copied: inetutils/repos/staging-i686/inetutils.install (from rev 245523, inetutils/trunk/inetutils.install)
===================================================================
--- staging-i686/inetutils.install (rev 0)
+++ staging-i686/inetutils.install 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,24 @@
+infodir=usr/share/info
+filelist=(inetutils.info.gz)
+
+post_install() {
+ setcap cap_net_bind_service=+ep usr/bin/rcp 2>/dev/null || chmod +s usr/bin/rcp
+ setcap cap_net_bind_service=+ep usr/bin/rlogin 2>/dev/null || chmod +s usr/bin/rlogin
+ setcap cap_net_bind_service=+ep usr/bin/rsh 2>/dev/null || chmod +s usr/bin/rsh
+
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
Copied: inetutils/repos/staging-i686/rlogin.pam (from rev 245523, inetutils/trunk/rlogin.pam)
===================================================================
--- staging-i686/rlogin.pam (rev 0)
+++ staging-i686/rlogin.pam 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,13 @@
+#%PAM-1.0
+# For root login to succeed here with pam_securetty, "rlogin" must be
+# listed in /etc/securetty.
+auth required pam_nologin.so
+auth required pam_securetty.so
+auth required pam_env.so
+auth sufficient pam_rhosts.so
+auth include system-auth
+account include system-auth
+password include system-auth
+session optional pam_keyinit.so force revoke
+session required pam_loginuid.so
+session include system-auth
Copied: inetutils/repos/staging-i686/rlogin.socket (from rev 245523, inetutils/trunk/rlogin.socket)
===================================================================
--- staging-i686/rlogin.socket (rev 0)
+++ staging-i686/rlogin.socket 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Remote Login Facilities Activation Socket
+
+[Socket]
+ListenStream=513
+Accept=true
+
+[Install]
+WantedBy=sockets.target
Copied: inetutils/repos/staging-i686/rlogin.xinetd (from rev 245523, inetutils/trunk/rlogin.xinetd)
===================================================================
--- staging-i686/rlogin.xinetd (rev 0)
+++ staging-i686/rlogin.xinetd 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,10 @@
+service login
+{
+ flags = REUSE
+ socket_type = stream
+ wait = no
+ user = root
+ server = /usr/bin/rlogind
+ log_on_failure += USERID
+ disable = yes
+}
Copied: inetutils/repos/staging-i686/rlogin at .service (from rev 245523, inetutils/trunk/rlogin at .service)
===================================================================
--- staging-i686/rlogin at .service (rev 0)
+++ staging-i686/rlogin at .service 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Remote Login Facilities Server
+After=local-fs.target
+
+[Service]
+ExecStart=-/usr/bin/rlogind
+StandardInput=socket
Copied: inetutils/repos/staging-i686/rsh.pam (from rev 245523, inetutils/trunk/rsh.pam)
===================================================================
--- staging-i686/rsh.pam (rev 0)
+++ staging-i686/rsh.pam 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,11 @@
+#%PAM-1.0
+# For root login to succeed here with pam_securetty, "rsh" must be
+# listed in /etc/securetty.
+auth required pam_nologin.so
+auth required pam_securetty.so
+auth required pam_env.so
+auth required pam_rhosts.so
+account include system-auth
+session optional pam_keyinit.so force revoke
+session required pam_loginuid.so
+session include system-auth
Copied: inetutils/repos/staging-i686/rsh.socket (from rev 245523, inetutils/trunk/rsh.socket)
===================================================================
--- staging-i686/rsh.socket (rev 0)
+++ staging-i686/rsh.socket 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Remote Shell Facilities Activation Socket
+
+[Socket]
+ListenStream=514
+Accept=true
+
+[Install]
+WantedBy=sockets.target
Copied: inetutils/repos/staging-i686/rsh.xinetd (from rev 245523, inetutils/trunk/rsh.xinetd)
===================================================================
--- staging-i686/rsh.xinetd (rev 0)
+++ staging-i686/rsh.xinetd 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,10 @@
+service shell
+{
+ flags = REUSE
+ socket_type = stream
+ wait = no
+ user = root
+ server = /usr/bin/rshd
+ log_on_failure += USERID
+ disable = yes
+}
Copied: inetutils/repos/staging-i686/rsh at .service (from rev 245523, inetutils/trunk/rsh at .service)
===================================================================
--- staging-i686/rsh at .service (rev 0)
+++ staging-i686/rsh at .service 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Remote Shell Facilities Server
+After=local-fs.target
+
+[Service]
+ExecStart=-/usr/bin/rshd
+StandardInput=socket
Copied: inetutils/repos/staging-i686/talk.service (from rev 245523, inetutils/trunk/talk.service)
===================================================================
--- staging-i686/talk.service (rev 0)
+++ staging-i686/talk.service 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Talk Server
+Documentation=man:talkd(8) man:talk(1)
+
+[Service]
+User=nobody
+Group=tty
+ExecStart=/usr/bin/talkd
+StandardInput=socket
+
+[Install]
+Also=talk.socket
Copied: inetutils/repos/staging-i686/talk.socket (from rev 245523, inetutils/trunk/talk.socket)
===================================================================
--- staging-i686/talk.socket (rev 0)
+++ staging-i686/talk.socket 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Talk Server Activation Socket
+Documentation=man:talkd(8) man:talk(1)
+
+[Socket]
+ListenDatagram=0.0.0.0:518
+
+[Install]
+WantedBy=sockets.target
Copied: inetutils/repos/staging-i686/talk.xinetd (from rev 245523, inetutils/trunk/talk.xinetd)
===================================================================
--- staging-i686/talk.xinetd (rev 0)
+++ staging-i686/talk.xinetd 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,10 @@
+service ntalk
+{
+ flags = REUSE
+ socket_type = dgram
+ wait = yes
+ user = root
+ server = /usr/bin/talkd
+ log_on_failure += USERID
+ disable = yes
+}
Copied: inetutils/repos/staging-i686/telnet.socket (from rev 245523, inetutils/trunk/telnet.socket)
===================================================================
--- staging-i686/telnet.socket (rev 0)
+++ staging-i686/telnet.socket 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Telnet Server Activation Socket
+Documentation=man:telnetd(8)
+
+[Socket]
+ListenStream=23
+Accept=true
+
+[Install]
+WantedBy=sockets.target
Copied: inetutils/repos/staging-i686/telnet.xinetd (from rev 245523, inetutils/trunk/telnet.xinetd)
===================================================================
--- staging-i686/telnet.xinetd (rev 0)
+++ staging-i686/telnet.xinetd 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,10 @@
+service telnet
+{
+ flags = REUSE
+ socket_type = stream
+ wait = no
+ user = root
+ server = /usr/bin/telnetd
+ log_on_failure += USERID
+ disable = yes
+}
Copied: inetutils/repos/staging-i686/telnet at .service (from rev 245523, inetutils/trunk/telnet at .service)
===================================================================
--- staging-i686/telnet at .service (rev 0)
+++ staging-i686/telnet at .service 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Telnet Server
+After=local-fs.target
+
+[Service]
+ExecStart=-/usr/bin/telnetd
+StandardInput=socket
Copied: inetutils/repos/staging-x86_64/PKGBUILD (from rev 245523, inetutils/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,90 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=inetutils
+pkgver=1.9.4
+pkgrel=2
+pkgdesc="A collection of common network programs"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/inetutils/"
+license=('GPL3')
+groups=('base')
+depends=('pam' 'libcap')
+makedepends=('help2man')
+backup=('etc/xinetd.d/telnet' 'etc/xinetd.d/talk'
+ 'etc/xinetd.d/rlogin' 'etc/xinetd.d/rsh'
+ 'etc/pam.d/rlogin' 'etc/pam.d/rsh')
+options=('!emptydirs')
+install=inetutils.install
+source=(http://ftp.gnu.org/gnu/inetutils/${pkgname}-${pkgver}.tar.xz{,.sig}
+ ftpd.service rlogin.pam rlogin at .service rlogin.socket rlogin.xinetd
+ rsh.pam rsh at .service rsh.socket rsh.xinetd talk.service talk.socket talk.xinetd
+ telnet at .service telnet.socket telnet.xinetd)
+sha1sums=('5e515cc9da142cb73bb1beda137b4c2dcf2b528c'
+ 'SKIP'
+ '026181500b71f0c09ef5c262450be718651e5658'
+ '387b371cbaa3611b95d30f806c0dd08b621a584a'
+ '6f9a304391610a17b8ae3ad35b742c78c86aee16'
+ '0455126fa18d2a9422469d79b9e73dd928b15652'
+ 'd9b8f8aab094ecb779d0f16f21b4683ab327516f'
+ '556b5372cbab8794e931e110b896fa8a61628bb1'
+ '828da7bce49ffc4e9645288759b275a98a2fbc40'
+ '7071da32d42a133ead039197ed891b518bb0f773'
+ '26763ae31b8a5be256666a0ba55746941d75d6ee'
+ '4486c966d28736897bce1280d85d139bd10a5689'
+ 'd1813d42c5c9d2c60f03ebe33961de357a4b8b43'
+ 'b15ab4faa9d97652e182c98c1e3a3b3cbbf6383c'
+ '0917dc6b5a80d914bf550065b1733b7da2c776f3'
+ 'a7ac7bbe917ff80fd8cd4357fbc62fab50595c34'
+ '2b2dd71eb3233e5090f4c2df8abe9b4924d323f3')
+validpgpkeys=('4FBD67621082C4C502448E3B180551BAD95A3C35')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr --libexec=/usr/bin \
+ --localstatedir=/var --sysconfdir=/etc \
+ --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 --enable-hostname --enable-dnsdomainname \
+ --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
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ chmod -s "${pkgdir}"/usr/bin/{rcp,rlogin,rsh}
+
+ install -D -m644 "${srcdir}/telnet.xinetd" "${pkgdir}/etc/xinetd.d/telnet"
+ install -D -m644 "${srcdir}/talk.xinetd" "${pkgdir}/etc/xinetd.d/talk"
+ install -D -m644 "${srcdir}/rlogin.xinetd" "${pkgdir}/etc/xinetd.d/rlogin"
+ install -D -m644 "${srcdir}/rsh.xinetd" "${pkgdir}/etc/xinetd.d/rsh"
+
+ install -D -m644 "${srcdir}/rlogin.pam" "${pkgdir}/etc/pam.d/rlogin"
+ install -D -m644 "${srcdir}/rsh.pam" "${pkgdir}/etc/pam.d/rsh"
+
+ install -D -m644 "${srcdir}/ftpd.service" "${pkgdir}/usr/lib/systemd/system/ftpd.service"
+ install -D -m644 "${srcdir}/rlogin at .service" "${pkgdir}/usr/lib/systemd/system/rlogin at .service"
+ install -D -m644 "${srcdir}/rlogin.socket" "${pkgdir}/usr/lib/systemd/system/rlogin.socket"
+ install -D -m644 "${srcdir}/rsh at .service" "${pkgdir}/usr/lib/systemd/system/rsh at .service"
+ install -D -m644 "${srcdir}/rsh.socket" "${pkgdir}/usr/lib/systemd/system/rsh.socket"
+ install -D -m644 "${srcdir}/talk.service" "${pkgdir}/usr/lib/systemd/system/talk.service"
+ install -D -m644 "${srcdir}/talk.socket" "${pkgdir}/usr/lib/systemd/system/talk.socket"
+ install -D -m644 "${srcdir}/telnet at .service" "${pkgdir}/usr/lib/systemd/system/telnet at .service"
+ install -D -m644 "${srcdir}/telnet.socket" "${pkgdir}/usr/lib/systemd/system/telnet.socket"
+}
Copied: inetutils/repos/staging-x86_64/ftpd.service (from rev 245523, inetutils/trunk/ftpd.service)
===================================================================
--- staging-x86_64/ftpd.service (rev 0)
+++ staging-x86_64/ftpd.service 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,12 @@
+[Unit]
+Description=FTPD Daemon
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/ftpd.pid
+ExecStart=/usr/bin/ftpd -D
+ExecStopPost=/usr/bin/rm -f /run/ftpd.pid
+
+[Install]
+WantedBy=multi-user.target
Copied: inetutils/repos/staging-x86_64/inetutils.install (from rev 245523, inetutils/trunk/inetutils.install)
===================================================================
--- staging-x86_64/inetutils.install (rev 0)
+++ staging-x86_64/inetutils.install 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,24 @@
+infodir=usr/share/info
+filelist=(inetutils.info.gz)
+
+post_install() {
+ setcap cap_net_bind_service=+ep usr/bin/rcp 2>/dev/null || chmod +s usr/bin/rcp
+ setcap cap_net_bind_service=+ep usr/bin/rlogin 2>/dev/null || chmod +s usr/bin/rlogin
+ setcap cap_net_bind_service=+ep usr/bin/rsh 2>/dev/null || chmod +s usr/bin/rsh
+
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
Copied: inetutils/repos/staging-x86_64/rlogin.pam (from rev 245523, inetutils/trunk/rlogin.pam)
===================================================================
--- staging-x86_64/rlogin.pam (rev 0)
+++ staging-x86_64/rlogin.pam 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,13 @@
+#%PAM-1.0
+# For root login to succeed here with pam_securetty, "rlogin" must be
+# listed in /etc/securetty.
+auth required pam_nologin.so
+auth required pam_securetty.so
+auth required pam_env.so
+auth sufficient pam_rhosts.so
+auth include system-auth
+account include system-auth
+password include system-auth
+session optional pam_keyinit.so force revoke
+session required pam_loginuid.so
+session include system-auth
Copied: inetutils/repos/staging-x86_64/rlogin.socket (from rev 245523, inetutils/trunk/rlogin.socket)
===================================================================
--- staging-x86_64/rlogin.socket (rev 0)
+++ staging-x86_64/rlogin.socket 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Remote Login Facilities Activation Socket
+
+[Socket]
+ListenStream=513
+Accept=true
+
+[Install]
+WantedBy=sockets.target
Copied: inetutils/repos/staging-x86_64/rlogin.xinetd (from rev 245523, inetutils/trunk/rlogin.xinetd)
===================================================================
--- staging-x86_64/rlogin.xinetd (rev 0)
+++ staging-x86_64/rlogin.xinetd 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,10 @@
+service login
+{
+ flags = REUSE
+ socket_type = stream
+ wait = no
+ user = root
+ server = /usr/bin/rlogind
+ log_on_failure += USERID
+ disable = yes
+}
Copied: inetutils/repos/staging-x86_64/rlogin at .service (from rev 245523, inetutils/trunk/rlogin at .service)
===================================================================
--- staging-x86_64/rlogin at .service (rev 0)
+++ staging-x86_64/rlogin at .service 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Remote Login Facilities Server
+After=local-fs.target
+
+[Service]
+ExecStart=-/usr/bin/rlogind
+StandardInput=socket
Copied: inetutils/repos/staging-x86_64/rsh.pam (from rev 245523, inetutils/trunk/rsh.pam)
===================================================================
--- staging-x86_64/rsh.pam (rev 0)
+++ staging-x86_64/rsh.pam 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,11 @@
+#%PAM-1.0
+# For root login to succeed here with pam_securetty, "rsh" must be
+# listed in /etc/securetty.
+auth required pam_nologin.so
+auth required pam_securetty.so
+auth required pam_env.so
+auth required pam_rhosts.so
+account include system-auth
+session optional pam_keyinit.so force revoke
+session required pam_loginuid.so
+session include system-auth
Copied: inetutils/repos/staging-x86_64/rsh.socket (from rev 245523, inetutils/trunk/rsh.socket)
===================================================================
--- staging-x86_64/rsh.socket (rev 0)
+++ staging-x86_64/rsh.socket 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Remote Shell Facilities Activation Socket
+
+[Socket]
+ListenStream=514
+Accept=true
+
+[Install]
+WantedBy=sockets.target
Copied: inetutils/repos/staging-x86_64/rsh.xinetd (from rev 245523, inetutils/trunk/rsh.xinetd)
===================================================================
--- staging-x86_64/rsh.xinetd (rev 0)
+++ staging-x86_64/rsh.xinetd 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,10 @@
+service shell
+{
+ flags = REUSE
+ socket_type = stream
+ wait = no
+ user = root
+ server = /usr/bin/rshd
+ log_on_failure += USERID
+ disable = yes
+}
Copied: inetutils/repos/staging-x86_64/rsh at .service (from rev 245523, inetutils/trunk/rsh at .service)
===================================================================
--- staging-x86_64/rsh at .service (rev 0)
+++ staging-x86_64/rsh at .service 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Remote Shell Facilities Server
+After=local-fs.target
+
+[Service]
+ExecStart=-/usr/bin/rshd
+StandardInput=socket
Copied: inetutils/repos/staging-x86_64/talk.service (from rev 245523, inetutils/trunk/talk.service)
===================================================================
--- staging-x86_64/talk.service (rev 0)
+++ staging-x86_64/talk.service 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Talk Server
+Documentation=man:talkd(8) man:talk(1)
+
+[Service]
+User=nobody
+Group=tty
+ExecStart=/usr/bin/talkd
+StandardInput=socket
+
+[Install]
+Also=talk.socket
Copied: inetutils/repos/staging-x86_64/talk.socket (from rev 245523, inetutils/trunk/talk.socket)
===================================================================
--- staging-x86_64/talk.socket (rev 0)
+++ staging-x86_64/talk.socket 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Talk Server Activation Socket
+Documentation=man:talkd(8) man:talk(1)
+
+[Socket]
+ListenDatagram=0.0.0.0:518
+
+[Install]
+WantedBy=sockets.target
Copied: inetutils/repos/staging-x86_64/talk.xinetd (from rev 245523, inetutils/trunk/talk.xinetd)
===================================================================
--- staging-x86_64/talk.xinetd (rev 0)
+++ staging-x86_64/talk.xinetd 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,10 @@
+service ntalk
+{
+ flags = REUSE
+ socket_type = dgram
+ wait = yes
+ user = root
+ server = /usr/bin/talkd
+ log_on_failure += USERID
+ disable = yes
+}
Copied: inetutils/repos/staging-x86_64/telnet.socket (from rev 245523, inetutils/trunk/telnet.socket)
===================================================================
--- staging-x86_64/telnet.socket (rev 0)
+++ staging-x86_64/telnet.socket 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Telnet Server Activation Socket
+Documentation=man:telnetd(8)
+
+[Socket]
+ListenStream=23
+Accept=true
+
+[Install]
+WantedBy=sockets.target
Copied: inetutils/repos/staging-x86_64/telnet.xinetd (from rev 245523, inetutils/trunk/telnet.xinetd)
===================================================================
--- staging-x86_64/telnet.xinetd (rev 0)
+++ staging-x86_64/telnet.xinetd 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,10 @@
+service telnet
+{
+ flags = REUSE
+ socket_type = stream
+ wait = no
+ user = root
+ server = /usr/bin/telnetd
+ log_on_failure += USERID
+ disable = yes
+}
Copied: inetutils/repos/staging-x86_64/telnet at .service (from rev 245523, inetutils/trunk/telnet at .service)
===================================================================
--- staging-x86_64/telnet at .service (rev 0)
+++ staging-x86_64/telnet at .service 2015-09-08 11:19:44 UTC (rev 245524)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Telnet Server
+After=local-fs.target
+
+[Service]
+ExecStart=-/usr/bin/telnetd
+StandardInput=socket
More information about the arch-commits
mailing list