summaryrefslogtreecommitdiff
path: root/extra/ypbind-mt/PKGBUILD
blob: d4ce1b4d94b9cdfdc7b56815740fd589ea7b8456 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# $Id: PKGBUILD 162167 2012-06-22 13:00:20Z dreisner $
# 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=ypbind-mt
pkgver=1.33
pkgrel=5
pkgdesc='Linux NIS daemon'
url='http://www.linux-nis.org/nis/ypbind-mt/'
license=('GPL2')
arch=('i686' 'x86_64')
makedepends=('networkmanager')
depends=('rpcbind' 'openslp' 'dbus-glib' 'yp-tools')
backup=('etc/yp.conf' 'etc/conf.d/ypbind' 'etc/conf.d/nisdomainname')
#source=("ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${pkgname}-${pkgver}.tar.gz"
source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
        'nisdomainname.conf'
        'ypbind.conf'
        'ypbind'
	'ypbind.service')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"

	./configure \
		--prefix=/usr \
		--enable-dbus-nm \

	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"

	make DESTDIR="${pkgdir}" install

	install -D -m644 etc/yp.conf "${pkgdir}"/etc/yp.conf
	install -D -m755 ../ypbind "${pkgdir}"/etc/rc.d/ypbind
	install -D -m644 ../ypbind.conf "${pkgdir}"/etc/conf.d/ypbind
	install -D -m644 ../nisdomainname.conf "${pkgdir}"/etc/conf.d/nisdomainname
	install -D -m644 ../ypbind.service "${pkgdir}"/usr/lib/systemd/system/ypbind.service
	install -d -m755 "${pkgdir}"/var/yp/binding
}
md5sums=('692f68ed0476762be4228ce543a5b791'
         'e83a85291ea2ee152a78f2c16b0b1185'
         '229309a989abad27703ac2e6d07dc7ae'
         '1f7a4c80414d580c9afb3a08267beed0'
         '88a721095e334cd442f4649a151ba9be')