[arch-commits] Commit in ypbind-mt/repos (14 files)
Dave Reisner
dreisner at archlinux.org
Sat Jun 16 17:17:29 UTC 2012
Date: Saturday, June 16, 2012 @ 13:17:28
Author: dreisner
Revision: 161942
db-move: moved ypbind-mt from [staging] to [testing] ( i686, x86_64)
Added:
ypbind-mt/repos/testing-i686/
ypbind-mt/repos/testing-i686/PKGBUILD
(from rev 161923, ypbind-mt/repos/staging-i686/PKGBUILD)
ypbind-mt/repos/testing-i686/nisdomainname.conf
(from rev 161923, ypbind-mt/repos/staging-i686/nisdomainname.conf)
ypbind-mt/repos/testing-i686/ypbind
(from rev 161923, ypbind-mt/repos/staging-i686/ypbind)
ypbind-mt/repos/testing-i686/ypbind.conf
(from rev 161923, ypbind-mt/repos/staging-i686/ypbind.conf)
ypbind-mt/repos/testing-i686/ypbind.service
(from rev 161923, ypbind-mt/repos/staging-i686/ypbind.service)
ypbind-mt/repos/testing-x86_64/
ypbind-mt/repos/testing-x86_64/PKGBUILD
(from rev 161923, ypbind-mt/repos/staging-x86_64/PKGBUILD)
ypbind-mt/repos/testing-x86_64/nisdomainname.conf
(from rev 161923, ypbind-mt/repos/staging-x86_64/nisdomainname.conf)
ypbind-mt/repos/testing-x86_64/ypbind
(from rev 161923, ypbind-mt/repos/staging-x86_64/ypbind)
ypbind-mt/repos/testing-x86_64/ypbind.conf
(from rev 161923, ypbind-mt/repos/staging-x86_64/ypbind.conf)
ypbind-mt/repos/testing-x86_64/ypbind.service
(from rev 161923, ypbind-mt/repos/staging-x86_64/ypbind.service)
Deleted:
ypbind-mt/repos/staging-i686/
ypbind-mt/repos/staging-x86_64/
-----------------------------------+
testing-i686/PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++
testing-i686/nisdomainname.conf | 4 ++
testing-i686/ypbind | 35 +++++++++++++++++++++++++
testing-i686/ypbind.conf | 4 ++
testing-i686/ypbind.service | 13 +++++++++
testing-x86_64/PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++
testing-x86_64/nisdomainname.conf | 4 ++
testing-x86_64/ypbind | 35 +++++++++++++++++++++++++
testing-x86_64/ypbind.conf | 4 ++
testing-x86_64/ypbind.service | 13 +++++++++
10 files changed, 212 insertions(+)
Copied: ypbind-mt/repos/testing-i686/PKGBUILD (from rev 161923, ypbind-mt/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-06-16 17:17:28 UTC (rev 161942)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: 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=5
+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' 'yp-tools')
+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"
+source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'nisdomainname.conf'
+ 'ypbind.conf'
+ 'ypbind'
+ 'ypbind.service')
+
+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 -m644 ../ypbind.service "${pkgdir}"/usr/lib/systemd/system/ypbind.service
+ install -d -m755 "${pkgdir}"/var/yp/binding
+}
+md5sums=('692f68ed0476762be4228ce543a5b791'
+ 'e83a85291ea2ee152a78f2c16b0b1185'
+ '229309a989abad27703ac2e6d07dc7ae'
+ '1f7a4c80414d580c9afb3a08267beed0'
+ '88a721095e334cd442f4649a151ba9be')
Copied: ypbind-mt/repos/testing-i686/nisdomainname.conf (from rev 161923, ypbind-mt/repos/staging-i686/nisdomainname.conf)
===================================================================
--- testing-i686/nisdomainname.conf (rev 0)
+++ testing-i686/nisdomainname.conf 2012-06-16 17:17:28 UTC (rev 161942)
@@ -0,0 +1,4 @@
+#
+# NIS domain to be set in /etc/rc.d/ypbind
+#
+NISDOMAINNAME=""
Copied: ypbind-mt/repos/testing-i686/ypbind (from rev 161923, ypbind-mt/repos/staging-i686/ypbind)
===================================================================
--- testing-i686/ypbind (rev 0)
+++ testing-i686/ypbind 2012-06-16 17:17:28 UTC (rev 161942)
@@ -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 161923, ypbind-mt/repos/staging-i686/ypbind.conf)
===================================================================
--- testing-i686/ypbind.conf (rev 0)
+++ testing-i686/ypbind.conf 2012-06-16 17:17:28 UTC (rev 161942)
@@ -0,0 +1,4 @@
+#
+# Parameters to be passed to ypbind
+#
+YPBIND_ARGS=""
Copied: ypbind-mt/repos/testing-i686/ypbind.service (from rev 161923, ypbind-mt/repos/staging-i686/ypbind.service)
===================================================================
--- testing-i686/ypbind.service (rev 0)
+++ testing-i686/ypbind.service 2012-06-16 17:17:28 UTC (rev 161942)
@@ -0,0 +1,13 @@
+[Unit]
+Description=YP Bind
+Requires=rpcbind.service domainname.service
+After=rpcbind.service domainname.service network.target
+Before=systemd-user-sessions.service
+
+[Service]
+Type=forking
+PIDFile=/run/ypbind.pid
+ExecStart=/usr/sbin/ypbind
+
+[Install]
+WantedBy=multi-user.target
Copied: ypbind-mt/repos/testing-x86_64/PKGBUILD (from rev 161923, ypbind-mt/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-06-16 17:17:28 UTC (rev 161942)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: 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=5
+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' 'yp-tools')
+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"
+source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'nisdomainname.conf'
+ 'ypbind.conf'
+ 'ypbind'
+ 'ypbind.service')
+
+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 -m644 ../ypbind.service "${pkgdir}"/usr/lib/systemd/system/ypbind.service
+ install -d -m755 "${pkgdir}"/var/yp/binding
+}
+md5sums=('692f68ed0476762be4228ce543a5b791'
+ 'e83a85291ea2ee152a78f2c16b0b1185'
+ '229309a989abad27703ac2e6d07dc7ae'
+ '1f7a4c80414d580c9afb3a08267beed0'
+ '88a721095e334cd442f4649a151ba9be')
Copied: ypbind-mt/repos/testing-x86_64/nisdomainname.conf (from rev 161923, ypbind-mt/repos/staging-x86_64/nisdomainname.conf)
===================================================================
--- testing-x86_64/nisdomainname.conf (rev 0)
+++ testing-x86_64/nisdomainname.conf 2012-06-16 17:17:28 UTC (rev 161942)
@@ -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 161923, ypbind-mt/repos/staging-x86_64/ypbind)
===================================================================
--- testing-x86_64/ypbind (rev 0)
+++ testing-x86_64/ypbind 2012-06-16 17:17:28 UTC (rev 161942)
@@ -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 161923, ypbind-mt/repos/staging-x86_64/ypbind.conf)
===================================================================
--- testing-x86_64/ypbind.conf (rev 0)
+++ testing-x86_64/ypbind.conf 2012-06-16 17:17:28 UTC (rev 161942)
@@ -0,0 +1,4 @@
+#
+# Parameters to be passed to ypbind
+#
+YPBIND_ARGS=""
Copied: ypbind-mt/repos/testing-x86_64/ypbind.service (from rev 161923, ypbind-mt/repos/staging-x86_64/ypbind.service)
===================================================================
--- testing-x86_64/ypbind.service (rev 0)
+++ testing-x86_64/ypbind.service 2012-06-16 17:17:28 UTC (rev 161942)
@@ -0,0 +1,13 @@
+[Unit]
+Description=YP Bind
+Requires=rpcbind.service domainname.service
+After=rpcbind.service domainname.service network.target
+Before=systemd-user-sessions.service
+
+[Service]
+Type=forking
+PIDFile=/run/ypbind.pid
+ExecStart=/usr/sbin/ypbind
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list