Browse Source

[testing] -> [core] 'inetutils-1.9.4-7' move

master
artoo 1 year ago
parent
commit
6c4afd3b30
Signed by: artoo <artoo@artixlinux.org> GPG Key ID: 3292CD0BB0DB310B
9 changed files with 1 additions and 143 deletions
  1. +1
    -1
      inetutils/repos/core-x86_64/PKGBUILD
  2. +0
    -69
      inetutils/repos/testing-x86_64/PKGBUILD
  3. +0
    -9
      inetutils/repos/testing-x86_64/inetutils.install
  4. +0
    -13
      inetutils/repos/testing-x86_64/rlogin.pam
  5. +0
    -10
      inetutils/repos/testing-x86_64/rlogin.xinetd
  6. +0
    -11
      inetutils/repos/testing-x86_64/rsh.pam
  7. +0
    -10
      inetutils/repos/testing-x86_64/rsh.xinetd
  8. +0
    -10
      inetutils/repos/testing-x86_64/talk.xinetd
  9. +0
    -10
      inetutils/repos/testing-x86_64/telnet.xinetd

+ 1
- 1
inetutils/repos/core-x86_64/PKGBUILD View File

@@ -2,7 +2,7 @@

pkgname=inetutils
pkgver=1.9.4
pkgrel=6
pkgrel=7
pkgdesc="A collection of common network programs"
arch=('x86_64')
url="http://www.gnu.org/software/inetutils/"


+ 0
- 69
inetutils/repos/testing-x86_64/PKGBUILD View File

@@ -1,69 +0,0 @@
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=inetutils
pkgver=1.9.4
pkgrel=7
pkgdesc="A collection of common network programs"
arch=('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=("https://ftp.gnu.org/gnu/inetutils/${pkgname}-${pkgver}.tar.xz"{,.sig}
'rlogin.pam' 'rlogin.xinetd'
'rsh.pam' 'rsh.xinetd' 'talk.xinetd' 'telnet.xinetd')
sha1sums=('5e515cc9da142cb73bb1beda137b4c2dcf2b528c'
'SKIP'
'387b371cbaa3611b95d30f806c0dd08b621a584a'
'd9b8f8aab094ecb779d0f16f21b4683ab327516f'
'556b5372cbab8794e931e110b896fa8a61628bb1'
'26763ae31b8a5be256666a0ba55746941d75d6ee'
'b15ab4faa9d97652e182c98c1e3a3b3cbbf6383c'
'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"
}

+ 0
- 9
inetutils/repos/testing-x86_64/inetutils.install View File

@@ -1,9 +0,0 @@
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
}

+ 0
- 13
inetutils/repos/testing-x86_64/rlogin.pam View File

@@ -1,13 +0,0 @@
#%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

+ 0
- 10
inetutils/repos/testing-x86_64/rlogin.xinetd View File

@@ -1,10 +0,0 @@
service login
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/bin/rlogind
log_on_failure += USERID
disable = yes
}

+ 0
- 11
inetutils/repos/testing-x86_64/rsh.pam View File

@@ -1,11 +0,0 @@
#%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

+ 0
- 10
inetutils/repos/testing-x86_64/rsh.xinetd View File

@@ -1,10 +0,0 @@
service shell
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/bin/rshd
log_on_failure += USERID
disable = yes
}

+ 0
- 10
inetutils/repos/testing-x86_64/talk.xinetd View File

@@ -1,10 +0,0 @@
service ntalk
{
flags = REUSE
socket_type = dgram
wait = yes
user = root
server = /usr/bin/talkd
log_on_failure += USERID
disable = yes
}

+ 0
- 10
inetutils/repos/testing-x86_64/telnet.xinetd View File

@@ -1,10 +0,0 @@
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/bin/telnetd
log_on_failure += USERID
disable = yes
}

Loading…
Cancel
Save