diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/ypserv/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/ypserv/PKGBUILD')
-rw-r--r-- | extra/ypserv/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/extra/ypserv/PKGBUILD b/extra/ypserv/PKGBUILD new file mode 100644 index 000000000..87d04a212 --- /dev/null +++ b/extra/ypserv/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 91699 2010-09-27 17:41:23Z bisson $ +# Maintainer: judd <jvinet@zeroflux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgname=ypserv +pkgver=2.24 +pkgrel=1 +pkgdesc='Linux NIS Server' +arch=('i686' 'x86_64') +url='http://www.linux-nis.org/nis/ypserv/' +license=('GPL2') +depends=('gdbm' 'openslp') +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=('3ae53fe5e047b3bf6a1e407424311ec6e806a95d' + '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 +} |