From 7e27a05bc8cc849a1257ca7272624aeb285273d0 Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 23 May 2010 11:27:13 +0200 Subject: ntfs-3g, ajout policy de montage --- base/ntfs-3g/.footprint | 6 ++++ base/ntfs-3g/.md5sum | 1 + base/ntfs-3g/25-ntfs-config-write-policy.fdi | 42 ++++++++++++++++++++++++++++ base/ntfs-3g/Pkgfile | 10 +++++-- 4 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 base/ntfs-3g/25-ntfs-config-write-policy.fdi (limited to 'base/ntfs-3g') diff --git a/base/ntfs-3g/.footprint b/base/ntfs-3g/.footprint index 4d26ec5da..d74bca59a 100644 --- a/base/ntfs-3g/.footprint +++ b/base/ntfs-3g/.footprint @@ -7,6 +7,7 @@ lrwxrwxrwx root/root lib/libntfs-3g.so.76 -> libntfs-3g.so.76.0.0 -rw-r--r-- root/root lib/libntfs-3g.so.76.0.0 drwxr-xr-x root/root sbin/ lrwxrwxrwx root/root sbin/mount.lowntfs-3g -> /bin/lowntfs-3g +lrwxrwxrwx root/root sbin/mount.ntfs -> ntfs-3g lrwxrwxrwx root/root sbin/mount.ntfs-3g -> /bin/ntfs-3g drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ @@ -53,6 +54,11 @@ lrwxrwxrwx root/root usr/lib/libntfs-3g.so -> /lib/libntfs-3g.so drwxr-xr-x root/root usr/lib/pkgconfig/ -rw-r--r-- root/root usr/lib/pkgconfig/libntfs-3g.pc drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/hal/ +drwxr-xr-x root/root usr/share/hal/fdi/ +drwxr-xr-x root/root usr/share/hal/fdi/policy/ +drwxr-xr-x root/root usr/share/hal/fdi/policy/10osvendor/ +-rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/25-ntfs-config-write-policy.fdi drwxr-xr-x root/root usr/share/man/ drwxr-xr-x root/root usr/share/man/man8/ lrwxrwxrwx root/root usr/share/man/man8/mount.lowntfs-3g.8.gz -> ntfs-3g.8.gz diff --git a/base/ntfs-3g/.md5sum b/base/ntfs-3g/.md5sum index e7142baa0..a47427125 100644 --- a/base/ntfs-3g/.md5sum +++ b/base/ntfs-3g/.md5sum @@ -1 +1,2 @@ +9dca69d78310f8635877984167eb515f 25-ntfs-config-write-policy.fdi aeff7659a4943c9223d79116f051a863 ntfs-3g-2010.5.16.tgz diff --git a/base/ntfs-3g/25-ntfs-config-write-policy.fdi b/base/ntfs-3g/25-ntfs-config-write-policy.fdi new file mode 100644 index 000000000..54195d8b3 --- /dev/null +++ b/base/ntfs-3g/25-ntfs-config-write-policy.fdi @@ -0,0 +1,42 @@ + + + + + volume.fstype + volume.mount.valid_options + volume.unmount.valid_options + ntfs-3g + ro + atime + noatime + relatime + fake_rw + no_def_opts + default_permissions + umask= + fmask= + dmask= + uid= + gid= + show_sys_files + silent + force + remove_hiberfile + locale= + streams_interface= + debug + no_detatch + sync + dirsync + nodiratime + noexec + quiet + remount + exec + recover + norecover + lazy + ntfs-3g + + + diff --git a/base/ntfs-3g/Pkgfile b/base/ntfs-3g/Pkgfile index 6aa783617..ce2ec3ff1 100644 --- a/base/ntfs-3g/Pkgfile +++ b/base/ntfs-3g/Pkgfile @@ -5,9 +5,9 @@ name=ntfs-3g version=2010.5.16 -release=1 -source=(http://tuxera.com/opensource/$name-$version.tgz) - +release=2 +source=(http://tuxera.com/opensource/$name-$version.tgz\ + 25-ntfs-config-write-policy.fdi) build() { cd $name-$version ./configure --prefix=/usr \ @@ -15,6 +15,10 @@ build() { --disable-ldconfig make make DESTDIR=$PKG install + ln -s ntfs-3g $PKG/sbin/mount.ntfs chmod a-x $PKG/lib/*.so rm -rf $PKG/usr/share/doc + install -m755 -d $PKG/usr/share/hal/fdi/policy/10osvendor + install -m644 $SRC/25-ntfs-config-write-policy.fdi \ +$PKG/usr/share/hal/fdi/policy/10osvendor/ } -- cgit v1.2.3-70-g09d2