ntfs-3g: use wrapper script instead of symlink for ntfsfix
This commit is contained in:
parent
b48b4e2639
commit
f444e5cd63
@ -1,5 +1,5 @@
|
||||
drwxr-xr-x root/root sbin/
|
||||
lrwxrwxrwx root/root sbin/fsck.ntfs -> /usr/bin/ntfsfix
|
||||
-rwxr-xr-x root/root sbin/fsck.ntfs
|
||||
lrwxrwxrwx root/root sbin/mount.lowntfs-3g -> /usr/bin/lowntfs-3g
|
||||
lrwxrwxrwx root/root sbin/mount.ntfs -> /usr/bin/ntfs-3g
|
||||
lrwxrwxrwx root/root sbin/mount.ntfs-3g -> /usr/bin/ntfs-3g
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF38EBGf3RrUoob1qAwTDh9VQX8Ra16S3JgWZhzwTG0Icu0nF+IIDufg0zJRTxOMdLvlXwV/3FwDBw0wBlqgAR+gs=
|
||||
SHA256 (Pkgfile) = e23aad5d39daa07dc4ae1d0df22342e799c962ccb4a95d12e3fe75ac8dd8f282
|
||||
SHA256 (.footprint) = 90c3bfc133598eefdf4e35194ef566b5567104aef099a8650c58dad6304ab29c
|
||||
RWSagIOpLGJF33h75zYWMBVbDml8jCFJx/uv5TgeX+2s7kXk7IMz7OcYyy8CqqoaB1xyjwc54ODD8OIghop4GU2++YcHQ8FMbwU=
|
||||
SHA256 (Pkgfile) = 535d1746adfdc0a9c651e19e75fc6d62c2c5e1ccfe0bdd7e54f2b757361bcc7a
|
||||
SHA256 (.footprint) = a6eaebfee4b2776a9404d1c367f17ab7509c86fbbb97b0a09120059664742140
|
||||
SHA256 (ntfs-3g_ntfsprogs-2022.10.3.tgz) = f20e36ee68074b845e3629e6bced4706ad053804cbaf062fbae60738f854170c
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
name=ntfs-3g
|
||||
version=2022.10.3
|
||||
release=2
|
||||
release=3
|
||||
source=(https://tuxera.com/opensource/${name}_ntfsprogs-$version.tgz)
|
||||
|
||||
build() {
|
||||
@ -39,10 +39,16 @@ build() {
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
ln -s /usr/bin/ntfs-3g $PKG/sbin/mount.ntfs
|
||||
ln -s /usr/bin/ntfsfix $PKG/sbin/fsck.ntfs
|
||||
|
||||
ln -s ntfs-3g.8 $PKG/usr/share/man/man8/mount.ntfs.8
|
||||
ln -s ntfsfix.8 $PKG/usr/share/man/man8/fsck.ntfs.8
|
||||
|
||||
# A wrapper script lets us silently discard any unsupported flags (from /etc/rc)
|
||||
cat >$PKG/sbin/fsck.ntfs <<\EOF
|
||||
#!/bin/sh
|
||||
ARGS="$(echo "$*" | sed 's/ -a/ -d/; s/ -p/ -d/; s/ -f//;')"
|
||||
exec /usr/bin/ntfsfix $ARGS
|
||||
EOF
|
||||
chmod 0755 $PKG/sbin/fsck.ntfs
|
||||
|
||||
rm -r $PKG/usr/share/doc $PKG/usr/lib/$name $PKG/lib $PKG/usr/lib/*.la
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user