[arch-commits] Commit in inetutils/repos (18 files)

Levente Polyak anthraxx at archlinux.org
Sat May 15 17:52:15 UTC 2021


    Date: Saturday, May 15, 2021 @ 17:52:14
  Author: anthraxx
Revision: 415543

archrelease: copy trunk to testing-x86_64

Added:
  inetutils/repos/testing-x86_64/
  inetutils/repos/testing-x86_64/PKGBUILD
    (from rev 415542, inetutils/trunk/PKGBUILD)
  inetutils/repos/testing-x86_64/ftpd.service
    (from rev 415542, inetutils/trunk/ftpd.service)
  inetutils/repos/testing-x86_64/inetutils.install
    (from rev 415542, inetutils/trunk/inetutils.install)
  inetutils/repos/testing-x86_64/rlogin.pam
    (from rev 415542, inetutils/trunk/rlogin.pam)
  inetutils/repos/testing-x86_64/rlogin.socket
    (from rev 415542, inetutils/trunk/rlogin.socket)
  inetutils/repos/testing-x86_64/rlogin.xinetd
    (from rev 415542, inetutils/trunk/rlogin.xinetd)
  inetutils/repos/testing-x86_64/rlogin at .service
    (from rev 415542, inetutils/trunk/rlogin at .service)
  inetutils/repos/testing-x86_64/rsh.pam
    (from rev 415542, inetutils/trunk/rsh.pam)
  inetutils/repos/testing-x86_64/rsh.socket
    (from rev 415542, inetutils/trunk/rsh.socket)
  inetutils/repos/testing-x86_64/rsh.xinetd
    (from rev 415542, inetutils/trunk/rsh.xinetd)
  inetutils/repos/testing-x86_64/rsh at .service
    (from rev 415542, inetutils/trunk/rsh at .service)
  inetutils/repos/testing-x86_64/talk.service
    (from rev 415542, inetutils/trunk/talk.service)
  inetutils/repos/testing-x86_64/talk.socket
    (from rev 415542, inetutils/trunk/talk.socket)
  inetutils/repos/testing-x86_64/talk.xinetd
    (from rev 415542, inetutils/trunk/talk.xinetd)
  inetutils/repos/testing-x86_64/telnet.socket
    (from rev 415542, inetutils/trunk/telnet.socket)
  inetutils/repos/testing-x86_64/telnet.xinetd
    (from rev 415542, inetutils/trunk/telnet.xinetd)
  inetutils/repos/testing-x86_64/telnet at .service
    (from rev 415542, inetutils/trunk/telnet at .service)

-------------------+
 PKGBUILD          |  111 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 ftpd.service      |   12 +++++
 inetutils.install |    9 ++++
 rlogin.pam        |   13 ++++++
 rlogin.socket     |    9 ++++
 rlogin.xinetd     |   10 ++++
 rlogin at .service   |    7 +++
 rsh.pam           |   11 +++++
 rsh.socket        |    9 ++++
 rsh.xinetd        |   10 ++++
 rsh at .service      |    7 +++
 talk.service      |   12 +++++
 talk.socket       |    9 ++++
 talk.xinetd       |   10 ++++
 telnet.socket     |   10 ++++
 telnet.xinetd     |   10 ++++
 telnet at .service   |    7 +++
 17 files changed, 266 insertions(+)

Copied: inetutils/repos/testing-x86_64/PKGBUILD (from rev 415542, inetutils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-05-15 17:52:14 UTC (rev 415543)
@@ -0,0 +1,111 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=inetutils
+pkgver=2.0
+pkgrel=1
+pkgdesc="A collection of common network programs"
+arch=('x86_64')
+url="https://www.gnu.org/software/inetutils/"
+license=('GPL3')
+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=("https://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=('9aee727905c1954a63152adf48feeb4ffde0e687'
+          'SKIP'
+          '026181500b71f0c09ef5c262450be718651e5658'
+          '387b371cbaa3611b95d30f806c0dd08b621a584a'
+          '6f9a304391610a17b8ae3ad35b742c78c86aee16'
+          '0455126fa18d2a9422469d79b9e73dd928b15652'
+          'd9b8f8aab094ecb779d0f16f21b4683ab327516f'
+          '556b5372cbab8794e931e110b896fa8a61628bb1'
+          '828da7bce49ffc4e9645288759b275a98a2fbc40'
+          '7071da32d42a133ead039197ed891b518bb0f773'
+          '26763ae31b8a5be256666a0ba55746941d75d6ee'
+          '4486c966d28736897bce1280d85d139bd10a5689'
+          'd1813d42c5c9d2c60f03ebe33961de357a4b8b43'
+          'b15ab4faa9d97652e182c98c1e3a3b3cbbf6383c'
+          '0917dc6b5a80d914bf550065b1733b7da2c776f3'
+          'a7ac7bbe917ff80fd8cd4357fbc62fab50595c34'
+          '2b2dd71eb3233e5090f4c2df8abe9b4924d323f3')
+# GNU Keyring: https://ftp.gnu.org/gnu/gnu-keyring.gpg
+validpgpkeys=(
+  '4FBD67621082C4C502448E3B180551BAD95A3C35' # Alfred M. Szmidt <ams at gnu.org>
+  '9AA9BDB11BB1B99A21285A330664A76954265E8C' # Simon Josefsson <simon at josefsson.org>
+)
+
+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/testing-x86_64/ftpd.service (from rev 415542, inetutils/trunk/ftpd.service)
===================================================================
--- testing-x86_64/ftpd.service	                        (rev 0)
+++ testing-x86_64/ftpd.service	2021-05-15 17:52:14 UTC (rev 415543)
@@ -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/testing-x86_64/inetutils.install (from rev 415542, inetutils/trunk/inetutils.install)
===================================================================
--- testing-x86_64/inetutils.install	                        (rev 0)
+++ testing-x86_64/inetutils.install	2021-05-15 17:52:14 UTC (rev 415543)
@@ -0,0 +1,9 @@
+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
+}
+
+post_upgrade() {
+  post_install
+}

