blob: 6a51efb1ba62f31d2fc2c44106a2061981f5a261 (
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
51
52
53
54
55
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=nfs-utils
pkgver=1.1.6
pkgrel=0
pkgdesc="kernel-mode NFS"
url="http://nfs.sourceforge.net/"
license="GPL"
depends="uclibc portmap libblkid"
makedepends="e2fsprogs-dev g++"
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/nfs/$pkgname-$pkgver.tar.bz2
nfs.initd
nfs.confd
nfs.exports
nfs-utils-rpc.patch
nfs-utils-no-exec.patch
nfs-utils-mtab-sym.patch"
build() {
cd "$srcdir/$pkgname-$pkgver"
for i in "$srcdir"/*.patch; do
patch -p0 -i "${i}" || return 1
done
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--without-tcp-wrappers \
--disable-nfsv4 \
--enable-uuid \
--disable-gss \
--enable-mount \
--enable-nfsv3 \
--with-statedir=/var/lib/nfs
make || return 1
make -j1 DESTDIR="$pkgdir" install
install -m755 -D "$srcdir"/nfs.initd "$pkgdir"/etc/init.d/nfs
install -m644 -D "$srcdir"/nfs.confd "$pkgdir"/etc/conf.d/nfs
install -m644 -D "$srcdir"/nfs.exports "$pkgdir"/etc/exports
#mkdir -p "$pkgdir"/usr/lib/nfs
install -m755 -D tools/rpcgen/rpcgen "$pkgdir"/usr/bin/rpcgen
}
md5sums="b0d1b8ec5c8c081a340cfc77bb8670cd nfs-utils-1.1.6.tar.bz2
4538f67470c916f8da9c76a17e314906 nfs.initd
09135438d6df50b868bbe5a2260f973c nfs.confd
4f1bb7b2412ce5952ecb5ec22d8ed99d nfs.exports
dd9a90ce39cf8c725fdbf65d1139447f nfs-utils-rpc.patch
5e0963b0889e779ff36af0299d17d6cb nfs-utils-no-exec.patch
a3a7338f8de3ac37c1ffc05bdcb77d16 nfs-utils-mtab-sym.patch"
|