aboutsummaryrefslogtreecommitdiffstats
path: root/main/fuse/APKBUILD
blob: ec5831a4f7e42a9fab0455a774be7bb3033ce533 (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fuse
pkgver=2.9.9
pkgrel=1
pkgdesc="A library that makes it possible to implement a filesystem in a userspace program."
url="https://github.com/libfuse/libfuse/"
arch="all"
license="GPL-2.0-only LGPL-2.1-only"
options="suid !check" # No test suite
depends="fuse-common"
makedepends="gettext-dev"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="https://github.com/libfuse/libfuse/releases/download/fuse-$pkgver/fuse-$pkgver.tar.gz
	fix-realpath.patch
	"

# secfixes:
#   2.9.8-r0:
#     - CVE-2018-10906

build() {
	UDEV_RULES_PATH='/lib/udev/rules.d' ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-static \
		--enable-shared \
		--disable-example \
		--enable-lib \
		--enable-util \
		--bindir=/bin
	make
}

package() {
	make DESTDIR="$pkgdir" install
	rm -r "$pkgdir"/dev "$pkgdir"/etc/init.d
}

sha512sums="3d82fafd04f2924299bb09d2bb144935fa004a43fb9a6568e2e1cc5a60fded2efa1711029a0d7f12b3e6e4501f7217f2ee3545646d89da8dece083cb390f23e2  fuse-2.9.9.tar.gz
6f2234d3a049f9df6d2dfa00c962239f4684ba0c3a4931d697bde5a250795e0a4b057c9342f4668cd81a855222814fbe49a99b5a1274199d37599d59543eff5c  fix-realpath.patch"