[gentoo-commits] repo/gentoo:master commit in: app-crypt/coolkey/files/, app-crypt/coolkey/
commit: 0d9d5268d47dc05309f796e83117af9e978bc2d2 Author: Ionen Wolkens gentoo org> AuthorDate: Fri Oct 14 05:53:32 2022 + Commit: Ionen Wolkens gentoo org> CommitDate: Fri Oct 14 11:55:54 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d9d5268 app-crypt/coolkey: fix build w/ upcoming clang16 Header that declare this is not installed, and seems like these headers would conflict in all sorts of ways here either way. An alternative fix could be to drop --enable-pk11install which is marked legacy (off by default), but don't know this package and no idea if anyone need this. Closes: https://bugs.gentoo.org/871585 Signed-off-by: Ionen Wolkens gentoo.org> app-crypt/coolkey/coolkey-1.1.0-r9.ebuild | 3 ++- app-crypt/coolkey/files/coolkey-1.1.0-clang16.patch | 13 + 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/app-crypt/coolkey/coolkey-1.1.0-r9.ebuild b/app-crypt/coolkey/coolkey-1.1.0-r9.ebuild index cd3d7f1e434b..d388df3391b7 100644 --- a/app-crypt/coolkey/coolkey-1.1.0-r9.ebuild +++ b/app-crypt/coolkey/coolkey-1.1.0-r9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -26,6 +26,7 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${WORKDIR}/${PN}-patches" + "${FILESDIR}/${P}-clang16.patch" ) pkg_setup() { diff --git a/app-crypt/coolkey/files/coolkey-1.1.0-clang16.patch b/app-crypt/coolkey/files/coolkey-1.1.0-clang16.patch new file mode 100644 index ..88c3e11b53e8 --- /dev/null +++ b/app-crypt/coolkey/files/coolkey-1.1.0-clang16.patch @@ -0,0 +1,13 @@ +Declaration taken from nss sources' lib/softoken/pkcs11i.h. +Only needed with --enable-pk11install. + +https://bugs.gentoo.org/871585 +--- a/src/install/pk11install.c b/src/install/pk11install.c +@@ -23,4 +23,6 @@ + #include "pkcs11n.h" + ++char **NSC_ModuleDBFunc(unsigned long function, char *parameters, void *args); ++ + /* + * windows specific globing search
[gentoo-commits] repo/gentoo:master commit in: app-crypt/coolkey/
commit: 48280cebca9f8c70660df09627f3d4e61fd7e9c3 Author: Sam James gentoo org> AuthorDate: Fri Sep 24 23:32:10 2021 + Commit: Sam James gentoo org> CommitDate: Fri Sep 24 23:32:10 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48280ceb app-crypt/coolkey: add missing autotools inherit Signed-off-by: Sam James gentoo.org> .../coolkey/{coolkey-1.1.0-r8.ebuild => coolkey-1.1.0-r9.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-crypt/coolkey/coolkey-1.1.0-r8.ebuild b/app-crypt/coolkey/coolkey-1.1.0-r9.ebuild similarity index 96% rename from app-crypt/coolkey/coolkey-1.1.0-r8.ebuild rename to app-crypt/coolkey/coolkey-1.1.0-r9.ebuild index 2fdee697e0b..cd3d7f1e434 100644 --- a/app-crypt/coolkey/coolkey-1.1.0-r8.ebuild +++ b/app-crypt/coolkey/coolkey-1.1.0-r9.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit flag-o-matic +inherit autotools flag-o-matic PATCHVER="003"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/coolkey/
commit: d4b9861c1f0a2be57ab2d04d1b666a272b2a8856 Author: Christophe Lermytte lermytte be> AuthorDate: Fri Sep 24 09:44:47 2021 + Commit: Sam James gentoo org> CommitDate: Fri Sep 24 23:30:37 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4b9861c app-crypt/coolkey: revbump: fix configure error and CFLAGS manipulation One of the patches (0004-Bug-fixups.patch) in the patch tarball addresses an error in configure.in, but without a call to (e)autoreconf, the configure script remained unchanged. Also, change the CFLAGS argument to emake to a proper append-flags call (there is some C++ code in there as well). Signed-off-by: Christophe Lermytte lermytte.be> Thanks-to: Sam James gentoo.org> Closes: https://bugs.gentoo.org/745285 Closes: https://github.com/gentoo/gentoo/pull/22387 Signed-off-by: Sam James gentoo.org> app-crypt/coolkey/coolkey-1.1.0-r8.ebuild | 90 +++ 1 file changed, 90 insertions(+) diff --git a/app-crypt/coolkey/coolkey-1.1.0-r8.ebuild b/app-crypt/coolkey/coolkey-1.1.0-r8.ebuild new file mode 100644 index 000..2fdee697e0b --- /dev/null +++ b/app-crypt/coolkey/coolkey-1.1.0-r8.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic + +PATCHVER="003" + +DESCRIPTION="Linux Driver support for the CoolKey and CAC products" +HOMEPAGE="https://directory.fedora.redhat.com/wiki/CoolKey; +SRC_URI="https://directory.fedora.redhat.com/download/coolkey/${P}.tar.gz + mirror://gentoo/${P}-patches-${PATCHVER}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug" + +RDEPEND=">=sys-apps/pcsc-lite-1.6.4 + dev-libs/nss[utils] + sys-libs/zlib" +DEPEND="${RDEPEND} + >=app-crypt/ccid-1.4.0" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${WORKDIR}/${PN}-patches" +) + +pkg_setup() { + pk="pk11install" + dbdir="/etc/pki/nssdb" + ck_mod_name="CoolKey PKCS #11 Module" + + if ! [[ -x $dbdir ]]; then + ewarn "No /etc/pki/nssdb found; check under \$HOME/.pki and" + ewarn "follow the suggested commands using the correct path." + fi +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + append-flags -fno-strict-aliasing + econf \ + --enable-pk11install \ + $(use_enable debug) +} + +src_compile() { + emake -j1 +} + +src_install() { + emake DESTDIR="${D}" install -j1 + einstalldocs +} + +pkg_postinst() { + if [[ -x $dbdir ]]; then + if ! $(modutil -rawlist -dbdir $dbdir | grep libcoolkeypk11); then + elog "You still need to install libcoolkey in your PKCS11 library:" + elog "$pk -p $dbdir 'name=$ck_mod_name library=libcoolkeypk11.so'" + + fi + else + elog "" + elog "You still need to setup your PKCS11 library, or at least" + elog "find where it is (perhaps \$HOME/.pki/nssdb). Once you" + elog "find it, use 'modutil -rawlist -dbdir \$db' to look for" + elog "libcoolkeypk11.so, and if not found, add it using:" + elog "" + elog "$pk -p \$db 'name=$ck_mod_name library=libcoolkeypk11.so'" + elog "" + elog "where \$db is the full path to your pki/nssdb directory." + elog "" + fi +} + +pkg_postrm() { + if [[ -x $dbdir ]]; then + if $(modutil -rawlist -dbdir $dbdir | grep libcoolkeypk11); then + elog "You should remove libcoolkey from your PKCS11 library." + fi + fi +}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/coolkey/
commit: 472095f7a63cd1858b9be22813e6752945abffc9 Author: Christophe Lermytte lermytte be> AuthorDate: Fri Sep 24 01:28:32 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Sep 24 07:21:55 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472095f7 app-crypt/coolkey: don't parallel install Something fishy going on in docs/Makefile install-data-hook: rm -f $(DESTDIR)$(libdir)/libckyapplet.a rm -f $(DESTDIR)$(libdir)/libckyapplet.la but agreed with sam that it's not worth it to debug further (seeing that upstream is dead and the src_compile is being done -j1 as well.) - Override src_install with its default but using '-j1' - Update the copyright Signed-off-by: Christophe Lermytte lermytte.be> Closes: https://github.com/gentoo/gentoo/pull/22381 Signed-off-by: Joonas Niilola gentoo.org> app-crypt/coolkey/coolkey-1.1.0-r7.ebuild | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app-crypt/coolkey/coolkey-1.1.0-r7.ebuild b/app-crypt/coolkey/coolkey-1.1.0-r7.ebuild index cbb3e7161b8..61d16c1b67b 100644 --- a/app-crypt/coolkey/coolkey-1.1.0-r7.ebuild +++ b/app-crypt/coolkey/coolkey-1.1.0-r7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -47,6 +47,11 @@ src_compile() { emake CFLAGS+="-fno-strict-aliasing" -j1 } +src_install() { + emake DESTDIR="${D}" install -j1 + einstalldocs +} + pkg_postinst() { if [[ -x $dbdir ]]; then if ! $(modutil -rawlist -dbdir $dbdir | grep libcoolkeypk11); then
[gentoo-commits] repo/gentoo:master commit in: app-crypt/coolkey/
commit: 09f34b2383a6e766305391ab2494085f59cfe5a8 Author: Joonas Niilola gentoo org> AuthorDate: Fri Sep 24 07:15:57 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Sep 24 07:21:55 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f34b23 app-crypt/coolkey: fix copyright header Signed-off-by: Joonas Niilola gentoo.org> app-crypt/coolkey/coolkey-1.1.0-r7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/coolkey/coolkey-1.1.0-r7.ebuild b/app-crypt/coolkey/coolkey-1.1.0-r7.ebuild index 61d16c1b67b..4a15201f3fb 100644 --- a/app-crypt/coolkey/coolkey-1.1.0-r7.ebuild +++ b/app-crypt/coolkey/coolkey-1.1.0-r7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7
[gentoo-commits] repo/gentoo:master commit in: app-crypt/coolkey/
commit: 7ebea9e13d6c58708f5d9b08f4e2db07ec781add Author: Alon Bar-Lev gentoo org> AuthorDate: Sat Mar 25 21:39:35 2017 + Commit: Alon Bar-Lev gentoo org> CommitDate: Sat Mar 25 21:46:38 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ebea9e1 app-crypt/coolkey: remove eutils Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-crypt/coolkey/coolkey-1.1.0-r7.ebuild | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app-crypt/coolkey/coolkey-1.1.0-r7.ebuild b/app-crypt/coolkey/coolkey-1.1.0-r7.ebuild index f756b57ac81..79c08285e15 100644 --- a/app-crypt/coolkey/coolkey-1.1.0-r7.ebuild +++ b/app-crypt/coolkey/coolkey-1.1.0-r7.ebuild @@ -1,10 +1,8 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit eutils - PATCHVER="003" DESCRIPTION="Linux Driver support for the CoolKey and CAC products"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/coolkey/
commit: b2f6fc954066d2cb53e76474569810d60d457282 Author: Manuel Rüger gentoo org> AuthorDate: Wed Feb 15 00:13:19 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Wed Feb 15 00:13:19 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2f6fc95 app-crypt/coolkey: Remove old Package-Manager: portage-2.3.3 app-crypt/coolkey/Manifest| 1 - app-crypt/coolkey/coolkey-1.1.0-r6.ebuild | 86 --- 2 files changed, 87 deletions(-) diff --git a/app-crypt/coolkey/Manifest b/app-crypt/coolkey/Manifest index 9fa753c3e2..8250bd40ea 100644 --- a/app-crypt/coolkey/Manifest +++ b/app-crypt/coolkey/Manifest @@ -1,3 +1,2 @@ -DIST coolkey-1.1.0-patches-002.tar.gz 20574 SHA256 42767673025f7410bc1169231f7759abe4de69d8fa204fc8acfbe228b543129a SHA512 94050979f04f24924331b8a7c38b60de207d32b964caa39714aefd9f616ab7dd4e58b51e2c49fdb63b4dec1acce0c7245ae0a025ef76d457162b7200193dc663 WHIRLPOOL 55fee8ff261b8b3b8e16af05c1a6e7b4acd8eacaa0c73f5dd7bdf4918929097918be0f1ec2feaa5385d991d2a472672c7306dee60f4d61d313b2c47ec691f66a DIST coolkey-1.1.0-patches-003.tar.gz 21263 SHA256 af04f104a2ababe5b4cc7cd9e870918c24b2baa2599ddfe7a8eb0114b63428e0 SHA512 25a5fac68ca041fcf9e927d134d0179fa286e6de75019e7bbf205edeaf73222d9fb9fd3861a8f6e0d933d1a09229e3e727278c3a9b3cc63390ef07774c46390d WHIRLPOOL c272e01c61ec66c2f06b75370ffca33c067b0fbfea16284b8696484dd80b161ec86688a9b4af5ae433e9582ebc914bc10ee4d387dc920e989a93b514ce881746 DIST coolkey-1.1.0.tar.gz 432808 SHA256 8448e3abb81bffc593c96b577dcfbc05b40e8684188456c31be15fae73d730f7 SHA512 4b61de9b40abcf620fbb519d5e3cf1e93ebdd0470854cb63a597fc91e0182998217353014327f7bc4f255d22515d8ea2b08d36b3a831f5f09134fdcd418bc08b WHIRLPOOL 60408f606a5cf5d9ec1ba3938a96a6f938c8d9f4b7ace2677ff35ce125104995675bf0decae92575e82dfc1a2eeaa26c4197ad174a4d3901250c43d906976c24 diff --git a/app-crypt/coolkey/coolkey-1.1.0-r6.ebuild b/app-crypt/coolkey/coolkey-1.1.0-r6.ebuild deleted file mode 100644 index 69d84d982f..00 --- a/app-crypt/coolkey/coolkey-1.1.0-r6.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=3 - -inherit eutils - -PATCHVER="002" - -DESCRIPTION="Linux Driver support for the CoolKey and CAC products" -HOMEPAGE="https://directory.fedora.redhat.com/wiki/CoolKey; -SRC_URI="https://directory.fedora.redhat.com/download/coolkey/${P}.tar.gz - mirror://gentoo/${P}-patches-${PATCHVER}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="debug" - -RDEPEND=">=sys-apps/pcsc-lite-1.6.4 - dev-libs/nss[utils] - sys-libs/zlib" - -DEPEND="${RDEPEND} - >=app-crypt/ccid-1.4.0 - virtual/pkgconfig" - -pkg_setup() { - pk="pk11install" - dbdir="/etc/pki/nssdb" - ck_mod_name="CoolKey PKCS #11 Module" - - if ! [[ -x $dbdir ]]; then - ewarn "No /etc/pki/nssdb found; check under \$HOME/.pki and" - ewarn "follow the suggested commands using the correct path." - fi -} - -src_prepare() { - epatch "${WORKDIR}/${PN}-patches"/* -} - -src_configure() { - econf --enable-pk11install $(use_enable debug) \ - || die "configure failed" -} - -src_compile() { - emake CFLAGS+="-fno-strict-aliasing" -j1 || die "make failed" -} - -src_install() { - emake install DESTDIR="${D}" || die - diropts -m 1777 - keepdir /var/cache/coolkey -} - -pkg_postinst() { - if [[ -x $dbdir ]]; then - if ! $(modutil -rawlist -dbdir $dbdir | grep libcoolkeypk11); then - elog "You still need to install libcoolkey in your PKCS11 library:" - elog "$pk -p $dbdir 'name=$ck_mod_name library=libcoolkeypk11.so'" - - fi - else - elog "" - elog "You still need to setup your PKCS11 library, or at least" - elog "find where it is (perhaps \$HOME/.pki/nssdb). Once you" - elog "find it, use 'modutil -rawlist -dbdir \$db' to look for" - elog "libcoolkeypk11.so, and if not found, add it using:" - elog "" - elog "$pk -p \$db 'name=$ck_mod_name library=libcoolkeypk11.so'" - elog "" - elog "where \$db is the full path to your pki/nssdb directory." - elog "" - fi -} - -pkg_postrm() { - if [[ -x $dbdir ]]; then - if $(modutil -rawlist -dbdir $dbdir | grep libcoolkeypk11); then - elog "You should remove libcoolkey from your PKCS11 library." - fi - fi -}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/coolkey/
commit: 7db55c043f77d382d2c06ac49973d6f04235 Author: Alon Bar-Lev gentoo org> AuthorDate: Thu Dec 8 17:34:19 2016 + Commit: Alon Bar-Lev gentoo org> CommitDate: Thu Dec 8 17:34:37 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7db55c04 app-crypt/coolkey: fix c++11 issue Bug: 602000 Package-Manager: portage-2.3.0 app-crypt/coolkey/Manifest| 1 + app-crypt/coolkey/coolkey-1.1.0-r7.ebuild | 81 +++ 2 files changed, 82 insertions(+) diff --git a/app-crypt/coolkey/Manifest b/app-crypt/coolkey/Manifest index 41cc6c6..9fa753c 100644 --- a/app-crypt/coolkey/Manifest +++ b/app-crypt/coolkey/Manifest @@ -1,2 +1,3 @@ DIST coolkey-1.1.0-patches-002.tar.gz 20574 SHA256 42767673025f7410bc1169231f7759abe4de69d8fa204fc8acfbe228b543129a SHA512 94050979f04f24924331b8a7c38b60de207d32b964caa39714aefd9f616ab7dd4e58b51e2c49fdb63b4dec1acce0c7245ae0a025ef76d457162b7200193dc663 WHIRLPOOL 55fee8ff261b8b3b8e16af05c1a6e7b4acd8eacaa0c73f5dd7bdf4918929097918be0f1ec2feaa5385d991d2a472672c7306dee60f4d61d313b2c47ec691f66a +DIST coolkey-1.1.0-patches-003.tar.gz 21263 SHA256 af04f104a2ababe5b4cc7cd9e870918c24b2baa2599ddfe7a8eb0114b63428e0 SHA512 25a5fac68ca041fcf9e927d134d0179fa286e6de75019e7bbf205edeaf73222d9fb9fd3861a8f6e0d933d1a09229e3e727278c3a9b3cc63390ef07774c46390d WHIRLPOOL c272e01c61ec66c2f06b75370ffca33c067b0fbfea16284b8696484dd80b161ec86688a9b4af5ae433e9582ebc914bc10ee4d387dc920e989a93b514ce881746 DIST coolkey-1.1.0.tar.gz 432808 SHA256 8448e3abb81bffc593c96b577dcfbc05b40e8684188456c31be15fae73d730f7 SHA512 4b61de9b40abcf620fbb519d5e3cf1e93ebdd0470854cb63a597fc91e0182998217353014327f7bc4f255d22515d8ea2b08d36b3a831f5f09134fdcd418bc08b WHIRLPOOL 60408f606a5cf5d9ec1ba3938a96a6f938c8d9f4b7ace2677ff35ce125104995675bf0decae92575e82dfc1a2eeaa26c4197ad174a4d3901250c43d906976c24 diff --git a/app-crypt/coolkey/coolkey-1.1.0-r7.ebuild b/app-crypt/coolkey/coolkey-1.1.0-r7.ebuild new file mode 100644 index ..66640df --- /dev/null +++ b/app-crypt/coolkey/coolkey-1.1.0-r7.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils + +PATCHVER="003" + +DESCRIPTION="Linux Driver support for the CoolKey and CAC products" +HOMEPAGE="https://directory.fedora.redhat.com/wiki/CoolKey; +SRC_URI="https://directory.fedora.redhat.com/download/coolkey/${P}.tar.gz + mirror://gentoo/${P}-patches-${PATCHVER}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug" + +RDEPEND=">=sys-apps/pcsc-lite-1.6.4 + dev-libs/nss[utils] + sys-libs/zlib" + +DEPEND="${RDEPEND} + >=app-crypt/ccid-1.4.0 + virtual/pkgconfig" + +PATCHES=( + "${WORKDIR}/${PN}-patches" +) + +pkg_setup() { + pk="pk11install" + dbdir="/etc/pki/nssdb" + ck_mod_name="CoolKey PKCS #11 Module" + + if ! [[ -x $dbdir ]]; then + ewarn "No /etc/pki/nssdb found; check under \$HOME/.pki and" + ewarn "follow the suggested commands using the correct path." + fi +} + +src_configure() { + econf \ + --enable-pk11install \ + $(use_enable debug) +} + +src_compile() { + emake CFLAGS+="-fno-strict-aliasing" -j1 +} + +pkg_postinst() { + if [[ -x $dbdir ]]; then + if ! $(modutil -rawlist -dbdir $dbdir | grep libcoolkeypk11); then + elog "You still need to install libcoolkey in your PKCS11 library:" + elog "$pk -p $dbdir 'name=$ck_mod_name library=libcoolkeypk11.so'" + + fi + else + elog "" + elog "You still need to setup your PKCS11 library, or at least" + elog "find where it is (perhaps \$HOME/.pki/nssdb). Once you" + elog "find it, use 'modutil -rawlist -dbdir \$db' to look for" + elog "libcoolkeypk11.so, and if not found, add it using:" + elog "" + elog "$pk -p \$db 'name=$ck_mod_name library=libcoolkeypk11.so'" + elog "" + elog "where \$db is the full path to your pki/nssdb directory." + elog "" + fi +} + +pkg_postrm() { + if [[ -x $dbdir ]]; then + if $(modutil -rawlist -dbdir $dbdir | grep libcoolkeypk11); then + elog "You should remove libcoolkey from your PKCS11 library." + fi + fi +}