Skip to contentSkip to conversation

package/ecryptfs-utils: add pkcs11-helper optional dependency

PATCH Applied Fabrice Fontaine 3 participants 4 messages Jun 13, 2022 – Jul 19, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/ecryptfs-utils: add pkcs11-helper optional dependency

pkcs11-helper is an optional dependency which needs openssl

---
 package/ecryptfs-utils/ecryptfs-utils.mk | 8 ++++++++
 1 file changed, 8 insertions(+)
package/ecryptfs-utils/ecryptfs-utils.mk +8 -0
index 737c5b0ebb..393ea4da78 100644
@@ -26,6 +26,14 @@ endif
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 ECRYPTFS_UTILS_CONF_OPTS += --enable-openssl
 ECRYPTFS_UTILS_DEPENDENCIES += openssl
+
+ifeq ($(BR2_PACKAGE_PKCS11_HELPER),y)
+ECRYPTFS_UTILS_CONF_OPTS += --enable-pkcs11-helper
+ECRYPTFS_UTILS_DEPENDENCIES += pkcs11-helper
+else
+ECRYPTFS_UTILS_CONF_OPTS += --disable-pkcs11-helper
+endif
+
 else
 ECRYPTFS_UTILS_CONF_OPTS += --disable-openssl
 endif
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 package/ecryptfs-utils: add libgpgme optional dependency

---
 package/ecryptfs-utils/ecryptfs-utils.mk | 9 +++++++++
 1 file changed, 9 insertions(+)
package/ecryptfs-utils/ecryptfs-utils.mk +9 -0
index 393ea4da78..6eb3add98b 100644
@@ -16,6 +16,15 @@ ECRYPTFS_UTILS_CONF_OPTS = --disable-pywrap
 
 ECRYPTFS_UTILS_CONF_ENV = ac_cv_path_POD2MAN=true
 
+ifeq ($(BR2_PACKAGE_LIBGPGME),y)
+ECRYPTFS_UTILS_CONF_OPTS += \
+	--enable-gpg \
+	--with-gpgme-prefix=$(STAGING_DIR)/usr
+ECRYPTFS_UTILS_DEPENDENCIES += libgpgme
+else
+ECRYPTFS_UTILS_CONF_OPTS += --disable-gpg
+endif
+
 ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
 ECRYPTFS_UTILS_CONF_OPTS += --enable-pam
 ECRYPTFS_UTILS_DEPENDENCIES += linux-pam
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Fabrice Fontaine
Quoted 3 lines · Fabrice Fontaine

pkcs11-helper is an optional dependency which needs openssl

Applied both to master, thanks.

Regards,
Arnout

Quoted 13 lines
---
  package/ecryptfs-utils/ecryptfs-utils.mk | 8 ++++++++
  1 file changed, 8 insertions(+)
package/ecryptfs-utils/ecryptfs-utils.mk +1 -0
index 737c5b0ebb..393ea4da78 100644
@@ -26,6 +26,14 @@ endif
  ifeq ($(BR2_PACKAGE_OPENSSL),y)
  ECRYPTFS_UTILS_CONF_OPTS += --enable-openssl
  ECRYPTFS_UTILS_DEPENDENCIES += openssl
+

package/ecryptfs-utils/ecryptfs-utils.mk endif · line 39

Quoted 10 lines
package/ecryptfs-utils/ecryptfs-utils.mk +7 -0
+ifeq ($(BR2_PACKAGE_PKCS11_HELPER),y)
+ECRYPTFS_UTILS_CONF_OPTS += --enable-pkcs11-helper
+ECRYPTFS_UTILS_DEPENDENCIES += pkcs11-helper
+else
+ECRYPTFS_UTILS_CONF_OPTS += --disable-pkcs11-helper
+endif
+
  else
  ECRYPTFS_UTILS_CONF_OPTS += --disable-openssl
  endif

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle <[email protected]> writes:

Quoted 2 lines · Fabrice Fontaine

pkcs11-helper is an optional dependency which needs openssl

Applied both to master, thanks.

Committed series to 2022.05.x and 2022.02.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot