diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-20 14:27:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-20 14:27:17 +0000 |
commit | 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (patch) | |
tree | 66e860a5099bcad013f1cf667255dc372a7c11b3 /dev-libs/opencryptoki | |
parent | 7218e1b46bceac05841e90472501742d905fb3fc (diff) |
gentoo resync : 20.03.2021
Diffstat (limited to 'dev-libs/opencryptoki')
-rw-r--r-- | dev-libs/opencryptoki/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/opencryptoki/opencryptoki-3.4.1.ebuild | 101 |
2 files changed, 0 insertions, 103 deletions
diff --git a/dev-libs/opencryptoki/Manifest b/dev-libs/opencryptoki/Manifest index 8a3a971a5070..2be5a03ee0d8 100644 --- a/dev-libs/opencryptoki/Manifest +++ b/dev-libs/opencryptoki/Manifest @@ -1,6 +1,4 @@ AUX pkcsslotd.init.2 664 BLAKE2B de96f878e55ce5346a3846c99deae28e540964cf4a7dcd42e2893cf540484fa6b3bd914400c2fd39067e8cfc29d030691fd0e4e4fb83b229bc2c03085e5df2f0 SHA512 3bdc6d2f87b2209163ad08915afa900f9c14324d3e48619cffe462c3c651996fe0e0b485eb6331552fcb22297cfa7bda9b6440a8bad9419d6835a047f1b2a0e9 DIST opencryptoki-3.6.1.tgz 1068197 BLAKE2B 0e7d867bd21863f56471ac2c8664148e5a6988ffc30e71feaf960245a1908d676c1791f2b751de4bdd694096bf7360af3a8f79df895eef1b8f61391aba09aaad SHA512 1874fabba6d3da49596622c7f8142a37329df95f129cb08319bb3900a944dde1ae5ce9d845d400726f4bda4579c730012b9bfd6c69c6d5a16b1f75b28a0ba4af -DIST opencryptoki-v3.4.1.tgz 1014416 BLAKE2B f95f9c4923fb7ce283f2031c21221ec2dacf1afca50a5fcdb4e2e173c952bbc4402fda56664428087a2c5b33af8a94aba9fa361ef5c0e4f0b865391cbc304250 SHA512 98643463102f70226255f17a7c49cc454cce377404155b9624e77e36c9f03fb30c216d1769177666489a539e0886b071103a089c565f8fbf120c2a53239a2dd6 -EBUILD opencryptoki-3.4.1.ebuild 3085 BLAKE2B ec9aefcf4acc5e8839962682e930c2ed1195bd015a22cafd343e1e8473986289645c1c6282c1346c679e18b1bf451cbd500d078fdbc9d5fa58c1730af0247959 SHA512 3e5e197a2b9bbe336a4ad10e2b0c3733d67c033c5709e22193dc8152af7f299251ed0f0bd5cb2597acc3111d781c3060b2a86ca7b5479a1d0af86fb2df793679 EBUILD opencryptoki-3.6.1.ebuild 3100 BLAKE2B 8775c159cf881eaa7d3b2f10125c84b34ed008490e06f7addf110b9cf4a27a884f02a43c32bdc31508de0f0dc51afadb1e5842f9d28a84966223be2a85158046 SHA512 d44e5d8f572b380245a9fa330fb423867e7cc1118a3c3201cb41414768510e3cb34ee513c7be6af166461b73f60c84c843800af400d1ff276501b1f11fb23512 MISC metadata.xml 375 BLAKE2B e00a1038bf53c0b8a93ee545e4674dcd7081a70874f5a3fe94794cf65b47d34cd94ccf512c8340b8b84170205840afbdc785dcd49b8391cdfdb655830a483c6b SHA512 fb29b7702172d4e47fe7cb29ec502f9ff0e1f713181ea5af7834a776b2844f4f5d51972764d4bf62088325c498d48a17479856ba5d24ef050af3d3f835c58352 diff --git a/dev-libs/opencryptoki/opencryptoki-3.4.1.ebuild b/dev-libs/opencryptoki/opencryptoki-3.4.1.ebuild deleted file mode 100644 index 99428ccb4f77..000000000000 --- a/dev-libs/opencryptoki/opencryptoki-3.4.1.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools multilib flag-o-matic user - -DESCRIPTION="PKCS#11 provider cryptographic hardware" -HOMEPAGE="https://sourceforge.net/projects/opencryptoki" -SRC_URI="mirror://sourceforge/opencryptoki/${PV}/${PN}-v${PV}.tgz" - -# Upstream is looking into relicensing it into CPL-1.0 entirely; the CCA -# token sources are under CPL-1.0 already. -LICENSE="CPL-0.5" -SLOT="0" -KEYWORDS="~amd64 ~arm ~s390 ~x86" -IUSE="debug libressl +tpm" - -RDEPEND="tpm? ( app-crypt/trousers ) - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= )" -DEPEND="${RDEPEND}" - -DOCS=( - README AUTHORS FAQ TODO - doc/openCryptoki-HOWTO.pdf -) - -# tests right now basically don't exist; the only available thing would -# test against an installed copy and would kill a running pcscd, all -# things that we're not interested to. -RESTRICT=test - -S="${WORKDIR}/${PN}" - -pkg_setup() { - enewgroup pkcs11 -} - -src_prepare() { - default - mv configure.in configure.ac || die - eautoreconf -} - -src_configure() { - # package uses ${localstatedir}/lib as the default path, so if we - # leave it to econf, it'll create /var/lib/lib. - - # Since upstream by default seem to enable any possible token, even - # when they don't seem to be used, we limit ourselves to the - # software emulation token (swtok) and if the user enabled the tpm - # USE flag, tpmtok. The rest of the tokens seem to be hardware- or - # software-dependent even when they build fine without their - # requirements, but until somebody asks for those, I'd rather not - # enable them. - - # We don't use --enable-debug because that tinkers with the CFLAGS - # and we don't want that. Instead we append -DDEBUG which enables - # debug information. - use debug && append-flags -DDEBUG - - econf \ - --localstatedir=/var \ - --enable-fast-install \ - --disable-debug \ - --enable-daemon \ - --enable-library \ - --disable-icatok \ - --enable-swtok \ - $(use_enable tpm tpmtok) \ - --disable-ccatok -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die - - # Install libopencryptoki in the standard directory for libraries. - mv "${ED}"/usr/$(get_libdir)/opencryptoki/libopencryptoki.so* "${ED}"/usr/$(get_libdir) || die - rm "${ED}"/usr/$(get_libdir)/pkcs11/libopencryptoki.so - dosym ../libopencryptoki.so /usr/$(get_libdir)/pkcs11/libopencryptoki.so - - # Remove compatibility symlinks as we _never_ required those and - # they seem unused even upstream. - find "${ED}" -name 'PKCS11_*' -delete - - # We replace their ld.so and init files (mostly designed for RedHat - # as far as I can tell) with our own replacements. - rm -rf "${ED}"/etc/ld.so.conf.d "${ED}"/etc/rc.d - - # make sure that we don't modify the init script if the USE flags - # are enabled for the needed services. - cp "${FILESDIR}"/pkcsslotd.init.2 "${T}"/pkcsslotd.init - use tpm || sed -i -e '/use tcsd/d' "${T}"/pkcsslotd.init - newinitd "${T}/pkcsslotd.init" pkcsslotd - - # We create /var dirs at runtime as needed, so don't bother installing - # our own. - rm -r "${ED}"/var/{lib,lock} || die -} |