From be96c7a6617581fdb30078e1b24118651220d57e Mon Sep 17 00:00:00 2001 From: Marcin Bis Date: Fri, 31 May 2013 10:12:55 +0000 Subject: ecryptfs-utils: new package The following patch adds support for ecryptfs-utils. http://ecryptfs.org/ [Peter: needs host-intltool, fix typo in help text] Signed-off-by: Marcin Bis Signed-off-by: Peter Korsgaard --- package/ecryptfs-utils/ecryptfs-utils.mk | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/ecryptfs-utils/ecryptfs-utils.mk (limited to 'package/ecryptfs-utils/ecryptfs-utils.mk') diff --git a/package/ecryptfs-utils/ecryptfs-utils.mk b/package/ecryptfs-utils/ecryptfs-utils.mk new file mode 100644 index 000000000..226c9297f --- /dev/null +++ b/package/ecryptfs-utils/ecryptfs-utils.mk @@ -0,0 +1,28 @@ +############################################################# +# +# ecryptfs-utils +# +############################################################## + +ECRYPTFS_UTILS_VERSION = 103 +ECRYPTFS_UTILS_SOURCE = ecryptfs-utils_$(ECRYPTFS_UTILS_VERSION).orig.tar.gz +ECRYPTFS_UTILS_SITE = https://launchpad.net/ecryptfs/trunk/$(ECRYPTFS_UTILS_VERSION)/+download +ECRYPTFS_UTILS_LICENSE = GPLv2+ +ECRYPTFS_UTILS_LICENSE_FILES = COPYING + +ECRYPTFS_UTILS_DEPENDENCIES = keyutils libnss host-intltool +ECRYPTFS_UTILS_CONF_OPT = --disable-pywrap --disable-pam + +#Needed for build system to find pk11func.h and libnss3.so +ECRYPTFS_UTILS_CONF_ENV = \ + NSS_CFLAGS="-I$(STAGING_DIR)/usr/include/nss -I$(STAGING_DIR)/usr/include/nspr" \ + NSS_LIBS="-lnss3" + +ifeq ($(BR2_PACKAGE_OPENSSL),y) + ECRYPTFS_UTILS_CONF_OPT += --enable-openssl + ECRYPTFS_UTILS_DEPENDENCIES += openssl +else + ECRYPTFS_UTILS_CONF_OPT += --disable-openssl +endif + +$(eval $(autotools-package)) -- cgit v1.2.3