diff options
author | root <root@rshg054.dnsready.net> | 2012-03-04 00:01:47 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-04 00:01:47 +0000 |
commit | f0fa42126da9e3eec6b98388b35c67929fa20dae (patch) | |
tree | 0a4ad5b073e8500ff0e8920ba509942598576463 /extra/ypserv | |
parent | d8fb549de0ef3299436c448f7b45fd8ebee8e733 (diff) |
Sun Mar 4 00:01:47 UTC 2012
Diffstat (limited to 'extra/ypserv')
-rw-r--r-- | extra/ypserv/PKGBUILD | 21 | ||||
-rw-r--r-- | extra/ypserv/confpost.patch | 14 |
2 files changed, 27 insertions, 8 deletions
diff --git a/extra/ypserv/PKGBUILD b/extra/ypserv/PKGBUILD index a99ca0501..031303078 100644 --- a/extra/ypserv/PKGBUILD +++ b/extra/ypserv/PKGBUILD @@ -1,26 +1,27 @@ -# $Id: PKGBUILD 143826 2011-11-29 13:33:57Z stephane $ -# Maintainer: Gaetan Bisson <bisson@archlinux.org> +# $Id: PKGBUILD 151791 2012-03-03 01:11:12Z tomegun $ +# Maintainer: Tom Gundersen <teg@jklm.no> +# Contributor: Gaetan Bisson <bisson@archlinux.org> # Contributor: judd <jvinet@zeroflux.org> # Contributor: Tom Newsom <Jeepster@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=("ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${pkgname}-${pkgver}.tar.gz" \ +source=("http://www.linux-nis.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2" + confpost.patch 'yppasswd' 'ypserv') -sha1sums=('0d7ab3f04ff7fa5f611e71ea0f3c188659602743' - '96192b628afe36709496e4801d016c4bff343f0e' - 'b625381bfa6cf62345377a7df30b8f45935206c5') build() { cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i ../confpost.patch ./configure --prefix=/usr make } @@ -35,3 +36,7 @@ package() { install -D -m755 ../ypserv "${pkgdir}"/etc/rc.d/ypserv install -D -m755 ../yppasswd "${pkgdir}"/etc/rc.d/yppasswd } +md5sums=('fd9c43aec932a92be07b723c647b02a4' + '8acb314f30d6e531ac9efa8655f68ccb' + '4bc84c48ed1bb9659698853acb5cfd76' + 'c40befe5932f1b42efaced6b46809303') diff --git a/extra/ypserv/confpost.patch b/extra/ypserv/confpost.patch new file mode 100644 index 000000000..489e4368a --- /dev/null +++ b/extra/ypserv/confpost.patch @@ -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 ++ |