[pkg-opensc-commit] [libp11] 07/08: Move libengine-pkcs11-openssl package here
Eric Dorland
eric at moszumanska.debian.org
Mon Oct 24 02:08:50 UTC 2016
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository libp11.
commit b5240eeb2ea9ba806cc41c83b888b331cea5eb97
Author: Eric Dorland <eric at debian.org>
Date: Sun Oct 23 01:14:14 2016 -0400
Move libengine-pkcs11-openssl package here
---
debian/changelog | 6 ++++--
debian/control | 20 ++++++++++++++++++++
debian/libengine-pkcs11-openssl.install | 1 +
debian/libp11-dev.docs | 2 +-
debian/rules | 9 +++++++++
5 files changed, 35 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0859d80..637c180 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,10 @@
-libp11 (0.4.1-2) unstable; urgency=medium
+libp11 (0.4.2-1) unstable; urgency=medium
* New upstream release.
+ * debian/control, debian/libengine-pkcs11-openssl.install, debian/rules:
+ Move libengine-pkcs11-openssl package here.
- --
+ -- Eric Dorland <eric at debian.org> Sun, 23 Oct 2016 01:13:29 -0400
libp11 (0.4.1-1) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index f7e1bd3..9b77eed 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Uploaders: Eric Dorland <eric at debian.org>
Build-Depends: debhelper (>= 9.20151219),
dh-autoreconf,
libltdl3-dev,
+ libp11-kit-dev,
libssl-dev,
pkg-config
Standards-Version: 3.9.8
@@ -36,3 +37,22 @@ Description: pkcs#11 convenience library
Libp11 is a library to simplify using smart cards via PKCS#11
modules. It was spun of the OpenSC project but can be used with any
pkcs#11 module.
+
+Package: libengine-pkcs11-openssl
+Architecture: any
+Multi-Arch: same
+Depends: p11-kit, ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libopensc-openssl
+Replaces: libopensc-openssl
+Provides: libopensc-openssl
+Description: OpenSSL engine for PKCS#11 modules
+ With this engine for OpenSSL you can use OpenSSL library
+ and command line tools with any PKCS#11 implementation as
+ backend for the crypto operations.
+ .
+ Engine_pkcs11 was developed for smart cards, and mostly
+ for the OpenSC PKCS#11 module, but it should work fine with
+ any PKCS#11 implementation.
+ .
+ Engine_pkcs11 is a spin off from OpenSC and replaced
+ libopensc-openssl.
diff --git a/debian/libengine-pkcs11-openssl.install b/debian/libengine-pkcs11-openssl.install
new file mode 100644
index 0000000..8ebd623
--- /dev/null
+++ b/debian/libengine-pkcs11-openssl.install
@@ -0,0 +1 @@
+usr/lib/*/openssl-*/engines/*
diff --git a/debian/libp11-dev.docs b/debian/libp11-dev.docs
index 7d00d79..8913f46 100644
--- a/debian/libp11-dev.docs
+++ b/debian/libp11-dev.docs
@@ -1,2 +1,2 @@
-README.md
NEWS
+README.md
diff --git a/debian/rules b/debian/rules
index e302ff6..a15b447 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,16 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/architecture.mk
+
+OPENSSL_VERSION := $(shell pkg-config --modversion openssl | sed "s/[a-z]$$//")
+ENGINES_DIR := /usr/lib/$(DEB_HOST_GNU_TYPE)/openssl-$(OPENSSL_VERSION)/engines
+
%:
dh $@ --with autoreconf
+override_dh_auto_configure:
+ dh_auto_configure -- \
+ --with-enginesdir=$(ENGINES_DIR)
+
override_dh_strip:
dh_strip --ddeb-migration='libp11-2-dbg (<< 0.3.0-2~)'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/libp11.git
More information about the pkg-opensc-commit
mailing list