Package: softhsm2-common
Version: 2.2.0-1
Severity: wishlist
Tags: patch

Dear Maintainer,

Please consider enabling support for p11-kit and installing the .module
file that registers libsofthsm2.so as a PKCS#11 plugin module.

AFAICT upstream already provides support for installing this file in the
right directory. The debian/ directory just needs a few minor changes to
support this, see the attached patch, tested against git master.

Thanks!

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages softhsm2-common depends on:
ii  ucf  3.0036

softhsm2-common recommends no packages.

softhsm2-common suggests no packages.

-- no debconf information
>From 3a5cfc6910d2b6f3e9d126ec1167a7f844447a9c Mon Sep 17 00:00:00 2001
From: Mike Miller <mtmil...@debian.org>
Date: Thu, 22 Dec 2016 16:48:58 -0800
Subject: [PATCH] Install PKCS#11 module configuration file for p11-kit

Signed-off-by: Mike Miller <mtmil...@debian.org>
---
 debian/control                 | 2 ++
 debian/softhsm2-common.install | 1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/control b/debian/control
index a448430..7d95431 100644
--- a/debian/control
+++ b/debian/control
@@ -7,8 +7,10 @@ Build-Depends: autotools-dev,
                debhelper (>= 9),
                dh-autoreconf,
                libcppunit-dev,
+               libp11-kit-dev,
                libsqlite3-dev (>= 3.4.2),
                libssl-dev,
+               pkg-config,
                quilt (>= 0.46-7~),
                sqlite3
 Standards-Version: 3.9.8
diff --git a/debian/softhsm2-common.install b/debian/softhsm2-common.install
index 23cc839..f53bc4c 100644
--- a/debian/softhsm2-common.install
+++ b/debian/softhsm2-common.install
@@ -1 +1,2 @@
 etc/softhsm/softhsm2.conf /usr/share/softhsm/
+usr/share/p11-kit
-- 
2.10.2

Reply via email to