From 9e2b3314d6ed4383b4bd5050dd9ea46510fce6e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Mon, 24 Aug 2015 09:43:46 +0300 Subject: [PATCH] ntfs-3g moved to main --- hardware/disk/ntfs-3g/actions.py | 35 ++++++ .../disk/ntfs-3g/files/25-ntfs-3g-policy.fdi | 43 +++++++ .../ntfs-3g/files/ntfsprogs_destdir.patch | 47 ++++++++ hardware/disk/ntfs-3g/pspec.xml | 112 ++++++++++++++++++ hardware/disk/ntfs-3g/translations.xml | 14 +++ 5 files changed, 251 insertions(+) create mode 100644 hardware/disk/ntfs-3g/actions.py create mode 100644 hardware/disk/ntfs-3g/files/25-ntfs-3g-policy.fdi create mode 100644 hardware/disk/ntfs-3g/files/ntfsprogs_destdir.patch create mode 100644 hardware/disk/ntfs-3g/pspec.xml create mode 100644 hardware/disk/ntfs-3g/translations.xml diff --git a/hardware/disk/ntfs-3g/actions.py b/hardware/disk/ntfs-3g/actions.py new file mode 100644 index 0000000000..da1adee38a --- /dev/null +++ b/hardware/disk/ntfs-3g/actions.py @@ -0,0 +1,35 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import shelltools +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + shelltools.export("CFLAGS", "%s -D_FILE_OFFSET_BITS=64" % get.CFLAGS()) + autotools.configure("--prefix=/usr \ + --sbin=/usr/bin \ + --mandir=/usr/share/man \ + --disable-ldconfig \ + --disable-static \ + --with-fuse=external \ + --enable-posix-acls \ + --enable-extras") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s rootbindir=/usr/bin rootsbindir=/usr/bin rootlibdir=/usr/lib" % get.installDIR()) + + pisitools.domove("/usr/bin/ntfs-3g.*", "/bin") + + # Create some compat symlinks + pisitools.dosym("/bin/ntfs-3g", "/sbin/mount.ntfs") + + pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING*", "CREDITS", "NEWS", "README") + pisitools.dosym("/usr/share/doc/ntfs-3g", "/usr/share/doc/ntfsprogs") diff --git a/hardware/disk/ntfs-3g/files/25-ntfs-3g-policy.fdi b/hardware/disk/ntfs-3g/files/25-ntfs-3g-policy.fdi new file mode 100644 index 0000000000..ed8ddc1555 --- /dev/null +++ b/hardware/disk/ntfs-3g/files/25-ntfs-3g-policy.fdi @@ -0,0 +1,43 @@ + + + + + + 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_detach + sync + dirsync + nodiratime + noexec + quiet + remount + exec + recover + norecover + lazy + ntfs-3g + + + diff --git a/hardware/disk/ntfs-3g/files/ntfsprogs_destdir.patch b/hardware/disk/ntfs-3g/files/ntfsprogs_destdir.patch new file mode 100644 index 0000000000..9672305446 --- /dev/null +++ b/hardware/disk/ntfs-3g/files/ntfsprogs_destdir.patch @@ -0,0 +1,47 @@ +diff -Naur ntfs-3g_ntfsprogs-2015.3.14.orig/ntfsprogs/Makefile.in ntfs-3g_ntfsprogs-2015.3.14/ntfsprogs/Makefile.in +--- ntfs-3g_ntfsprogs-2015.3.14.orig/ntfsprogs/Makefile.in 2015-03-14 16:10:28.000000000 +0200 ++++ ntfs-3g_ntfsprogs-2015.3.14/ntfsprogs/Makefile.in 2015-05-06 10:22:31.563526903 +0300 +@@ -1348,15 +1348,15 @@ + # mkfs.ntfs[.8] hard link + + @ENABLE_NTFSPROGS_TRUE@install-exec-hook: +-@ENABLE_NTFSPROGS_TRUE@ $(INSTALL) -d $(DESTDIR)/sbin +-@ENABLE_NTFSPROGS_TRUE@ $(LN_S) -f $(sbindir)/mkntfs $(DESTDIR)/sbin/mkfs.ntfs ++@ENABLE_NTFSPROGS_TRUE@ $(INSTALL) -d $(DESTDIR)/usr/bin ++@ENABLE_NTFSPROGS_TRUE@ $(LN_S) -f $(sbindir)/mkntfs $(DESTDIR)/usr/bin/mkfs.ntfs + + @ENABLE_NTFSPROGS_TRUE@install-data-hook: + @ENABLE_NTFSPROGS_TRUE@ $(INSTALL) -d $(DESTDIR)$(man8dir) + @ENABLE_NTFSPROGS_TRUE@ $(LN_S) -f mkntfs.8 $(DESTDIR)$(man8dir)/mkfs.ntfs.8 + + @ENABLE_NTFSPROGS_TRUE@uninstall-local: +-@ENABLE_NTFSPROGS_TRUE@ $(RM) -f $(DESTDIR)/sbin/mkfs.ntfs ++@ENABLE_NTFSPROGS_TRUE@ $(RM) -f $(DESTDIR)/usr/bin/mkfs.ntfs + @ENABLE_NTFSPROGS_TRUE@ $(RM) -f $(DESTDIR)$(man8dir)/mkfs.ntfs.8 + + # Tell versions [3.59,3.63) of GNU make to not export all variables. +diff -Naur ntfs-3g_ntfsprogs-2015.3.14.orig/src/Makefile.in ntfs-3g_ntfsprogs-2015.3.14/src/Makefile.in +--- ntfs-3g_ntfsprogs-2015.3.14.orig/src/Makefile.in 2015-03-14 16:10:28.000000000 +0200 ++++ ntfs-3g_ntfsprogs-2015.3.14/src/Makefile.in 2015-05-06 10:22:31.566526903 +0300 +@@ -1040,9 +1040,9 @@ + @ENABLE_NTFS_3G_TRUE@@RUN_LDCONFIG_TRUE@ $(LDCONFIG) + + @ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@install-exec-local: install-rootbinPROGRAMS +-@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@ $(MKDIR_P) "$(DESTDIR)/sbin" +-@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@ $(LN_S) -f "$(rootbindir)/ntfs-3g" "$(DESTDIR)/sbin/mount.ntfs-3g" +-@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@ $(LN_S) -f "$(rootbindir)/lowntfs-3g" "$(DESTDIR)/sbin/mount.lowntfs-3g" ++@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@ $(MKDIR_P) "$(DESTDIR)/usr/bin" ++@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@ $(LN_S) -f "$(rootbindir)/ntfs-3g" "$(DESTDIR)/usr/bin/mount.ntfs-3g" ++@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@ $(LN_S) -f "$(rootbindir)/lowntfs-3g" "$(DESTDIR)/usr/bin/mount.lowntfs-3g" + + @ENABLE_NTFS_3G_TRUE@install-data-local: install-man8 + @ENABLE_NTFS_3G_TRUE@ $(LN_S) -f ntfs-3g.8 "$(DESTDIR)$(man8dir)/mount.ntfs-3g.8" +@@ -1050,7 +1050,7 @@ + + @ENABLE_NTFS_3G_TRUE@uninstall-local: + @ENABLE_NTFS_3G_TRUE@ $(RM) -f "$(DESTDIR)$(man8dir)/mount.ntfs-3g.8" +-@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@ $(RM) -f "$(DESTDIR)/sbin/mount.ntfs-3g" "$(DESTDIR)/sbin/mount.lowntfs-3g" ++@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@ $(RM) -f "$(DESTDIR)/usr/bin/mount.ntfs-3g" "$(DESTDIR)/sbin/mount.lowntfs-3g" + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/hardware/disk/ntfs-3g/pspec.xml b/hardware/disk/ntfs-3g/pspec.xml new file mode 100644 index 0000000000..592ddd1a9f --- /dev/null +++ b/hardware/disk/ntfs-3g/pspec.xml @@ -0,0 +1,112 @@ + + + + + ntfs-3g + http://www.tuxera.com/community/ntfs-3g-download + + PisiLinux Community + admins@pisilinux.org + + GPLv2+ + LGPLv2+ + library + app:console + Userspace driver for NTFS read/write support + ntfs-3g allows regular users read/write access to NTFS filesystems. + http://tuxera.com/opensource/ntfs-3g_ntfsprogs-2015.3.14.tgz + + fuse-devel + libutil-linux-devel + + + ntfsprogs_destdir.patch + + + + + ntfs-3g + + fuse + + + /bin + /sbin + /lib + /usr/lib + /usr/include + /usr/lib/pkgconfig + /usr/share/hal/fdi + /usr/share/doc/ntfs-3g + /usr/share/man/man8/mount* + /usr/share/man/man8/ntfs-3g* + + + 25-ntfs-3g-policy.fdi + + + + + ntfsprogs + hardware.disk + Userspace tools for NTFS filesystems + Userspace tools for NTFS filesystems. The goals of the Linux-NTFS project are to develop reliable and full-featured access to NTFS by the Linux kernel driver and to provide a wide collection of NTFS utilities. + + ntfs-3g + fuse + libutil-linux + + + /sbin/mkfs.ntfs + /usr/bin + /usr/sbin + /usr/share/doc/ntfsprogs + /usr/share/man/man8 + + + + + + 2015-05-06 + 2015.3.14 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-12-13 + 2014.2.15 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-05-11 + 2013.1.13 + Release bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-10-30 + 2013.1.13 + Rebuild + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-01-30 + 2013.1.13 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2012-11-14 + 0.0_2012.01.15 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/hardware/disk/ntfs-3g/translations.xml b/hardware/disk/ntfs-3g/translations.xml new file mode 100644 index 0000000000..32e06e094c --- /dev/null +++ b/hardware/disk/ntfs-3g/translations.xml @@ -0,0 +1,14 @@ + + + + ntfs-3g + NTFS dosya sistemlerine okuma/yazma erişimi için bir sürücü + ntfs-3g kullanıcıların NTFS biçimli disk bölümlerine hem okuma hem yazma erişimi yapabilmesine imkan veren bir sürücüdür. + + + + ntfsprogs + NTFS dosya sistemi için kullanıcı araçları + NTFS dosya sistemi için kullanıcı araçları içerir. Bu araçların amacı Linux çekirdeğine NTFS dosya sistemlerine güvenilir ve tam erişim sağlayacak NTFS araçlarını sağlamaktır. + +