2022-03-20 13:19:37 +01:00
|
|
|
#!/usr/bin/bash
|
|
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
|
|
# Website : https://pozol.eu
|
|
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
|
|
|
|
pkgname=inetutils
|
2024-01-08 00:30:30 +01:00
|
|
|
pkgver=2.5
|
|
|
|
pkgrel=01
|
2022-03-20 13:19:37 +01:00
|
|
|
pkgdesc="A collection of common network programs - w/o ipv6 & systemd"
|
2023-02-25 18:15:53 +01:00
|
|
|
arch=(x86_64)
|
2022-03-20 13:19:37 +01:00
|
|
|
url="https://www.gnu.org/software/inetutils/"
|
|
|
|
depends=('pam' 'libcap' 'readline' 'ncurses' 'libxcrypt'
|
|
|
|
libpam.so libcrypt.so libreadline.so libncursesw.so)
|
|
|
|
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'
|
2023-09-23 21:25:04 +02:00
|
|
|
'rsh.pam' 'rsh.xinetd' 'talk.xinetd' 'telnet.xinetd'
|
|
|
|
'inetutils.sysusers')
|
2022-03-20 13:19:37 +01:00
|
|
|
|
|
|
|
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-ipv6 \
|
|
|
|
--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"
|
2023-09-23 21:25:04 +02:00
|
|
|
install -D -m644 ../$pkgname.sysusers "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
|
2022-03-20 13:19:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
|
2023-09-23 21:25:04 +02:00
|
|
|
#license=('GPL3')
|
|
|
|
license=('GPL-3.0-or-later')
|
2022-03-20 13:19:37 +01:00
|
|
|
|
|
|
|
# GNU Keyring: https://ftp.gnu.org/gnu/gnu-keyring.gpg
|
|
|
|
validpgpkeys=(4FBD67621082C4C502448E3B180551BAD95A3C35 # Alfred M. Szmidt <ams@gnu.org>
|
2022-08-21 20:33:40 +02:00
|
|
|
9AA9BDB11BB1B99A21285A330664A76954265E8C # Simon Josefsson <simon@josefsson.org>
|
|
|
|
B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE) # simon@josefsson.org
|
2022-03-20 13:19:37 +01:00
|
|
|
|
2024-01-08 00:30:30 +01:00
|
|
|
sha256sums=(87697d60a31e10b5cb86a9f0651e1ec7bee98320d048c0739431aac3d5764fb6 # inetutils-2.5.tar.xz
|
|
|
|
61ae35c0f4db77a3f9434814462fe734d9b81f3dc4ee9209f69619adbe7370d7 # inetutils-2.5.tar.xz.sig
|
2023-02-25 18:15:53 +01:00
|
|
|
428367b148033c7fa865e92bdd73b06cb58e6909488649adebf8d2253a022f1f # rlogin.pam
|
|
|
|
c5ff9a299f4b09bc097069e8a4987f6db495083fb7b11443e390cabfdf230165 # rlogin.xinetd
|
|
|
|
6317e1e62f0dcf32ac99334bafdc8972b4967048456448ef1e2458219661bf18 # rsh.pam
|
|
|
|
5d8852f3961ea9b1aec7d50b84ddde4746ddbf4f6c5ed67cb419ab56e79d4762 # rsh.xinetd
|
|
|
|
0f5799a8d9a8a7ad28ff99ee022b1e742b6e5cfd1ba451339173d6eb75624bab # talk.xinetd
|
2023-09-23 21:25:04 +02:00
|
|
|
b019c8d8130a5dcda5dacd988a7e35e21e34738ff4d6b4cfe39be83a413ec8ac # telnet.xinetd
|
|
|
|
6a166f9f80230b68e21e367ea36430988736e184a174be476d3a9ea238aede6e) # inetutils.sysusers
|
2022-08-21 20:33:40 +02:00
|
|
|
|
2024-01-08 00:30:30 +01:00
|
|
|
## 5e73d56c9f4d1e2063d917328b3090a432f2860ad3faf053841aeb02fd5be824 inetutils-2.5-01-x86_64.pkg.tar.lz
|
2023-02-25 18:15:53 +01:00
|
|
|
|