--- ntfs-3g-1.1120.orig/debian/ntfs-3g.install +++ ntfs-3g-1.1120/debian/ntfs-3g.install @@ -0,0 +1,3 @@ +bin/ +usr/share/ +sbin/ --- ntfs-3g-1.1120.orig/debian/libntfs-3g16.docs +++ ntfs-3g-1.1120/debian/libntfs-3g16.docs @@ -0,0 +1,4 @@ +NEWS +README +debian/README.Debian +debian/NEWS.Debian --- ntfs-3g-1.1120.orig/debian/watch +++ ntfs-3g-1.1120/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.ntfs-3g.org/index.html ntfs-3g-([0-9\.]*)\.tgz --- ntfs-3g-1.1120.orig/debian/ntfs-3g.initramfs-hook +++ ntfs-3g-1.1120/debian/ntfs-3g.initramfs-hook @@ -0,0 +1,22 @@ +#! /bin/sh -e + +PREREQ="fuse_utils" + +prereqs () { + echo "$PREREQ" +} + +case $1 in +prereqs) + prereqs + exit 0 + ;; +esac + +. /usr/share/initramfs-tools/hook-functions + +copy_exec /bin/ntfs-3g /bin +ln -s /bin/ntfs-3g "$DESTDIR/sbin/mount.ntfs-3g" +ln -s /bin/ntfs-3g "$DESTDIR/sbin/mount.ntfs" + +exit 0 --- ntfs-3g-1.1120.orig/debian/ntfs-3g.links +++ ntfs-3g-1.1120/debian/ntfs-3g.links @@ -0,0 +1,3 @@ +/usr/share/doc/libntfs-3g16 /usr/share/doc/ntfs-3g +/bin/ntfs-3g /sbin/mount.ntfs +/usr/share/man/man8/ntfs-3g.8.gz /usr/share/man/man8/mount.ntfs.8.gz --- ntfs-3g-1.1120.orig/debian/ntfs-3g-udeb.install +++ ntfs-3g-1.1120/debian/ntfs-3g-udeb.install @@ -0,0 +1,2 @@ +bin/ +sbin/ --- ntfs-3g-1.1120.orig/debian/ntfs-3g.initramfs-premount +++ ntfs-3g-1.1120/debian/ntfs-3g.initramfs-premount @@ -0,0 +1,14 @@ +#! /bin/sh + +case $1 in +prereqs) + exit 0 + ;; +esac + +if [ "$ROOTFSTYPE" = ntfs ] || [ "$ROOTFSTYPE" = ntfs-3g ] || \ + [ "$LOOPFSTYPE" = ntfs ] || [ "$LOOPFSTYPE" = ntfs-3g ]; then + modprobe fuse +fi + +exit 0 --- ntfs-3g-1.1120.orig/debian/NEWS.Debian +++ ntfs-3g-1.1120/debian/NEWS.Debian @@ -0,0 +1,9 @@ +ntfs-3g (1:1.913-2) unstable; urgency=HIGH + + * User from group fuse cannot mount ntfs-3g anymore. + This feature could allow any user from this group to read from and write + to arbitrary block devices, possibly involving a file descriptor leak. + + See Debian bug #445315 or CVE-2007-5159 for more information. + + -- Adam Cécile (Le_Vert) Thu, 04 Oct 2007 22:20:11 +0200 --- ntfs-3g-1.1120.orig/debian/control +++ ntfs-3g-1.1120/debian/control @@ -0,0 +1,87 @@ +Source: ntfs-3g +Section: otherosfs +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Adam Cécile (Le_Vert) +Build-Depends: debhelper (>= 5.0.22), autotools-dev, pkg-config, libfuse-dev (>= 2.7.0-1ubuntu5), dpatch, chrpath +Homepage: http://www.ntfs-3g.org/ +Standards-Version: 3.7.2 + +Package: ntfs-3g +Architecture: any +Pre-Depends: fuse-utils +Depends: ${shlibs:Depends} +Description: read-write NTFS driver for FUSE + The ntfs-3g driver is an open source, GPL licensed, third generation Linux + NTFS driver which was implemented by the Linux-NTFS project. It provides + full read-write access to NTFS, excluding access to encrypted files, writing + compressed files, changing file ownership, access right. + . + Technically it's based on and a major improvement to the third generation + Linux NTFS driver, ntfsmount. The improvements includes functionality, + quality and performance enhancements. + . + ntfs-3g is based on FUSE (userspace filesystem framework for Linux), thus + you will have to prepare fuse kernel module to be able to use it. + . + Fuse is available in any recent kernel. No need to prepare a kernel module + if you are already running Debian Etch kernel or newer. + +Package: libntfs-3g-dev +Section: libdevel +Architecture: any +Depends: libntfs-3g16 (= ${binary:Version}) +Description: ntfs-3g filesystem in userspace (FUSE) library headers + The ntfs-3g driver is an open source, GPL licensed, third generation Linux + NTFS driver which was implemented by the Linux-NTFS project. It provides + full read-write access to NTFS, excluding access to encrypted files, writing + compressed files, changing file ownership, access right. + . + Technically it's based on and a major improvement to the third generation + Linux NTFS driver, ntfsmount. The improvements includes functionality, + quality and performance enhancements. + . + ntfs-3g is based on FUSE (userspace filesystem framework for Linux), thus + you will have to prepare fuse kernel module to be able to use it. + . + Fuse is available in any recent kernel. No need to prepare a kernel module + if you are already running Debian Etch kernel or newer. + . + This package contains the library headers for developing programs using + libntfs-3g16. + +Package: libntfs-3g16 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: ntfs-3g filesystem in userspace (FUSE) library + The ntfs-3g driver is an open source, GPL licensed, third generation Linux + NTFS driver which was implemented by the Linux-NTFS project. It provides + full read-write access to NTFS, excluding access to encrypted files, writing + compressed files, changing file ownership, access right. + . + Technically it's based on and a major improvement to the third generation + Linux NTFS driver, ntfsmount. The improvements includes functionality, + quality and performance enhancements. + . + ntfs-3g is based on FUSE (userspace filesystem framework for Linux), thus + you will have to prepare fuse kernel module to be able to use it. + . + Fuse is available in any recent kernel. No need to prepare a kernel module + if you are already running Debian Etch kernel or newer. + . + This package contains the shared library. + +Package: ntfs-3g-udeb +Section: debian-installer +Architecture: any +XC-Package-Type: udeb +Depends: fuse-utils-udeb, ${shlibs:Depends} +Description: read-write NTFS driver for FUSE + +Package: libntfs-3g16-udeb +Section: debian-installer +Architecture: any +XC-Package-Type: udeb +Depends: ${shlibs:Depends} +Description: ntfs-3g filesystem in userspace (FUSE) library --- ntfs-3g-1.1120.orig/debian/copyright +++ ntfs-3g-1.1120/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Adam Cécile (Le_Vert) on +Tue, 3 Oct 2006 01:17:00 +0200. + +It was downloaded from http://www.ntfs-3g.org/ + +Upstream Author: Szabolcs Szakacsits + +Copyright: (C) 2000-2006 ntfs-3g Development Team + +License: + + 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; either version 2 of the License, or + (at your option) any later version. + + 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 systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2006, Adam Cécile (Le_Vert) +and is licensed under the GPL, see above. --- ntfs-3g-1.1120.orig/debian/README.Debian +++ ntfs-3g-1.1120/debian/README.Debian @@ -0,0 +1,29 @@ +ntfs-3g for Debian +================== + +Quickstart guide for ntfs-3g +---------------------------- + +I assume NTFS partition is '/dev/hda1' and its mountpoint '/mnt/windows'. + +1. Load fuse kernel module and add them to /etc/modules : + modprobe fuse && echo "fuse" >> /etc/modules + + Please notice that with recent kernel (Etch and above), you can skip this + step, everything will be done automatically. + +2. Mount a NTFS partition : + ntfs-3g /dev/hda1 /mnt/windows + +3. If you want to give full access for all users, ignore permission related + driver messages, and make national characters visible then use (drop or + replace the below fr_FR.utf8 with the appropriate setting, and also the + device and mount points, if needed) : + + ntfs-3g /dev/hda1 /mnt/windows -o silent,umask=0,locale=fr_FR.utf8 + +4. To mount the patition at startup, edit /etc/fstab and add : + + /dev/hda1 /mnt/windows ntfs-3g silent,umask=0,locale=fr_FR.utf8 0 0 + + -- Adam Cécile (Le_Vert) , Tue, 3 Oct 2006 01:17:00 +0200 --- ntfs-3g-1.1120.orig/debian/changes/ChangeLog +++ ntfs-3g-1.1120/debian/changes/ChangeLog @@ -0,0 +1,245 @@ +STABLE Version 1.1120 (November 20, 2007) -- Release Notes + Fix: successful hard link removal may reported "Input/Output error". + Fix: listing the content of a single directory having over 600,000 files + and subdirectories may returned "Input/Output error" or truncated directory + listing. + Fix: atime mount option didn't work. + Fix: POSIX file time updates (file access and modification times, inode + change time). Please note, though NTFS-3G updates the times correctly now, + FUSE may keep caching old, invalid time attributes for a short time after + rename(2), creat(2), and some file operations which involve hard links. FUSE + has fixed already the first two cases and they may be included in the Linux + kernel 2.6.24 release. + New: relatime support was added and made the default atime update method. + +STABLE Version 1.1104 (November 4, 2007) -- Release Notes + Fix: reads over the end of a file could return "invalid argument" error + using some recent kernels. This problem may have caused Thunderbird to + hang. + Fix: some faulty versions of the gcc compiler have crashed during + compilation. + Fix: the utimes(2) system call may incorrectly updated the last status + change filestamp. + Change: the ntfs.streams.list extended attribute enumerates Alternate + Data Streams (ADS) '\0' separated. + +STABLE Version 1.1030 (October 29, 2007) -- Release Notes + Fix: big-endian problems exposed by the NTFS-3G Test Suite. + Fix: free space calculation may was wrong for >1 TB volumes. + Fix: some faulty Thunderbird versions caused system log flooding. + Fix: uClibc and uClinux improvements. + Fix: logging improvements. + Fix: many other minor fixes. + +STABLE Version 1.1004 (October 4, 2007) -- Release Notes + fix: unwritten sparse file regions could get corrupted if the end of a write + wasn't aligned to cluster boundary. Sparse files are very rarely used, most + typically by bittorent clients. + fix: creation of read-only files failed. + change: free inode calculation was CPU intensive during write activity. This + could reduce write performance when millions of files are used if a file + manager or desktop applet regularly polled for disk space usage. Now the + statfs() system call is constant time. + change: file creation performance is improved by 40-80%. + change: smart directory traversal is 20-200% faster for disk based and + 300-600% faster for memory cache based traversals. + +STABLE Version 1.913 (September 13, 2007) -- Release Notes + fix: hibernation check was too rigid and mount was refused in read/write + mode unnecessarily in some cases. + change: free disk space calculation was highly CPU intensive during write + activity. This could reduce write performance severely, especially for huge + volumes if a file manager or desktop applet regularly polled for disk space + usage. Now the calculation is constant time, around only 10 microseconds on + a typical desktop, and it's completely independent of the volume size. + all performance improvements included unchanged from the 1.910-RC test + release. Please see those details below. + +Version 1.910-RC (September 10, 2007) -- Release Notes + change: significantly improved the performance of writing many files, + typically by 50-1000% (copying files, unpacking, untarring packages, + compilation, directory synchronization, ...). + change: improved the performance of writing multi-GB size files, + particularly after the creation of many thousands of other files. Previous + disk space defragmentation is highly advised for the best possible speed. + File level defragmentation is not enough. + change: improved concurrent write performance. + +STABLE Version 1.826 (August 26, 2007) -- Release Notes + fix: utime() also updated the timestamp of the parent directory but it + shouldn't have (rsync, backup tool problems). + fix: ignore the "volume dirty" bit because its real meaning is "check the + volume". The fact of the real dirtiness is stored in the NTFS logfile which + is already checked for. + fix: compilation failed with glibc 2.7 + new: the --disable-library 'configure' option can be used not to install but + link libntfs-3g into the ntfs-3g binary. This decreases the binary size by + about 10-15% and increases performance by about 2-5%. + +STABLE Version 1.810 (August 10, 2007) -- Release Notes + fix: file rename may updated the modification time of some files and + directories which caused some backup tools, like rsync, not to preserve + always this timestamp + fix: unmount (fusermount -u) was denied for an unprivileged user who was + allowed to mount a block device. FUSE 2.7.0+ user space package is required + for the full fix. + fix: the driver could hang if there wasn't enough memory during reading a + large directory + fix: reading a directory may reported success when there was an error + fix: metadata update error was ignored in some very rare cases during + writing a file + fix: permissions checking was turned on if umask, fmask and dmask was set to + the default 000 value + change: manual update, added Windows filename compatibility section + change: lots of logging improvements + +STABLE Version 1.710 (July 10, 2007) -- Release Notes + fix: move, rename and hard link could return "input/output error" + fix: very rare, recoverable directory corruption + fix: portability improvements + change: more troubleshooting hints if a volume can't be mounted + change: logging improvements + +STABLE Version 1.616 (June 17, 2007) -- Release Notes + Version 1.612-RC is released as stable + +Version 1.612-RC (June 12, 2007) Release Notes + new: install executables to the root file system otherwise mount could fail + during boot + fix: any kind of file size change failure returned "Operation not + permitted" + fix: file close failure was not always reported + fix: unmount failure was not always reported + fix: file creation always gave "input/output error" if the $MFT Bitmap + wasn't up-to-date + fix: converting very long file names to Unicode may failed + fix: syslog messages didn't show the low level error detail + fix: compilation improvements on OS X and NetBSD + +STABLE Version 1.516 (May 16, 2007) -- Release Notes + fix: Linux security exploit if ntfs-3g was setuid and the FUSE kernel driver + wasn't loaded yet during mount + +STABLE Version 1.417 (April 16, 2007) -- Release Notes + fix: mount failed if the -v (verbose) command line option was passed by + mount(8) + +STABLE Version 1.416 (April 16, 2007) -- Release Notes + fix: parsing of the first mount option could fail in the 1.411-RC test release + +Version 1.411-RC (April 11, 2007) -- Release Notes + new: read-write mount is supported using the "force" mount option if the + logfile is unclean + new: libntfs-3g is versioned + fix: default ownership of files weren't always set to the mounting user + fix: mount was denied if the NTFS Master File Table copy had non-standard + size + fix: catch and deny all junction/reparse point write operations + fix: multiply -o options weren't allowed (FreeBSD's mount(8) requires this) + fix: don't try to run Linux specific code on non-Linux OSes + +STABLE Version 1.328 (March 28, 2007) -- Release Notes + change: document and release version update to stable status + +Version 1.320-RC (March 20, 2007) -- Release Notes + fix: fakeraid/softraid detection was incorrect + change: major performance improvement for writing large files (new block + allocator) + change: manual update, added access handling, security section + new: use the 'nonempty' FUSE mount option by default, so the driver behaves + as the in-kernel file systems + new: --disable-ldconfig configure option + +STABLE Version 1.0 (February 21, 2007) -- Release Notes + change: document and release version update to stable status + +Version 0.20070207-RC1: -- Release Notes + new: the driver is in release candidate status + new: warn if the deficient FUSE 2.6.2 kernel module is used + fix: a bug in chkdsk could result the removal of highly fragmented, valid + files + fix: Mac OS X portability improvements + change: full file permission checking if any of the uid, gid, umask, fmask, + or dmask mount option is used + +Version 0.20070118-BETA: -- Release Notes + new: top request: setuid root support, the driver can run unprivileged + fix: the 'user' and 'users' fstab mount options didn't work (requires setuid + root ntfs-3g) + fix: time of last file modification and status change weren't updated + +Version 0.20070116-BETA: -- Release Notes + new: top request: support old FUSE kernel modules + fix: ActiveSync didn't work via Samba 3.0 + +Version 0.20070102-BETA: -- Release Notes + fix: writing large files could be very slow + fix: writing several files at the same time could be very slow + fix: writing at several places into a file at the same time could be very + slow + fix: invalid argument error when writing randomly into sparse files + +Version 0.20061218-BETA: -- Release Notes + fix: heavy memory usage with sparse files (p2p, bittorrent client problems) + fix: inode number wasn't filled in the dirent structures (CVS, getcwd, + gnulib problems) + fix: 2-8% speed increase due to using pread/pwrite instead of lseek+ + read/write + fix: fuse 2.6.x kernel module detection wasn't reliable + +Version 0.20061212-BETA: -- Release Notes + fix: directories were inaccessible on Windows if the cluster size was + bigger than 4kB + fix: static linking failed with FUSE 2.6.0 + fix: 'make install' failed if ldconfig wasn't in the $PATH + change: more verbose error reporting, explanations, hints for solutions + +Version 0.20061115-BETA: -- Release Notes + fix: unmount was unsafe for removable devices + fix: the code wasn't endian safe + fix: mount arguments were omitted on the 2nd fuse mount attempt + new: FUSE 2.6.0 is required to ensure maximum reliability + new: bmap() implemented: safe swap file support, LILO bootability + change: the file system type is 'fuseblk' instead of 'fuse' for block + devices + +Version 0.20061031-BETA: -- Release Notes + fix: unmount was asynchronous; full fix requires FUSE 2.6.0 as well + fix: mount was denied if $MFTMirr was too small + fix: option parsing was incorrect if there was no space between name + & argument + change: new software versioning + +2006.09.20 -- Release Notes + fix: file creation at disk-full may lead to i/o errors + fix: statistic of inodes and free inodes was incorrect (df -i) + fix: the 'umask' option wasn't always parsed as an octal number + fix: "too long filename" handling wasn't POSIX compliant + fix: mount was denied if $MFTMirr had unused garbage at the file end + +2006.09.10 -- Release Notes + fix: rename was always denied if the target file or directory existed + fix: renaming like 'foo' -> 'FOO' was denied in the WIN32 namespace + fix: fuse kernel module is automatically loaded, no need for config + fix: verbose mount error messages with hints for solutions + fix: compilation failed with gcc 2.96 + change: top request: full read-write access to everybody by default + change: file lookups are always case-sensitive + +2006.08.22 -- Release Notes + fix: case-insensitive directory rename to itself may failed + fix: some regular files weren't accessible on Linux + fix: files created on Linux may not had enough permissions on Windows + +2006.08.11 -- Release Notes + fix: directory couldn't be renamed if it had both WIN32 and DOS name + fix: collision with ntfsprogs header files + +2006.08.03 -- Release Notes + fix: improved large file write performance + fix: better consistency if NTFS wasn't cleanly unmounted + fix: write(2) may created holes + fix: show mounted device names instead of /dev/fuse + +2006.07.14 -- Release Notes + first ntfs-3g BETA release --- ntfs-3g-1.1120.orig/debian/ntfs-3g.postinst +++ ntfs-3g-1.1120/debian/ntfs-3g.postinst @@ -0,0 +1,7 @@ +#!/bin/sh + +if type update-initramfs >/dev/null 2>&1; then + update-initramfs -u +fi + +#DEBHELPER# --- ntfs-3g-1.1120.orig/debian/libntfs-3g16.install +++ ntfs-3g-1.1120/debian/libntfs-3g16.install @@ -0,0 +1 @@ +lib/lib*.so.* --- ntfs-3g-1.1120.orig/debian/changelog +++ ntfs-3g-1.1120/debian/changelog @@ -0,0 +1,310 @@ +ntfs-3g (1:1.1120-1ubuntu1) hardy; urgency=low + + * Resynchronise with Debian. Remaining changes: + - Add udeb shlibs entries for libntfs-3g16-udeb. + - Bump debhelper build-dependency to 5.0.22 for dh_makeshlibs + --add-udeb. + - Create libntfs3g16-udeb and ntfs-3g-udeb. + - Copy ntfs-3g into the initramfs. If ntfs-3g is used to mount the root + filesystem (either directly or via a loopback mount), load the fuse + module beforehand, and save ntfs-3g's PID (indirectly) in + /var/run/sendsigs.omit. + - Move ntfs-3g to /bin. + - Move libntfs-3g.so.* to /lib. Adjust libntfs-3g.so symlink to match. + - Add /sbin/mount.ntfs symlink to /bin/ntfs-3g. + - Add a symlink for the mount.ntfs manual page too. + * Pass basenames rather than full paths to pidof; create + /dev/.initramfs/varrun if necessary (LP: #150831). + + -- Colin Watson Mon, 03 Dec 2007 14:16:30 +0000 + +ntfs-3g (1:1.1120-1) unstable; urgency=low + + * New upstream release. + * Bump library package name to match current soname. + + -- Adam Cécile (Le_Vert) Fri, 23 Nov 2007 15:10:10 +0100 + +ntfs-3g (1:1.1104-1ubuntu1) hardy; urgency=low + + * Resynchronise with Debian (LP: #148864). Remaining changes: + - Add udeb shlibs entries for libntfs-3g14-udeb. + - Bump debhelper build-dependency to 5.0.22 for dh_makeshlibs --add-udeb. + - Create libntfs3g14-udeb and ntfs-3g-udeb. + - Copy ntfs-3g into the initramfs. If ntfs-3g is used to mount the root + filesystem (either directly or via a loopback mount), load the fuse + module beforehand, and save ntfs-3g's PID (indirectly) in + /var/run/sendsigs.omit. + - WriteSupportForNTFS + + Move install location of ntfs-3g from /usr/bin to /bin + + Move install location of library libntfs-3g.so.14.0.0 and + its lib*.so.* symlink from /usr/lib to /lib + + Fix up libntfs-3g-dev library symlink libntfs-3g.so in + /usr/lib to point to new location of libntfs-3g.so.14.0.0 + in debian/rules + + Add /sbin/mount.ntfs symlink to /bin/ntfs-3g + + Add a symlink for the mount.ntfs manual page too. + + -- Colin Watson Thu, 22 Nov 2007 18:12:27 +0000 + +ntfs-3g (1:1.1104-1) unstable; urgency=low + + * New upstream release, sorry for the delay :-) + * Bump library package name to match current soname. + * Move 'Homepage' to the new dpkg field. + * Fix NEWS.Debian syntax. + + -- Adam Cécile (Le_Vert) Tue, 13 Nov 2007 11:55:58 +0100 + +ntfs-3g (1:1.1004-1) unstable; urgency=low + + * New upstream release. + * Add upstream ChangeLog (from website). + + -- Adam Cécile (Le_Vert) Sat, 13 Oct 2007 02:38:45 +0200 + +ntfs-3g (1:1.913-2ubuntu1) gutsy; urgency=low + + [ Matti Lindell, Colin Watson ] + * Resynchronise with Debian (LP: #145852), mainly to fix major performance + problems and help out the installer by being able to mount filesystems + even when they need to be checked the next time Windows boots. Remaining + changes: + + Add udeb shlibs entries for libntfs-3g12-udeb. + + Bump debhelper build-dependency to 5.0.22 for dh_makeshlibs --add-udeb. + + Create libntfs3g12-udeb and ntfs-3g-udeb. + + Copy ntfs-3g into the initramfs. If ntfs-3g is used to mount the root + filesystem (either directly or via a loopback mount), load the fuse + module beforehand, and save ntfs-3g's PID (indirectly) in + /var/run/sendsigs.omit. + + + WriteSupportForNTFS + - Move install location of ntfs-3g from /usr/bin to /bin + - Move install location of library libntfs-3g.so.12.0.0 and + its lib*.so.* symlink from /usr/lib to /lib + - Fix up libntfs-3g-dev library symlink libntfs-3g.so in + /usr/lib to point to new location of libntfs-3g.so.12.0.0 + in debian/rules + - Add /sbin/mount.ntfs symlink to /bin/ntfs-3g + - Add a symlink for the mount.ntfs manual page too. + + -- Colin Watson Mon, 08 Oct 2007 14:27:53 +0100 + +ntfs-3g (1:1.913-2) unstable; urgency=HIGH + + * Security set to HIGH because it fixes a critical issue. + * Do not set ntfs-3g binary setuid with group fuse. + This could allows local users with fuse group membership to read from and + write to arbitrary block devices, possibly involving a file descriptor + leak. (CVE-2007-5159) (Closes: #445315). + * Update README.Debian and long description (Closes: #443418). + + -- Adam Cécile (Le_Vert) Thu, 04 Oct 2007 22:20:11 +0200 + +ntfs-3g (1:1.913-1) unstable; urgency=low + + * New upstream release. + * Bump library package name to match current soname. + + -- Adam Cécile (Le_Vert) Thu, 13 Sep 2007 11:31:59 +0200 + +ntfs-3g (1:1.826-1) unstable; urgency=low + + * New upstream release. + * Bump library package name to match current soname. + + -- Adam Cécile (Le_Vert) Tue, 28 Aug 2007 09:17:34 +0200 + +ntfs-3g (1:1.810-1) unstable; urgency=low + + * New upstream release (Closes: #434128). + * Bump libfuse-dev build depends to >= 2.7 (Needed to really fix #434128). + * Bump library package name to match current soname. + + -- Adam Cécile (Le_Vert) Fri, 10 Aug 2007 17:00:02 +0200 + +ntfs-3g (1:1.710-2) unstable; urgency=low + + * Update long description, ntfs-3g works fine on any architecture (Closes: #436435). + * ntfs-3g binary is now 4754, according to debian policy (Closes: #436658). + + -- Adam Cécile (Le_Vert) Wed, 08 Aug 2007 19:22:08 +0200 + +ntfs-3g (1:1.710-1ubuntu4) gutsy; urgency=low + + * Add udeb shlibs entries for libntfs-3g5-udeb. + * Revert hacky udeb dependency fix; rely on udeb shlibdeps instead. + * Bump debhelper build-dependency to 5.0.22 for dh_makeshlibs --add-udeb. + + -- Colin Watson Wed, 19 Sep 2007 10:07:29 +0100 + +ntfs-3g (1:1.710-1ubuntu3) gutsy; urgency=low + + * Fix ntfs-3g-udeb's dependencies. + + -- Colin Watson Tue, 11 Sep 2007 14:27:31 +0100 + +ntfs-3g (1:1.710-1ubuntu2) gutsy; urgency=low + + * Create libntfs3g5-udeb and ntfs-3g-udeb. + * Copy ntfs-3g into the initramfs. If ntfs-3g is used to mount the root + filesystem (either directly or via a loopback mount), load the fuse + module beforehand, and save ntfs-3g's PID (indirectly) in + /var/run/sendsigs.omit. + * Add a symlink for the mount.ntfs manual page too. + + -- Colin Watson Sat, 11 Aug 2007 00:55:40 +0100 + +ntfs-3g (1:1.710-1ubuntu1) gutsy; urgency=low + + * WriteSupportForNTFS + + - Move install location of ntfs-3g from /usr/bin to /bin + - Move install location of library libntfs-3g.so.5.0.0 and + its lib*.so.* symlink from /usr/lib to /lib + - Fix up libntfs-3g-dev library symlink libntfs-3g.so in + /usr/lib to point to new location of libntfs-3g.so.5.0.0 + in debian/rules + - Add /sbin/mount.ntfs symlink to /bin/ntfs-3g + + * Fix absolute paths in *.links files + + -- Phillip Lougher Tue, 07 Aug 2007 17:49:07 +0100 + +ntfs-3g (1:1.710-1) unstable; urgency=low + + * New upstream release: + - Bump library package name to libntfs-3g5 to match soname. + * Use [ ! -f Makefile ] || $(MAKE) distclean instead of -$(MAKE) distclean (fix lintian warning). + * Break loops with exit 1 in debian/rules if an error occurs. + + -- Adam Cécile (Le_Vert) Tue, 10 Jul 2007 09:15:12 +0200 + +ntfs-3g (1:1.616-1) unstable; urgency=low + + * New upstream release: + - Fix debian/rules to install softwares in /usr, + - Bump library package name to libntfs-3g4 to match soname. + + -- Adam Cécile (Le_Vert) Sun, 17 Jun 2007 14:17:17 +0200 + +ntfs-3g (1:1.516-1) unstable; urgency=HIGH + + * Security set to HIGH due to critical security fix. + * New upstream release. + * Bump libntfs-3g package name (libntfs-3g2). + + -- Adam Cécile (Le_Vert) Wed, 16 May 2007 08:55:47 +0200 + +ntfs-3g (1:1.417-1) unstable; urgency=low + + * New upstream release. + + -- Adam Cécile (Le_Vert) Mon, 16 Apr 2007 10:54:41 +0200 + +ntfs-3g (1:1.416-1) unstable; urgency=low + + * New upstream release. + * Drop versionned shlibs, libntfs-3g is now versionned. + * Bump libntfs-3g package name (libntfs-3g1). + + -- Adam Cécile (Le_Vert) Sun, 15 Apr 2007 23:12:46 +0200 + +ntfs-3g (1:1.328-2) unstable; urgency=low + + * Uploading to unstable. + * Add missing epoch to versionned shlibs (Closes: #413264). + + -- Adam Cécile (Le_Vert) Sun, 08 Apr 2007 23:43:10 +0200 + +ntfs-3g (1:1.328-1) experimental; urgency=low + + * New upstream release. + - Improve large file performance in close to full and/or highly fragmented disk scenarios. + * Drop debconf dependency, not used anymore (Closes: #415688). + * Drop "000-Remove_ldconfig_call" patch, replaced by "--disable-ldconfig" configure switch. + + -- Adam Cécile (Le_Vert) Wed, 28 Mar 2007 08:44:30 +0200 + +ntfs-3g (1:1.0-2) experimental; urgency=low + + * Remove 'beta statement' in debian/control (Closes: #413182). + * Create a versionned shlibs file for libntfs-3g (Closes: #413264). + * Build against libfuse-dev (>= 2.6.3-1) which includes a verionned shlibs file (Closes: #412385). + + -- Adam Cécile (Le_Vert) Sun, 4 Mar 2007 00:02:16 +0100 + +ntfs-3g (1:1.0-1) experimental; urgency=low + + * New upstream release (First stable release). + * Remove debconf warning. + + -- Adam Cécile (Le_Vert) Wed, 21 Feb 2007 09:04:37 +0100 + +ntfs-3g (1:0.0.0+20070207-1) experimental; urgency=low + + * New upstream release (RC1 !). + + -- Adam Cécile (Le_Vert) Wed, 7 Feb 2007 09:44:48 +0100 + +ntfs-3g (1:0.0.0+20070118-1) experimental; urgency=low + + * New upstream release (Closes: #404240). + * Update libfuse-dev build dependency version from 2.5.0 to 2.6.0. + * Update 000-Remove_ldconfig_call patch. + * Merge swedish debconf translation (Closes: #407863). + + -- Adam Cécile (Le_Vert) Thu, 1 Feb 2007 14:47:01 +0100 + +ntfs-3g (1:0.0.0+20061031-6) unstable; urgency=low + + * Add Russian debconf translation, thanks to Yuri Kozlov (Closes: #405247). + + -- Adam Cécile (Le_Vert) Wed, 3 Jan 2007 09:41:29 +0100 + +ntfs-3g (1:0.0.0+20061031-5) unstable; urgency=low + + * Add Czech debconf translation, thanks to Jakub Kasparec (Closes: #402988). + + -- Adam Cécile (Le_Vert) Fri, 15 Dec 2006 19:56:05 +0100 + +ntfs-3g (1:0.0.0+20061031-4) unstable; urgency=low + + * Update debian/watch. + + -- Adam Cécile (Le_Vert) Fri, 24 Nov 2006 00:33:43 +0100 + +ntfs-3g (1:0.0.0+20061031-3) unstable; urgency=low + + * Add German debconf translation, thanks to Alwin Meschede (Closes: #399247). + + -- Adam Cécile (Le_Vert) Sun, 19 Nov 2006 03:13:59 +0100 + +ntfs-3g (1:0.0.0+20061031-2) unstable; urgency=low + + * Install ntfs-3g suid root with group fuse (Closes: #396681). + * Move fuse-utils from Depends to Pre-Depends. + + -- Adam Cécile (Le_Vert) Sat, 4 Nov 2006 17:10:43 +0100 + +ntfs-3g (1:0.0.0+20061031-1) unstable; urgency=low + + * New upstream release. + * Add an epoch because of the new software versionning. + * Change homepage url. + * Remove 001-Log_reason_removal patch, merged in upstream. + + -- Adam Cécile (Le_Vert) Tue, 31 Oct 2006 21:33:11 +0100 + +ntfs-3g (0.0.0+20070920-2) unstable; urgency=low + + * Fix FTBS on aplha (Closes: #395901). + Thanks to Szakacsits Szabolcs . + + -- Adam Cécile (Le_Vert) Sun, 29 Oct 2006 18:42:19 +0100 + +ntfs-3g (0.0.0+20070920-1) unstable; urgency=low + + * Initial release (Closes: #390778). + + -- Adam Cécile (Le_Vert) Tue, 3 Oct 2006 01:17:00 +0200 --- ntfs-3g-1.1120.orig/debian/rules +++ ntfs-3g-1.1120/debian/rules @@ -0,0 +1,100 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# Include dpatch targets +include /usr/share/dpatch/dpatch.make + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +# We'll symlink /usr/share/doc/ to the libntfs-3g16 one +# So we need a list of available packages +PKG_LIST = libntfs-3g-dev ntfs-3g + +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: patch-stamp configure + dh_testdir + ./configure --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --exec-prefix=/ \ + --mandir=\$${prefix}/share/man \ + --disable-ldconfig \ + CFLAGS="$(CFLAGS)" \ + LDFLAGS="-Wl,-z,defs" + +build: build-stamp + +build-stamp: config.status + dh_testdir + $(MAKE) + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp config.log + [ ! -f Makefile ] || $(MAKE) distclean +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + dh_clean + +install: build-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + $(RM) $(CURDIR)/debian/tmp/lib/lib*.so + for i in $(CURDIR)/debian/tmp/lib/lib*.so.*.*.*; do \ + base=$${i##*/}; \ + ln -s /lib/$${base} $(CURDIR)/debian/tmp/lib/$${base%.*.*.*}; \ + done + # Remove RPATH from binary + chrpath --delete debian/tmp/bin/ntfs-3g + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs debian/changes/ChangeLog + dh_installdocs + dh_installdebconf + dh_install --sourcedir=$(CURDIR)/debian/tmp + # Remove old doc sets before running dh_link + for PKG in $(PKG_LIST); do \ + rm -r debian/$$PKG/usr/share/doc/ || exit 1; \ + done + install -D -m0755 debian/ntfs-3g.initramfs-hook \ + debian/ntfs-3g/usr/share/initramfs-tools/hooks/ntfs_3g + install -D -m0755 debian/ntfs-3g.initramfs-premount \ + debian/ntfs-3g/usr/share/initramfs-tools/scripts/local-premount/ntfs_3g + install -D -m0755 debian/ntfs-3g.initramfs-bottom \ + debian/ntfs-3g/usr/share/initramfs-tools/scripts/local-bottom/ntfs_3g + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs --add-udeb=libntfs-3g16-udeb + dh_installdeb + dh_shlibdeps -Llibntfs-3g16 -ldebian/libntfs-3g16/lib + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- ntfs-3g-1.1120.orig/debian/ntfs-3g.initramfs-bottom +++ ntfs-3g-1.1120/debian/ntfs-3g.initramfs-bottom @@ -0,0 +1,18 @@ +#! /bin/sh + +case $1 in +prereqs) + exit 0 + ;; +esac + +if [ "$ROOTFSTYPE" = ntfs ] || [ "$LOOPFSTYPE" = ntfs ]; then + mkdir -p /dev/.initramfs/varrun + pidof mount.ntfs >> /dev/.initramfs/varrun/sendsigs.omit +fi +if [ "$ROOTFSTYPE" = ntfs-3g ] || [ "$LOOPFSTYPE" = ntfs-3g ]; then + mkdir -p /dev/.initramfs/varrun + pidof mount.ntfs-3g >> /dev/.initramfs/varrun/sendsigs.omit +fi + +exit 0 --- ntfs-3g-1.1120.orig/debian/libntfs-3g16-udeb.install +++ ntfs-3g-1.1120/debian/libntfs-3g16-udeb.install @@ -0,0 +1 @@ +lib/lib*.so.* --- ntfs-3g-1.1120.orig/debian/ntfs-3g-udeb.links +++ ntfs-3g-1.1120/debian/ntfs-3g-udeb.links @@ -0,0 +1 @@ +/bin/ntfs-3g /sbin/mount.ntfs --- ntfs-3g-1.1120.orig/debian/libntfs-3g-dev.links +++ ntfs-3g-1.1120/debian/libntfs-3g-dev.links @@ -0,0 +1 @@ +/usr/share/doc/libntfs-3g16 /usr/share/doc/libntfs-3g-dev --- ntfs-3g-1.1120.orig/debian/compat +++ ntfs-3g-1.1120/debian/compat @@ -0,0 +1 @@ +5 --- ntfs-3g-1.1120.orig/debian/libntfs-3g-dev.install +++ ntfs-3g-1.1120/debian/libntfs-3g-dev.install @@ -0,0 +1,2 @@ +usr/include/* +lib/lib*.so usr/lib --- ntfs-3g-1.1120.orig/config.sub +++ ntfs-3g-1.1120/config.sub @@ -1,9 +1,10 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, +# Inc. -timestamp='2005-12-11' +timestamp='2007-06-28' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -240,15 +241,16 @@ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ - | fr30 | frv \ + | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ - | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | mcore | mep \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ @@ -268,26 +270,25 @@ | mn10200 | mn10300 \ | mt \ | msp430 \ + | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ + | score \ + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ - | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; - m32c) - basic_machine=$basic_machine-unknown - ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown @@ -317,18 +318,18 @@ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* \ + | avr-* | avr32-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ - | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ - | m32r-* | m32rle-* \ + | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ @@ -350,29 +351,28 @@ | mmix-* \ | mt-* \ | msp430-* \ + | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ - | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa-* \ | ymp-* \ | z8k-*) ;; - m32c-*) - ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) @@ -475,8 +475,8 @@ basic_machine=craynv-cray os=-unicosmp ;; - cr16c) - basic_machine=cr16c-unknown + cr16) + basic_machine=cr16-unknown os=-elf ;; crds | unos) @@ -683,6 +683,10 @@ basic_machine=i386-pc os=-mingw32 ;; + mingw32ce) + basic_machine=arm-unknown + os=-mingw32ce + ;; miniframe) basic_machine=m68000-convergent ;; @@ -818,6 +822,12 @@ pc532 | pc532-*) basic_machine=ns32k-pc532 ;; + pc98) + basic_machine=i386-pc + ;; + pc98-*) + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; @@ -904,6 +914,10 @@ sb1el) basic_machine=mipsisa64sb1el-unknown ;; + sde) + basic_machine=mipsisa32-sde + os=-elf + ;; sei) basic_machine=mips-sei os=-seiux @@ -915,6 +929,9 @@ basic_machine=sh-hitachi os=-hms ;; + sh5el) + basic_machine=sh5le-unknown + ;; sh64) basic_machine=sh64-unknown ;; @@ -1120,7 +1137,7 @@ sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; - sparc | sparcv8 | sparcv9 | sparcv9b) + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) @@ -1193,7 +1210,8 @@ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ + | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ @@ -1208,7 +1226,7 @@ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos*) + | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1360,7 +1378,10 @@ # system, and we'll never get to this point. case $basic_machine in - spu-*) + score-*) + os=-elf + ;; + spu-*) os=-elf ;; *-acorn) @@ -1372,9 +1393,9 @@ arm*-semi) os=-aout ;; - c4x-* | tic4x-*) - os=-coff - ;; + c4x-* | tic4x-*) + os=-coff + ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 @@ -1400,6 +1421,9 @@ m68*-cisco) os=-aout ;; + mep-*) + os=-elf + ;; mips*-cisco) os=-elf ;; --- ntfs-3g-1.1120.orig/config.guess +++ ntfs-3g-1.1120/config.guess @@ -1,9 +1,10 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, +# Inc. -timestamp='2005-12-13' +timestamp='2007-07-22' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -106,7 +107,7 @@ trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; - { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; @@ -160,6 +161,7 @@ arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; + sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched @@ -206,8 +208,11 @@ *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; + *:SolidBSD:*:*) + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} + exit ;; macppc:MirBSD:*:*) - echo powerppc-unknown-mirbsd${UNAME_RELEASE} + echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} @@ -325,7 +330,7 @@ sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; - i86pc:SunOS:5.*:*) + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) @@ -764,12 +769,19 @@ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + case ${UNAME_MACHINE} in + pc98) + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + amd64) + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + *) + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; - i*:MINGW*:*) + *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) @@ -779,9 +791,15 @@ i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; - x86:Interix*:[345]*) - echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' - exit ;; + *:Interix*:[3456]*) + case ${UNAME_MACHINE} in + x86) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + EM64T | authenticamd) + echo x86_64-unknown-interix${UNAME_RELEASE} + exit ;; + esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; @@ -817,6 +835,9 @@ arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; @@ -851,7 +872,11 @@ #endif #endif EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^CPU/{s: ::g;p;}'`" + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^CPU/{ + s: ::g + p + }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) @@ -870,7 +895,11 @@ #endif #endif EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^CPU/{s: ::g;p;}'`" + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^CPU/{ + s: ::g + p + }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) @@ -925,6 +954,9 @@ x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; + xtensa:Linux:*:*) + echo xtensa-unknown-linux-gnu + exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent @@ -967,7 +999,7 @@ LIBC=gnulibc1 # endif #else - #if defined(__INTEL_COMPILER) || defined(__PGI) + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) LIBC=gnu #else LIBC=gnuaout @@ -977,7 +1009,11 @@ LIBC=dietlibc #endif EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^LIBC/{s: ::g;p;}'`" + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^LIBC/{ + s: ::g + p + }'`" test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit @@ -1179,6 +1215,15 @@ SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; + SX-7:SUPER-UX:*:*) + echo sx7-nec-superux${UNAME_RELEASE} + exit ;; + SX-8:SUPER-UX:*:*) + echo sx8-nec-superux${UNAME_RELEASE} + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux${UNAME_RELEASE} + exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;;