summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2021-11-27 15:48:55 -1000
committerMarc Schiffbauer <mschiff@gentoo.org>2021-11-27 15:49:48 -1000
commit98a218efd4ed121ed1a8f8ffc7b4fbb880fe90eb (patch)
tree2731350ae3191b53991c819858ead5f3f4c85c9d /net-dns/opendnssec
parentkde-apps/kde-apps-meta: Stabilize 21.08.3 arm64, #822177 (diff)
downloadgentoo-98a218efd4ed121ed1a8f8ffc7b4fbb880fe90eb.tar.gz
gentoo-98a218efd4ed121ed1a8f8ffc7b4fbb880fe90eb.tar.bz2
gentoo-98a218efd4ed121ed1a8f8ffc7b4fbb880fe90eb.zip
net-dns/opendnssec: cleanups and improve tests
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'net-dns/opendnssec')
-rw-r--r--net-dns/opendnssec/opendnssec-2.1.10.ebuild15
1 files changed, 3 insertions, 12 deletions
diff --git a/net-dns/opendnssec/opendnssec-2.1.10.ebuild b/net-dns/opendnssec/opendnssec-2.1.10.ebuild
index 2df181514c42..fc1cc54c2d14 100644
--- a/net-dns/opendnssec/opendnssec-2.1.10.ebuild
+++ b/net-dns/opendnssec/opendnssec-2.1.10.ebuild
@@ -45,6 +45,8 @@ BDEPEND="
doc? ( app-doc/doxygen )
test? (
app-text/trang
+ dev-libs/softhsm:*
+ dev-util/cunit
)
"
@@ -53,13 +55,6 @@ REQUIRED_USE="
^^ ( softhsm opensc external-hsm )
"
-#PATCHES=(
-# "${FILESDIR}/${PN}-fix-localstatedir-2.0.x.patch"
-# "${FILESDIR}/${PN}-fix-run-dir-2.0.x.patch"
-# "${FILESDIR}/${PN}-drop-privileges-2.0.x.patch"
-# "${FILESDIR}/${PN}-use-system-trang.patch"
-# "${FILESDIR}/${PN}-openssl1.1.patch"
-#)
PATCHES=(
"${FILESDIR}/${PN}-fix-run-dir-2.1.x.patch"
"${FILESDIR}/${PN}-use-system-trang.patch"
@@ -73,11 +68,7 @@ check_pkcs11_setup() {
if use softhsm; then
PKCS11_LIB=softhsm
- if has_version ">=dev-libs/softhsm-1.3.1"; then
- PKCS11_PATH=/usr/$(get_libdir)/softhsm/libsofthsm.so
- else
- PKCS11_PATH=/usr/$(get_libdir)/libsofthsm.so
- fi
+ PKCS11_PATH=/usr/$(get_libdir)/softhsm/libsofthsm2.so
elog "Building with SoftHSM PKCS#11 library support."
fi
if use opensc; then