summaryrefslogtreecommitdiff
path: root/extra/ypserv/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ypserv/PKGBUILD')
-rw-r--r--extra/ypserv/PKGBUILD21
1 files changed, 13 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')