Skip to contentSkip to conversation

ntfsprogs: mark as deprecated

PATCH New Gustavo Zacarias 2 participants 4 messages Oct 18, 2011 – Oct 28, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ntfsprogs: mark as deprecated

---
 package/ntfsprogs/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
package/ntfsprogs/Config.in +1 -0
index 836a2b6..561c1d4 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_NTFSPROGS
 	bool "ntfsprogs"
 	depends on BR2_USE_WCHAR
 	depends on BR2_LARGEFILE
+	depends on BR2_DEPRECATED
 	help
 	  wide collection of NTFS utilities
 
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 2/2 ntfs-3g: bump to version 2011.4.12 and enhance

ntfsprogs is now included into ntfs-3g so add an option to enable/disable it.
It probably doesn't make sense to build ntfsprogs alone so it's not implemented.

Add the encrypted volume support option now that we've got gnutls.

Also add support for libuuid if it's present.

---
 package/ntfs-3g/Config.in  |   15 +++++++++++++++
 package/ntfs-3g/ntfs-3g.mk |   23 +++++++++++++++++++++--
 2 files changed, 36 insertions(+), 2 deletions(-)
package/ntfs-3g/Config.in +15 -0
index 865f9b4..5301038 100644
@@ -12,5 +12,20 @@ config BR2_PACKAGE_NTFS_3G
 
 	  http://www.ntfs-3g.org/
 
+if BR2_PACKAGE_NTFS_3G
+
+config BR2_PACKAGE_NTFS_3G_ENCRYPTED
+	bool "encrypted volumes"
+	select BR2_PACKAGE_GNUTLS
+	help
+	  Enable support for NTFS encrypted volumes.
+
+config BR2_PACKAGE_NTFS_3G_NTFSPROGS
+	bool "ntfsprogs"
+	help
+	  Install NTFS utilities.
+
+endif
+
 comment "ntfs-3g requires a toolchain with LARGEFILE and WCHAR support"
 	depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)
package/ntfs-3g/ntfs-3g.mk +21 -2
index 99fc20c..f6462bb 100644
@@ -4,10 +4,29 @@
 #
 #############################################################
 
-NTFS_3G_VERSION = 2010.10.2
-NTFS_3G_SOURCE = ntfs-3g-$(NTFS_3G_VERSION).tgz
+NTFS_3G_VERSION = 2011.4.12
+NTFS_3G_SOURCE = ntfs-3g_ntfsprogs-$(NTFS_3G_VERSION).tgz
 NTFS_3G_SITE = http://tuxera.com/opensource
 NTFS_3G_CONF_OPT = --disable-ldconfig
 NTFS_3G_INSTALL_STAGING = YES
+NTFS_3G_DEPENDENCIES = host-pkg-config
+
+ifeq ($(BR2_PACKAGE_LIBFUSE),y)
+	NTFS_3G_CONF_OPT += --with-fuse=external
+	NTFS_3G_DEPENDENCIES += libfuse
+endif
+
+ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
+	NTFS_3G_DEPENDENCIES += util-linux
+endif
+
+ifeq ($(BR2_PACKAGE_NTFS_3G_ENCRYPTED),y)
+	NTFS_3G_CONF_OPT += --enable-crypto
+	NTFS_3G_DEPENDENCIES += gnutls
+endif
+
+ifneq ($(BR2_PACKAGE_NTFS_3G_NTFSPROGS),y)
+	NTFS_3G_CONF_OPT += --disable-ntfsprogs
+endif
 
 $(eval $(call AUTOTARGETS))
Signature · 1 line
1.7.3.4
#2 lore raw

PATCH 2/2 ntfs-3g: bump to version 2011.4.12 and enhance

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> ntfsprogs is now included into ntfs-3g so add an option to Gustavo> enable/disable it.
Gustavo> It probably doesn't make sense to build ntfsprogs alone so it's not Gustavo> implemented.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard