1
0

Accepting request 75011 from GNOME:Factory

ntfs-3g and ntfsprogs were merged; please accept this merged package (based on previous ntfs-3g package) to filesystems, and push to Factory

OBS-URL: https://build.opensuse.org/request/show/75011
OBS-URL: https://build.opensuse.org/package/show/filesystems/ntfs-3g_ntfsprogs?expand=0&rev=1
This commit is contained in:
Pavol Rusnak 2011-07-25 10:58:45 +00:00 committed by Git OBS Bridge
commit e4f83f9450
7 changed files with 899 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

39
21-storage-ntfs-3g.fdi Normal file
View File

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux">
<match key="volume.fstype" string="ntfs">
<!-- Overwrite fstype with ntfs-3g if the package is installed
NOTE: this isn't the correct way to go !!! It may breaks kernel ntfs mounting -->
<merge key="volume.fstype" type="string">ntfs-3g</merge>
<merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge>
<append key="volume.mount.valid_options" type="strlist">locale=</append>
<!-- Currently it's planed to use these keys instead, but this need changes in the
mount handlers as e.g. the desktop and also HAL
<append key="volume.mount.alternative.fstype" type="strlist">ntfs-3g</append>
<append key="volume.mount.ntfs-3g.valid_options" type="strlist">ro</append>
<append key="volume.mount.ntfs-3g.valid_options" type="strlist">sync</append>
<append key="volume.mount.ntfs-3g.valid_options" type="strlist">dirsync</append>
<append key="volume.mount.ntfs-3g.valid_options" type="strlist">noatime</append>
<append key="volume.mount.ntfs-3g.valid_options" type="strlist">nodiratime</append>
<append key="volume.mount.ntfs-3g.valid_options" type="strlist">noexec</append>
<append key="volume.mount.ntfs-3g.valid_options" type="strlist">quiet</append>
<append key="volume.mount.ntfs-3g.valid_options" type="strlist">remount</append>
<append key="volume.mount.ntfs-3g.valid_options" type="strlist">exec</append>
<append key="volume.mount.ntfs-3g.valid_options" type="strlist">locale=</append>
<append key="volume.mount.ntfs-3g.valid_options" type="strlist">uid=</append>
<append key="volume.mount.ntfs-3g.valid_options" type="strlist">gid=</append>
<append key="volume.mount.ntfs-3g.valid_options" type="strlist">umask=</append>
<append key="volume.mount.ntfs-3g.valid_options" type="strlist">utf8</append>
-->
</match>
</match>
</device>
</deviceinfo>

48
buildall.sh Normal file
View File

@ -0,0 +1,48 @@
# Script to build ntfs-3g for several distributions using osc, the opensuse
# buildservice client. Needs to be started from the checked-out directory
# of a project which provides needed packages, e.g. osc co home:benkai:ntfs/NTFS-3g
trap 2 exit
set -ex
#export BUILD_ROOT=/home/abuild/ntfs-3g-root
unset BUILD_DIST
export BUILD_ROOT=/dev/shm/ntfs-3g-root
while read platform arch; do
outdir=RPMS/$platform
if [ -d $outdir/$arch ]; then
echo "$outdir/$arch exist, next!"
continue
fi
echo $platform $arch
rm -rf $BUILD_ROOT
time osc build --no-verify --clean $platform $arch ntfs-3g.spec
mkdir -p $outdir/$arch-tmp
mv $BUILD_ROOT/usr/src/*/RPMS/*/*.rpm $outdir/$arch-tmp
mv $outdir/$arch-tmp $outdir/$arch
done <<END
CentOS_5 i586
CentOS_5 x86_64
Fedora_7 i586
Fedora_7 x86_64
Fedora_8 i586
Fedora_8 x86_64
Fedora_Extras_6 i586
Fedora_Extras_6 x86_64
Mandriva_2007 i586
Mandriva_2007 x86_64
Mandriva_2008 i586
Mandriva_2008 x86_64
openSUSE_10.2 i586
openSUSE_10.2 x86_64
openSUSE_10.3 i586
openSUSE_10.3 x86_64
openSUSE_Factory i586
openSUSE_Factory x86_64
SLES_9 i586
SLES_9 x86_64
SLE_10 i586
SLE_10 x86_64
SUSE_Linux_10.1 i586
SUSE_Linux_10.1 x86_64
Fedora_Core_6 i586
Fedora_Core_6 x86_64
END

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b9f7b395a878fff183cc0b58b77a93a2abe026f1020b01918acd4997ed7c3e29
size 881175

567
ntfs-3g_ntfsprogs.changes Normal file
View File

