[arch-commits] Commit in ypbind-mt/repos (10 files)
Tom Gundersen
tomegun at archlinux.org
Mon Sep 12 22:18:20 UTC 2011
Date: Monday, September 12, 2011 @ 18:18:20
Author: tomegun
Revision: 137945
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
ypbind-mt/repos/testing-i686/
ypbind-mt/repos/testing-i686/PKGBUILD
(from rev 137944, ypbind-mt/trunk/PKGBUILD)
ypbind-mt/repos/testing-i686/nisdomainname.conf
(from rev 137944, ypbind-mt/trunk/nisdomainname.conf)
ypbind-mt/repos/testing-i686/ypbind
(from rev 137944, ypbind-mt/trunk/ypbind)
ypbind-mt/repos/testing-i686/ypbind.conf
(from rev 137944, ypbind-mt/trunk/ypbind.conf)
ypbind-mt/repos/testing-x86_64/
ypbind-mt/repos/testing-x86_64/PKGBUILD
(from rev 137944, ypbind-mt/trunk/PKGBUILD)
ypbind-mt/repos/testing-x86_64/nisdomainname.conf
(from rev 137944, ypbind-mt/trunk/nisdomainname.conf)
ypbind-mt/repos/testing-x86_64/ypbind
(from rev 137944, ypbind-mt/trunk/ypbind)
ypbind-mt/repos/testing-x86_64/ypbind.conf
(from rev 137944, ypbind-mt/trunk/ypbind.conf)
-----------------------------------+
testing-i686/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++
testing-i686/nisdomainname.conf | 4 +++
testing-i686/ypbind | 35 +++++++++++++++++++++++++++
testing-i686/ypbind.conf | 4 +++
testing-x86_64/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++
testing-x86_64/nisdomainname.conf | 4 +++
testing-x86_64/ypbind | 35 +++++++++++++++++++++++++++
testing-x86_64/ypbind.conf | 4 +++
8 files changed, 178 insertions(+)
Copied: ypbind-mt/repos/testing-i686/PKGBUILD (from rev 137944, ypbind-mt/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2011-09-12 22:18:20 UTC (rev 137945)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=ypbind-mt
+pkgver=1.33
+pkgrel=3
+pkgdesc='Linux NIS daemon'
+url='http://www.linux-nis.org/nis/ypbind-mt/'
+license=('GPL2')
+arch=('i686' 'x86_64')
+makedepends=('networkmanager')
+depends=('rpcbind' 'openslp' 'dbus-glib')
+optdepends=('yp-tools: to set a domain name')
+backup=('etc/yp.conf' 'etc/conf.d/ypbind' 'etc/conf.d/nisdomainname')
+source=("ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${pkgname}-${pkgver}.tar.gz"
+ 'nisdomainname.conf'
+ 'ypbind.conf'
+ 'ypbind')
+sha1sums=('49f578d15aa5d4f4130a2e96cd9c0e519263fc88'
+ 'eb00aecc0679e25a36b007e797f4468b40cb3e8e'
+ '07dee386d001fb9e9e6b76dda8af5b2092e5a4a2'
+ '112fc2aedfe3f761325b69647b7938bc1be5bfcd')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure \
+ --prefix=/usr \
+ --enable-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 -m644 ../nisdomainname.conf "${pkgdir}"/etc/conf.d/nisdomainname
+ install -d -m755 "${pkgdir}"/var/yp/binding
+}
Copied: ypbind-mt/repos/testing-i686/nisdomainname.conf (from rev 137944, ypbind-mt/trunk/nisdomainname.conf)
===================================================================
--- testing-i686/nisdomainname.conf (rev 0)
+++ testing-i686/nisdomainname.conf 2011-09-12 22:18:20 UTC (rev 137945)
@@ -0,0 +1,4 @@
+#
+# NIS domain to be set in /etc/rc.d/ypbind
+#
+NISDOMAINNAME=""
Copied: ypbind-mt/repos/testing-i686/ypbind (from rev 137944, ypbind-mt/trunk/ypbind)
===================================================================
--- testing-i686/ypbind (rev 0)
+++ testing-i686/ypbind 2011-09-12 22:18:20 UTC (rev 137945)
@@ -0,0 +1,35 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+. /etc/conf.d/ypbind
+. /etc/conf.d/nisdomainname
+
+name=ypbind
+PID=$(pidof -o %PPID /usr/sbin/ypbind)
+
+case "$1" in
+start)
+ stat_busy "Starting $name daemon"
+ [[ -n $NISDOMAINNAME ]] && /usr/bin/domainname "$NISDOMAINNAME" &>/dev/null
+ [[ -z "$PID" ]] && /usr/sbin/ypbind $YPBIND_ARGS &>/dev/null \
+ && { add_daemon $name; stat_done; } \
+ || { stat_fail; exit 1; }
+ ;;
+stop)
+ stat_busy "Stopping $name daemon"
+ [[ -n "$PID" ]] && kill $PID &>/dev/null \
+ && { rm_daemon $name; stat_done; } \
+ || { stat_fail; exit 1; }
+ ;;
+restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+*)
+ echo "usage: $0 {start|stop|restart}"
+ exit 1
+ ;;
+esac
Copied: ypbind-mt/repos/testing-i686/ypbind.conf (from rev 137944, ypbind-mt/trunk/ypbind.conf)
===================================================================
--- testing-i686/ypbind.conf (rev 0)
+++ testing-i686/ypbind.conf 2011-09-12 22:18:20 UTC (rev 137945)
@@ -0,0 +1,4 @@
+#
+# Parameters to be passed to ypbind
+#
+YPBIND_ARGS=""
Copied: ypbind-mt/repos/testing-x86_64/PKGBUILD (from rev 137944, ypbind-mt/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-09-12 22:18:20 UTC (rev 137945)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=ypbind-mt
+pkgver=1.33
+pkgrel=3
+pkgdesc='Linux NIS daemon'
+url='http://www.linux-nis.org/nis/ypbind-mt/'
+license=('GPL2')
+arch=('i686' 'x86_64')
+makedepends=('networkmanager')
+depends=('rpcbind' 'openslp' 'dbus-glib')
+optdepends=('yp-tools: to set a domain name')
+backup=('etc/yp.conf' 'etc/conf.d/ypbind' 'etc/conf.d/nisdomainname')
+source=("ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${pkgname}-${pkgver}.tar.gz"
+ 'nisdomainname.conf'
+ 'ypbind.conf'
+ 'ypbind')
+sha1sums=('49f578d15aa5d4f4130a2e96cd9c0e519263fc88'
+ 'eb00aecc0679e25a36b007e797f4468b40cb3e8e'
+ '07dee386d001fb9e9e6b76dda8af5b2092e5a4a2'
+ '112fc2aedfe3f761325b69647b7938bc1be5bfcd')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure \
+ --prefix=/usr \
+ --enable-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 -m644 ../nisdomainname.conf "${pkgdir}"/etc/conf.d/nisdomainname
+ install -d -m755 "${pkgdir}"/var/yp/binding
+}
Copied: ypbind-mt/repos/testing-x86_64/nisdomainname.conf (from rev 137944, ypbind-mt/trunk/nisdomainname.conf)
===================================================================
--- testing-x86_64/nisdomainname.conf (rev 0)
+++ testing-x86_64/nisdomainname.conf 2011-09-12 22:18:20 UTC (rev 137945)
@@ -0,0 +1,4 @@
+#
+# NIS domain to be set in /etc/rc.d/ypbind
+#
+NISDOMAINNAME=""
Copied: ypbind-mt/repos/testing-x86_64/ypbind (from rev 137944, ypbind-mt/trunk/ypbind)
===================================================================
--- testing-x86_64/ypbind (rev 0)
+++ testing-x86_64/ypbind 2011-09-12 22:18:20 UTC (rev 137945)
@@ -0,0 +1,35 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+. /etc/conf.d/ypbind
+. /etc/conf.d/nisdomainname
+
+name=ypbind
+PID=$(pidof -o %PPID /usr/sbin/ypbind)
+
+case "$1" in
+start)
+ stat_busy "Starting $name daemon"
+ [[ -n $NISDOMAINNAME ]] && /usr/bin/domainname "$NISDOMAINNAME" &>/dev/null
+ [[ -z "$PID" ]] && /usr/sbin/ypbind $YPBIND_ARGS &>/dev/null \
+ && { add_daemon $name; stat_done; } \
+ || { stat_fail; exit 1; }
+ ;;
+stop)
+ stat_busy "Stopping $name daemon"
+ [[ -n "$PID" ]] && kill $PID &>/dev/null \
+ && { rm_daemon $name; stat_done; } \
+ || { stat_fail; exit 1; }
+ ;;
+restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+*)
+ echo "usage: $0 {start|stop|restart}"
+ exit 1
+ ;;
+esac
Copied: ypbind-mt/repos/testing-x86_64/ypbind.conf (from rev 137944, ypbind-mt/trunk/ypbind.conf)
===================================================================
--- testing-x86_64/ypbind.conf (rev 0)
+++ testing-x86_64/ypbind.conf 2011-09-12 22:18:20 UTC (rev 137945)
@@ -0,0 +1,4 @@
+#
+# Parameters to be passed to ypbind
+#
+YPBIND_ARGS=""
More information about the arch-commits
mailing list