Hello community,
here is the log from the commit of package ntfs-3g for openSUSE:Factory
checked in at Fri Dec 18 14:15:21 CET 2009.
--------
--- ntfs-3g/ntfs-3g.changes 2009-12-07 13:20:29.000000000 +0100
+++ /mounts/work_src_done/STABLE/ntfs-3g/ntfs-3g.changes 2009-12-10 14:41:20.000000000 +0100
@@ -1,0 +2,43 @@
+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.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
ntfs-3g-2009.4.4.tar.bz2
New:
----
ntfs-3g-2009.11.14.tar.bz2
ntfs-3g-ac_c_const.patch
ntfs-3g-usermap.patch
ntfs-3g-xattr.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ntfs-3g.spec ++++++
--- /var/tmp/diff_new_pack.0CxJkX/_old 2009-12-18 14:13:16.000000000 +0100
+++ /var/tmp/diff_new_pack.0CxJkX/_new 2009-12-18 14:13:16.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package ntfs-3g (Version 2009.4.4)
+# spec file for package ntfs-3g (Version 2009.11.14)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -18,9 +18,9 @@
Name: ntfs-3g
-Summary: Linux NTFS-3G userspace filesystem with full write support
-Version: 2009.4.4
-Release: 3
+Summary: NTFS Support in Userspace
+Version: 2009.11.14
+Release: 1
Provides: ntfsprogs-fuse = 1.13.1
Obsoletes: ntfsprogs-fuse <= 1.13.1
License: GPLv2+
@@ -28,10 +28,17 @@
Source: %{name}-%{version}.tar.bz2
Source1: buildall.sh
Source2: 21-storage-ntfs-3g.fdi
-# PATCH-FIX-OPENSUSE ntfs-3g-warnings.patch -- Fix a bunch of warnings that appears because of -Werror. They weren't committed upstream when I sent a patch that contained all our warning fixes (vuntz)
+# PATCH-FIX-UPSTREAM ntfs-3g-warnings.patch dimstar@opensuse.org -- fusermount still contains one unused warning which is not fixed upstream. Discussed upstream.
Patch0: ntfs-3g-warnings.patch
+# PATCH-FIX-UPSTREAM ntfs-3g-usermap.patch dimstar@opensuse.org -- Fix a bunch of "unused" warnings. Taken from upstream.
+Patch1: ntfs-3g-usermap.patch
+# PATCH-FIX-UPSTREAM ntfs-3g-xattr.patch dimstar@opensuse.org -- use sys/xattr.h instead or xattr/xattr.h. Taken from upstream.
+Patch2: ntfs-3g-xattr.patch
+# PATCH-FIX-UPSTREAM ntfs-3g-ac_c_const.patch dimstar@opensuse.org -- AC_C_CONST is obsoleted according to autoconf devs. Discussed upstream.
+Patch3: ntfs-3g-ac_c_const.patch
Url: http://www.ntfs-3g.org
BuildRequires: ntfsprogs
+BuildRequires: pkg-config
Requires(post): update-alternatives
Requires(postun): update-alternatives
# The build service fails to build the package because it doesn't really
@@ -46,49 +53,8 @@
%description
NTFS-3G allows for read/write access to NTFS partitions which can be
-shared with Windows XP, Windows Server 2003, Windows 2000 and Windows
-Vista.
-
-Limitations:
-
-* No support for journaling. As a result, if the journal is dirty,
- NTFS-3g has to refuse read-write mounts.
-
-* No support for reading/writing compressed and encrypted files
-
-* Only static permissions, set at mount time
-
-Notes:
-
-* Implemented in user space though fuse. It is possible to balance
- performance using normal processor and I/O priorities of the
- ntfs-3g processes.
-
-* NTFS-3g can detect if the filesystem to be mounted has been in use
- by Windows when it hibernated and refuses read-write mount to
- prevent data corruption as a result of Windows resuming with a
- changed filesystem underneath.
-
-Evaluating access permissions and file ownership is handled like in the
-Linux FAT and other free Linux NTFS drivers: The access rights for all
-files on the mounted partition can be set when mounting the filesystem
-and are the same for all files. Requests to change access rights are
-silently ignored.
-
-Through the ntfs-3g web site, a version of ntfs-3g with permission
-handling (which should be usable but is not released officially) can be
-found.
-
-Compared to vanilla ntfs-3g, this version changes the default locale
-fallback (when no working locale is defined) from hiding and rejecting
-all non-ASCII path names to displaying and expecting UTF-8 encoding in
-path names.
-
-
-
-Authors:
---------
- Szabolcs Szakacsits
+shared with Windows XP, Windows Server 2003, Windows 2000, Windows
+Vista and Windows Seven.
%package devel
License: GPLv2+
@@ -100,15 +66,12 @@
Headers and libraries for developing applications that use ntfs-3g
functionality.
-
-
-Authors:
---------
- Szabolcs Szakacsits
-
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
%build
#
@@ -116,6 +79,8 @@
# 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:
#
+# autogen is needed due to patch #3
+./autogen.sh
CFLAGS="$RPM_OPT_FLAGS -Wformat -Wformat-security -W -Wno-sign-compare -Werror" \
%configure --exec-prefix=/ --disable-static --with-pic --libdir=/%{_lib} --disable-ldconfig
make %{?jobs:-j%jobs}
@@ -148,11 +113,13 @@
%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
/sbin/mount.ntfs-3g
/%{_lib}/libntfs-3g.so.*
-%{_datadir}/hal/fdi/*
%{_mandir}/man8/*
# We already have this, so no need to package it again.
%exclude /usr/share/doc/ntfs-3g/README
++++++ ntfs-3g-2009.4.4.tar.bz2 -> ntfs-3g-2009.11.14.tar.bz2 ++++++
++++ 43374 lines of diff (skipped)
++++++ ntfs-3g-ac_c_const.patch ++++++
Index: ntfs-3g-2009.11.14/configure.ac
===================================================================
--- ntfs-3g-2009.11.14.orig/configure.ac
+++ ntfs-3g-2009.11.14/configure.ac
@@ -273,7 +273,6 @@ AC_C_BIGENDIAN(
]
,
)
-AC_C_CONST
AC_C_INLINE
AC_TYPE_OFF_T
AC_TYPE_SIZE_T
++++++ ntfs-3g-usermap.patch ++++++
Index: ntfs-3g-2009.11.14/src/usermap.c
===================================================================
--- ntfs-3g-2009.11.14.orig/src/usermap.c
+++ ntfs-3g-2009.11.14/src/usermap.c
@@ -39,6 +39,9 @@
*
* May 2009 Version 1.1.2
* - avoided selecting DOS names on Linux
+ *
+ * Nov 2009 Version 1.1.3
+ * - shutdown compiler warnings for unused parameters
*/
/*
@@ -77,7 +80,7 @@
#define INIT_FILE_SECURITY "ntfs_initialize_file_security"
#define LEAVE_FILE_SECURITY "ntfs_leave_file_security"
-#define VERSION "1.1.2"
+#define VERSION "1.1.3"
#define MAPDIR ".NTFS-3G"
#define MAPFILE "UserMapping"
#define MAXATTRSZ 2048
@@ -215,6 +218,15 @@ void *ntfs_handle;
void *ntfs_context = (void*)NULL;
/*
+ * Shut down compiler warnings for unused parameters
+ */
+
+static long unused(const void *p)
+{
+ return ((long)p);
+}
+
+/*
* Open and close the security API (platform dependent)
*/
@@ -715,6 +727,10 @@ STATIC int callback(struct CALLBACK *con
char *accname;
char *name;
+ unused((void*)&pos);
+ unused((void*)&mft_ref);
+ unused((void*)&dt_type);
+
fullname = (char *)malloc(strlen(context->dir)
+ utf8_size(ntfsname, length) + 2);
if (fullname) {
@@ -1249,6 +1265,8 @@ STATIC boolean checkoptions(int argc, ch
fprintf(stderr, " the Windows system partition should be named first\n");
}
#else
+ unused((void*)argv);
+ unused((void*)&silent);
err = (argc < 2);
if (err) {
fprintf(stderr, "Usage : usermap dev1 [dev2 ...]\n");
++++++ ntfs-3g-warnings.patch ++++++
--- /var/tmp/diff_new_pack.0CxJkX/_old 2009-12-18 14:13:16.000000000 +0100
+++ /var/tmp/diff_new_pack.0CxJkX/_new 2009-12-18 14:13:16.000000000 +0100
@@ -1,7 +1,7 @@
-Index: ntfs-3g-1.5130/libfuse-lite/fusermount.c
+Index: ntfs-3g-2009.11.14/libfuse-lite/fusermount.c
===================================================================
---- ntfs-3g-1.5130.orig/libfuse-lite/fusermount.c
-+++ ntfs-3g-1.5130/libfuse-lite/fusermount.c
+--- ntfs-3g-2009.11.14.orig/libfuse-lite/fusermount.c
++++ ntfs-3g-2009.11.14/libfuse-lite/fusermount.c
@@ -588,6 +588,7 @@ static int mount_fuse(const char *mnt, c
&source, &mnt_opts);
@@ -10,56 +10,3 @@
fchdir(currdir_fd);
close(currdir_fd);
}
-Index: ntfs-3g-1.5130/include/ntfs-3g/logging.h
-===================================================================
---- ntfs-3g-1.5130.orig/include/ntfs-3g/logging.h
-+++ ntfs-3g-1.5130/include/ntfs-3g/logging.h
-@@ -90,23 +90,23 @@ int ntfs_log_redirect(const char *functi
- /* Macros to simplify logging. One for each level defined above.
- * Note, ntfs_log_debug/trace have effect only if DEBUG is defined.
- */
--#define ntfs_log_critical(FORMAT, ARGS...) ntfs_log_redirect(__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_CRITICAL,NULL,FORMAT,##ARGS)
--#define ntfs_log_error(FORMAT, ARGS...) ntfs_log_redirect(__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_ERROR,NULL,FORMAT,##ARGS)
--#define ntfs_log_info(FORMAT, ARGS...) ntfs_log_redirect(__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_INFO,NULL,FORMAT,##ARGS)
--#define ntfs_log_perror(FORMAT, ARGS...) ntfs_log_redirect(__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_PERROR,NULL,FORMAT,##ARGS)
--#define ntfs_log_progress(FORMAT, ARGS...) ntfs_log_redirect(__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_PROGRESS,NULL,FORMAT,##ARGS)
--#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_critical(FORMAT, ARGS...) ntfs_log_redirect((const char *)__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_CRITICAL,NULL,FORMAT,##ARGS)
-+#define ntfs_log_error(FORMAT, ARGS...) ntfs_log_redirect((const char *)__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_ERROR,NULL,FORMAT,##ARGS)
-+#define ntfs_log_info(FORMAT, ARGS...) ntfs_log_redirect((const char *)__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_INFO,NULL,FORMAT,##ARGS)
-+#define ntfs_log_perror(FORMAT, ARGS...) ntfs_log_redirect((const char *)__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_PERROR,NULL,FORMAT,##ARGS)
-+#define ntfs_log_progress(FORMAT, ARGS...) ntfs_log_redirect((const char *)__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_PROGRESS,NULL,FORMAT,##ARGS)
-+#define ntfs_log_quiet(FORMAT, ARGS...) ntfs_log_redirect((const char *)__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_QUIET,NULL,FORMAT,##ARGS)
-+#define ntfs_log_verbose(FORMAT, ARGS...) ntfs_log_redirect((const char *)__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_VERBOSE,NULL,FORMAT,##ARGS)
-+#define ntfs_log_warning(FORMAT, ARGS...) ntfs_log_redirect((const char *)__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_WARNING,NULL,FORMAT,##ARGS)
-
- /* By default debug and trace messages are compiled into the program,
- * but not displayed.
- */
- #ifdef DEBUG
--#define ntfs_log_debug(FORMAT, ARGS...) ntfs_log_redirect(__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_DEBUG,NULL,FORMAT,##ARGS)
--#define ntfs_log_trace(FORMAT, ARGS...) ntfs_log_redirect(__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_TRACE,NULL,FORMAT,##ARGS)
--#define ntfs_log_enter(FORMAT, ARGS...) ntfs_log_redirect(__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_ENTER,NULL,FORMAT,##ARGS)
--#define ntfs_log_leave(FORMAT, ARGS...) ntfs_log_redirect(__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_LEAVE,NULL,FORMAT,##ARGS)
-+#define ntfs_log_debug(FORMAT, ARGS...) ntfs_log_redirect((const char *)__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_DEBUG,NULL,FORMAT,##ARGS)
-+#define ntfs_log_trace(FORMAT, ARGS...) ntfs_log_redirect((const char *)__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_TRACE,NULL,FORMAT,##ARGS)
-+#define ntfs_log_enter(FORMAT, ARGS...) ntfs_log_redirect((const char *)__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_ENTER,NULL,FORMAT,##ARGS)
-+#define ntfs_log_leave(FORMAT, ARGS...) ntfs_log_redirect((const char *)__FUNCTION__,__FILE__,__LINE__,NTFS_LOG_LEVEL_LEAVE,NULL,FORMAT,##ARGS)
- #else
- #define ntfs_log_debug(FORMAT, ARGS...)do {} while (0)
- #define ntfs_log_trace(FORMAT, ARGS...)do {} while (0)
-Index: ntfs-3g-1.5130/libntfs-3g/unistr.c
-===================================================================
---- ntfs-3g-1.5130.orig/libntfs-3g/unistr.c
-+++ ntfs-3g-1.5130/libntfs-3g/unistr.c
-@@ -531,7 +531,7 @@ int ntfs_mbstoucs(const char *ins, ntfsc
- s = ins;
- #if defined(HAVE_MBSINIT)
- memset(&mbstate, 0, sizeof(mbstate));
-- ins_len = mbsrtowcs(NULL, (const char **)&s, 0, &mbstate);
-+ ins_len = mbsrtowcs(NULL, (__const char **)&s, 0, &mbstate);
- #ifdef __CYGWIN32__
- if (!ins_len && *ins) {
- /* Older Cygwin had broken mbsrtowcs() implementation. */
++++++ ntfs-3g-xattr.patch ++++++
Index: ntfs-3g-2009.11.14/src/secaudit.c
===================================================================
--- ntfs-3g-2009.11.14.orig/src/secaudit.c
+++ ntfs-3g-2009.11.14/src/secaudit.c
@@ -259,7 +259,7 @@
#endif /* HAVE_CONFIG_H */
#ifdef HAVE_SETXATTR
-#include