Copied: inetutils/repos/testing-x86_64/rlogin.pam (from rev 415542, inetutils/trunk/rlogin.pam)
===================================================================
--- testing-x86_64/rlogin.pam	                        (rev 0)
+++ testing-x86_64/rlogin.pam	2021-05-15 17:52:14 UTC (rev 415543)
@@ -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/testing-x86_64/rlogin.socket (from rev 415542, inetutils/trunk/rlogin.socket)
===================================================================
--- testing-x86_64/rlogin.socket	                        (rev 0)
+++ testing-x86_64/rlogin.socket	2021-05-15 17:52:14 UTC (rev 415543)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Remote Login Facilities Activation Socket
+
+[Socket]
+ListenStream=513
+Accept=true
+
+[Install]
+WantedBy=sockets.target

Copied: inetutils/repos/testing-x86_64/rlogin.xinetd (from rev 415542, inetutils/trunk/rlogin.xinetd)
===================================================================
--- testing-x86_64/rlogin.xinetd	                        (rev 0)
+++ testing-x86_64/rlogin.xinetd	2021-05-15 17:52:14 UTC (rev 415543)
@@ -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/testing-x86_64/rlogin at .service (from rev 415542, inetutils/trunk/rlogin at .service)
===================================================================
--- testing-x86_64/rlogin at .service	                        (rev 0)
+++ testing-x86_64/rlogin at .service	2021-05-15 17:52:14 UTC (rev 415543)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Remote Login Facilities Server
+After=local-fs.target
+
+[Service]
+ExecStart=-/usr/bin/rlogind
+StandardInput=socket

Copied: inetutils/repos/testing-x86_64/rsh.pam (from rev 415542, inetutils/trunk/rsh.pam)
===================================================================
--- testing-x86_64/rsh.pam	                        (rev 0)
+++ testing-x86_64/rsh.pam	2021-05-15 17:52:14 UTC (rev 415543)
@@ -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/testing-x86_64/rsh.socket (from rev 415542, inetutils/trunk/rsh.socket)
===================================================================
--- testing-x86_64/rsh.socket	                        (rev 0)
+++ testing-x86_64/rsh.socket	2021-05-15 17:52:14 UTC (rev 415543)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Remote Shell Facilities Activation Socket
+
+[Socket]
+ListenStream=514
+Accept=true
+
+[Install]
+WantedBy=sockets.target

Copied: inetutils/repos/testing-x86_64/rsh.xinetd (from rev 415542, inetutils/trunk/rsh.xinetd)
===================================================================
--- testing-x86_64/rsh.xinetd	                        (rev 0)
+++ testing-x86_64/rsh.xinetd	2021-05-15 17:52:14 UTC (rev 415543)
@@ -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/testing-x86_64/rsh at .service (from rev 415542, inetutils/trunk/rsh at .service)
===================================================================
--- testing-x86_64/rsh at .service	                        (rev 0)
+++ testing-x86_64/rsh at .service	2021-05-15 17:52:14 UTC (rev 415543)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Remote Shell Facilities Server
+After=local-fs.target
+
+[Service]
+ExecStart=-/usr/bin/rshd
+StandardInput=socket

Copied: inetutils/repos/testing-x86_64/talk.service (from rev 415542, inetutils/trunk/talk.service)
===================================================================
--- testing-x86_64/talk.service	                        (rev 0)
+++ testing-x86_64/talk.service	2021-05-15 17:52:14 UTC (rev 415543)
@@ -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/testing-x86_64/talk.socket (from rev 415542, inetutils/trunk/talk.socket)
===================================================================
--- testing-x86_64/talk.socket	                        (rev 0)
+++ testing-x86_64/talk.socket	2021-05-15 17:52:14 UTC (rev 415543)
@@ -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/testing-x86_64/talk.xinetd (from rev 415542, inetutils/trunk/talk.xinetd)
===================================================================
--- testing-x86_64/talk.xinetd	                        (rev 0)
+++ testing-x86_64/talk.xinetd	2021-05-15 17:52:14 UTC (rev 415543)
@@ -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/testing-x86_64/telnet.socket (from rev 415542, inetutils/trunk/telnet.socket)
===================================================================
--- testing-x86_64/telnet.socket	                        (rev 0)
+++ testing-x86_64/telnet.socket	2021-05-15 17:52:14 UTC (rev 415543)
@@ -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/testing-x86_64/telnet.xinetd (from rev 415542, inetutils/trunk/telnet.xinetd)
===================================================================
--- testing-x86_64/telnet.xinetd	                        (rev 0)
+++ testing-x86_64/telnet.xinetd	2021-05-15 17:52:14 UTC (rev 415543)
@@ -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/testing-x86_64/telnet at .service (from rev 415542, inetutils/trunk/telnet at .service)
===================================================================
--- testing-x86_64/telnet at .service	                        (rev 0)
+++ testing-x86_64/telnet at .service	2021-05-15 17:52:14 UTC (rev 415543)
@@ -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