--- /dev/null
+This package uses quilt to manage the patches in debian/patches.
+For further information please install the quilt package and read
+/usr/share/doc/quilt/README.source.
+
+ -- Sven Hoexter <hoexter@debian.org>, Mon, 21 May 2012 20:54:59 +0200
--- /dev/null
+fuse-exfat (0.9.7-2) unstable; urgency=low
+
+ * Switch from dh compat level 8 to 9.
+ * Enable all hardening flags via DEB_BUILD_MAINT_OPTIONS.
+ * Export CFLAGS as CCFLAGS which is honored by the current
+ SConstruct file.
+ * Symlink mount.exfat-fuse to mount.exfat. This should ease the
+ integration with the automount functionality in thunar.
+ Thanks to Bob Valantin <valantin89@gmail.com>. (Closes: #673517)
+ * Add debian/patches/honor-cppflags - scons should use exported CPPFLAGS.
+ * Add debian/patches/utf16-fix - fix handling of characters beyond BMP.
+ Thanks to Vladimir Serbinenko <phcoder@gmail.com>. (Closes: #672898)
+ * Add build-dep on quilt, use dh quilt addon in debian/rules.
+ * Add README.source to reference quilt.
+
+ -- Sven Hoexter <hoexter@debian.org> Mon, 21 May 2012 21:18:39 +0200
+
+fuse-exfat (0.9.7-1) unstable; urgency=low
+
+ * New upstream release.
+ * Remove config.log, in the clean target (via override dh_auto_clean).
+ * Bump Standards-Version to 3.9.3 - no changes required.
+
+ -- Sven Hoexter <hoexter@debian.org> Fri, 09 Mar 2012 21:20:25 +0100
+
+fuse-exfat (0.9.6-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Sven Hoexter <hoexter@debian.org> Sat, 14 Jan 2012 18:20:33 +0100
+
+fuse-exfat (0.9.5-1) unstable; urgency=low
+
+ * Initial release. (Closes: #625611)
+
+ -- Sven Hoexter <hoexter@debian.org> Mon, 02 Jan 2012 12:58:18 +0100
--- /dev/null
+Source: fuse-exfat
+Section: otherosfs
+Priority: optional
+Maintainer: Sven Hoexter <hoexter@debian.org>
+Build-Depends: debhelper (>= 9), scons, libfuse-dev, quilt
+Standards-Version: 3.9.3
+Homepage: http://code.google.com/p/exfat/
+Vcs-Git: git://git.sven.stormbind.net/git/sven/fuse-exfat.git
+Vcs-Browser: http://git.sven.stormbind.net/?p=sven/fuse-exfat.git
+
+Package: exfat-fuse
+Architecture: linux-any kfreebsd-any
+Depends: ${shlibs:Depends}, ${misc:Depends}, fuse [linux-any], fuse4bsd [kfreebsd-any]
+Recommends: exfat-utils
+Description: read and write exFAT driver for FUSE
+ fuse-exfat is a read and write driver implementing
+ the extended file allocation table as a filesystem in userspace.
+ A mounthelper is provided unter the name mount.exfat-fuse.
--- /dev/null
+This work was packaged for Debian by:
+ Sven Hoexter <sven@timegate.de> on Thu, 29 Dec 2011 10:30:47 +0100
+
+It was downloaded from:
+ http://code.google.com/p/exfat/downloads/list
+
+Upstream Author:
+ Andrew Nayenko resver@gmail.com
+
+Copyright:
+ Copyright (C) 2009, 2010 Andrew Nayenko
+
+License:
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+ On any Debian system, you can find the complete text of the GNU GPL
+ (GNU General Public License) in the file "/usr/share/common-licenses/GPL-3".
+
+The Debian packaging is:
+ Copyright (C) 2011-2012 Sven Hoexter <sven@timegate.de>
+
+and is licensed under the GPL version 3, see "/usr/share/common-licenses/GPL-3".
--- /dev/null
+[DEFAULT]
+pristine-tar = True
--- /dev/null
+fuse/mount.exfat-fuse /sbin
--- /dev/null
+sbin/mount.exfat-fuse sbin/mount.exfat
+usr/share/man/man8/mount.exfat-fuse.8.gz usr/share/man/man8/mount.exfat.8.gz
--- /dev/null
+fuse/mount.exfat-fuse.8
--- /dev/null
+Applied upstream in r284.
+http://code.google.com/p/exfat/source/detail?r=284
+--- a/SConstruct
++++ b/SConstruct
+@@ -41,6 +41,8 @@ if not conf.env['CCFLAGS']:
+ conf.env.Replace(CCFLAGS = '-Wall -O2 -ggdb')
+ elif conf.env['CC'] == 'clang':
+ conf.env.Replace(CCFLAGS = '-Wall -O2 -g')
++if 'CPPFLAGS' in os.environ:
++ conf.env.Replace(CPPFLAGS = os.environ['CPPFLAGS'])
+ conf.env.Append(CPPDEFINES = {'FUSE_USE_VERSION': 26})
+ conf.env.Append(CPPDEFINES = {'_FILE_OFFSET_BITS' : 64})
+ conf.env.Append(CPPPATH = ['libexfat'])
--- /dev/null
+honor-cppflags
+utf16-fix
--- /dev/null
+Applied upstream in r283.
+http://code.google.com/p/exfat/source/detail?r=283
+Closes Debian bug #672898.
+Thanks to Vladimir Serbinenko <phcoder@gmail.com>.
+--- a/libexfat/utf.c
++++ b/libexfat/utf.c
+@@ -89,6 +89,7 @@ static const le16_t* utf16_to_wchar(cons
+ return NULL;
+ *wc = ((wchar_t) (le16_to_cpu(input[0]) & 0x3ff) << 10);
+ *wc |= (le16_to_cpu(input[1]) & 0x3ff);
++ *wc += 0x10000;
+ return input + 2;
+ }
+ else
+@@ -186,6 +187,7 @@ static le16_t* wchar_to_utf16(le16_t* ou
+ }
+ if (outsize < 2)
+ return NULL;
++ wc -= 0x10000;
+ output[0] = cpu_to_le16(0xd800 | ((wc >> 10) & 0x3ff));
+ output[1] = cpu_to_le16(0xdc00 | (wc & 0x3ff));
+ return output + 2;
--- /dev/null
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+export CCFLAGS=${CFLAGS}
+
+
+%:
+ dh $@ --with quilt
+
+override_dh_auto_build:
+ scons
+
+override_dh_auto_clean:
+ scons -c
+ rm -f config.log
--- /dev/null
+version=3
+http://code.google.com/p/exfat/downloads/list?can=1 .*/fuse-exfat-(\d[\d\.]*)\.tar\.gz
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#define _XOPEN_SOURCE 500 /* for pread() and pwrite() in Linux */
#include "exfat.h"
#include <inttypes.h>
#include <sys/types.h>