Merge pull request #100 from ertugerata/master

ntfs-3g moved
This commit is contained in:
Ertuğrul Erata
2015-08-24 09:55:49 +03:00
5 changed files with 0 additions and 249 deletions
-35
View File
@@ -1,35 +0,0 @@
#!/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")
@@ -1,43 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="volume.fstype" string="ntfs">
<append key="volume.fstype.alternative" type="copy_property">volume.fstype</append>
<merge key="volume.mount.ntfs.valid_options" type="copy_property">volume.mount.valid_options</merge>
<merge key="volume.unmount.ntfs.valid_options" type="copy_property">volume.unmount.valid_options</merge>
<merge key="volume.fstype" type="string">ntfs-3g</merge>
<merge key="volume.mount.valid_options" type="strlist">ro</merge>
<append key="volume.mount.valid_options" type="strlist">atime</append>
<append key="volume.mount.valid_options" type="strlist">noatime</append>
<append key="volume.mount.valid_options" type="strlist">relatime</append>
<append key="volume.mount.valid_options" type="strlist">fake_rw</append>
<append key="volume.mount.valid_options" type="strlist">no_def_opts</append>
<append key="volume.mount.valid_options" type="strlist">default_permissions</append>
<append key="volume.mount.valid_options" type="strlist">umask=</append>
<append key="volume.mount.valid_options" type="strlist">fmask=</append>
<append key="volume.mount.valid_options" type="strlist">dmask=</append>
<append key="volume.mount.valid_options" type="strlist">uid=</append>
<append key="volume.mount.valid_options" type="strlist">gid=</append>
<append key="volume.mount.valid_options" type="strlist">show_sys_files</append>
<append key="volume.mount.valid_options" type="strlist">silent</append>
<append key="volume.mount.valid_options" type="strlist">force</append>
<append key="volume.mount.valid_options" type="strlist">remove_hiberfile</append>
<append key="volume.mount.valid_options" type="strlist">locale=</append>
<append key="volume.mount.valid_options" type="strlist">streams_interface=</append>
<append key="volume.mount.valid_options" type="strlist">debug</append>
<append key="volume.mount.valid_options" type="strlist">no_detach</append>
<append key="volume.mount.valid_options" type="strlist">sync</append>
<append key="volume.mount.valid_options" type="strlist">dirsync</append>
<append key="volume.mount.valid_options" type="strlist">nodiratime</append>
<append key="volume.mount.valid_options" type="strlist">noexec</append>
<append key="volume.mount.valid_options" type="strlist">quiet</append>
<append key="volume.mount.valid_options" type="strlist">remount</append>
<append key="volume.mount.valid_options" type="strlist">exec</append>
<append key="volume.mount.valid_options" type="strlist">recover</append>
<append key="volume.mount.valid_options" type="strlist">norecover</append>
<merge key="volume.unmount.valid_options" type="strlist">lazy</merge>
<merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge>
</match>
</device>
</deviceinfo>
@@ -1,47 +0,0 @@
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.
-110
View File
@@ -1,110 +0,0 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>ntfs-3g</Name>
<Homepage>http://www.tuxera.com/community/ntfs-3g-download</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2+</License>
<License>LGPLv2+</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<Summary>Userspace driver for NTFS read/write support</Summary>
<Description>ntfs-3g allows regular users read/write access to NTFS filesystems.</Description>
<Archive sha1sum="0ebd9adffd5a6ddcfbacade6be8efe1eba4b1a08" type="targz">http://tuxera.com/opensource/ntfs-3g_ntfsprogs-2015.3.14.tgz</Archive>
<Patches>
<Patch level="1">ntfsprogs_destdir.patch</Patch>
</Patches>
</Source>
<Package>
<Name>ntfs-3g</Name>
<RuntimeDependencies>
<Dependency>fuse</Dependency>
<Dependency>glibc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/bin</Path>
<Path fileType="executable">/sbin</Path>
<Path fileType="library">/lib</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<!--Path fileType="data">/usr/share/hal/fdi</Path-->
<Path fileType="doc">/usr/share/doc/ntfs-3g</Path>
<Path fileType="man">/usr/share/man/man8/mount*</Path>
<Path fileType="man">/usr/share/man/man8/ntfs-3g*</Path>
</Files>
<!--AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/share/hal/fdi/policy/10osvendor/25-ntfs-3g-policy.fdi">25-ntfs-3g-policy.fdi</AdditionalFile>
</AdditionalFiles-->
</Package>
<Package>
<Name>ntfsprogs</Name>
<PartOf>hardware.disk</PartOf>
<Summary>Userspace tools for NTFS filesystems</Summary>
<Description>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.</Description>
<RuntimeDependencies>
<Dependency version="current">ntfs-3g</Dependency>
<Dependency>fuse</Dependency>
<Dependency>glibc</Dependency>
<Dependency>libutil-linux</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/sbin/mkfs.ntfs</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="doc">/usr/share/doc/ntfsprogs</Path>
<Path fileType="man">/usr/share/man/man8</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2015-05-06</Date>
<Version>2015.3.14</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="5">
<Date>2014-12-13</Date>
<Version>2014.2.15</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-05-11</Date>
<Version>2013.1.13</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-10-30</Date>
<Version>2013.1.13</Version>
<Comment>Rebuild</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-01-30</Date>
<Version>2013.1.13</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-11-14</Date>
<Version>0.0_2012.01.15</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
-14
View File
@@ -1,14 +0,0 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>ntfs-3g</Name>
<Summary xml:lang="tr">NTFS dosya sistemlerine okuma/yazma erişimi için bir sürücü</Summary>
<Description xml:lang="tr">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.</Description>
</Source>
<Package>
<Name>ntfsprogs</Name>
<Summary xml:lang="tr">NTFS dosya sistemi için kullanıcı araçları</Summary>
<Description xml:lang="tr">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.</Description>
</Package>
</PISI>