[arch-commits] Commit in ypserv/repos (8 files)
Tom Gundersen
tomegun at archlinux.org
Sat Mar 3 01:11:13 UTC 2012
Date: Friday, March 2, 2012 @ 20:11:12
Author: tomegun
Revision: 151791
db-move: moved ypserv from [testing] to [extra] (x86_64)
Added:
ypserv/repos/extra-x86_64/PKGBUILD
(from rev 151789, ypserv/repos/testing-x86_64/PKGBUILD)
ypserv/repos/extra-x86_64/confpost.patch
(from rev 151789, ypserv/repos/testing-x86_64/confpost.patch)
ypserv/repos/extra-x86_64/yppasswd
(from rev 151789, ypserv/repos/testing-x86_64/yppasswd)
ypserv/repos/extra-x86_64/ypserv
(from rev 151789, ypserv/repos/testing-x86_64/ypserv)
Deleted:
ypserv/repos/extra-x86_64/PKGBUILD
ypserv/repos/extra-x86_64/yppasswd
ypserv/repos/extra-x86_64/ypserv
ypserv/repos/testing-x86_64/
----------------+
PKGBUILD | 79 +++++++++++++++++++++++++++++--------------------------
confpost.patch | 14 +++++++++
yppasswd | 68 +++++++++++++++++++++++------------------------
ypserv | 68 +++++++++++++++++++++++------------------------
4 files changed, 124 insertions(+), 105 deletions(-)
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2012-03-03 01:11:11 UTC (rev 151790)
+++ extra-x86_64/PKGBUILD 2012-03-03 01:11:12 UTC (rev 151791)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: judd <jvinet at zeroflux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=ypserv
-pkgver=2.26
-pkgrel=3
-pkgdesc='Linux NIS Server'
-arch=('i686' 'x86_64')
-url='http://www.linux-nis.org/nis/ypserv/'
-license=('GPL2')
-depends=('gdbm' 'openslp' 'inetutils')
-backup=('etc/ypserv.conf' 'etc/netgroup' 'var/yp/securenets')
-source=("ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${pkgname}-${pkgver}.tar.gz" \
- 'yppasswd'
- 'ypserv')
-sha1sums=('0d7ab3f04ff7fa5f611e71ea0f3c188659602743'
- '96192b628afe36709496e4801d016c4bff343f0e'
- 'b625381bfa6cf62345377a7df30b8f45935206c5')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./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
-}
Copied: ypserv/repos/extra-x86_64/PKGBUILD (from rev 151789, ypserv/repos/testing-x86_64/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2012-03-03 01:11:12 UTC (rev 151791)
@@ -0,0 +1,42 @@
+# $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.27
+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
+ '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
+}
+md5sums=('fd9c43aec932a92be07b723c647b02a4'
+ '8acb314f30d6e531ac9efa8655f68ccb'
+ '4bc84c48ed1bb9659698853acb5cfd76'
+ 'c40befe5932f1b42efaced6b46809303')
Copied: ypserv/repos/extra-x86_64/confpost.patch (from rev 151789, ypserv/repos/testing-x86_64/confpost.patch)
===================================================================
--- extra-x86_64/confpost.patch (rev 0)
+++ extra-x86_64/confpost.patch 2012-03-03 01:11:12 UTC (rev 151791)
@@ -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-03-03 01:11:11 UTC (rev 151790)
+++ extra-x86_64/yppasswd 2012-03-03 01:11:12 UTC (rev 151791)
@@ -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 151789, ypserv/repos/testing-x86_64/yppasswd)
===================================================================
--- extra-x86_64/yppasswd (rev 0)
+++ extra-x86_64/yppasswd 2012-03-03 01:11:12 UTC (rev 151791)
@@ -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/ypserv
===================================================================
--- extra-x86_64/ypserv 2012-03-03 01:11:11 UTC (rev 151790)
+++ extra-x86_64/ypserv 2012-03-03 01:11:12 UTC (rev 151791)
@@ -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 151789, ypserv/repos/testing-x86_64/ypserv)
===================================================================
--- extra-x86_64/ypserv (rev 0)
+++ extra-x86_64/ypserv 2012-03-03 01:11:12 UTC (rev 151791)
@@ -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
More information about the arch-commits
mailing list