summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/xinetd/PKGBUILD51
-rw-r--r--abs/extra/xinetd/xinetd-2.3.14.tar.gzbin301703 -> 0 bytes
-rw-r--r--abs/extra/xinetd/xinetd.service10
3 files changed, 43 insertions, 18 deletions
diff --git a/abs/extra/xinetd/PKGBUILD b/abs/extra/xinetd/PKGBUILD
index af0e362..3ed7dee 100644
--- a/abs/extra/xinetd/PKGBUILD
+++ b/abs/extra/xinetd/PKGBUILD
@@ -1,32 +1,47 @@
-# $Id: PKGBUILD 31124 2009-03-24 12:46:33Z allan $
-# Maintainer: Judd <jvinet@zeroflux.org>
+# $Id: PKGBUILD 162234 2012-06-24 05:44:41Z tpowa $
+# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+# Contributor: Judd <jvinet@zeroflux.org>
+
pkgname=xinetd
-pkgver=2.3.14
-pkgrel=5
-pkgdesc="xinetd is a secure replacement for inetd"
+pkgver=2.3.15
+pkgrel=2
+pkgdesc="A secure replacement for inetd"
arch=('i686' 'x86_64')
url="http://www.xinetd.org/"
license=('custom')
-depends=('tcp_wrappers')
optdepends=('perl: for xconv.pl script')
backup=('etc/xinetd.conf' 'etc/xinetd.d/servers' 'etc/xinetd.d/services')
-source=(http://www.xinetd.org/xinetd-$pkgver.tar.gz xinetd.conf xinetd \
- servers services)
-md5sums=('567382d7972613090215c6c54f9b82d9' 'f109f699a07bc8cfb5791060f5e87f9e'\
- 'ea37a2794f202e6b953d9b6956dad16a' '21f47b4aa20921cfaddddd9f9a407f81'\
- '9fa2061dc7dd738c8424251deb86f81e')
+source=(http://www.xinetd.org/xinetd-$pkgver.tar.gz
+ xinetd.conf
+ xinetd
+ servers
+ services
+ xinetd.service)
+md5sums=('77358478fd58efa6366accae99b8b04c'
+ 'f109f699a07bc8cfb5791060f5e87f9e'
+ 'ea37a2794f202e6b953d9b6956dad16a'
+ '21f47b4aa20921cfaddddd9f9a407f81'
+ '9fa2061dc7dd738c8424251deb86f81e'
+ '08466ed714ea8ba42ad81f6fb3aa62e7')
build() {
cd $srcdir/$pkgname-$pkgver
sed -i "s#${prefix}/man#${prefix}/share/man#" configure
- ./configure --prefix=/usr --with-libwrap
- make || return 1
+ ./configure --prefix=/usr --without-libwrap
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
make prefix=$pkgdir/usr install
- install -D -m755 ../xinetd $pkgdir/etc/rc.d/xinetd
- install -D -m644 ../xinetd.conf $pkgdir/etc/xinetd.conf
- install -D -m644 ../servers $pkgdir/etc/xinetd.d/servers
- install -D -m644 ../services $pkgdir/etc/xinetd.d/services
+
+ install -Dm755 $srcdir/xinetd $pkgdir/etc/rc.d/xinetd
+ 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 systemd files
+ install -Dm644 $srcdir/xinetd.service $pkgdir/usr/lib/systemd/system/xinetd.service
# install license
- install -D -m644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
+ install -Dm644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
}
diff --git a/abs/extra/xinetd/xinetd-2.3.14.tar.gz b/abs/extra/xinetd/xinetd-2.3.14.tar.gz
deleted file mode 100644
index d2050e3..0000000
--- a/abs/extra/xinetd/xinetd-2.3.14.tar.gz
+++ /dev/null
Binary files differ
diff --git a/abs/extra/xinetd/xinetd.service b/abs/extra/xinetd/xinetd.service
new file mode 100644
index 0000000..c6f6271
--- /dev/null
+++ b/abs/extra/xinetd/xinetd.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=A secure replacement for inetd
+After=network.target
+
+[Service]
+ExecStart=/usr/sbin/xinetd -dontfork
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target