update buildroot to 2017.02.11
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
From da021ed297ff7a69f3b7532ef68a9b6877a55265 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
Date: Sat, 20 Aug 2016 11:05:27 +0200
|
||||
Subject: [PATCH] libfuse-util: include <paths.h> when needed
|
||||
|
||||
Both fusermount.c and mount_util.c use _PATH_MOUNTED, so they should
|
||||
include <paths.h>, which provides this definition.
|
||||
|
||||
This fixes the build with the musl C library.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
---
|
||||
libfuse-lite/fusermount.c | 1 +
|
||||
libfuse-lite/mount_util.c | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
diff --git a/libfuse-lite/fusermount.c b/libfuse-lite/fusermount.c
|
||||
index 4e724db..680fee1 100644
|
||||
--- a/libfuse-lite/fusermount.c
|
||||
+++ b/libfuse-lite/fusermount.c
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <pwd.h>
|
||||
+#include <paths.h>
|
||||
|
||||
#ifdef __SOLARIS__
|
||||
#include <sys/mnttab.h>
|
||||
diff --git a/libfuse-lite/mount_util.c b/libfuse-lite/mount_util.c
|
||||
index 8ea5e08..8b31722 100644
|
||||
--- a/libfuse-lite/mount_util.c
|
||||
+++ b/libfuse-lite/mount_util.c
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
+#include <paths.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#ifdef __SOLARIS__
|
||||
--
|
||||
2.7.4
|
||||
|
||||
36
bsp/buildroot-2017.02.11/package/ntfs-3g/Config.in
Normal file
36
bsp/buildroot-2017.02.11/package/ntfs-3g/Config.in
Normal file
@@ -0,0 +1,36 @@
|
||||
config BR2_PACKAGE_NTFS_3G
|
||||
bool "ntfs-3g"
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
The NTFS-3G driver is an open source, freely available
|
||||
read/write NTFS driver for Linux, FreeBSD, Mac OS X, NetBSD,
|
||||
and Haiku. It provides safe and fast handling of the Windows
|
||||
XP, Windows Server 2003, Windows 2000 and Windows Vista file
|
||||
systems. Most POSIX file system operations are supported, with
|
||||
the exception of full file ownership and access right support.
|
||||
|
||||
http://www.ntfs-3g.org/
|
||||
|
||||
if BR2_PACKAGE_NTFS_3G
|
||||
|
||||
config BR2_PACKAGE_NTFS_3G_ENCRYPTED
|
||||
bool "encrypted volumes"
|
||||
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
|
||||
select BR2_PACKAGE_GNUTLS
|
||||
select BR2_PACKAGE_LIBGCRYPT
|
||||
help
|
||||
Enable support for NTFS encrypted volumes.
|
||||
|
||||
config BR2_PACKAGE_NTFS_3G_NTFSPROGS
|
||||
bool "ntfsprogs"
|
||||
help
|
||||
Install NTFS utilities.
|
||||
|
||||
endif
|
||||
|
||||
comment "ntfs-3g needs a toolchain w/ wchar, threads, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
3
bsp/buildroot-2017.02.11/package/ntfs-3g/ntfs-3g.hash
Normal file
3
bsp/buildroot-2017.02.11/package/ntfs-3g/ntfs-3g.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 d7b72c05e4b3493e6095be789a760c9f5f2b141812d5b885f3190c98802f1ea0 ntfs-3g_ntfsprogs-2016.2.22.tgz
|
||||
sha256 43deadaeade489934b0b45e2ed8aa5f853ad0364fbde7ad144211b80132ea041 0003-CVE-2017-0358.patch
|
||||
36
bsp/buildroot-2017.02.11/package/ntfs-3g/ntfs-3g.mk
Normal file
36
bsp/buildroot-2017.02.11/package/ntfs-3g/ntfs-3g.mk
Normal file
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
#
|
||||
# ntfs-3g
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NTFS_3G_VERSION = 2016.2.22
|
||||
NTFS_3G_SOURCE = ntfs-3g_ntfsprogs-$(NTFS_3G_VERSION).tgz
|
||||
NTFS_3G_SITE = http://tuxera.com/opensource
|
||||
NTFS_3G_PATCH = https://sources.debian.net/data/main/n/ntfs-3g/1:2016.2.22AR.1-4/debian/patches/0003-CVE-2017-0358.patch
|
||||
NTFS_3G_CONF_OPTS = --disable-ldconfig
|
||||
NTFS_3G_INSTALL_STAGING = YES
|
||||
NTFS_3G_DEPENDENCIES = host-pkgconf
|
||||
NTFS_3G_LICENSE = GPLv2+, LGPLv2+
|
||||
NTFS_3G_LICENSE_FILES = COPYING COPYING.LIB
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBFUSE),y)
|
||||
NTFS_3G_CONF_OPTS += --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_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
|
||||
NTFS_3G_CONF_OPTS += --enable-crypto
|
||||
NTFS_3G_DEPENDENCIES += gnutls libgcrypt
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_PACKAGE_NTFS_3G_NTFSPROGS),y)
|
||||
NTFS_3G_CONF_OPTS += --disable-ntfsprogs
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user