--- linux-ntfs-1.13.1.orig/libntfs/logging.c +++ linux-ntfs-1.13.1/libntfs/logging.c @@ -78,7 +78,7 @@ #endif NTFS_LOG_LEVEL_INFO | NTFS_LOG_LEVEL_QUIET | NTFS_LOG_LEVEL_WARNING | NTFS_LOG_LEVEL_ERROR | NTFS_LOG_LEVEL_PERROR | NTFS_LOG_LEVEL_CRITICAL | - NTFS_LOG_LEVEL_REASON | NTFS_LOG_LEVEL_PROGRESS, + NTFS_LOG_LEVEL_PROGRESS, NTFS_LOG_FLAG_ONLYNAME, #ifdef DEBUG ntfs_log_handler_outerr @@ -352,21 +352,6 @@ int ret = 0; int olderr = errno; - if (level == NTFS_LOG_LEVEL_REASON) { - if (!reason) - reason = malloc(reason_size); - if (reason) { - memset(reason, 0, reason_size); - return vsnprintf(reason, reason_size, format, args); - } else { - /* Rather than call ourselves, just drop through */ - level = NTFS_LOG_LEVEL_PERROR; - format = "Couldn't create reason"; - args = NULL; - olderr = errno; - } - } - if ((ntfs_log.flags & NTFS_LOG_FLAG_ONLYNAME) && (strchr(file, PATH_SEP))) /* Abbreviate the filename */ file = strrchr(file, PATH_SEP) + 1; @@ -437,21 +422,6 @@ return 0; /* If it's NULL, we can't do anything. */ stream = (FILE*)data; - if (level == NTFS_LOG_LEVEL_REASON) { - if (!reason) - reason = malloc(reason_size); - if (reason) { - memset(reason, 0, reason_size); - return vsnprintf(reason, reason_size, format, args); - } else { - /* Rather than call ourselves, just drop through */ - level = NTFS_LOG_LEVEL_PERROR; - format = "Couldn't create reason"; - args = NULL; - olderr = errno; - } - } - if (ntfs_log.flags & NTFS_LOG_FLAG_COLOUR) { /* Pick a colour determined by the log level */ switch (level) { --- linux-ntfs-1.13.1.orig/ntfsprogs/Makefile.in +++ linux-ntfs-1.13.1/ntfsprogs/Makefile.in @@ -851,7 +851,7 @@ install-exec-am: install-binPROGRAMS install-sbinPROGRAMS @$(NORMAL_INSTALL) - $(MAKE) $(AM_MAKEFLAGS) install-exec-hook +# $(MAKE) $(AM_MAKEFLAGS) install-exec-hook install-info: install-info-am --- linux-ntfs-1.13.1.orig/ntfsprogs/ntfsmount.8.in +++ linux-ntfs-1.13.1/ntfsprogs/ntfsmount.8.in @@ -62,7 +62,7 @@ .TP .B default_permissions By default FUSE doesn't check file access permissions, the -filesystem is free to implement it's access policy or leave it to +filesystem is free to implement its access policy or leave it to the underlying file access mechanism (e.g. in case of network filesystems). This option enables permission checking, restricting access based on file mode. This is option is usually useful --- linux-ntfs-1.13.1.orig/ntfsprogs/ntfsclone.c +++ linux-ntfs-1.13.1/ntfsprogs/ntfsclone.c @@ -1608,6 +1608,7 @@ { u64 dest_bytes; struct statvfs stvfs; + struct stat stat; if (opt.metadata || opt.blkdev_out || opt.std_out) return; @@ -1620,6 +1621,14 @@ strerror(errno)); return; } + /* if file is a FIFO there is no point in checking the size */ + if (!fstat(fd_out, &stat)) { + if (S_ISFIFO(stat.st_mode)) + return; + } else { + Printf("WARNING: Couldn't get file info because of the following error: %s\n", + strerror(errno)); + } dest_bytes = (u64)stvfs.f_frsize * stvfs.f_bfree; if (!dest_bytes) --- linux-ntfs-1.13.1.orig/ntfsprogs/ntfsresize.c +++ linux-ntfs-1.13.1/ntfsprogs/ntfsresize.c @@ -2289,8 +2289,6 @@ u16 flags; flags = vol->flags | VOLUME_IS_DIRTY; - if (vol->major_ver >= 2) - flags |= VOLUME_MOUNTED_ON_NT4; printf("Schedule chkdsk for NTFS consistency check at Windows " "boot time ...\n"); --- linux-ntfs-1.13.1.orig/include/ntfs/logging.h +++ linux-ntfs-1.13.1/include/ntfs/logging.h @@ -75,7 +75,6 @@ #define NTFS_LOG_LEVEL_ERROR (1 << 7) /* Operation failed, no damage done */ #define NTFS_LOG_LEVEL_PERROR (1 << 8) /* Message : standard error description */ #define NTFS_LOG_LEVEL_CRITICAL (1 << 9) /* Operation failed,damage may have occurred */ -#define NTFS_LOG_LEVEL_REASON (1 << 10) /* Human readable reason for failure */ /* Logging style flags - Manage the style of the output */ #define NTFS_LOG_FLAG_PREFIX (1 << 0) /* Prefix messages with "ERROR: ", etc */ @@ -96,7 +95,6 @@ #define ntfs_log_quiet(FORMAT, ARGS...) ntfs_log_redirect(__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_QUIET,NULL,FORMAT,##ARGS) #define ntfs_log_verbose(FORMAT, ARGS...) ntfs_log_redirect(__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_VERBOSE,NULL,FORMAT,##ARGS) #define ntfs_log_warning(FORMAT, ARGS...) ntfs_log_redirect(__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_WARNING,NULL,FORMAT,##ARGS) -#define ntfs_log_reason(FORMAT, ARGS...) ntfs_log_redirect(__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_REASON,NULL,FORMAT,##ARGS) /* By default debug and trace messages are compiled into the program, * but not displayed. --- linux-ntfs-1.13.1.orig/debian/changelog +++ linux-ntfs-1.13.1/debian/changelog @@ -0,0 +1,513 @@ +linux-ntfs (1.13.1-6ubuntu1) hardy; urgency=low + + * debian/control: Add Conflicts:/Replaces: ntfsprogs (<< 1.13.1-1) for + libntfs-gnomevfs to perform a clean upgrade from Dapper (LP: #103496) + * debian/control: update Maintainer field as per spec + + -- Luca Falavigna Fri, 09 Nov 2007 17:42:44 +0100 + +linux-ntfs (1.13.1-6) unstable; urgency=low + + * Upload to unstable. Please test by resizing Vista (more information in + bug #379628). + + -- David Martínez Moreno Tue, 2 Jan 2007 12:12:45 +0100 + +linux-ntfs (1.13.1-5) experimental; urgency=high + + * Patched ntfsprogs/ntfsresize.c in order to fix grave resizing problem of + Vista partitions. Let's try before in experimental... Many thanks to + Szakacsits Szabolcs for the patch (closes: #379628). + + -- David Martínez Moreno Thu, 21 Dec 2006 18:47:48 +0100 + +linux-ntfs (1.13.1-4) unstable; urgency=low + + * ntfsclone should not check for free space if the output file is a FIFO. + Patch by Andree Leidenfrost. Many thanks, Andree!. Closes: #384974. + + -- David Martínez Moreno Mon, 9 Oct 2006 23:57:20 +0200 + +linux-ntfs (1.13.1-3) unstable; urgency=medium + + * Fix FTBFS on Alpha by removing an unused code block that was intended + for future usage in include/ntfs/logging.h. Thank you very much, Yuval + Fledel! Closes: #380657. + * debian/control: Added a versioned dependency on libfuse2 (>>2.5.0) by + adding fuse-utils (>>2.5.0) to Depends in ntfsprogs (closes: #380111). + * Rewrote the bug number that 1.13.1-2 closed with the right one. I love + rewritting history. + + -- David Martínez Moreno Tue, 1 Aug 2006 21:20:29 +0200 + +linux-ntfs (1.13.1-2) unstable; urgency=low + + * Damned dh_install...libntfs.conf was NOT A DIR, was the name! Removed it + from the list of installed files in libntfs-gnomevfs.install. Closes: + #379666. + + -- David Martínez Moreno Tue, 25 Jul 2006 01:38:39 +0200 + +linux-ntfs (1.13.1-1) unstable; urgency=low + + * New upstream release (closes: #367508): + - Fixed lots of endianness bugs. + - ntfscmp is now built as a regular tool (and thus included in this + package). + - ntfsresize checks and reports bad sectors before cluster allocation + check. + - mkntfs optionally creates NTFS version 3.0 (W2K) or 3.1 (XP, W2K3, + Vista). + - ntfsmount now support an 'streams_interface=' option to select named data + streams access interface. Currently supported interfaces are 'none', + 'windows' and 'xattr'. + - ntfscat can display named attributes, streams too. + - Working with regular files no longer needs the --force option, except + for mkntfs. + - ntfsclone checks available free space on the destination before + starting to clone, image or restore. + - Fix the -u option in ntfsundelete. Instead of a confusing optional + parameter, there's a new option -i with a required parameter. + - mkntfs had a fix for a segfault when volume had more than 2^31 clusters. + - ntfsmount has FreeBSD support. + - Implement simple syslog logging handler in ntfsmount. + - Fix a lot of bugs in attribute resizing code. + - ntfsclone: the --metadata option will wipe the timestamps in the + index allocation attributes as well. This further decreases the + compressed metadata image size by 10-25% and more importantly it + eliminates non-interesting ntfscmp differences. + - ntfsinfo: dump either a minimal (default) or the entire attribute + header (--verbose) for all attribute types. + - ntfscmp supports bad cluster list, compares full attribute headers + for non-resident attributes, and is built by default. + - Fix bug with renaming directories with names in DOS and WIN32 + namespaces. + - Lots of various bug fixes. + * debian/control: + - Changed URL to the new site (closes: #356217). + - Added libgnutls-dev (>> 1.4.0) to Build-depends in order to enable + again ntfsdecrypt. + - Removed completely fake ntfstools package, as it was a dummy one in + sarge. Thanks to Stefan Huehner for noticing (closes: #369106). + - While at it, renamed ntfstools-udeb to ntfsprogs-udeb for consistency. + Added Provides: ntfstools-udeb, trying to ease transitions. + - Rename libntfs8 to libntfs9. + - Upgrade Standards-Version to 3.7.2.0. + - Rewrote description for ntfsfix, as it has evolved to a general-purpose + checking tool for NTFS filesystems, that also forces a check on the next + Windows boot. Thanks to Szaka for the hint. + - Added ntfscmp and ntfsdecrypt descriptions. + * debian/rules: + - Added --enable-crypto to ./configure parameter line, thus enabling + building of ntfsdecrypt. Please read changelog from 1.11.2-1 release + for learning more about it. + - Link against libntfs9. + * Added libntfs.conf to libntfs-gnomevfs package. + * Moved usr/share/man/man8/libntfs-gnomevfs.8 to libntfs-gnomevfs package. + * Removed test/runlist-data/CVS/ dir from source. + * Correct wrong symlink in /sbin/mount.ntfs-fuse. Thanks, Onur Can CAKMAK. + Closes: #357906. + + -- David Martínez Moreno Sun, 23 Jul 2006 04:33:36 +0200 + +linux-ntfs (1.12.1-1) unstable; urgency=low + + * New upstream release (closes: #332930): + - Fixed lots of memory leaks in the tools. + - ntfsmount now uses the new API, and it has several fixes. + - Support journals which have been modified by chkdsk. + - New API for creating hard links, index handling, high-level creation and + deletion of files and directories. + - New utility ntfscmp (make extra) which compares two NTFS volumes and + tell the differences. It's used for development, debugging, testing, etc. + - Added robustness to several tools. + - ntfsclone: fix saving by sectors during --rescue. + - ntfsmount: Add 'locale' option and change interface to 'ntfsmount device + mount_point'. + - Fixed problem with kernel 2.4 and mkntfs. + - Change ALL utilities to display the libntfs version they are running on. + This should make debugging easier in the case that people are running + mismatched utilities/library. + * This new release fixes problems with libfuse 2.4.0 (closes: #336357). + * Fixed a lot of typos in the manpages, kindly submitted by A Costa. Thanks! + (closes: #336143, #336144, #336145, #336147, #336148). + * Fixed a couple of typos by me. + * debian/control: The SONAME of libntfs was bumped. Created new package + (libntfs8) and removed the old one. + * debian/copyright: Updated the FSF postal address. + * Added debian/ntfsprogs.links in order to ship mkfs.ntfs and + mount.ntfs-fuse. + + -- David Martínez Moreno Tue, 8 Nov 2005 20:20:23 +0100 + +linux-ntfs (1.11.2-3) unstable; urgency=low + + * debian/control: Fixed references to libntfs5 in libntfs-dev (closes: + #323509). Thanks, Paul Wise. Also removed Conflicts with previous versions + of libntfs that are not in sarge, as we only support upgrading from one + release, not two, including an ancient Conflicts against libntfs1 :o). + + -- David Martínez Moreno Wed, 17 Aug 2005 11:41:12 +0200 + +linux-ntfs (1.11.2-2) unstable; urgency=low + + * Really build ntfsmount, I forgot to add libfuse-dev to Build-Depends. + * Removed ntfscrypt building, until libgnomevfs2-dev depends on a modern + libgnutls. Sorry, guys. + * debian/control: Added libfuse-dev to Build-Depends, and removed + libgnutls-dev. + + -- David Martínez Moreno Wed, 17 Aug 2005 01:11:36 +0200 + +linux-ntfs (1.11.2-1) unstable; urgency=low + + * New upstream release. Changes were: + - ntfsclone: added a new option, --rescue. It ignores read errors so + disks having bad sectors (dying disks) can be rescued efficiently, + with minimal stress on them. --rescue works at the lowest, sector and + not cluster level, thus more data can be rescued. Also honor bad + clusters list. + - ntfscp: add ability to specify directory as destination file. Add + --attribute, --attr-name and --inode options. ntfscp now is a standard + program, not extra. + - ntfsfix: fix invalid mft records in $MFTMirr. + - ntfsinfo: it has been extended and now provides much more detailed + information as well as being able to resolve a path/filename instead of + requiring the inode number. + - ntfsresize: support bad clusters list, i.e. disks having bad sectors, if + the new --bad-sectors option is used. + - Add new utility, ntfsmount. It is a FUSE module that relies on libntfs. + - Add new utilities: ntfsdecrypt. + - ntfsdecrypt is now fully functional using libgcrypt and gnutls 1.2.0 + (not later, that is broken at present). It decrypts all types of + compressed files that NTFS creates, i.e. DesX, AES-256, and 3Des. The + only thing it requires is the user's private key which needs to be + supplied via a .pfx file (a PKCS#12 file). Such a file can be created + in Windows XP SP2 by running cipher with the export key option or in + older Windows versions by running the certificates snap-in to the + Microsoft Management Console (MMC). Note that due to a bug in gnutls + you have to protect the .pfx file with a password. An empty password + will not work. + - Add new utilities: ntfsdecrypt, ntfsmftalloc. + - And lots of fixes and improved error handling in every utility. + + * debian/control: + - Made ntfstools package deborphan-compliant (added dummy/transitional to + the Description). + - Fixed typo in the Description (closes: #300073). + - Added hint for mkntfs in the Description about making the new partition + bootable. + - Bumped Standards-Version to 3.6.2. + - Added --enable-crypto to configure in order to make ntfsdecrypt. + + -- David Martínez Moreno Sat, 13 Aug 2005 02:51:55 +0200 + +linux-ntfs (1.9.4-2) unstable; urgency=low + + * debian/control: + - The conflict with ntfstools should be versioned. Thanks, Joerg (closes: + #278303). + - Dropped from Build-Depends field completely gcc, as the version shipped + with sarge will be >= 3:3.2.3. + + -- David Martínez Moreno Fri, 7 Jan 2005 08:42:20 +0100 + +linux-ntfs (1.9.4-1) unstable; urgency=medium + + * New upstream release. Changes were: + - Lots of fixes to libntfs. + - Many endian issues fixed. + - Fixes for Solaris and Win32. + - General enhancements to ntfsinfo, ntfsundelete, ntfsclone and ntfslabel. + - Now ntfsclone has special image format support. + * New utilities added: + - ntfswipe - wipe file tails and directory indexes. + - ntfscp - at present it can only overwrite files. + * debian/control: + - Added info about ntfscluster (I forgot to did it some time ago), + ntfswipe and ntfscp. + - Readded the ntfstools legacy package. + + -- David Martínez Moreno Mon, 20 Sep 2004 01:59:02 +0200 + +linux-ntfs (1.9.2-2) unstable; urgency=low + + * Add a ntfstools-udeb containing a space-efficient ntfsresize. + Thanks, Joey Hess (closes: #265617). + * debian/control: Removed ntfstools package completely, thus fixing the + conflict that Adrian Bunk observed. ntfsprogs Provides: and Replaces: + ntfstools (closes: #266132). + + -- David Martínez Moreno Tue, 17 Aug 2004 12:04:15 +0200 + +linux-ntfs (1.9.2-1) unstable; urgency=low + + * New upstream release. Among others, main changes follow: + - A mostly rewritten ntfsinfo, with significant enhancements (dump by + path/filename, much more detailed information). + - mkntfs now creates bootable volumes. + - Some 64-bit architecture fixes. These users are recommended to upgrade. + - Three bugs in the decompression code. Upgrade is strongly recommended if + you are accessing compressed files. + - Lots of cleanups and improvements. + * Changed name from ntfstools to ntfsprogs. Now ntfstools is a fake package. + Reverted all my previous changes back to original, including manpages + (closes: #245413). + + -- David Martínez Moreno Wed, 4 Aug 2004 00:30:19 +0200 + +linux-ntfs (1.9.0-1) unstable; urgency=low + + * New upstream release: + - Merged Debian diff with upstream. + - Fixed mkntfs for large volumes. + - Add relocation support to ntfsresize. This modifies the command line + options a little as well as the returned output so applications using + ntfsresize might need modifications before they will work with the + updated ntfsresize. + - Revamped the build system completely. + - Provide always own byteswap constant versions in order to avoid the mess + that some architectures define only some of them (read m68k, ppc, + mips...). + - Made the warnings on 64 bit architectures go away. + - Fixed lots of typos in the documentation. + - Lots of fixes in general. + * Resolved several FTBFS (Fail To Build From Source) bugs (closes: #226989, + #234104). With this, all the architectures go in sync again. + + -- David Martínez Moreno Fri, 12 Mar 2004 00:03:30 +0100 + +linux-ntfs (1.8.5-1) unstable; urgency=medium + + * New upstream release: + - Among others fixes, copy needed things from kernel headers (closes: + #223170). + - A lot of fixes: the build has lots of compiler warnings enabled, thus + fixing all the warnings from libntfs. + - Found two bugs that could cause data corruption (closes: #228422, + #229239). Hence the urgency. + - Extended the API. + - Updated ntfsinfo. + * I'm almost sure that #234104 and #226989 are related and fixed in this + release, but we'll wait to the buildd's to see if this release fixes the + FTBFS error. + * I cannot reproduce #229497 and #229498 neither with 1.8.0-2 or this...weird. + + -- David Martínez Moreno Thu, 4 Mar 2004 01:45:10 +0100 + +linux-ntfs (1.8.0-2) unstable; urgency=low + + * debian/changelog: Fixed bad UTF-8 entries (closes: #223519). + + -- David Martínez Moreno Sun, 21 Dec 2003 02:26:29 +0100 + +linux-ntfs (1.8.0-1) unstable; urgency=low + + * New upstream release (closes: #223519). + - Final fixes and tidy ups. + - Cleanup build system and compiler warnings. + - Make libntfs more portable. + - Fix nasty buffer overflow bug in ntfs_get_attribute_value(). + + -- David MartA-nez Moreno Fri, 12 Dec 2003 02:10:25 +0100 + +linux-ntfs (1.7.99+beta2-1) unstable; urgency=low + + * New upstream release. + - Added NTFS Gnome VFS module by Jan Kratochvil, codename + libntfs-gnomevfs. + * debian/*.docs: moved most of the documents, really talking about internal + NTFS structure, to libntfs-dev package. + * Ups, upstream bumped soname version. Changed. + * Replaced all over the manpages ntfsprogs by ntfstools. + * Added NAME header to libntfs-gnomevfs manpage. + + -- David Martínez Moreno Tue, 9 Dec 2003 00:42:25 +0100 + +linux-ntfs (1.7.99+beta-1) unstable; urgency=low + + * New upstream release. + - Added new utilities!: ntfsclone by Szakacsits Szabolcs, ntfscluster by + Richard Russon, ntfsinfo by Matthew Fanto, ntfsls originally by Lode + Leroy, modified by Anton Altaparmakov, ntfscat by Richard Russon. + - Library internal enhancements and API additions, included some win32 + compatibility (for Cygwin). + * ntfsprogs/mkntfs.c: Added SCSI_DISK_MAJOR #ifdef and tweaked the + SCSI_BLK_MAJOR definition...weird (closes: #223170). + * debian/*: More weirdly...all the files under debian/ seems to have + duplicated their content :-? + * debian/rules: Changed some commands to comply with policy 3.6.0 and + removed -fms-extensions, as it's passed on upstream Makefile. + * debian/control: Added new utilities and bumped Standards-Version to 3.6.0. + + -- David Martínez Moreno Fri, 28 Nov 2003 21:38:39 +0100 + +linux-ntfs (1.7.1-4) unstable; urgency=low + + * Corrected typo in the Description: field (closes: #190794). + * Backported fix from CVS for off-by-one error in + disk_io.c::ntfs_cluster_{read,write}(). Fix by Ian Jackson. Patch is + debian/patch_ntfs_cluster. + * Added -fms-extensions to CFLAGS. This fixes the FTBFS error (closes: + #194983). + * Backported from CVS a fix for a multistring literal in libntfs/lcnalloc.c. + * Updated README.Debian. + * ntfsprogs/ntfsprogs.8.in: Updated the date and added a NAME section. + + -- David Mart­nez Moreno Mon, 7 Jul 2003 22:15:02 +0200 + +linux-ntfs (1.7.1-3) unstable; urgency=low + + * debian/control: Agh. Changed Section from devel to libdevel for + libntfs4-dev. Also added 'Section: otherosfs' to ntfstools package. + * debian/control: Bumped Standards-Version to 3.5.9. + + -- David Mart­nez Moreno Wed, 9 Apr 2003 12:25:05 +0200 + +linux-ntfs (1.7.1-2) unstable; urgency=low + + * debian/control: Added ${misc:Depends} and an explicit build dependency on + gcc >= 3:3.2.3 (closes: #187593). + + -- David Mart­nez Moreno Wed, 9 Apr 2003 09:28:26 +0200 + +linux-ntfs (1.7.1-1) unstable; urgency=medium + + * New upstream release (closes: #183954). + * Highlights of this release are the now hopefully stable API supported by + an almost completely rewritten library and the new utilities: ntfsresize, + ntfsundelete, ntfsinfo and ntfslabel (closes: #176635). + * Also this release is more robust and fixes a lot of errors, hence the + urgency. + * debian/control: Bumped to debhelper v4, removed gcc less than 3.2. + Standards-Version to 3.5.8. Rewrote Description in order to reflect the + robustness of the new API and the new utilities. Removed ending full + stops. + * debian/rules: Moved DH_COMPAT to debian/compat. Fixed the logic for gcc + election, and changed debug by noopt and gcc flags. + * Bumped libntfs SONAME to 4. + * Updated config.guess and config.sub to the latest ones. + + -- David Mart­nez Moreno Sun, 23 Mar 2003 05:42:12 +0100 + +linux-ntfs (1.6.0-2) unstable; urgency=low + + * Get rid of ntfstools.shlibs.local. I finally discovered the -l option in + dh_shlibdeps. + + -- David Mart­nez Moreno Sun, 31 Mar 2002 16:24:07 +0200 + +linux-ntfs (1.6.0-1) unstable; urgency=low + + * New upstream release. + * Upstream now includes the fixes for the powerpc build, so I cleaned a bit + the diff. + * Now mkntfs has two new options: -I, which disables content indexing on the + volume and -C, which enables compression on the volume. + + -- David Mart­nez Moreno Sat, 16 Mar 2002 22:18:13 +0100 + +linux-ntfs (1.5.1-2) unstable; urgency=low + + * This release fixes several warnings in the powerpc build. + * Let's see if the new gcc-3.0 gets good shape in arm and + powerpc...the buildd's are getting into trouble. + + -- David Mart­nez Moreno Fri, 1 Feb 2002 16:32:21 +0100 + +linux-ntfs (1.5.1-1) unstable; urgency=low + + * New upstream release. + * ntfsfix had two minor bugs fixed. This also should remove + the compilation warnings in ntfsfix.c on 64-bit-pointer-size + architectures. + * Oh, yes, THIS release _will_ compile and work on all + architectures... ;-) + * Hopefully will do. The sole changes are those allowing + compilation in sparc and ia64 targets. #123305 will be + closed when I see that. + + -- David Mart­nez Moreno Wed, 30 Jan 2002 01:25:22 +0100 + +linux-ntfs (1.5.0-1) unstable; urgency=low + + * New upstream release. + * This release should now compile and work on all architectures. + Anton (upstream) said that atomic stuff is now gone, but I'm + not going to close #123305 yet until I see/test linux-ntfs + on other architectures != i386... + * Now ntfs_mount syntax is changed to accept a read-only flag. + * Bumped SONAME in libntfs, from 2 to 3. + * debian/rules: General cleanup, and passing of CFLAGS in the + command line to configure, thus honoring DEB_BUILD_OPTIONS + and removing ugly hack in configure. + * debian/control: Changed back Arquitecture: field to any. Let's + test those unused buildd's... :-) + * Cleaned a bit the .diff.gz, and updated several little things. + + -- David Mart­nez Moreno Fri, 18 Jan 2002 02:41:51 +0100 + +linux-ntfs (1.4.0-2) unstable; urgency=low + + * It seems that atomic* stuff isn't present in non-386 + architectures, so we're disabling for now the autobuilding + for arch!=i386. This closes: #120373, #121689. + + -- David Mart­nez Moreno Fri, 7 Dec 2001 01:47:23 +0100 + +linux-ntfs (1.4.0-1) unstable; urgency=low + + * New upstream release. + * mkntfs now allows creation of small NTFS volumes (current + minimum size is 1 MB). Note, Windows does not normally + support NTFS floppies but Linux now does. + * ntfsfix now works on Windows XP NTFS volumes (NTFS 3.1). + * mkntfs now correctly handles directories on volumes with large + clusters. + * Updated Standards-Version. + * Corrected stupid changes in 1.2.2-1 about libntfs1. + * Now this package builds libntfs2 instead of libntfs1 (changed + SONAME). + * Fixed creation of development library, thanks to Jose C. Garc­a + Sogo . + + -- David Mart­nez Moreno Mon, 26 Nov 2001 01:29:58 +0100 + +linux-ntfs (1.2.2-1) unstable; urgency=low + + * New upstream release. + * This is a small update which fixes a bug in mkntfs which only + occured when formatting small volumes with non-standard sector + sizes (i.e. non-512 byte). + * Added Build-Depends on gcc-3.0, and on gcc-2.96 in ia64. Thanks, + James Troup for the hint on ia64 :-) + (Closes: #114495). + * Fixed double dependency on libntfs1 as reported by lintian 1.20.16. + * Removed almost all the patches as upstream now reflects them. + + -- David Mart­nez Moreno Sun, 7 Oct 2001 02:53:15 +0200 + +linux-ntfs (1.2.0-1) unstable; urgency=low + + * New upstream release. + * Initial public release (closes: #107205). + * Bug fixes for cluster sizes > 4 kb involving corrections to mft mirror + size and contents, mft data attribute position and mft bitmap size. + * Since 1.0.2 the tools ntfsdump_logfile, dumplog and ldm are no + longer part of ntfstools, so we only ship ntfsfix and mkntfs now. + Anton (the upstream author) claims that the dumplog tools are + intended for developer use only, so they'll live only in the CVS. + * If you're interested in this package including the above tools, + please contact me. I don't know if there is such needing. + * Added manual page for ntfsfix (should go upstream for the next version). + + -- David Mart­nez Moreno Mon, 1 Oct 2001 03:18:19 +0200 + +linux-ntfs (1.0.0-1) unstable; urgency=low + + * Initial Release. + * First attempt to build ntfstools with shared library support. + + -- David Mart­nez Moreno Tue, 24 Jul 2001 19:24:31 +0200 + +# vim:ai:et:sts=2:sw=2:tw=78 --- linux-ntfs-1.13.1.orig/debian/rules +++ linux-ntfs-1.13.1/debian/rules @@ -0,0 +1,92 @@ +#!/usr/bin/make -f +# debian/rules that uses debhelper. +# GNU copyright 1997 by Joey Hess. +# Copyright 2001-2003 by David Martínez Moreno +# + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS += -Wall -g + +# Honor DEB_BUILD_OPTIONS! +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +CFLAGS += -O0 +else +CFLAGS += -O2 +endif + +export CFLAGS + +configure: configure-stamp +configure-stamp: + dh_testdir + + ./configure --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --enable-shared \ + --enable-crypto + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + $(MAKE) + $(MAKE) -C ntfsprogs ntfsdecrypt + + # Build small ntfsresize for udeb. + -mkdir ntfsprogs-udeb + $(CC) -Os -o ntfsprogs-udeb/ntfsresize ntfsprogs/ntfsresize.o ntfsprogs/utils.o libntfs/.libs/libntfs.a + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + -$(MAKE) distclean + + rm -rf ntfsprogs-udeb + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr + install $(CURDIR)/ntfsprogs/ntfsdecrypt $(CURDIR)/debian/tmp/usr/bin + + dh_install --sourcedir=debian/tmp --list-missing + dh_install -p ntfsprogs-udeb ntfsprogs-udeb/ntfsresize usr/bin + +# Build architecture-independent files here. +binary-indep: build install + +# Build architecture-dependent files here. +# Pass -a to all debhelper commands in this target to reduce clutter. +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installdocs -a + dh_installman -a + dh_installchangelogs ChangeLog -a + dh_strip -a + dh_link -a + dh_compress -a + dh_fixperms -a + dh_makeshlibs -a -V + dh_installdeb -a + dh_shlibdeps -a -ldebian/libntfs9/usr/lib/ + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- linux-ntfs-1.13.1.orig/debian/control +++ linux-ntfs-1.13.1/debian/control @@ -0,0 +1,102 @@ +Source: linux-ntfs +Section: otherosfs +Priority: optional +Maintainer: Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: David Martínez Moreno +Build-Depends: debhelper (>> 4.2), libgnutls-dev (>> 1.4.0), libgnomevfs2-dev, libfuse-dev +Standards-Version: 3.7.2.0 + +Package: ntfsprogs +Section: otherosfs +Architecture: any +Depends: ${shlibs:Depends}, fuse-utils (>>2.5.0) +Description: tools for doing neat things in NTFS partitions from Linux + The Linux-NTFS project (http://www.linux-ntfs.org/) aims to bring full + support for the NTFS filesystem to the Linux operating system. + . + This is a set of tools targeted for people interested in working + with the NTFS support in the Linux kernel and using it. The + following utilities are included: + . + ntfsfix - Fix common filesystem errors and force Windows to check NTFS. + . + mkntfs - Format a partition with an NTFS filesystem, optionally bootable. + . + ntfsinfo - Show some information about an NTFS partition or one of + the files or directories within it. + . + ntfslabel - Show, or set, an NTFS partition's volume label. + . + ntfsresize - Resize an NTFS partition without losing data. + . + ntfsundelete - Recover deleted files from an NTFS partition. + . + ntfscluster - Locate the owner of any given sector or cluster on an NTFS + partition. + . + ntfscat - Concatenate files and print them on the standard output + (without mounting the partition). + . + ntfsls - List directory contents on an NTFS filesystem (without + mounting). + . + ntfscp - Overwrite files on an NTFS partition. + . + ntfsclone - Efficiently clone an NTFS filesystem or a part of it. + . + ntfsmount - Mount an NTFS partition from user-space using libntfs and FUSE. + . + ntfsdecrypt - Decrypt NTFS encrypted files. + . + ntfscmp - Compare two NTFS volumes and tell the differences. + +Package: ntfsprogs-udeb +Section: debian-installer +Architecture: any +XC-Package-Type: udeb +Depends: ${shlibs:Depends} +Provides: ntfstools-udeb +Description: Tools for doing neat things in NTFS partitions from Linux - udeb + Currently this udeb contains only ntfsresize. + +Package: libntfs-gnomevfs +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: ntfsprogs (<< 1.13.1-1) +Replaces: ntfsprogs (<< 1.13.1-1) +Description: NTFS GNOME virtual filesystem module + The Linux-NTFS project (http://www.linux-ntfs.org/) aims to bring full + support for the NTFS filesystem to the Linux operating system. + . + This package contains the NTFS GNOME virtual filesystem (VFS) module which + allows GNOME VFS clients to seamlessly use the NTFS library. + +Package: libntfs9 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: libntfs5 +Description: library that provides common NTFS access functions + The Linux-NTFS project (http://www.linux-ntfs.org/) aims to bring full + support for the NTFS filesystem to the Linux operating system. + . + libntfs provides common NTFS access functions for the ntfsprogs + and other foreign open source applications. + . + Please note that although the library is still under development, + it includes the majority of the desired functionality. + +Package: libntfs-dev +Section: libdevel +Architecture: any +Depends: libntfs9 (= ${Source-Version}) +Description: library that provides common NTFS access functions (development files) + The Linux-NTFS project (http://www.linux-ntfs.org/) aims to bring full + support for the NTFS filesystem to the Linux operating system. + . + libntfs provides common NTFS access functions for the ntfsprogs + and other foreign open source applications. + . + Please note that although the library is still under development, + it includes the majority of the desired functionality. --- linux-ntfs-1.13.1.orig/debian/README.Debian +++ linux-ntfs-1.13.1/debian/README.Debian @@ -0,0 +1,32 @@ +linux-ntfs for Debian +--------------------- + +This package contains: +- ntfsfix, a tool for fixing and repairing a NTFS partition + mounted under Linux, and force a chkdsk run on the next Windows boot. +- mkntfs, a tool to give format to NTFS partitions. +- ntfsinfo and ntfslabel, for showing (and setting) a lot of information + about an NTFS partition, label or one of the files or directories + within it. +- ntfsresize, for resizing an NTFS partition without losing data. +- ntfsundelete, a tool for recovering deleted files from an NTFS partition. +- ntfscat, a tool for concatenating files and print them on the standard + output (without actually mounting the partition). +- ntfsls, for listing directory contents on an NTFS filesystem (without + mounting). +- ntfscp, for overwriting already existing files on an NTFS partition. +- ntfsclone, an utility that efficiently clones an NTFS filesystem or + a part of it. + +See the corresponding manpages for further information. + +Be careful. NTFS support in the Linux kernel is stable for reading, +and kernel hackers only recommend to use it in read-only mounts. Although +the developers have taken care of not allowing dangerous operations in the +filesystem, havoc could occur. Ntfsprogs +are based on public documentation in Microsoft's website and +reverse-engineering on NTFS partitions, so don't cry if you lose all +your nice ActiveX applets or Monkey Island saved games. +You've been warned. + + -- David Martínez Moreno Fri, 12 Aug 2005 10:58:45 +0200 --- linux-ntfs-1.13.1.orig/debian/libntfs-dev.dirs +++ linux-ntfs-1.13.1/debian/libntfs-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include/ntfs --- linux-ntfs-1.13.1.orig/debian/copyright +++ linux-ntfs-1.13.1/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by David Martínez Moreno at +first time on Tue, 24 Jul 2001 19:24:31 +0200. + +It was downloaded from http://linux-ntfs.sourceforge.net/ + +Upstream Author: Anton Altaparmakov + +Copyright: + + This package 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; version 2 dated June, 1991. + + This package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- linux-ntfs-1.13.1.orig/debian/ntfsprogs.docs +++ linux-ntfs-1.13.1/debian/ntfsprogs.docs @@ -0,0 +1,4 @@ +NEWS +README +TODO.ntfsprogs +doc/tunable_settings --- linux-ntfs-1.13.1.orig/debian/compat +++ linux-ntfs-1.13.1/debian/compat @@ -0,0 +1 @@ +4 --- linux-ntfs-1.13.1.orig/debian/libntfs-dev.docs +++ linux-ntfs-1.13.1/debian/libntfs-dev.docs @@ -0,0 +1,5 @@ +TODO.include +TODO.libntfs +doc/attribute_definitions +doc/tunable_settings +doc/*.txt --- linux-ntfs-1.13.1.orig/debian/libntfs-dev.install +++ linux-ntfs-1.13.1/debian/libntfs-dev.install @@ -0,0 +1,4 @@ +usr/include/ntfs/* +usr/lib/*so +usr/lib/*.a +usr/lib/*.la --- linux-ntfs-1.13.1.orig/debian/libntfs-gnomevfs.dirs +++ linux-ntfs-1.13.1/debian/libntfs-gnomevfs.dirs @@ -0,0 +1 @@ +usr/lib/gnome-vfs-2.0/ --- linux-ntfs-1.13.1.orig/debian/ntfsprogs.dirs +++ linux-ntfs-1.13.1/debian/ntfsprogs.dirs @@ -0,0 +1,4 @@ +/sbin +/usr/bin +/usr/sbin +/usr/share/man/man8 --- linux-ntfs-1.13.1.orig/debian/ntfsprogs.install +++ linux-ntfs-1.13.1/debian/ntfsprogs.install @@ -0,0 +1,30 @@ +usr/bin/ntfscat +usr/bin/ntfscluster +usr/bin/ntfsfix +usr/bin/ntfsinfo +usr/bin/ntfsls +usr/bin/ntfsmount +usr/bin/ntfscmp +usr/bin/ntfsdecrypt +usr/sbin/mkntfs +usr/sbin/ntfsclone +usr/sbin/ntfscp +usr/sbin/ntfslabel +usr/sbin/ntfsresize +usr/sbin/ntfsundelete +usr/share/man/man8/mkntfs.8 +usr/share/man/man8/ntfscluster.8 +usr/share/man/man8/ntfscp.8 +usr/share/man/man8/ntfscmp.8 +usr/share/man/man8/ntfsfix.8 +usr/share/man/man8/ntfsinfo.8 +usr/share/man/man8/ntfslabel.8 +usr/share/man/man8/ntfsls.8 +usr/share/man/man8/ntfsmount.8 +usr/share/man/man8/ntfsresize.8 +usr/share/man/man8/ntfsundelete.8 +usr/share/man/man8/ntfscat.8 +usr/share/man/man8/ntfsclone.8 +usr/share/man/man8/ntfsprogs.8 +usr/share/man/man8/mkfs.ntfs.8 +usr/share/man/man8/mount.ntfs-fuse.8 --- linux-ntfs-1.13.1.orig/debian/ntfsprogs.links +++ linux-ntfs-1.13.1/debian/ntfsprogs.links @@ -0,0 +1,2 @@ +/usr/sbin/mkntfs /sbin/mkfs.ntfs +/usr/bin/ntfsmount /sbin/mount.ntfs-fuse --- linux-ntfs-1.13.1.orig/debian/libntfs9.install +++ linux-ntfs-1.13.1/debian/libntfs9.install @@ -0,0 +1 @@ +usr/lib/*.so.* --- linux-ntfs-1.13.1.orig/debian/libntfs9.dirs +++ linux-ntfs-1.13.1/debian/libntfs9.dirs @@ -0,0 +1 @@ +usr/lib --- linux-ntfs-1.13.1.orig/debian/libntfs9.docs +++ linux-ntfs-1.13.1/debian/libntfs9.docs @@ -0,0 +1 @@ +TODO.libntfs --- linux-ntfs-1.13.1.orig/debian/libntfs-gnomevfs.install +++ linux-ntfs-1.13.1/debian/libntfs-gnomevfs.install @@ -0,0 +1,3 @@ +usr/lib/gnome-vfs-2.0/* +usr/etc/gnome-vfs-2.0/modules/libntfs.conf /etc/gnome-vfs-2.0/modules/ +usr/share/man/man8/libntfs-gnomevfs.8