From 530b68a1220c497117d5168788f0688a16014d3a Mon Sep 17 00:00:00 2001 From: Juergen Borleis Date: Tue, 2 Oct 2018 16:11:40 +0200 Subject: host-softhsm: add new host tool This package emulates an HSM (Hardware Secure Module) for testing purposes. Signed-off-by: Juergen Borleis Signed-off-by: Michael Olbrich --- rules/host-softhsm.make | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 rules/host-softhsm.make (limited to 'rules/host-softhsm.make') diff --git a/rules/host-softhsm.make b/rules/host-softhsm.make new file mode 100644 index 000000000..bbd0183e0 --- /dev/null +++ b/rules/host-softhsm.make @@ -0,0 +1,43 @@ +# -*-makefile-*- +# +# Copyright (C) 2018 by Juergen Borleis +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_SOFTHSM) += host-softhsm + +# +# Paths and names +# +HOST_SOFTHSM_VERSION := 2.4.0 +HOST_SOFTHSM_MD5 := 1c960f83ced41244c3ff8f514a276d88 +HOST_SOFTHSM := softhsm-$(HOST_SOFTHSM_VERSION) +HOST_SOFTHSM_SUFFIX := tar.gz +HOST_SOFTHSM_URL := https://dist.opendnssec.org/source/$(HOST_SOFTHSM).$(HOST_SOFTHSM_SUFFIX) +HOST_SOFTHSM_SOURCE := $(SRCDIR)/$(HOST_SOFTHSM).$(HOST_SOFTHSM_SUFFIX) +HOST_SOFTHSM_DIR := $(HOST_BUILDDIR)/$(HOST_SOFTHSM) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +HOST_SOFTHSM_CONF_TOOL := autoconf +HOST_SOFTHSM_CONF_OPT := \ + $(HOST_AUTOCONF) \ + --disable-non-paged-memory \ + --disable-gost \ + --with-crypto-backend=openssl \ + --without-migrate \ + --with-p11-kit=/share/p11-kit/modules + +# vim: syntax=make -- cgit v1.2.3