[arch-commits] Commit in ypserv/repos (30 files)
Dave Reisner
dreisner at archlinux.org
Sat Oct 6 00:49:54 UTC 2012
Date: Friday, October 5, 2012 @ 20:49:54
Author: dreisner
Revision: 168108
db-move: moved ypserv from [core] to [extra] (i686, x86_64)
Added:
ypserv/repos/extra-i686/PKGBUILD
(from rev 168107, ypserv/repos/core-i686/PKGBUILD)
ypserv/repos/extra-i686/confpost.patch
(from rev 168107, ypserv/repos/core-i686/confpost.patch)
ypserv/repos/extra-i686/yppasswd
(from rev 168107, ypserv/repos/core-i686/yppasswd)
ypserv/repos/extra-i686/yppasswdd.service
(from rev 168107, ypserv/repos/core-i686/yppasswdd.service)
ypserv/repos/extra-i686/ypserv
(from rev 168107, ypserv/repos/core-i686/ypserv)
ypserv/repos/extra-i686/ypserv.service
(from rev 168107, ypserv/repos/core-i686/ypserv.service)
ypserv/repos/extra-i686/ypxfrd.service
(from rev 168107, ypserv/repos/core-i686/ypxfrd.service)
ypserv/repos/extra-x86_64/PKGBUILD
(from rev 168107, ypserv/repos/core-x86_64/PKGBUILD)
ypserv/repos/extra-x86_64/confpost.patch
(from rev 168107, ypserv/repos/core-x86_64/confpost.patch)
ypserv/repos/extra-x86_64/yppasswd
(from rev 168107, ypserv/repos/core-x86_64/yppasswd)
ypserv/repos/extra-x86_64/yppasswdd.service
(from rev 168107, ypserv/repos/core-x86_64/yppasswdd.service)
ypserv/repos/extra-x86_64/ypserv
(from rev 168107, ypserv/repos/core-x86_64/ypserv)
ypserv/repos/extra-x86_64/ypserv.service
(from rev 168107, ypserv/repos/core-x86_64/ypserv.service)
ypserv/repos/extra-x86_64/ypxfrd.service
(from rev 168107, ypserv/repos/core-x86_64/ypxfrd.service)
Deleted:
ypserv/repos/core-i686/
ypserv/repos/core-x86_64/
ypserv/repos/extra-i686/PKGBUILD
ypserv/repos/extra-i686/confpost.patch
ypserv/repos/extra-i686/yppasswd
ypserv/repos/extra-i686/yppasswdd.service
ypserv/repos/extra-i686/ypserv
ypserv/repos/extra-i686/ypserv.service
ypserv/repos/extra-i686/ypxfrd.service
ypserv/repos/extra-x86_64/PKGBUILD
ypserv/repos/extra-x86_64/confpost.patch
ypserv/repos/extra-x86_64/yppasswd
ypserv/repos/extra-x86_64/yppasswdd.service
ypserv/repos/extra-x86_64/ypserv
ypserv/repos/extra-x86_64/ypserv.service
ypserv/repos/extra-x86_64/ypxfrd.service
--------------------------------+
extra-i686/PKGBUILD | 108 +++++++++++++++++++--------------------
extra-i686/confpost.patch | 28 +++++-----
extra-i686/yppasswd | 68 ++++++++++++------------
extra-i686/yppasswdd.service | 24 ++++----
extra-i686/ypserv | 68 ++++++++++++------------
extra-i686/ypserv.service | 24 ++++----
extra-i686/ypxfrd.service | 24 ++++----
extra-x86_64/PKGBUILD | 108 +++++++++++++++++++--------------------
extra-x86_64/confpost.patch | 28 +++++-----
extra-x86_64/yppasswd | 68 ++++++++++++------------
extra-x86_64/yppasswdd.service | 24 ++++----
extra-x86_64/ypserv | 68 ++++++++++++------------
extra-x86_64/ypserv.service | 24 ++++----
extra-x86_64/ypxfrd.service | 24 ++++----
14 files changed, 344 insertions(+), 344 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2012-10-05 20:43:01 UTC (rev 168107)
+++ extra-i686/PKGBUILD 2012-10-06 00:49:54 UTC (rev 168108)
@@ -1,54 +0,0 @@
-# $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=ypserv
-pkgver=2.28
-pkgrel=1
-pkgdesc='Linux NIS Server'
-arch=('i686' 'x86_64')
-url='http://www.linux-nis.org/nis/ypserv/'
-license=('GPL2')
-depends=('gdbm' 'openslp' 'inetutils')
-optdepends=('gawk: for printcap support')
-backup=('etc/ypserv.conf' 'etc/netgroup' 'var/yp/securenets')
-source=("http://www.linux-nis.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
- 'confpost.patch'
- 'ypxfrd.service'
- 'yppasswdd.service'
- 'ypserv.service'
- 'yppasswd'
- 'ypserv')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 -i ../confpost.patch
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -D -m644 etc/netgroup "${pkgdir}"/etc/netgroup
- install -D -m644 etc/ypserv.conf "${pkgdir}"/etc/ypserv.conf
- install -D -m644 etc/securenets "${pkgdir}"/var/yp/securenets
- install -D -m755 ../ypserv "${pkgdir}"/etc/rc.d/ypserv
- install -D -m755 ../yppasswd "${pkgdir}"/etc/rc.d/yppasswd
- install -D -m644 ../ypxfrd.service "${pkgdir}"/usr/lib/systemd/system/ypxfrd.service
- install -D -m644 ../ypserv.service "${pkgdir}"/usr/lib/systemd/system/ypserv.service
- install -D -m644 ../yppasswdd.service "${pkgdir}"/usr/lib/systemd/system/yppasswdd.service
-
- # Provide native service for arch-daemons generator
- ln -s yppasswdd.service "$pkgdir/usr/lib/systemd/system/yppasswd.service"
-}
-md5sums=('ed64f489bab494218fc5c5942b95d5b6'
- '8acb314f30d6e531ac9efa8655f68ccb'
- 'c80e253756446d59a90c4c21b1cb8740'
- '7cba3dd3544436c3c1f05e36c0018e92'
- '3398271c3e0a054e64b06b99aa2dc63d'
- '4bc84c48ed1bb9659698853acb5cfd76'
- 'c40befe5932f1b42efaced6b46809303')
Copied: ypserv/repos/extra-i686/PKGBUILD (from rev 168107, ypserv/repos/core-i686/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-10-06 00:49:54 UTC (rev 168108)
@@ -0,0 +1,54 @@
+# $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=ypserv
+pkgver=2.28
+pkgrel=2
+pkgdesc='Linux NIS Server'
+arch=('i686' 'x86_64')
+url='http://www.linux-nis.org/nis/ypserv/'
+license=('GPL2')
+depends=('gdbm' 'openslp' 'inetutils' 'yp-tools')
+optdepends=('gawk: for printcap support')
+backup=('etc/ypserv.conf' 'etc/netgroup' 'var/yp/securenets')
+source=("http://www.linux-nis.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'confpost.patch'
+ 'ypxfrd.service'
+ 'yppasswdd.service'
+ 'ypserv.service'
+ 'yppasswd'
+ 'ypserv')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i ../confpost.patch
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -D -m644 etc/netgroup "${pkgdir}"/etc/netgroup
+ install -D -m644 etc/ypserv.conf "${pkgdir}"/etc/ypserv.conf
+ install -D -m644 etc/securenets "${pkgdir}"/var/yp/securenets
+ install -D -m755 ../ypserv "${pkgdir}"/etc/rc.d/ypserv
+ install -D -m755 ../yppasswd "${pkgdir}"/etc/rc.d/yppasswd
+ install -D -m644 ../ypxfrd.service "${pkgdir}"/usr/lib/systemd/system/ypxfrd.service
+ install -D -m644 ../ypserv.service "${pkgdir}"/usr/lib/systemd/system/ypserv.service
+ install -D -m644 ../yppasswdd.service "${pkgdir}"/usr/lib/systemd/system/yppasswdd.service
+
+ # Provide native service for arch-daemons generator
+ ln -s yppasswdd.service "$pkgdir/usr/lib/systemd/system/yppasswd.service"
+}
+md5sums=('ed64f489bab494218fc5c5942b95d5b6'
+ '8acb314f30d6e531ac9efa8655f68ccb'
+ 'c80e253756446d59a90c4c21b1cb8740'
+ '7cba3dd3544436c3c1f05e36c0018e92'
+ '3398271c3e0a054e64b06b99aa2dc63d'
+ '4bc84c48ed1bb9659698853acb5cfd76'
+ 'c40befe5932f1b42efaced6b46809303')
Deleted: extra-i686/confpost.patch
===================================================================
--- extra-i686/confpost.patch 2012-10-05 20:43:01 UTC (rev 168107)
+++ extra-i686/confpost.patch 2012-10-06 00:49:54 UTC (rev 168108)
@@ -1,14 +0,0 @@
-diff -up ypserv-2.27/conf_post.h.qdbm ypserv-2.27/conf_post.h
---- ypserv-2.27/conf_post.h.qdbm 2012-02-01 14:18:01.780846425 +0100
-+++ ypserv-2.27/conf_post.h 2012-02-01 14:18:01.780846425 +0100
-@@ -0,0 +1,10 @@
-+/* Define common preprocessor symbol for HAVE_LIBGDBM and HAVE_LIBQDBM, since
-+ * libraries gdbm and qdbm have same symbol names. */
-+#undef HAVE_COMPAT_LIBGDBM
-+#ifdef HAVE_LIBGDBM
-+#define HAVE_COMPAT_LIBGDBM
-+#endif
-+#ifdef HAVE_LIBQDBM
-+#define HAVE_COMPAT_LIBGDBM
-+#endif
-+
Copied: ypserv/repos/extra-i686/confpost.patch (from rev 168107, ypserv/repos/core-i686/confpost.patch)
===================================================================
--- extra-i686/confpost.patch (rev 0)
+++ extra-i686/confpost.patch 2012-10-06 00:49:54 UTC (rev 168108)
@@ -0,0 +1,14 @@
+diff -up ypserv-2.27/conf_post.h.qdbm ypserv-2.27/conf_post.h
+--- ypserv-2.27/conf_post.h.qdbm 2012-02-01 14:18:01.780846425 +0100
++++ ypserv-2.27/conf_post.h 2012-02-01 14:18:01.780846425 +0100
+@@ -0,0 +1,10 @@
++/* Define common preprocessor symbol for HAVE_LIBGDBM and HAVE_LIBQDBM, since
++ * libraries gdbm and qdbm have same symbol names. */
++#undef HAVE_COMPAT_LIBGDBM
++#ifdef HAVE_LIBGDBM
++#define HAVE_COMPAT_LIBGDBM
++#endif
++#ifdef HAVE_LIBQDBM
++#define HAVE_COMPAT_LIBGDBM
++#endif
++
Deleted: extra-i686/yppasswd
===================================================================
--- extra-i686/yppasswd 2012-10-05 20:43:01 UTC (rev 168107)
+++ extra-i686/yppasswd 2012-10-06 00:49:54 UTC (rev 168108)
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting NIS Password Daemon"
- /usr/sbin/rpc.yppasswdd
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon yppasswd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping NIS Password Daemon"
- killall -q /usr/sbin/rpc.yppasswdd
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon yppasswd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
Copied: ypserv/repos/extra-i686/yppasswd (from rev 168107, ypserv/repos/core-i686/yppasswd)
===================================================================
--- extra-i686/yppasswd (rev 0)
+++ extra-i686/yppasswd 2012-10-06 00:49:54 UTC (rev 168108)
@@ -0,0 +1,34 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+case "$1" in
+ start)
+ stat_busy "Starting NIS Password Daemon"
+ /usr/sbin/rpc.yppasswdd
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon yppasswd
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping NIS Password Daemon"
+ killall -q /usr/sbin/rpc.yppasswdd
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon yppasswd
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
Deleted: extra-i686/yppasswdd.service
===================================================================
--- extra-i686/yppasswdd.service 2012-10-05 20:43:01 UTC (rev 168107)
+++ extra-i686/yppasswdd.service 2012-10-06 00:49:54 UTC (rev 168108)
@@ -1,12 +0,0 @@
-[Unit]
-Description=NIS/YP (Network Information Service) Users Passwords Change Server
-Requires=rpcbind.service
-After=network.target rpcbind.service
-
-[Service]
-Type=forking
-PIDFile=/run/yppasswdd.pid
-ExecStart=/usr/sbin/rpc.yppasswdd
-
-[Install]
-WantedBy=multi-user.target
Copied: ypserv/repos/extra-i686/yppasswdd.service (from rev 168107, ypserv/repos/core-i686/yppasswdd.service)
===================================================================
--- extra-i686/yppasswdd.service (rev 0)
+++ extra-i686/yppasswdd.service 2012-10-06 00:49:54 UTC (rev 168108)
@@ -0,0 +1,12 @@
+[Unit]
+Description=NIS/YP (Network Information Service) Users Passwords Change Server
+Requires=rpcbind.service
+After=network.target rpcbind.service
+
+[Service]
+Type=forking
+PIDFile=/run/yppasswdd.pid
+ExecStart=/usr/sbin/rpc.yppasswdd
+
+[Install]
+WantedBy=multi-user.target
Deleted: extra-i686/ypserv
===================================================================
--- extra-i686/ypserv 2012-10-05 20:43:01 UTC (rev 168107)
+++ extra-i686/ypserv 2012-10-06 00:49:54 UTC (rev 168108)
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting NIS Server"
- /usr/sbin/ypserv
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon ypserv
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping NIS Server"
- killall -q /usr/sbin/ypserv
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon ypserv
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
Copied: ypserv/repos/extra-i686/ypserv (from rev 168107, ypserv/repos/core-i686/ypserv)
===================================================================
--- extra-i686/ypserv (rev 0)
+++ extra-i686/ypserv 2012-10-06 00:49:54 UTC (rev 168108)
@@ -0,0 +1,34 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+case "$1" in
+ start)
+ stat_busy "Starting NIS Server"
+ /usr/sbin/ypserv
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon ypserv
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping NIS Server"
+ killall -q /usr/sbin/ypserv
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon ypserv
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
Deleted: extra-i686/ypserv.service
===================================================================
--- extra-i686/ypserv.service 2012-10-05 20:43:01 UTC (rev 168107)
+++ extra-i686/ypserv.service 2012-10-06 00:49:54 UTC (rev 168108)
@@ -1,12 +0,0 @@
-[Unit]
-Description=NIS/YP (Network Information Service) Server
-Requires=rpcbind.service
-After=network.target rpcbind.service
-
-[Service]
-Type=forking
-PIDFile=/run/ypserv.pid
-ExecStart=/usr/sbin/ypserv
-
-[Install]
-WantedBy=multi-user.target
Copied: ypserv/repos/extra-i686/ypserv.service (from rev 168107, ypserv/repos/core-i686/ypserv.service)
===================================================================
--- extra-i686/ypserv.service (rev 0)
+++ extra-i686/ypserv.service 2012-10-06 00:49:54 UTC (rev 168108)
@@ -0,0 +1,12 @@
+[Unit]
+Description=NIS/YP (Network Information Service) Server
+Requires=rpcbind.service
+After=network.target rpcbind.service
+
+[Service]
+Type=forking
+PIDFile=/run/ypserv.pid
+ExecStart=/usr/sbin/ypserv
+
+[Install]
+WantedBy=multi-user.target
Deleted: extra-i686/ypxfrd.service
===================================================================
--- extra-i686/ypxfrd.service 2012-10-05 20:43:01 UTC (rev 168107)
+++ extra-i686/ypxfrd.service 2012-10-06 00:49:54 UTC (rev 168108)
@@ -1,12 +0,0 @@
-[Unit]
-Description=NIS/YP (Network Information Service) Maps Transferring Accelerator
-Requires=rpcbind.service
-After=network.target rpcbind.service
-
-[Service]
-Type=forking
-PIDFile=/run/ypxfrd.pid
-ExecStart=/usr/sbin/rpc.ypxfrd
-
-[Install]
-WantedBy=multi-user.target
Copied: ypserv/repos/extra-i686/ypxfrd.service (from rev 168107, ypserv/repos/core-i686/ypxfrd.service)
===================================================================
--- extra-i686/ypxfrd.service (rev 0)
+++ extra-i686/ypxfrd.service 2012-10-06 00:49:54 UTC (rev 168108)
@@ -0,0 +1,12 @@
+[Unit]
+Description=NIS/YP (Network Information Service) Maps Transferring Accelerator
+Requires=rpcbind.service
+After=network.target rpcbind.service
+
+[Service]
+Type=forking
+PIDFile=/run/ypxfrd.pid
+ExecStart=/usr/sbin/rpc.ypxfrd
+
+[Install]
+WantedBy=multi-user.target
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2012-10-05 20:43:01 UTC (rev 168107)
+++ extra-x86_64/PKGBUILD 2012-10-06 00:49:54 UTC (rev 168108)
@@ -1,54 +0,0 @@
-# $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=ypserv
-pkgver=2.28
-pkgrel=1
-pkgdesc='Linux NIS Server'
-arch=('i686' 'x86_64')
-url='http://www.linux-nis.org/nis/ypserv/'
-license=('GPL2')
-depends=('gdbm' 'openslp' 'inetutils')
-optdepends=('gawk: for printcap support')
-backup=('etc/ypserv.conf' 'etc/netgroup' 'var/yp/securenets')
-source=("http://www.linux-nis.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
- 'confpost.patch'
- 'ypxfrd.service'
- 'yppasswdd.service'
- 'ypserv.service'
- 'yppasswd'
- 'ypserv')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 -i ../confpost.patch
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -D -m644 etc/netgroup "${pkgdir}"/etc/netgroup
- install -D -m644 etc/ypserv.conf "${pkgdir}"/etc/ypserv.conf
- install -D -m644 etc/securenets "${pkgdir}"/var/yp/securenets
- install -D -m755 ../ypserv "${pkgdir}"/etc/rc.d/ypserv
- install -D -m755 ../yppasswd "${pkgdir}"/etc/rc.d/yppasswd
- install -D -m644 ../ypxfrd.service "${pkgdir}"/usr/lib/systemd/system/ypxfrd.service
- install -D -m644 ../ypserv.service "${pkgdir}"/usr/lib/systemd/system/ypserv.service
- install -D -m644 ../yppasswdd.service "${pkgdir}"/usr/lib/systemd/system/yppasswdd.service
-
- # Provide native service for arch-daemons generator
- ln -s yppasswdd.service "$pkgdir/usr/lib/systemd/system/yppasswd.service"
-}
-md5sums=('ed64f489bab494218fc5c5942b95d5b6'
- '8acb314f30d6e531ac9efa8655f68ccb'
- 'c80e253756446d59a90c4c21b1cb8740'
- '7cba3dd3544436c3c1f05e36c0018e92'
- '3398271c3e0a054e64b06b99aa2dc63d'
- '4bc84c48ed1bb9659698853acb5cfd76'
- 'c40befe5932f1b42efaced6b46809303')
Copied: ypserv/repos/extra-x86_64/PKGBUILD (from rev 168107, ypserv/repos/core-x86_64/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2012-10-06 00:49:54 UTC (rev 168108)
@@ -0,0 +1,54 @@
+# $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=ypserv
+pkgver=2.28
+pkgrel=2
+pkgdesc='Linux NIS Server'
+arch=('i686' 'x86_64')
+url='http://www.linux-nis.org/nis/ypserv/'
+license=('GPL2')
+depends=('gdbm' 'openslp' 'inetutils' 'yp-tools')
+optdepends=('gawk: for printcap support')
+backup=('etc/ypserv.conf' 'etc/netgroup' 'var/yp/securenets')
+source=("http://www.linux-nis.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'confpost.patch'
+ 'ypxfrd.service'
+ 'yppasswdd.service'
+ 'ypserv.service'
+ 'yppasswd'
+ 'ypserv')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i ../confpost.patch
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -D -m644 etc/netgroup "${pkgdir}"/etc/netgroup
+ install -D -m644 etc/ypserv.conf "${pkgdir}"/etc/ypserv.conf
+ install -D -m644 etc/securenets "${pkgdir}"/var/yp/securenets
+ install -D -m755 ../ypserv "${pkgdir}"/etc/rc.d/ypserv
+ install -D -m755 ../yppasswd "${pkgdir}"/etc/rc.d/yppasswd
+ install -D -m644 ../ypxfrd.service "${pkgdir}"/usr/lib/systemd/system/ypxfrd.service
+ install -D -m644 ../ypserv.service "${pkgdir}"/usr/lib/systemd/system/ypserv.service
+ install -D -m644 ../yppasswdd.service "${pkgdir}"/usr/lib/systemd/system/yppasswdd.service
+
+ # Provide native service for arch-daemons generator
+ ln -s yppasswdd.service "$pkgdir/usr/lib/systemd/system/yppasswd.service"
+}
+md5sums=('ed64f489bab494218fc5c5942b95d5b6'
+ '8acb314f30d6e531ac9efa8655f68ccb'
+ 'c80e253756446d59a90c4c21b1cb8740'
+ '7cba3dd3544436c3c1f05e36c0018e92'
+ '3398271c3e0a054e64b06b99aa2dc63d'
+ '4bc84c48ed1bb9659698853acb5cfd76'
+ 'c40befe5932f1b42efaced6b46809303')
Deleted: extra-x86_64/confpost.patch
===================================================================
--- extra-x86_64/confpost.patch 2012-10-05 20:43:01 UTC (rev 168107)
+++ extra-x86_64/confpost.patch 2012-10-06 00:49:54 UTC (rev 168108)
@@ -1,14 +0,0 @@
-diff -up ypserv-2.27/conf_post.h.qdbm ypserv-2.27/conf_post.h
---- ypserv-2.27/conf_post.h.qdbm 2012-02-01 14:18:01.780846425 +0100
-+++ ypserv-2.27/conf_post.h 2012-02-01 14:18:01.780846425 +0100
-@@ -0,0 +1,10 @@
-+/* Define common preprocessor symbol for HAVE_LIBGDBM and HAVE_LIBQDBM, since
-+ * libraries gdbm and qdbm have same symbol names. */
-+#undef HAVE_COMPAT_LIBGDBM
-+#ifdef HAVE_LIBGDBM
-+#define HAVE_COMPAT_LIBGDBM
-+#endif
-+#ifdef HAVE_LIBQDBM
-+#define HAVE_COMPAT_LIBGDBM
-+#endif
-+
Copied: ypserv/repos/extra-x86_64/confpost.patch (from rev 168107, ypserv/repos/core-x86_64/confpost.patch)
===================================================================
--- extra-x86_64/confpost.patch (rev 0)
+++ extra-x86_64/confpost.patch 2012-10-06 00:49:54 UTC (rev 168108)
@@ -0,0 +1,14 @@
+diff -up ypserv-2.27/conf_post.h.qdbm ypserv-2.27/conf_post.h
+--- ypserv-2.27/conf_post.h.qdbm 2012-02-01 14:18:01.780846425 +0100
++++ ypserv-2.27/conf_post.h 2012-02-01 14:18:01.780846425 +0100
+@@ -0,0 +1,10 @@
++/* Define common preprocessor symbol for HAVE_LIBGDBM and HAVE_LIBQDBM, since
++ * libraries gdbm and qdbm have same symbol names. */
++#undef HAVE_COMPAT_LIBGDBM
++#ifdef HAVE_LIBGDBM
++#define HAVE_COMPAT_LIBGDBM
++#endif
++#ifdef HAVE_LIBQDBM
++#define HAVE_COMPAT_LIBGDBM
++#endif
++
Deleted: extra-x86_64/yppasswd
===================================================================
--- extra-x86_64/yppasswd 2012-10-05 20:43:01 UTC (rev 168107)
+++ extra-x86_64/yppasswd 2012-10-06 00:49:54 UTC (rev 168108)
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting NIS Password Daemon"
- /usr/sbin/rpc.yppasswdd
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon yppasswd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping NIS Password Daemon"
- killall -q /usr/sbin/rpc.yppasswdd
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon yppasswd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
Copied: ypserv/repos/extra-x86_64/yppasswd (from rev 168107, ypserv/repos/core-x86_64/yppasswd)
===================================================================
--- extra-x86_64/yppasswd (rev 0)
+++ extra-x86_64/yppasswd 2012-10-06 00:49:54 UTC (rev 168108)
@@ -0,0 +1,34 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+case "$1" in
+ start)
+ stat_busy "Starting NIS Password Daemon"
+ /usr/sbin/rpc.yppasswdd
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon yppasswd
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping NIS Password Daemon"
+ killall -q /usr/sbin/rpc.yppasswdd
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon yppasswd
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
Deleted: extra-x86_64/yppasswdd.service
===================================================================
--- extra-x86_64/yppasswdd.service 2012-10-05 20:43:01 UTC (rev 168107)
+++ extra-x86_64/yppasswdd.service 2012-10-06 00:49:54 UTC (rev 168108)
@@ -1,12 +0,0 @@
-[Unit]
-Description=NIS/YP (Network Information Service) Users Passwords Change Server
-Requires=rpcbind.service
-After=network.target rpcbind.service
-
-[Service]
-Type=forking
-PIDFile=/run/yppasswdd.pid
-ExecStart=/usr/sbin/rpc.yppasswdd
-
-[Install]
-WantedBy=multi-user.target
Copied: ypserv/repos/extra-x86_64/yppasswdd.service (from rev 168107, ypserv/repos/core-x86_64/yppasswdd.service)
===================================================================
--- extra-x86_64/yppasswdd.service (rev 0)
+++ extra-x86_64/yppasswdd.service 2012-10-06 00:49:54 UTC (rev 168108)
@@ -0,0 +1,12 @@
+[Unit]
+Description=NIS/YP (Network Information Service) Users Passwords Change Server
+Requires=rpcbind.service
+After=network.target rpcbind.service
+
+[Service]
+Type=forking
+PIDFile=/run/yppasswdd.pid
+ExecStart=/usr/sbin/rpc.yppasswdd
+
+[Install]
+WantedBy=multi-user.target
Deleted: extra-x86_64/ypserv
===================================================================
--- extra-x86_64/ypserv 2012-10-05 20:43:01 UTC (rev 168107)
+++ extra-x86_64/ypserv 2012-10-06 00:49:54 UTC (rev 168108)
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting NIS Server"
- /usr/sbin/ypserv
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon ypserv
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping NIS Server"
- killall -q /usr/sbin/ypserv
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon ypserv
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
Copied: ypserv/repos/extra-x86_64/ypserv (from rev 168107, ypserv/repos/core-x86_64/ypserv)
===================================================================
--- extra-x86_64/ypserv (rev 0)
+++ extra-x86_64/ypserv 2012-10-06 00:49:54 UTC (rev 168108)
@@ -0,0 +1,34 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+case "$1" in
+ start)
+ stat_busy "Starting NIS Server"
+ /usr/sbin/ypserv
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon ypserv
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping NIS Server"
+ killall -q /usr/sbin/ypserv
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon ypserv
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
Deleted: extra-x86_64/ypserv.service
===================================================================
--- extra-x86_64/ypserv.service 2012-10-05 20:43:01 UTC (rev 168107)
+++ extra-x86_64/ypserv.service 2012-10-06 00:49:54 UTC (rev 168108)
@@ -1,12 +0,0 @@
-[Unit]
-Description=NIS/YP (Network Information Service) Server
-Requires=rpcbind.service
-After=network.target rpcbind.service
-
-[Service]
-Type=forking
-PIDFile=/run/ypserv.pid
-ExecStart=/usr/sbin/ypserv
-
-[Install]
-WantedBy=multi-user.target
Copied: ypserv/repos/extra-x86_64/ypserv.service (from rev 168107, ypserv/repos/core-x86_64/ypserv.service)
===================================================================
--- extra-x86_64/ypserv.service (rev 0)
+++ extra-x86_64/ypserv.service 2012-10-06 00:49:54 UTC (rev 168108)
@@ -0,0 +1,12 @@
+[Unit]
+Description=NIS/YP (Network Information Service) Server
+Requires=rpcbind.service
+After=network.target rpcbind.service
+
+[Service]
+Type=forking
+PIDFile=/run/ypserv.pid
+ExecStart=/usr/sbin/ypserv
+
+[Install]
+WantedBy=multi-user.target
Deleted: extra-x86_64/ypxfrd.service
===================================================================
--- extra-x86_64/ypxfrd.service 2012-10-05 20:43:01 UTC (rev 168107)
+++ extra-x86_64/ypxfrd.service 2012-10-06 00:49:54 UTC (rev 168108)
@@ -1,12 +0,0 @@
-[Unit]
-Description=NIS/YP (Network Information Service) Maps Transferring Accelerator
-Requires=rpcbind.service
-After=network.target rpcbind.service
-
-[Service]
-Type=forking
-PIDFile=/run/ypxfrd.pid
-ExecStart=/usr/sbin/rpc.ypxfrd
-
-[Install]
-WantedBy=multi-user.target
Copied: ypserv/repos/extra-x86_64/ypxfrd.service (from rev 168107, ypserv/repos/core-x86_64/ypxfrd.service)
===================================================================
--- extra-x86_64/ypxfrd.service (rev 0)
+++ extra-x86_64/ypxfrd.service 2012-10-06 00:49:54 UTC (rev 168108)
@@ -0,0 +1,12 @@
+[Unit]
+Description=NIS/YP (Network Information Service) Maps Transferring Accelerator
+Requires=rpcbind.service
+After=network.target rpcbind.service
+
+[Service]
+Type=forking
+PIDFile=/run/ypxfrd.pid
+ExecStart=/usr/sbin/rpc.ypxfrd
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list