summaryrefslogtreecommitdiff
path: root/testing/ypbind-mt
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-05-19 16:52:00 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-05-19 16:52:00 +0000
commitb8ea4461e461f0e1782e28b5810eb811423afa79 (patch)
treec11f256cb01c37f0b2ab370c4838fa4e3949e2a1 /testing/ypbind-mt
parent82b609ecce972e236c2ce887ecd55ec30e2874a7 (diff)
Thu May 19 16:52:00 UTC 2011
Diffstat (limited to 'testing/ypbind-mt')
-rw-r--r--testing/ypbind-mt/PKGBUILD35
-rwxr-xr-xtesting/ypbind-mt/ypbind36
-rw-r--r--testing/ypbind-mt/ypbind.conf4
3 files changed, 0 insertions, 75 deletions
diff --git a/testing/ypbind-mt/PKGBUILD b/testing/ypbind-mt/PKGBUILD
deleted file mode 100644
index ddb807725..000000000
--- a/testing/ypbind-mt/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id: PKGBUILD 123631 2011-05-11 23:05:30Z bisson $
-# Maintainer: Gaetan Bisson <bisson@archlinux.org>
-# Contributor: judd <jvinet@zeroflux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-
-pkgname=ypbind-mt
-pkgver=1.33
-pkgrel=1
-pkgdesc='Linux NIS daemon'
-arch=('i686' 'x86_64')
-url='http://www.linux-nis.org/nis/ypbind-mt/'
-license=('GPL2')
-depends=('rpcbind' 'openslp')
-backup=('etc/yp.conf' 'etc/conf.d/ypbind')
-source=("ftp://ftp.kernel.org/pub/linux/utils/net/NIS/$pkgname-$pkgver.tar.gz"
- 'ypbind.conf'
- 'ypbind')
-sha1sums=('49f578d15aa5d4f4130a2e96cd9c0e519263fc88'
- '07dee386d001fb9e9e6b76dda8af5b2092e5a4a2'
- '66f6ea2f622e0724e6017bf835d4f7f4a5bf9534')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --disable-dbus-nm
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- install -D -m644 etc/yp.conf "$pkgdir"/etc/yp.conf
- install -D -m755 ../ypbind "$pkgdir"/etc/rc.d/ypbind
- install -D -m644 ../ypbind.conf "$pkgdir"/etc/conf.d/ypbind
- install -d -m755 "$pkgdir"/var/yp/binding
-}
diff --git a/testing/ypbind-mt/ypbind b/testing/ypbind-mt/ypbind
deleted file mode 100755
index 5ef5cf5b3..000000000
--- a/testing/ypbind-mt/ypbind
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/ypbind
-
-case "$1" in
- start)
- stat_busy "Starting NIS Bind Daemon"
- [ -f /etc/defaultdomain ] && /bin/domainname -F /etc/defaultdomain
- /usr/sbin/ypbind $YPBIND_ARGS
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon ypbind
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping NIS Bind Daemon"
- killall -q /usr/sbin/ypbind
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon ypbind
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
diff --git a/testing/ypbind-mt/ypbind.conf b/testing/ypbind-mt/ypbind.conf
deleted file mode 100644
index fd0ebd491..000000000
--- a/testing/ypbind-mt/ypbind.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-#
-# Parameters to be passed to ypbind
-#
-YPBIND_ARGS=""