blob: 81a1e9d04f75d3032d16dea1e2403ab54280bd53 (
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
|
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Wes Jackson <icebal dot 7 at gmail dot com>
pkgname=nfs-ganesha
pkgver=6.1
pkgrel=1
pkgdesc="NFS and 9P protocols in user mode."
arch=(x86_64 i686 armv7h aarch64)
url="http://nfs-ganesha.github.io/"
license=(LGPL-3.0-only)
depends=(glibc gcc-libs nfsidmap libcap krb5 util-linux-libs e2fsprogs xfsprogs dbus libwbclient jemalloc liburcu acl btrfs-progs)
makedepends=(cmake git lsb-release doxygen python-sphinx graphviz)
options=(!emptydirs)
source=("git+https://github.com/nfs-ganesha/nfs-ganesha.git#tag=V${pkgver}"
"git+https://github.com/nfs-ganesha/ntirpc.git"
"nfs-ganesha-libntirpc-assert.h-fix.patch::https://github.com/nfs-ganesha/ntirpc/pull/279/commits/1f9bb775d02b8b894f12d8408e35275e329b2da6.patch")
sha256sums=('9d646f0fc99dbc58a3bda42060154769f3862605894dc87760e2f1143223cb7b'
'SKIP'
'309bd1726a8e9545896d8bc766311fa87e6348d369b1a9fb75fd014e344166e5')
backup=(etc/ganesha/ganesha.conf) #etc/sysconfig/ganesha
prepare() {
cd "${pkgname}"
git submodule init
git config submodule.src/libntirpc.url "${srcdir}/ntirpc"
git -c protocol.file.allow=always submodule update
}
build() {
cmake -B build -S "nfs-ganesha/src" -Wno-dev \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DUSE_MAN_PAGE=ON \
-DUSE_RADOS_RECOV=OFF \
-DRADOS_URLS=OFF \
-DUSE_FSAL_LUSTRE=OFF \
-DUSE_FSAL_LIZARDFS=OFF \
-DUSE_FSAL_CEPH=OFF \
-DUSE_FSAL_GLUSTER=OFF \
-DUSE_FSAL_RGW=OFF
cmake --build build
# v5.9 Cannot find XFS runtime. Disabling XFS build
# yet xfsprogs is installed
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|