blob: c06a1e86a98488922997e437d6a4ab4464cc4b38 (
plain)
1 # Description: Freely available NTFS driver with read and write support.
2 # URL: https://www.tuxera.com/community/ntfs-3g-download/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: fuse
5
6 name=ntfs-3g
7 version=2017.3.23
8 release=3
9 source=(https://tuxera.com/opensource/ntfs-3g_ntfsprogs-$version.tgz
10 ntfs3g-2014.2.15-no-split-usr.patch
11 ntfs3g-2016.2.22-sysmacros.patch
12 ntfs3g-2017.3.23-check-mftmirr.patch
13 ntfs3g-2017.3.23-big-sectors.patch
14 ntfs3g-2017.3.23-full-clusters.patch
15 CVE-2019-9755.patch)
16
17 build() {
18 cd ntfs-3g_ntfsprogs-$version
19
20 patch -p1 -i $SRC/ntfs3g-2014.2.15-no-split-usr.patch
21 patch -p1 -i $SRC/ntfs3g-2016.2.22-sysmacros.patch
22 patch -p1 -i $SRC/ntfs3g-2017.3.23-check-mftmirr.patch
23 patch -p1 -i $SRC/ntfs3g-2017.3.23-big-sectors.patch
24 patch -p1 -i $SRC/ntfs3g-2017.3.23-full-clusters.patch
25 patch -p1 -i $SRC/CVE-2019-9755.patch
26
27 install -d $PKG/lib
28
29 ./configure \
30 --prefix=/usr \
31 --exec-prefix=/usr \
32 --enable-ldscript \
33 --disable-ldconfig \
34 --with-fuse=external \
35 --enable-posix-acls \
36 --enable-xattr-mappings \
37 --without-uuid \
38 --without-hd \
39 --enable-extras
40 #--enable-crypto
41
42 make
43 make DESTDIR=$PKG install
44
45 ln -s ../usr/bin/ntfs-3g $PKG/sbin/mount.ntfs
46 ln -s ../usr/bin/ntfsfix $PKG/sbin/fsck.ntfs
47
48 ln -s ntfs-3g.8 $PKG/usr/share/man/man8/mount.ntfs.8
49 ln -s ntfsfix.8 $PKG/usr/share/man/man8/fsck.ntfs.8
50
51 rm -r $PKG/usr/share/doc
52 }
|