From 2b1dc13f07abee840804a4ed895954515f43c2cf Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 18 Mar 2015 18:05:00 +0100 Subject: [PATCH] ntfs-3g: enable build_pie/relro; move to bin. --- srcpkgs/ntfs-3g/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/ntfs-3g/template b/srcpkgs/ntfs-3g/template index 10091546fe7..591714221ae 100644 --- a/srcpkgs/ntfs-3g/template +++ b/srcpkgs/ntfs-3g/template @@ -1,8 +1,9 @@ # Template file for 'ntfs-3g' pkgname=ntfs-3g version=2014.2.15 -revision=2 +revision=3 wrksrc="${pkgname}_ntfsprogs-${version}" +build_pie=yes build_style=gnu-configure configure_args="--exec-prefix=/usr --disable-static --with-fuse=external --enable-posix-acls --enable-xattr-mappings" @@ -16,8 +17,7 @@ distfiles="http://www.tuxera.com/opensource/${pkgname}_ntfsprogs-${version}.tgz" checksum=4c3099400cb14b231a3c9d718b3a8d152d38555059341ce5fc6d02292a4a5b56 post_install() { - vmkdir usr/sbin - mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/sbin + mv ${DESTDIR}/{/usr/,}sbin/* ${DESTDIR}/usr/bin ln -sf ntfs-3g ${DESTDIR}/usr/bin/mount.ntfs }