Date: Friday, April 12, 2013 @ 19:02:40
  Author: tomegun
Revision: 182686

upgpkg: ypserv 2.31-1

upstream release

Modified:
  ypserv/trunk/PKGBUILD
Deleted:
  ypserv/trunk/confpost.patch
  ypserv/trunk/yppasswd
  ypserv/trunk/ypserv

----------------+
 PKGBUILD       |   22 +++++-----------------
 confpost.patch |   14 --------------
 yppasswd       |   34 ----------------------------------
 ypserv         |   34 ----------------------------------
 4 files changed, 5 insertions(+), 99 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-04-12 16:53:38 UTC (rev 182685)
+++ PKGBUILD    2013-04-12 17:02:40 UTC (rev 182686)
@@ -5,8 +5,8 @@
 # Contributor: Tom Newsom <[email protected]>
 
 pkgname=ypserv
-pkgver=2.28
-pkgrel=2
+pkgver=2.31
+pkgrel=1
 pkgdesc='Linux NIS Server'
 arch=('i686' 'x86_64')
 url='http://www.linux-nis.org/nis/ypserv/'
@@ -15,16 +15,12 @@
 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')
+       'ypserv.service')
 
 build() {
        cd "${srcdir}/${pkgname}-${pkgver}"
-       patch -p1 -i ../confpost.patch
        ./configure --prefix=/usr
        make
 }
@@ -36,19 +32,11 @@
        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'
+md5sums=('4537b8f0e917edca8f57b70b9cbc37f3'
          'c80e253756446d59a90c4c21b1cb8740'
          '7cba3dd3544436c3c1f05e36c0018e92'
-         '3398271c3e0a054e64b06b99aa2dc63d'
-         '4bc84c48ed1bb9659698853acb5cfd76'
-         'c40befe5932f1b42efaced6b46809303')
+         '3398271c3e0a054e64b06b99aa2dc63d')

Deleted: confpost.patch
===================================================================
--- confpost.patch      2013-04-12 16:53:38 UTC (rev 182685)
+++ confpost.patch      2013-04-12 17:02:40 UTC (rev 182686)
@@ -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
-+

Deleted: yppasswd
===================================================================
--- yppasswd    2013-04-12 16:53:38 UTC (rev 182685)
+++ yppasswd    2013-04-12 17:02:40 UTC (rev 182686)
@@ -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

Deleted: ypserv
===================================================================
--- ypserv      2013-04-12 16:53:38 UTC (rev 182685)
+++ ypserv      2013-04-12 17:02:40 UTC (rev 182686)
@@ -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

Reply via email to