@ -0,0 +1,567 @@
-------------------------------------------------------------------
Fri Jul 1 15:41:25 CEST 2011 - vuntz@opensuse.org
- Rename source package from ntfs-3g to ntfs-3g_ntfsprogs
(following upstream).
- Remove ntfsprogs BuildRequires as it will now be built with this
package; update %check to reference the mkntfs binary we built
instead of the system one.
- Define a ntfs-3g subpackage, for compatibility with old package.
- Split libntfs-3g in libntfs-3g81 subpackage to follow shared
library packaging policy.
- Rename devel subpackage to libntfs-3g-devel for extra clarity,
and add appropriate Provides/Obsoletes.
- Package /sbin/mount.ntfs and %{_mandir}/man8/mount.ntfs.8 as
ghost files, to fix rpmlint warning.
-------------------------------------------------------------------
Tue Jun 28 17:10:56 CEST 2011 - dimstar@opensuse.org
- Update to version 2011.4.12:
+ ntfs-3g:
- fixed possible wrong hole size when overwriting compressed
data
- fixed listxattr() to environments with extended attributes
- fixed ENOSPC when making an index non-resident
- fixed partial mapping ahead of mapped runlist
- enabled forensic mounting (currently same as read-only)
- expand an attribute without creating a hole
- improved appending data to a long hole
- deny direct modifications to metadata files
- option 'acl' to request the use of Posix ACLs
+ ntfsclone:
- fixed reading old big-endian ntfsclone images
- avoided writing beyond allocated variable
- close volume and cleanup when exiting
- new option not to clear the timestamps
- sync created image before remounting
- use a stream to produce aligned writes during image creation
+ ntfsinfo: display times in UTC
+ mkntfs:
- don't store full bitmap and logfile in memory
- set a volume UUID if option -U
- fixed $MFT allocated size
- fixed allocated size of resident unnamed data
+ ntfsfix:
- new option -n for no action
- try alternate boot sector if cannot start up
- check and fix the upcase table
- try to fix file systems with incorrect size
+ ntfsundelete: fixed a segfault
+ ntfsresize:
- new option --info-mb-only
- new option --check
- ntfs-3g and ntfsprogs are now part of one source tarball. For
easiest upgrade path, we create a subpackage called ntfsprogs.
The version number is higher than the latest released one, so
there is no need for special care.
-------------------------------------------------------------------
Sat Apr 30 18:14:05 UTC 2011 - crrodriguez@opensuse.org
- Fix build with gcc 4.6: Remove -Werror from CFLAGS in the spec
file. It currently fails on "error: variable 'foo' set but not
used [-Werror=unused-but-set-variable]"
-------------------------------------------------------------------
Sun Mar 20 22:23:50 CET 2011 - dimstar@opensuse.org
- Update to version 2011.1.15:
+ New festures:
- implemented fsync() and fsyncdir().
- implemented the sync mount option.
- sanity check upcase table.
- added a big-endian extended attribute name for attrib and
times.
- added an extended attribute name for creation time.
- enable renaming of system extended attributes.
+ Bug fixes:
- improved appending data to fragmented files.
- improved rebuilding a runlist.
- improved comparing filenames on big-endian CPUs.
- stat(2) for system files with no data.
- alignment on cached structures.
- Posix ACLs for big-endian CPUs.
- deleting files using ignore_case option.
- allocated size when an attribute update causes unnamed
data to be expelled.
-------------------------------------------------------------------
Mon Oct 4 12:06:02 CEST 2010 - vuntz@opensuse.org
- Update to version 2010.10.2:
+ Bug fixes:
- Fixed filename encoding when standard functions are not
available.
- Fixed checking mounted device status on some non-Linux
platforms.
- Fixed mounting with SELinux context.
- Fixed -n and --no-mtab mount option handling, needed by
automount.
- Improved consistency checks of POSIX ACLs.
- NTFS-3G manual update.
-------------------------------------------------------------------
Mon Aug 9 11:30:16 CEST 2010 - vuntz@opensuse.org
- Update to version 2010.8.8:
+ New features:
- Full, transparent, read-write compression support.
- Two new mount options: compression and nocompression
(default).
- Introduced windows_names mount option to enforce only Windows
names.
+ Behavior changes:
- Re-enabled compression in root directory.
- Reversed default for showing/hiding hidden files.
- Redefined default user mapping.
- Marked files whose name has a dot initial as “hidden” if
option hide_dot_files is used.
- Renamed option default_permissions to permissions.
+ Bug fixes:
- Fixed use of utimensat() with external fuse older than 2.8.
- Fixed a hang when reading a corrupt compressed file.
- Fixed a possible crash when creating a stream.
- Fixed all reported and found compressed write related bugs.
- Fixed partially overwriting sparse clusters on highly
fragmented volumes.
- Fixed checking write errors in setxattr().
- Fixed processing end of partial runlist for compressed files.
- Fixed updating file compressed sizes.
- Fixed checking the device mount state.
- Fixed processing of options silent and no_def_opts.
- Fixed excessive cluster allocation within big holes.
- Fixed creating empty encrypted extended attributes.
- Fixed too permissive sanity check before compressing.
- Fixed error returns when writing compressed data.
- Fixed sanity checked when closing a compressed file.
- Fixed zeroing the end of an ex-hole cluster of compressed
files.
- Improved sanity checks on security descriptors.
-------------------------------------------------------------------
Fri May 28 09:09:32 UTC 2010 - dimstar@opensuse.org
- Update to version 2010.5.22:
+ The missing helpers secaudit and usermap are back.
-------------------------------------------------------------------
Fri May 21 10:08:37 CET 2010 - andrea@opensuse.org
- Update to version 2010.5.16:
+ Fixed a compilation issue with uClibc.
+ Fixed modifying the read-only flag on a directory.
+ Fixed a bug in ACL inheritance.
+ Fixed a bad condition for security descriptor upgrade.
+ Fixed a possible index block with no key in $SII.
+ Fixed the condition for executing utime() and utimensat().
+ Fixed wrong flags when uid/gid are forced in mount options.
+ Fixed a bad error checking when closing a compressed file.
+ Fixed compiler warnings on OpenSolaris.
+ Fixed conditional code for self-test in secaudit.
-------------------------------------------------------------------
Mon Mar 8 10:08:37 CET 2010 - dimstar@opensuse.org
- Update to version 2010.3.6:
+ New: Support Object Identifiers which are used by Windows for
shortcuts and caused CHKDSK warnings when the target was
deleted.
+ New: Nanosecond resolution file timestamps support.
+ New: Selective file timestamp modification by utimensat(2).
+ New: Make non-resident TXF_DATA attribute of root directory
resident so Vista and later wont complain about RAW partition.
+ New: Caching inodes.
+ New: More efficient UTF8/UTF16 translations.
+ Fixed setting archive bit on file and alternated data stream
creation.
* Fixed setting reparse tags in parent directories.
+ Fixed enabling permissions when no UserMapping file is found.
+ Fixed an error return code in the main mount function.
+ Fixed setting timestamp via extended attributes to be
consistent between Windows and Linux view.
+ Fixed option processing when uid, gid, fmask or dmask are
present.
- Drop ntfs-3g-usermap.patch and ntfs-3g-warnings.patch. Both have
beein included upstream.
-------------------------------------------------------------------
Sun Jan 17 04:36:33 CET 2010 - vuntz@opensuse.org
- Update to version 2010.1.16:
+ Vista, Windows Server 2008 and Windows 7 couldnt access a
volume, file or directory if it had a non-resident TXF_DATA
attribute despite being allowed by the NTFS $AttrDef attribute
specification file.
+ NTFS-3G may crashed if a junction point referred to a non-ASCII
file.
+ Compilation errors on Mac OS X, OpenSolaris and openSUSE.
- Drop ntfs-3g-xattr.patch: fixed upstream.
- Drop ntfs-3g-ac_c_const.patch: fixed upstream. This means we can
also remove the autogen.sh call.
- Fix self-obsoletion of ntfsprogs-fuse.
-------------------------------------------------------------------
Wed Dec 9 10:19:27 CET 2009 - dimstar@opensuse.org
- Update to version 2009.11.14:
+ Full file ownership and permissions support. The ownership and
permissions of files are interoperable with Windows and
conforms to the POSIX rules.
+ POSIX ACL support.
+ Optional Windows-type inheritance of ACLs.
+ Full extended attributes support for all namespaces: user,
system, security and trusted.
+ Junction points support. The junction points and symbolic links
created by Windows are seen as symbolic links.
+ Access is possible to NTFS internal data like Windows style
archive bit and file attributes. They are mapped to extended
attributes for easier access.
+ Compression write support: sequential writing to compressed
files is supported.
+ Support copying and restoring encrypted files without
decrypting them.
+ Support getting and setting high-resolution file timestamps.
+ Support to get, set and remove DOS filenames.
+ Tools for managing ownership, permissions and ACLs:
ntfs-3g.secaudit checks the integrity of ownership, permissions
and ACL, ntfs-3g.usermap gives help to configure ownership.
+ Implemented setchgtime() on Mac OS X.
+ Improved Windows junction and symlink handling.
+ Improved ACL handling.
+ Unicode normalization on Mac OS X.
+ Implemented true fsync() on Mac OS X
+ Performance optimizations:
- Frequently used data are cached to improve speed.
- Space allocation for fragmented and sparse files has been
improved.
- Add ntfs-3g-ac_c_const.patch: AC_C_CONST is not needed in
configure checks as per autoconf documentation (it fails with
-Werror)
- Add ntfs-3g-usermap.patch, from upstream.
- Rebase ntfs-3g-warnings.patch: one warning regarding unused
parameters is left. Patch sent upsream.
- Add ntfs-3g-xattr.patch, from upstream.
- Add pkg-config BuildRequires: needed for autogen to work.
-------------------------------------------------------------------
Mon Dec 7 13:17:33 CET 2009 - vuntz@opensuse.org
- Rework the update-alternatives part to be really correct, even in
case of package renaming. Note that we need a %posttrans to work
around bugs in previously installed packages.
-------------------------------------------------------------------
Thu Oct 29 18:00:09 UTC 2009 - crrodriguez@opensuse.org
- fix buggy calls to update-alternatives part of [bnc#544199]
-------------------------------------------------------------------
Sat May 9 14:11:34 CEST 2009 - crrodriguez@suse.de
- fix -devel package dependencies
- fix suse-filelist-forbidden-devel-in-lib rpmlint error
- avoid possible race condition during %check
-------------------------------------------------------------------
Tue Apr 7 20:35:37 CEST 2009 - vuntz@novell.com
- Update to version 2009.4.4:
+ Fix: Mount and system boot could hang if Linux kernel audit was
enabled.
+ Fix: Volume could be potentially corrupted or the driver
crashed after a partial write or hardware error.
+ Fix: The driver could crash handling highly fragmented files.
-------------------------------------------------------------------
Fri Mar 27 11:04:42 CET 2009 - vuntz@novell.com
- Update to version 2009.3.8:
+ Fix: Some defragmenters reported NTFS-3G created directories
unmovable.
+ Fix: The Windows NTFS file system checker, CHKDSK, may reported
"free space marked as allocated in the master file table (MFT)
bitmap".
+ Fix: The driver may returned "No space left on device" error
when there was still free space on the NTFS volume.
+ Fix: A file may got corrupted when the STANDARD INFORMATION
attribute was moved to an extent MFT record. Only the already
fixed Advanced NTFS-3G Driver had this problem, not the Stable
NTFS-3G Driver.
+ Change: 10-50% faster file and directory creation, removal,
copy, unpackaging performance.
+ Change: 500-1000% faster mount time. This is mostly noticable
on multi-TB volumes and embedded devices. Please note, a
generally 10-20 times faster performing NTFS-3G driver is
available for embedded devices separately.
+ Change: Improved multi-cluster allocation, non-aligned file
write performance.
+ Change: Improved volume consistency and recovery if the storage
device was unsafely detached or powered down.
+ Change: Less disk space usage.
+ New: The version/-V command line option has been added.
- Use makeinstall
-------------------------------------------------------------------
Thu Feb 12 02:31:27 CET 2009 - vuntz@novell.com
- Update to version 2009.2.1:
+ The 'recover' and 'norecover' mount options were introduced.
The former option will cause the driver to recover and repair a
corrupted or inconsistent NTFS volume if it's possible. The
default behaviour is 'recover'.
+ The driver could crash when it tried to read a highly
fragmented file or directory which was either corrupted or it
was unreadable due to a hardware error.
+ The driver incorrectly returned 'Permission denied' error
message if a requested extended attribute namespace wasn't
supported.
+ The lack of file backup timestamp support confused some
applications on OS X.
+ The user extended attribute namespace is supported by default
on Linux.
+ A volume having unclean journal file is recovered and mounted
by default. The 'norecover' mount option can be used to disable
this behavior.
-------------------------------------------------------------------
Sun Feb 1 18:10:44 EST 2009 - mboman@suse.de
- Update to version 2009.1.1:
+ New: Built-in, transparent UTF-8 conversion support.
+ New: Support getting/setting the file creation timestamp on
OS X.
+ Fix: An extended attribute got corrupted if the new attribute
size was smaller than the original size.
+ Fix: Memory leaked if an extended attribute or alternate data
stream couldn't be opened.
+ Fix: Report an error if a filename can not be listed during
reading a directory.
+ Change: The 'locale=' mount option is not used anymore for
filename characterset conversion. Instead filenames are always
converted to UTF-8
- Remove ntfs-3g-utf8-fallback.patch. Fixed differenly upstream
-------------------------------------------------------------------
Fri Jan 23 00:56:31 CET 2009 - vuntz@novell.com
- Add back ntfs-3g-warnings.patch, for the warning fixes that were
not accepted upstream.
-------------------------------------------------------------------
Mon Jan 05 17:30:48 CET 2009 - mboman@suse.de
- Update to version 1.5130:
+ New Advanced NTFS-3G Release
+ New High-Performance NTFS-3G for Embedded Devices
- Remove ntfs-3g-warnings.patch. Fixed upstream
-------------------------------------------------------------------
Mon Oct 27 17:30:48 CET 2008 - ro@suse.de
- changed flavored requires to a simple PreReq
(the former are not really supported by all tools)
-------------------------------------------------------------------
Mon Oct 27 16:54:28 CET 2008 - vuntz@novell.com
- Use Requires(post) and Requires(postun) for update-alternatives,
to fix potential issues when installing.
-------------------------------------------------------------------
Wed Oct 22 14:14:56 CEST 2008 - vuntz@novell.com
- Update to version 1.5012:
+ New: Support unlimited file and directory creation.
- Changes from version 1.2812:
+ Fix: A corrupted directory index entry could hang the driver
instead of returning "I/O error"
- Changes from version 1.2918:
+ Fix: The allocation size of an attribute may got corrupted if
the attribute size change failed.
+ Fix: An MFT record could leak on big-endian CPUs if adding a
new attribute failed.
+ Fix: The system log was flooded if a transparently compressed
or encrypted file was tried to be updated repeatedly.
+ New: Solaris support.
+ New: Libtool-2 support.
+ Change: No external dependency on librt anymore when internal
FUSE is used (default on Linux).
+ Change: The default compiler is gcc.
+ Change: Internal FUSE further shrank by 10%.
- Use update-alternatives to provide /sbin/mount.ntfs and the
relevant man page, /usr/share/man/man8/mount.ntfs.8.gz.
- Add volume.policy.mount_filesystem to the fdi file, since it's
recommended by upstream and used by other distributions.
- Update ntfs-3g-warnings.patch with a few more warning fixes.
- Add a devel package.
- Tag patches.
- Remove old stuff for non-existing ntfs-3g-permssions.patch.
- Remove lzma BuildRequires.
- Minor cleanup.
-------------------------------------------------------------------
Wed Oct 15 13:13:22 CEST 2008 - dkukawka@suse.de
- Added fdi file for ntfs-3g. For more info, read comments in the
new file.
-------------------------------------------------------------------
Mon Jul 14 15:34:23 CEST 2008 - bk@suse.de
- Update to 1.2712 (maintenance release) to fix a number of issues:
- A corrupted size directory or a directory over tens of million
files could have hung the driver
- Removing alternate data streams and extended attrs leaked memory
- mount could fail with some mount(8) utilities (e.g. busybox one)
if the /etc/mtab file didn't exist or was on a read-only fs
- "I/O error" if the standard file descriptors were closed during
mount, e.g. via some usage of udev or hotplug
-------------------------------------------------------------------
Thu Jun 5 13:49:43 CEST 2008 - bk@suse.de
- Update to 1.2531 to fix fs crashes and fs hangs with corrupt NTFS:
- A corrupted directory could hang the filesystem driver itself.
- The driver could hang or misbehave when compressed, sparse or
encrypted file attribute flags were corrupted.
- The driver could crash when both an MFT attribute offset and
the allocated bytes were corrupted.
- Mount could hang if the block allocation map was corrupted.
-------------------------------------------------------------------
Tue May 6 16:56:02 CEST 2008 - bk@suse.de
- Update to STABLE Version 1.2506 (May 6, 2008):
- Fix NTFS volume corruption in extremely specific circumstances
- Fix symlink(2) for size 256 if the old path was over 255 bytes
- Unprivileged mount fixes: supplementary groups dropped too early
and make unprivileged mount if /etc/fuse.conf wasn't in shape.
- No longer pass 'noatime' additionally and unconditionally to mount
- Obsolete ntfsprogs-fuse (to be dropped from ntfsprogs package)
- With ntfsprogs and lzma, this builds in all non-debian repros
-------------------------------------------------------------------
Wed Mar 19 18:10:39 CET 2008 - bk@suse.de
- Update to 1.2310:
- Fix: CHKDSK reported inconsistencies as data and allocation size
of some special purpose resident unnamed $DATA attribute in the
index and inode FILE_NAME attributes could be incorrect.
- Fix: unprivileged mount failed if user had rights for everything
except the FUSE device file.
- Fix: the 'dev' and 'suid' mount options weren't useable before
- Change from ENOTEMPTY to EEXIST on rmdir of non-empty directories
-------------------------------------------------------------------
Mon Mar 3 19:14:18 CET 2008 - bk@suse.de
- Add a fix for a crash of the driver with a specific long filename
- Fix support for -odev and -osuid when mounting using /bin/ntfs-3g
-------------------------------------------------------------------
Thu Feb 28 16:05:43 CET 2008 - bk@suse.de
- Workaround for build issue with gcc-4.3 (bnc#354113) is obsolete
- Improve treatment of warnings and integrate -Wformat-security
-------------------------------------------------------------------
Mon Feb 18 16:38:06 CET 2008 - bk@suse.de
- Update to 1.2216:
- adds ntfs3-g.probe to check if filesystem is in mountable state
- fixes "Operation not supported" when deleting huge directories
- uses specialized integrated libfuse with fixes for suid usage
- Add a temporary workaround to prevent miscompilation with gcc-4.3
- Add a simple functionality check using ntfs-3g.probe to %check
- Added -Wextra -Werror and fixed the resulting compiler errors
-------------------------------------------------------------------
Wed Sep 26 14:22:32 CEST 2007 - bk@suse.de
- When called as mount.ntfs-3g and rw mount is not possible because
the volume is dirty or hibernated, fall back to read-only mounnt
to allow installation and system boot to succeed (fixes #309074)
-------------------------------------------------------------------
Thu Sep 13 17:00:18 CEST 2007 - bk@suse.de
- Update to version 1.913
- Fix too rigid hibernation check which unneccesarily refused mount
- Free disk space calculation was highly CPU intensive during writes.
This could reduce write performance severely, especially for huge
volumes if a file manager or desktop applet regularly polled for
disk space usage. Change code to O(1), takes ~10ms on a typical
desktop, and it's now completely independent of the volume size.
The changes noted below were tested in public release candidate:
- Significant performance improvement for writing many files,
typically by 50-1000% (cp, tar, compile, directory syncronisation)
- improved the performance of writing multi-GB size files, particulary
after the creation of many thousands of other files. Previous disk
space defragmentation is highly adviced for the best possible speed.
File level defragmentation is not enough.
- improved concurrent write performance.
-------------------------------------------------------------------
Mon Aug 27 13:10:58 CEST 2007 - bk@suse.de
- Update to version 1.826:
* fix: utime() also updated the timestamp of the parent directory
* 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.
* new: --disable-library option links libntfs-3g into ntfs-3g
-------------------------------------------------------------------
Fri Aug 10 17:14:42 CEST 2007 - bk@suse.de
- Update to version 1.810:
fix: file rename changed the modification time of some files which
prevented tools like rsync from preserving the timestamp
fix: unmount (fusermount -u) was denied for an unprivileged user
who was allowed to mount a block device.
fix: the driver could hang if there wasn't enough memory during
reading a large directory
fix: reading a directory may reporte 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
-------------------------------------------------------------------
Thu Jul 26 21:05:44 CEST 2007 - coolo@suse.de
- let yast install the package for ntfs-3g filesystems
-------------------------------------------------------------------
Fri Jul 13 15:56:16 CEST 2007 - bk@suse.de
- Update to version 1.710:
change: more troubleshooting hints if a volume can't be mounted
change: logging improvements
fix: move, rename and hard link could return "input/output error"
fix: very rare, recoverable directory corruption
- Do not obsolete ntfsprogs-fuse and do not provide mount.ntfs
Can coexist with ntfsmount and kernel ntfs module now, but you
have to use "ntfs-3g" as filesystem type in fstab and mount -t,
as done in the examples on http://www.ntfs-3g.org/index.html#usage
-------------------------------------------------------------------
Tue Jul 3 17:43:16 CEST 2007 - bk@suse.de
- Update to version 1.616:
new: ensure mount works during boot: move binaries to the rootfs
fix: any kind of file size change failure returned "Operation not permitted"
fix: a file close failure was not always reported
fix: an unmount failure was not always reported
fix: if the $MFT Bitmap wasn't up-to-date file creation always gave "Input/output error"
fix: converting very long file names to Unicode may have failed
fix: syslog messages didn't show the low level error detail
-------------------------------------------------------------------
Wed Jun 6 12:33:59 CEST 2007 - bk@suse.de
- Initial version 1.516, has Obsoletes: ntfsmount-fuse

218
ntfs-3g_ntfsprogs.spec Normal file
View File

@ -0,0 +1,218 @@
#
# spec file for package ntfs-3g_ntfsprogs
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: ntfs-3g_ntfsprogs
Summary: NTFS Support in Userspace
Version: 2011.4.12
Release: 1
License: GPLv2+
Group: System/Filesystems
Source: %{name}-%{version}.tar.bz2
Source1: buildall.sh
Source2: 21-storage-ntfs-3g.fdi
Url: http://www.ntfs-3g.org
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
NTFS-3G allows for read/write access to NTFS partitions which can be
shared with Windows XP, Windows Server 2003, Windows 2000, Windows
Vista and Windows Seven.
%package -n ntfs-3g
License: GPLv2+
Summary: NTFS Support in Userspace
Group: System/Filesystems
Provides: ntfsprogs-fuse = 1.13.1
Obsoletes: ntfsprogs-fuse < 1.13.1
Requires(post): update-alternatives
Requires(postun): update-alternatives
# The build service fails to build the package because it doesn't really
# understand Requires(post), so use PreReq too (see bnc#439232).
%if %defined suse_version
PreReq: update-alternatives
%endif
%if 0%{?suse_version} > 1010
Supplements: filesystem(ntfs-3g)
%endif
%description -n ntfs-3g
NTFS-3G allows for read/write access to NTFS partitions which can be
shared with Windows XP, Windows Server 2003, Windows 2000, Windows
Vista and Windows Seven.
%package -n libntfs-3g81
License: LGPLv2+
Summary: NTFS Support in Userspace -- Library
Group: System/Filesystems
%description -n libntfs-3g81
NTFS-3G allows for read/write access to NTFS partitions which can be
shared with Windows XP, Windows Server 2003, Windows 2000, Windows
Vista and Windows Seven.
%package -n libntfs-3g-devel
License: LGPLv2+
Summary: NTFS Support in Userspace -- Development Files
Group: System/Filesystems
Requires: glibc-devel
Requires: libntfs-3g81 = %{version}
Provides: ntfs-3g-devel = %{version}
Obsoletes: ntfs-3g-devel < %{version}
%description -n libntfs-3g-devel
NTFS-3G allows for read/write access to NTFS partitions which can be
shared with Windows XP, Windows Server 2003, Windows 2000, Windows
Vista and Windows Seven.
%package -n ntfsprogs
License: GPLv2+
Summary: NTFS Utilities
Group: System/Filesystems
%description -n ntfsprogs
The ntfsprogs includes utilities for doing all required tasks to NTFS
partitions. In general, just run a utility without any command line
options to display the version number and usage syntax.
%prep
%setup -q
%build
#
# regarding -Wno-sign-compare - checked with the Szaka: There is one variable
# which is signed and would possibly ok to be unsigned. Any solution to this
# needs to be carefully reviewed and tested, so we do not change the code now:
#
CFLAGS="$RPM_OPT_FLAGS -Wformat -Wformat-security -W -Wno-sign-compare" \
%configure --exec-prefix=/ --disable-static --with-pic --libdir=/%{_lib} --disable-ldconfig
make %{?jobs:-j%jobs}
%install
%makeinstall
# Move pkg-config to the real libdir
%{__mkdir_p} %{buildroot}%{_libdir}/pkgconfig
%{__mv} -v %{buildroot}/%{_lib}/pkgconfig/*.pc %{buildroot}%{_libdir}/pkgconfig/
%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/libntfs-3g.so) %{buildroot}%{_libdir}/libntfs-3g.so
%{__rm} -v %{buildroot}/%{_lib}/libntfs-3g.{so,la}
# Hal stuff for mounting on hotplug.
%{__mkdir_p} %{buildroot}%{_datadir}/hal/fdi/policy/10osvendor/
%{__install} -m 644 %{SOURCE2} %{buildroot}%{_datadir}/hal/fdi/policy/10osvendor/21-storage-ntfs-3g.fdi
# Touch ghost files
touch %{buildroot}/sbin/mount.ntfs %{buildroot}%{_mandir}/man8/mount.ntfs.8
%clean
rm -rf $RPM_BUILD_ROOT
%check
TESTFS=$(mktemp) || exit 1
ntfsprogs/mkntfs -q -F $TESTFS 3000
src/ntfs-3g.probe --readonly $TESTFS
src/ntfs-3g.probe --readwrite $TESTFS
rm -v $TESTFS
%post -n ntfs-3g
# If the mount.ntfs group is in automatic mode, then this will also switch all
# symlinks automatically
update-alternatives --install /sbin/mount.ntfs mount.ntfs /sbin/mount.ntfs-3g 10 --slave /usr/share/man/man8/mount.ntfs.8.gz mount.ntfs.8.gz /usr/share/man/man8/mount.ntfs-3g.8.gz
%postun -n ntfs-3g
# Note: we don't use "$1 -eq 0", to avoid issues if the package gets renamed
if [ ! -f /sbin/mount.ntfs-3g ]; then
update-alternatives --remove mount.ntfs /sbin/mount.ntfs-3g
fi
%posttrans -n ntfs-3g
# Workaround old bug in 11.1/11.2 packages that always removed the symlinks in
# %postun. Can be removed during 12.2 development.
if [ ! -f /sbin/mount.ntfs -a -f /sbin/mount.ntfs-3g ]; then
update-alternatives --install /sbin/mount.ntfs mount.ntfs /sbin/mount.ntfs-3g 10 --slave /usr/share/man/man8/mount.ntfs.8.gz mount.ntfs.8.gz /usr/share/man/man8/mount.ntfs-3g.8.gz
fi
%post -n libntfs-3g81 -p /sbin/ldconfig
%postun -n libntfs-3g81 -p /sbin/ldconfig
%files -n ntfs-3g
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING CREDITS NEWS README
%dir %{_datadir}/hal
%dir %{_datadir}/hal/fdi
%dir %{_datadir}/hal/fdi/policy
%dir %{_datadir}/hal/fdi/policy/10osvendor
%{_datadir}/hal/fdi/policy/10osvendor/21-storage-ntfs-3g.fdi
%{_bindir}/ntfs-3g
%{_bindir}/ntfs-3g.probe
%{_bindir}/ntfs-3g.secaudit
%{_bindir}/ntfs-3g.usermap
%{_bindir}/lowntfs-3g
%ghost /sbin/mount.ntfs
/sbin/mount.ntfs-3g
/sbin/mount.lowntfs-3g
%{_mandir}/man8/mount.lowntfs-3g.8%{?ext_man}
%ghost %{_mandir}/man8/mount.ntfs.8%{?ext_man}
%{_mandir}/man8/mount.ntfs-3g.8%{?ext_man}
%{_mandir}/man8/ntfs-3g.8%{?ext_man}
%{_mandir}/man8/ntfs-3g.probe.8%{?ext_man}
%{_mandir}/man8/ntfs-3g.secaudit.8%{?ext_man}
%{_mandir}/man8/ntfs-3g.usermap.8%{?ext_man}
# We already have this, so no need to package it again.
%exclude /usr/share/doc/ntfs-3g/README
%files -n libntfs-3g81
%defattr(-,root,root,-)
%doc COPYING.LIB
/%{_lib}/libntfs-3g.so.*
%files -n libntfs-3g-devel
%defattr(-,root,root,-)
%{_includedir}/ntfs-3g/
%{_libdir}/libntfs-3g.so
%{_libdir}/pkgconfig/libntfs-3g.pc
%files -n ntfsprogs
%defattr(-, root, root)
%doc AUTHORS ChangeLog COPYING CREDITS NEWS README
/sbin/mkfs.ntfs
%{_sbindir}/mkntfs
%{_sbindir}/ntfsclone
%{_sbindir}/ntfscp
%{_sbindir}/ntfslabel
%{_sbindir}/ntfsresize
%{_sbindir}/ntfsundelete
%{_bindir}/ntfscat
%{_bindir}/ntfscluster
%{_bindir}/ntfscmp
%{_bindir}/ntfsfix
%{_bindir}/ntfsinfo
%{_bindir}/ntfsls
%{_mandir}/man8/mkfs.ntfs.8%{?ext_man}
%{_mandir}/man8/mkntfs.8%{?ext_man}
%{_mandir}/man8/ntfscat.8%{?ext_man}
%{_mandir}/man8/ntfsclone.8%{?ext_man}
%{_mandir}/man8/ntfscluster.8%{?ext_man}
%{_mandir}/man8/ntfscmp.8%{?ext_man}
%{_mandir}/man8/ntfscp.8%{?ext_man}
%{_mandir}/man8/ntfsfix.8%{?ext_man}
%{_mandir}/man8/ntfsinfo.8%{?ext_man}
%{_mandir}/man8/ntfslabel.8%{?ext_man}
%{_mandir}/man8/ntfsls.8%{?ext_man}
%{_mandir}/man8/ntfsprogs.8%{?ext_man}
%{_mandir}/man8/ntfsresize.8%{?ext_man}
%{_mandir}/man8/ntfsundelete.8%{?ext_man}
%changelog