diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-11-15 14:34:01 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-11-15 14:34:01 +0000 |
commit | 28b13b7e8e6e1e4fa1593f0dfb1c37569f2f90a8 (patch) | |
tree | b5961b2312f5afe599dba0d1b9a3b6f6e3d04091 /testing/xinetd | |
parent | 3d151dfc8e08b65c2c1d4b5e8081562d56ee7d41 (diff) |
Tue Nov 15 14:33:58 UTC 2011
Diffstat (limited to 'testing/xinetd')
-rw-r--r-- | testing/xinetd/PKGBUILD | 43 | ||||
-rw-r--r-- | testing/xinetd/servers | 10 | ||||
-rw-r--r-- | testing/xinetd/services | 10 | ||||
-rwxr-xr-x | testing/xinetd/xinetd | 38 | ||||
-rw-r--r-- | testing/xinetd/xinetd.conf | 14 |
5 files changed, 0 insertions, 115 deletions
diff --git a/testing/xinetd/PKGBUILD b/testing/xinetd/PKGBUILD deleted file mode 100644 index 5a2935c13..000000000 --- a/testing/xinetd/PKGBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# $Id: PKGBUILD 141988 2011-11-03 20:19:56Z tpowa $ -# Maintainer: -# Contributor: Judd <jvinet@zeroflux.org> - -pkgname=xinetd -pkgver=2.3.14 -pkgrel=8 -pkgdesc="A secure replacement for inetd" -arch=('i686' 'x86_64') -url="http://www.xinetd.org/" -license=('custom') -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') - -build() { - cd $srcdir/$pkgname-$pkgver - sed -i "s#${prefix}/man#${prefix}/share/man#" configure - ./configure --prefix=/usr --without-libwrap - make -} - -package() { - cd $srcdir/$pkgname-$pkgver - make prefix=$pkgdir/usr install - - 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 license - install -Dm644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT -} diff --git a/testing/xinetd/servers b/testing/xinetd/servers deleted file mode 100644 index f064c8d7a..000000000 --- a/testing/xinetd/servers +++ /dev/null @@ -1,10 +0,0 @@ -service servers -{ - type = INTERNAL UNLISTED - port = 9099 - socket_type = stream - protocol = tcp - wait = no - disable = yes - only_from = 127.0.0.1 -} diff --git a/testing/xinetd/services b/testing/xinetd/services deleted file mode 100644 index 4ea304c4f..000000000 --- a/testing/xinetd/services +++ /dev/null @@ -1,10 +0,0 @@ -service services -{ - type = INTERNAL UNLISTED - port = 9098 - socket_type = stream - protocol = tcp - wait = no - disable = yes - only_from = 127.0.0.1 -} diff --git a/testing/xinetd/xinetd b/testing/xinetd/xinetd deleted file mode 100755 index 4b8fa369a..000000000 --- a/testing/xinetd/xinetd +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/sbin/xinetd` -case "$1" in - start) - stat_busy "Starting xinetd" - [ -z "$PID" ] && /usr/sbin/xinetd -stayalive -pidfile /var/run/xinetd.pid - if [ $? -gt 0 ]; then - stat_fail - else - echo $PID > /var/run/xinetd.pid - add_daemon xinetd - stat_done - fi - ;; - stop) - stat_busy "Stopping xinetd" - [ ! -z "$PID" ] && kill $PID &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm -f /var/run/xinetd.pid - rm_daemon xinetd - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 diff --git a/testing/xinetd/xinetd.conf b/testing/xinetd/xinetd.conf deleted file mode 100644 index b15d9f649..000000000 --- a/testing/xinetd/xinetd.conf +++ /dev/null @@ -1,14 +0,0 @@ -# -# /etc/xinetd.conf -# - -defaults -{ - instances = 60 - log_type = SYSLOG authpriv - log_on_success = HOST PID - log_on_failure = HOST - cps = 25 30 -} - -includedir /etc/xinetd.d |