41 lines
1.6 KiB
Text
41 lines
1.6 KiB
Text
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
||
|
# Contributor: Judd <jvinet@zeroflux.org>
|
||
|
|
||
|
pkgname=xinetd
|
||
|
pkgver=2.3.15.4
|
||
|
pkgrel=0
|
||
|
pkgdesc="A secure replacement for inetd"
|
||
|
arch="x86_64"
|
||
|
url="https://github.com/openSUSE/xinetd"
|
||
|
license="custom"
|
||
|
makedepends="libtirpc-dev"
|
||
|
subpackages="$pkgname-doc"
|
||
|
source="
|
||
|
https://github.com/openSUSE/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz
|
||
|
xinetd.conf
|
||
|
servers
|
||
|
services
|
||
|
"
|
||
|
|
||
|
build() {
|
||
|
./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --without-libwrap
|
||
|
CFLAGS="$CFLAGS -I/usr/include/tirpc" LDFLAGS="$LDFLAGS -ltirpc" make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
make prefix="$pkgdir/usr" sbindir="$pkgdir/usr/bin" sysconfdir="$pkgdir/etc" install
|
||
|
|
||
|
install -Dm644 "$srcdir"/xinetd.conf "$pkgdir"/etc/xinetd.conf
|
||
|
install -Dm644 "$srcdir"/servers "$pkgdir"/etc/xinetd.d/servers
|
||
|
install -Dm644 "$srcdir"/services "$pkgdir"/etc/xinetd.d/services
|
||
|
|
||
|
# install license
|
||
|
install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT
|
||
|
}
|
||
|
sha512sums="
|
||
|
1d9bbf5f60b299746adf3e57a669bf1a554b50066563b65cdb7584f00dcab2d3d331df705eefb56b51c52a16b5ed6b109cd832c27df87c7f262bb304e17ddc0e xinetd-2.3.15.4.tar.xz
|
||
|
c54e870db56570a7373a0e815148656198f9bd3f14bb4ab40af3bd3c7539dfacb6ff7f917a3df5788eba9b4a96a07fb4d7a6f4e4ea89945686e761a19bbc2008 xinetd.conf
|
||
|
d5e321e084f74e27f619c911ded29ec4faab5aa754d289af42db31bfac1fe347655e59ccb2812d42e36bccbb306d7d3e974ea3dfd90363505458bc9357298404 servers
|
||
|
da41af51bf8958814044b0961fec2c24959a4f2583a804a4e8f26aaef466248f5b554e0ea62bf4e7a8a0b7ae214cdd7767c99529464956f5c5cd0fbe82183daa services
|
||
|
"
|