[arch-commits] Commit in ypserv/trunk (PKGBUILD confpost.patch)
Tom Gundersen
tomegun at archlinux.org
Sun Feb 26 19:04:51 UTC 2012
Date: Sunday, February 26, 2012 @ 14:04:50
Author: tomegun
Revision: 151497
upgpkg: ypserv 2.27-1
add fedora patch
add optdep (gawk)
Added:
ypserv/trunk/confpost.patch
Modified:
ypserv/trunk/PKGBUILD
----------------+
PKGBUILD | 10 +++++++---
confpost.patch | 14 ++++++++++++++
2 files changed, 21 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-02-26 18:36:48 UTC (rev 151496)
+++ PKGBUILD 2012-02-26 19:04:50 UTC (rev 151497)
@@ -5,20 +5,23 @@
# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
pkgname=ypserv
-pkgver=2.26
-pkgrel=3
+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
}
@@ -33,6 +36,7 @@
install -D -m755 ../ypserv "${pkgdir}"/etc/rc.d/ypserv
install -D -m755 ../yppasswd "${pkgdir}"/etc/rc.d/yppasswd
}
-md5sums=('b7fc218cbca885dc01cb798399b9ecc0'
+md5sums=('fd9c43aec932a92be07b723c647b02a4'
+ '8acb314f30d6e531ac9efa8655f68ccb'
'4bc84c48ed1bb9659698853acb5cfd76'
'c40befe5932f1b42efaced6b46809303')
Added: confpost.patch
===================================================================
--- confpost.patch (rev 0)
+++ confpost.patch 2012-02-26 19:04:50 UTC (rev 151497)
@@ -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
++
More information about the arch-commits
mailing list