Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
$(mkdir_p) is obsolete for newer automake, use $(MKDIR_P) instead.
|
||||
Upstream should really gettextize with a newer version before packing up.
|
||||
|
||||
[base on a similar patch from Gustavo Zacarias for Linux-PAM-1.1.7]
|
||||
Signed-off-by: Axel Lin <axel.lin@ingics.com>
|
||||
|
||||
diff -Nura cryptsetup-1.6.3.ori/po/Makefile.in.in cryptsetup-1.6.3/po/Makefile.in.in
|
||||
--- cryptsetup-1.6.3.ori/po/Makefile.in.in 2013-12-30 11:53:22.731942516 +0800
|
||||
+++ cryptsetup-1.6.3/po/Makefile.in.in 2014-01-09 09:46:13.594071188 +0800
|
||||
@@ -31,7 +31,7 @@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
mkinstalldirs = $(SHELL) @install_sh@ -d
|
||||
-mkdir_p = @mkdir_p@
|
||||
+mkdir_p = @MKDIR_P@
|
||||
|
||||
GMSGFMT_ = @GMSGFMT@
|
||||
GMSGFMT_no = @GMSGFMT@
|
||||
23
deprecated/firmware/buildroot/package/cryptsetup/Config.in
Normal file
23
deprecated/firmware/buildroot/package/cryptsetup/Config.in
Normal file
@@ -0,0 +1,23 @@
|
||||
config BR2_PACKAGE_CRYPTSETUP
|
||||
bool "cryptsetup"
|
||||
select BR2_PACKAGE_POPT
|
||||
select BR2_PACKAGE_LVM2
|
||||
select BR2_PACKAGE_UTIL_LINUX
|
||||
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
||||
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2
|
||||
depends on BR2_USE_MMU # lvm2
|
||||
depends on !BR2_STATIC_LIBS # lvm2
|
||||
depends on BR2_USE_WCHAR # util-linux
|
||||
# Triggers the _gp link issue
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
|
||||
help
|
||||
This tool helps manipulate dm-crypt and luks partitions for
|
||||
on-disk encryption.
|
||||
|
||||
https://gitlab.com/cryptsetup/cryptsetup
|
||||
|
||||
comment "cryptsetup needs a toolchain w/ wchar, threads, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
|
||||
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/utils/cryptsetup/v1.7/sha256sums.asc
|
||||
sha256 075524a7cc0db36d12119fa79116750accb1c6c8825d5faa2534b74b8ce3d148 cryptsetup-1.7.0.tar.xz
|
||||
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# cryptsetup
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CRYPTSETUP_VERSION_MAJOR = 1.7
|
||||
CRYPTSETUP_VERSION = $(CRYPTSETUP_VERSION_MAJOR).0
|
||||
CRYPTSETUP_SOURCE = cryptsetup-$(CRYPTSETUP_VERSION).tar.xz
|
||||
CRYPTSETUP_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/cryptsetup/v$(CRYPTSETUP_VERSION_MAJOR)
|
||||
CRYPTSETUP_DEPENDENCIES = lvm2 popt util-linux host-pkgconf \
|
||||
$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
|
||||
CRYPTSETUP_LICENSE = GPLv2+ (programs), LGPLv2.1+ (library)
|
||||
CRYPTSETUP_LICENSE_FILES = COPYING COPYING.LGPL
|
||||
|
||||
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
||||
CRYPTSETUP_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -lintl"
|
||||
endif
|
||||
|
||||
# cryptsetup uses libgcrypt by default, but can be configured to use OpenSSL
|
||||
# or kernel crypto modules instead
|
||||
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
||||
CRYPTSETUP_DEPENDENCIES += libgcrypt
|
||||
CRYPTSETUP_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
|
||||
CRYPTSETUP_CONF_OPTS += --with-crypto_backend=gcrypt
|
||||
else ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
CRYPTSETUP_DEPENDENCIES += openssl
|
||||
CRYPTSETUP_CONF_OPTS += --with-crypto_backend=openssl
|
||||
else
|
||||
CRYPTSETUP_CONF_OPTS += --with-crypto_backend=kernel
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user