From deba8115d2c2af26df42966b91ef04ff4dd79cde Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 14 May 2020 11:09:11 +0100 Subject: gentoo resync : 14.05.2020 --- app-crypt/Manifest.gz | Bin 25312 -> 25464 bytes app-crypt/acme-sh/Manifest | 2 +- app-crypt/acme-sh/acme-sh-2.8.5.ebuild | 2 +- app-crypt/acme/Manifest | 4 +- app-crypt/acme/acme-1.4.0.ebuild | 69 +++++++++++++++ app-crypt/acme/acme-9999.ebuild | 1 - app-crypt/certbot-apache/Manifest | 4 +- .../certbot-apache/certbot-apache-1.4.0.ebuild | 38 +++++++++ .../certbot-apache/certbot-apache-9999.ebuild | 1 - app-crypt/certbot-nginx/Manifest | 4 +- app-crypt/certbot-nginx/certbot-nginx-1.4.0.ebuild | 33 ++++++++ app-crypt/certbot-nginx/certbot-nginx-9999.ebuild | 5 +- app-crypt/certbot/Manifest | 4 +- app-crypt/certbot/certbot-1.4.0.ebuild | 48 +++++++++++ app-crypt/certbot/certbot-9999.ebuild | 1 - app-crypt/cfssl/Manifest | 8 +- app-crypt/cfssl/cfssl-1.3.2.ebuild | 33 -------- app-crypt/cfssl/cfssl-1.3.3.ebuild | 33 -------- app-crypt/cfssl/cfssl-1.3.4.ebuild | 33 -------- app-crypt/cfssl/cfssl-1.4.1.ebuild | 2 +- app-crypt/jitterentropy-rngd/Manifest | 2 +- .../jitterentropy-rngd-1.1.0.ebuild | 2 +- app-crypt/libb2/Manifest | 3 +- app-crypt/libb2/files/libb2-0.98.1-distcc.patch | 16 ++++ app-crypt/libb2/libb2-0.98.1-r1.ebuild | 67 --------------- app-crypt/libb2/libb2-0.98.1-r3.ebuild | 70 +++++++++++++++ app-crypt/libsecret/Manifest | 4 +- app-crypt/libsecret/libsecret-0.20.1.ebuild | 94 --------------------- app-crypt/libsecret/libsecret-0.20.3.ebuild | 94 +++++++++++++++++++++ app-crypt/libu2f-host/Manifest | 3 +- .../files/libu2f-host-1.1.10-json-boolean.patch | 34 ++++++++ app-crypt/libu2f-host/libu2f-host-1.1.10.ebuild | 4 +- app-crypt/libu2f-server/Manifest | 3 +- .../files/libu2f-server-1.1.0-jsonc014.patch | 34 ++++++++ app-crypt/libu2f-server/libu2f-server-1.1.0.ebuild | 3 +- app-crypt/md4sum/Manifest | 2 +- app-crypt/md4sum/md4sum-0.02.03-r2.ebuild | 4 +- app-crypt/ophcrack/Manifest | 8 +- app-crypt/ophcrack/files/ophcrack-ar.patch | 13 +++ .../ophcrack/files/ophcrack-openssl-des.patch | 92 -------------------- app-crypt/ophcrack/ophcrack-3.6.0.ebuild | 38 --------- app-crypt/ophcrack/ophcrack-3.7.0.ebuild | 36 -------- app-crypt/ophcrack/ophcrack-3.8.0.ebuild | 17 ++-- app-crypt/pdfcrack/Manifest | 2 + app-crypt/pdfcrack/pdfcrack-0.19.ebuild | 27 ++++++ app-crypt/rhash/Manifest | 2 +- app-crypt/rhash/metadata.xml | 1 + app-crypt/ssss/Manifest | 2 +- app-crypt/ssss/ssss-0.5-r1.ebuild | 39 +++++++++ app-crypt/ssss/ssss-0.5.ebuild | 39 --------- app-crypt/tpm2-pkcs11/Manifest | 3 + app-crypt/tpm2-pkcs11/metadata.xml | 13 +++ app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.2.0.ebuild | 52 ++++++++++++ app-crypt/tpm2-tools/Manifest | 11 +-- .../files/tpm2-tools-3.1.3-libressl.patch | 81 ------------------ .../files/tpm2-tools-4.1.1-libressl.patch | 26 ------ .../tpm2-tools/files/tpm2-tools-4.2-libressl.patch | 26 ++++++ app-crypt/tpm2-tools/metadata.xml | 3 + app-crypt/tpm2-tools/tpm2-tools-3.1.4.ebuild | 32 ------- app-crypt/tpm2-tools/tpm2-tools-4.1.1.ebuild | 32 ------- app-crypt/tpm2-tools/tpm2-tools-4.2.ebuild | 34 ++++++++ app-crypt/tpm2-tss/Manifest | 9 +- .../files/tpm2-tss-2.4.0-fix-tmpfiles-path.patch | 22 +++++ app-crypt/tpm2-tss/metadata.xml | 1 + app-crypt/tpm2-tss/tpm2-tss-2.2.3-r2.ebuild | 56 ------------ app-crypt/tpm2-tss/tpm2-tss-2.3.3.ebuild | 53 ------------ app-crypt/tpm2-tss/tpm2-tss-2.4.0.ebuild | 71 ++++++++++++++++ app-crypt/trousers/Manifest | 3 +- .../files/trousers-0.3.14-fno-common.patch | 15 ++++ app-crypt/trousers/trousers-0.3.14-r2.ebuild | 41 +-------- app-crypt/xca/Manifest | 2 + app-crypt/xca/xca-2.3.0.ebuild | 70 +++++++++++++++ app-crypt/yubikey-manager/Manifest | 2 +- .../yubikey-manager-3.1.1-r1.ebuild | 2 +- 74 files changed, 894 insertions(+), 846 deletions(-) create mode 100644 app-crypt/acme/acme-1.4.0.ebuild create mode 100644 app-crypt/certbot-apache/certbot-apache-1.4.0.ebuild create mode 100644 app-crypt/certbot-nginx/certbot-nginx-1.4.0.ebuild create mode 100644 app-crypt/certbot/certbot-1.4.0.ebuild delete mode 100644 app-crypt/cfssl/cfssl-1.3.2.ebuild delete mode 100644 app-crypt/cfssl/cfssl-1.3.3.ebuild delete mode 100644 app-crypt/cfssl/cfssl-1.3.4.ebuild create mode 100644 app-crypt/libb2/files/libb2-0.98.1-distcc.patch delete mode 100644 app-crypt/libb2/libb2-0.98.1-r1.ebuild create mode 100644 app-crypt/libb2/libb2-0.98.1-r3.ebuild delete mode 100644 app-crypt/libsecret/libsecret-0.20.1.ebuild create mode 100644 app-crypt/libsecret/libsecret-0.20.3.ebuild create mode 100644 app-crypt/libu2f-host/files/libu2f-host-1.1.10-json-boolean.patch create mode 100644 app-crypt/libu2f-server/files/libu2f-server-1.1.0-jsonc014.patch create mode 100644 app-crypt/ophcrack/files/ophcrack-ar.patch delete mode 100644 app-crypt/ophcrack/files/ophcrack-openssl-des.patch delete mode 100644 app-crypt/ophcrack/ophcrack-3.6.0.ebuild delete mode 100644 app-crypt/ophcrack/ophcrack-3.7.0.ebuild create mode 100644 app-crypt/pdfcrack/pdfcrack-0.19.ebuild create mode 100644 app-crypt/ssss/ssss-0.5-r1.ebuild delete mode 100644 app-crypt/ssss/ssss-0.5.ebuild create mode 100644 app-crypt/tpm2-pkcs11/Manifest create mode 100644 app-crypt/tpm2-pkcs11/metadata.xml create mode 100644 app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.2.0.ebuild delete mode 100644 app-crypt/tpm2-tools/files/tpm2-tools-3.1.3-libressl.patch delete mode 100644 app-crypt/tpm2-tools/files/tpm2-tools-4.1.1-libressl.patch create mode 100644 app-crypt/tpm2-tools/files/tpm2-tools-4.2-libressl.patch delete mode 100644 app-crypt/tpm2-tools/tpm2-tools-3.1.4.ebuild delete mode 100644 app-crypt/tpm2-tools/tpm2-tools-4.1.1.ebuild create mode 100644 app-crypt/tpm2-tools/tpm2-tools-4.2.ebuild create mode 100644 app-crypt/tpm2-tss/files/tpm2-tss-2.4.0-fix-tmpfiles-path.patch delete mode 100644 app-crypt/tpm2-tss/tpm2-tss-2.2.3-r2.ebuild delete mode 100644 app-crypt/tpm2-tss/tpm2-tss-2.3.3.ebuild create mode 100644 app-crypt/tpm2-tss/tpm2-tss-2.4.0.ebuild create mode 100644 app-crypt/trousers/files/trousers-0.3.14-fno-common.patch create mode 100644 app-crypt/xca/xca-2.3.0.ebuild (limited to 'app-crypt') diff --git a/app-crypt/Manifest.gz b/app-crypt/Manifest.gz index 09759406d83e..bf365231b0c2 100644 Binary files a/app-crypt/Manifest.gz and b/app-crypt/Manifest.gz differ diff --git a/app-crypt/acme-sh/Manifest b/app-crypt/acme-sh/Manifest index 23049ceea1d4..230ede0cd611 100644 --- a/app-crypt/acme-sh/Manifest +++ b/app-crypt/acme-sh/Manifest @@ -3,6 +3,6 @@ AUX acme.sh 63 BLAKE2B 50c3284c0172ff0a0dc57fcfbaba57a6518d7c043b5d052f2710b2822 DIST acme.sh-2.8.3.tar.gz 163573 BLAKE2B 7436932d79e732b8c419a588f4677ec0338c63d0dfc227e7410b151731e2fc4c028df81f459f7ad140dab857ebdebddab3173095e3efcfad0a971ff6762c8608 SHA512 15e147d0f07af91eab7274df50e274ae41a411c30ee7f6ebc8bcbcb601b66094fc1d8126bfb816caa27dbeb5222da20a25d1c79227bc70ddb6b5d0ce0dcb389e DIST acme.sh-2.8.5.tar.gz 176854 BLAKE2B 74eb9bbf4b99984ba77725c6751b713d6971503d1a8542472e75192afc9139705607f629e673af75b6ec7dab68b1a9ad2fd4676cda26871daf475487e28e0848 SHA512 db355d8c60c61b632c62dda376e71c438035d3eaf5630a6dc3ca241f6d988216f046e1588ccfe3da955aacb7897cefac5a8c7b6868f12af8f422182c52ed7b72 EBUILD acme-sh-2.8.3.ebuild 1098 BLAKE2B 79aa3b8955df9308a800da0dca7bb97fdf48190a06b205faf85d15ab6284c933187f2bc6ddd0e02fe4cc5c380de910ce15c341e86c7219e6e8ffddf043363331 SHA512 667605c0213706ecd3c8cc95ed98fc322231196ac676ee95f01ec4114e73fa8f226a14de870d8c67569daeb0b6bf78cb9edbe3228bdca36b7e0c10cc65660daf -EBUILD acme-sh-2.8.5.ebuild 1098 BLAKE2B b3ba595d38334e55d2d42d7cbae60527764a926c9630b5e9eb40ab76d9753278d24bf0bebc13f34d141dae9970b173dcda3d8abe1d8e94a38d2819cdfe57b46a SHA512 800d1f81116f05fafc4ef50797171ab3ff39b1566a41e5c23d5ab345982ce10da4310531d08aa369ed6ec54f35382aa1ca91aa508e4d677ec6d65eff63f493c7 +EBUILD acme-sh-2.8.5.ebuild 1105 BLAKE2B 18ac41f33a081024a9d7b7f8bf8b87931270f7c5ebb3e415b8ddc5b6c15895c62ce360a71f971f973457f02740862dc7484f9b8794da8f30f48de32176031af5 SHA512 fa1f63b8874a5c834ac3853c8d8d089da516d0ad69610cc51f55051e571e2f42fed4c534a34eb8063a4021c74c6b515bf769f866c1ef254bb25f138fadc9734f EBUILD acme-sh-9999.ebuild 1022 BLAKE2B 0e439fa8bfb6365f24aa4181acdad1af2ae1d0ab55abcb386348180d3ccf03e00bd9f395a96dceb252b56e29bd0a5711d027eedc7e3e23c67e9c491a9d75b66d SHA512 d370fa4197af017c61faf8b89b71e195920ebf6e970e51f86c773027fa95189491e75d94b1fe8901f02562ffc1ec9b736d82a0a21a64e31203bf6e841d2a4021 MISC metadata.xml 597 BLAKE2B abf8574531170e1bf807d45682c5a394e3ef11880b23a297b3a440ab1b3eaf2c283d5afac51ef7fb8726203b6303f626e5883f4a258897794a3848e4ade5980d SHA512 f45386c5ef271f698ce540ae61b9dad4ae6d7c624d13310daa2adc353a6145f4abdf19f7a0fc5120ca661668673efa6536297e25a374b65ec06dd8b41a7ebbb6 diff --git a/app-crypt/acme-sh/acme-sh-2.8.5.ebuild b/app-crypt/acme-sh/acme-sh-2.8.5.ebuild index b34a4374029d..59253f841d69 100644 --- a/app-crypt/acme-sh/acme-sh-2.8.5.ebuild +++ b/app-crypt/acme-sh/acme-sh-2.8.5.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/Neilpang/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.ta LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" IUSE="" RDEPEND="net-misc/curl diff --git a/app-crypt/acme/Manifest b/app-crypt/acme/Manifest index e50459e711f9..c8dd6ab0ff94 100644 --- a/app-crypt/acme/Manifest +++ b/app-crypt/acme/Manifest @@ -1,4 +1,6 @@ DIST certbot-1.3.0.tar.gz 1362945 BLAKE2B bb36a7737275332f018d7f2283286e07e041892cc366f79e68df9eee7e57ca2186d36895d1923b032068a365878d09e49e17c1399a7418dbd8607c9a7efc1c26 SHA512 4205cdd1f3ddf500b9b952744db234636c086a856df80acd2d776305f4501eed07995e453e5c9b2c711fb0d1f1987d2bb8baaa13fccce8e000a38f486cfdc5d3 +DIST certbot-1.4.0.tar.gz 1381435 BLAKE2B 57d70a12ee38e1ba96f4c8c594c1940403e33d4cdf5111472a9c0c7d41061b2201792c38d9bb4ec516358f5592d2f689eeab31e1e686a534418b20eba2df4b4b SHA512 8926f724c47c0249e2e420cd8944f0b106682efaa2d9b211491ea4524fe4e64bb3ff4f21fd756996049d781a68294ab8307bd077b6d96fa00e09cbbdf4e59261 EBUILD acme-1.3.0-r1.ebuild 1770 BLAKE2B dd2b344dc9157631cadafaec85f9bf220444917e71be0166a513d2eb0ac9d863aa3369f2c61c11bf4b9fb9054a1a0e59b28fe6b92aa0c686133fb4b8cbcefc71 SHA512 caba8e15d9e396d9707cf868cc1ec76be17b462d5be08508df8f02ef16c093b55ae770e8f68e97a0d19cd030a8ac087c3e980829eccb8458f5e1bf770a86d947 -EBUILD acme-9999.ebuild 1772 BLAKE2B fd15cbcf90416ad182432bbee91d262fbcc5b3b3304fe226b61a6ff368c9ecdeea8d554a2b57ccf3d280da9cb0d8bcd4a32de5c8fe5b2b53a890db6084bc7544 SHA512 e905702e2cf1f89e453876a828d377c2c50cb5f157b7fe538501a24ade7306bcf9be160b8bd748156d6769a15c21d363a02be0c90517a0d89c7082c7fefc1e42 +EBUILD acme-1.4.0.ebuild 1737 BLAKE2B 06af2a535bda2baf9baa807647ede63d0189d66e0bedf02e5ec1fe4d33f4b804a4c620163bee5247ae9558d886f918bea761aeb361636a18138c4f91dee9cb54 SHA512 a8f6f502cc67c3bf355e064718293d31fbb993563a12cf87c2dafe41f724e60e6e93a4bdc3ac048a4fc7c2b5fe7be169510b0a779937e26347052ab83fee92eb +EBUILD acme-9999.ebuild 1737 BLAKE2B 06af2a535bda2baf9baa807647ede63d0189d66e0bedf02e5ec1fe4d33f4b804a4c620163bee5247ae9558d886f918bea761aeb361636a18138c4f91dee9cb54 SHA512 a8f6f502cc67c3bf355e064718293d31fbb993563a12cf87c2dafe41f724e60e6e93a4bdc3ac048a4fc7c2b5fe7be169510b0a779937e26347052ab83fee92eb MISC metadata.xml 384 BLAKE2B 55780995cb61c11ca859c9f1de17b1c22c9c92902f551ccd1ee6f030df9d513bb5519a2c62bf33bc6a5872790d033ba966e5ed137d84a4f66ab4ba7636a88887 SHA512 cf8393b25aa363bc1db4ebd23274affd1eaf999a4c2ab8d359730f421961dafd5c96fcf14c247f3f5419616116e2351d72fbf0e29301ea44ac522e865c7b0fa1 diff --git a/app-crypt/acme/acme-1.4.0.ebuild b/app-crypt/acme/acme-1.4.0.ebuild new file mode 100644 index 000000000000..1d83c8b8d408 --- /dev/null +++ b/app-crypt/acme/acme-1.4.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=(python{3_6,3_7,3_8}) + +if [[ ${PV} == 9999* ]]; then + EGIT_REPO_URI="https://github.com/certbot/certbot.git" + inherit git-r3 + S=${WORKDIR}/${P}/${PN} +else + SRC_URI="https://github.com/certbot/certbot/archive/v${PV}.tar.gz -> certbot-${PV}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + S=${WORKDIR}/certbot-${PV}/acme +fi + +inherit distutils-r1 + +DESCRIPTION="An implementation of the ACME protocol" +HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}] + >=dev-python/idna-2.0.0[${PYTHON_USEDEP}] + >=dev-python/josepy-1.1.0[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-0.13.1[${PYTHON_USEDEP}] + dev-python/pyrfc3339[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/requests-2.10[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}] + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] +" +DEPEND=" + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + ) + test? ( + ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) + >=dev-python/setuptools-1.0[${PYTHON_USEDEP}] +" + +src_compile() { + python_foreach_impl run_in_build_dir default + distutils-r1_src_compile + if use doc ; then + cd docs || die + sphinx-build -b html -d _build/doctrees . _build/html + fi +} + +python_test() { + nosetests -w ${PN} || die +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all +} diff --git a/app-crypt/acme/acme-9999.ebuild b/app-crypt/acme/acme-9999.ebuild index baec59de4e1e..1d83c8b8d408 100644 --- a/app-crypt/acme/acme-9999.ebuild +++ b/app-crypt/acme/acme-9999.ebuild @@ -28,7 +28,6 @@ RDEPEND=" >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}] >=dev-python/idna-2.0.0[${PYTHON_USEDEP}] >=dev-python/josepy-1.1.0[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] >=dev-python/pyopenssl-0.13.1[${PYTHON_USEDEP}] dev-python/pyrfc3339[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] diff --git a/app-crypt/certbot-apache/Manifest b/app-crypt/certbot-apache/Manifest index 974a5ef343c6..2816c458d0f9 100644 --- a/app-crypt/certbot-apache/Manifest +++ b/app-crypt/certbot-apache/Manifest @@ -1,4 +1,6 @@ DIST certbot-1.3.0.tar.gz 1362945 BLAKE2B bb36a7737275332f018d7f2283286e07e041892cc366f79e68df9eee7e57ca2186d36895d1923b032068a365878d09e49e17c1399a7418dbd8607c9a7efc1c26 SHA512 4205cdd1f3ddf500b9b952744db234636c086a856df80acd2d776305f4501eed07995e453e5c9b2c711fb0d1f1987d2bb8baaa13fccce8e000a38f486cfdc5d3 +DIST certbot-1.4.0.tar.gz 1381435 BLAKE2B 57d70a12ee38e1ba96f4c8c594c1940403e33d4cdf5111472a9c0c7d41061b2201792c38d9bb4ec516358f5592d2f689eeab31e1e686a534418b20eba2df4b4b SHA512 8926f724c47c0249e2e420cd8944f0b106682efaa2d9b211491ea4524fe4e64bb3ff4f21fd756996049d781a68294ab8307bd077b6d96fa00e09cbbdf4e59261 EBUILD certbot-apache-1.3.0-r1.ebuild 1103 BLAKE2B b5e48f218836b1d6ed67a7c752fba68f938cfda74e86472eaf7e518857948d091a80d8516e3459fd550252c5366082a2cf0246550145ca27cb680c303bc76815 SHA512 3a139f0e9430e2bf0fb6bb5efc4bdd055bb12a66a48f5ab19a2d540267922317cba30a84dd12d90d34b26ccecf79066fda61df0330266f7a7c1f8f1352407e2d -EBUILD certbot-apache-9999.ebuild 1105 BLAKE2B 80bb99718096bc436534a7baefd6253e99b331e8313d59176a8c316b1c90fc9b7fa78128ca16f6dbff29830a25c13caafb4ae24f1da669821b6c9e549d1877bb SHA512 4ed9707a48eb0bf8350e00f73de4504a5e1d0dd9cfa29874f46a37d8f09d645fc0c6d9f0aaa8f7486fc748734ded2ecd04b44ad209681e55c57b8f48ed683bc8 +EBUILD certbot-apache-1.4.0.ebuild 1070 BLAKE2B d6b3ef4ff80e04cb94d44726c2a63aaf78171e9ab990f137f69ecb521ed70708c6a840071d32e62a590c43021bdcb48d1d2027c1a3bb64cc1030be5ef78f1224 SHA512 3c4cf9cf312c78e845b1bcb710f0bbb20a2ce135c140ff32cd707b995b95a1c655ea6d5b064319d65268f88061a614e849f09c8d2b544f3084da97d688702d49 +EBUILD certbot-apache-9999.ebuild 1070 BLAKE2B d6b3ef4ff80e04cb94d44726c2a63aaf78171e9ab990f137f69ecb521ed70708c6a840071d32e62a590c43021bdcb48d1d2027c1a3bb64cc1030be5ef78f1224 SHA512 3c4cf9cf312c78e845b1bcb710f0bbb20a2ce135c140ff32cd707b995b95a1c655ea6d5b064319d65268f88061a614e849f09c8d2b544f3084da97d688702d49 MISC metadata.xml 334 BLAKE2B 4adbd04c0edcc84925da47b32fee63d4652bf2a1bf5222a56e0e1c7cfe8aaa34275a2652c4416f8a80de11fd88217d8626d610fa857f0615f18bfd773a279e55 SHA512 e3d6dda6c44557523fd48b464b6d39fc45b90ba2ecbe03fb300a655973c1b2e654a24d8d381b769eba00d0d80fb5881e1dfec1694e223cd83047abba9f01a44f diff --git a/app-crypt/certbot-apache/certbot-apache-1.4.0.ebuild b/app-crypt/certbot-apache/certbot-apache-1.4.0.ebuild new file mode 100644 index 000000000000..6a66d1858399 --- /dev/null +++ b/app-crypt/certbot-apache/certbot-apache-1.4.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=(python{3_6,3_7}) + +if [[ ${PV} == 9999* ]]; then + EGIT_REPO_URI="https://github.com/certbot/certbot.git" + inherit git-r3 + S=${WORKDIR}/${P}/${PN} +else + SRC_URI="https://github.com/${PN%-apache}/${PN%-apache}/archive/v${PV}.tar.gz -> ${PN%-apache}-${PV}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" + S=${WORKDIR}/${PN%-apache}-${PV}/${PN} +fi + +inherit distutils-r1 + +DESCRIPTION="Apache plugin for certbot (Let's Encrypt Client)" +HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=">=app-crypt/acme-0.29.0[${PYTHON_USEDEP}] + >=app-crypt/certbot-1.1.0[${PYTHON_USEDEP}] + dev-python/python-augeas[${PYTHON_USEDEP}] + dev-python/zope-component[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}]" +DEPEND="test? ( ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}]" + +python_test() { + esetup.py test || die +} diff --git a/app-crypt/certbot-apache/certbot-apache-9999.ebuild b/app-crypt/certbot-apache/certbot-apache-9999.ebuild index 499084cf93b1..6a66d1858399 100644 --- a/app-crypt/certbot-apache/certbot-apache-9999.ebuild +++ b/app-crypt/certbot-apache/certbot-apache-9999.ebuild @@ -26,7 +26,6 @@ RESTRICT="!test? ( test )" RDEPEND=">=app-crypt/acme-0.29.0[${PYTHON_USEDEP}] >=app-crypt/certbot-1.1.0[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] dev-python/python-augeas[${PYTHON_USEDEP}] dev-python/zope-component[${PYTHON_USEDEP}] dev-python/zope-interface[${PYTHON_USEDEP}]" diff --git a/app-crypt/certbot-nginx/Manifest b/app-crypt/certbot-nginx/Manifest index 60b0f134e63b..09560dd364f7 100644 --- a/app-crypt/certbot-nginx/Manifest +++ b/app-crypt/certbot-nginx/Manifest @@ -1,4 +1,6 @@ DIST certbot-1.3.0.tar.gz 1362945 BLAKE2B bb36a7737275332f018d7f2283286e07e041892cc366f79e68df9eee7e57ca2186d36895d1923b032068a365878d09e49e17c1399a7418dbd8607c9a7efc1c26 SHA512 4205cdd1f3ddf500b9b952744db234636c086a856df80acd2d776305f4501eed07995e453e5c9b2c711fb0d1f1987d2bb8baaa13fccce8e000a38f486cfdc5d3 +DIST certbot-1.4.0.tar.gz 1381435 BLAKE2B 57d70a12ee38e1ba96f4c8c594c1940403e33d4cdf5111472a9c0c7d41061b2201792c38d9bb4ec516358f5592d2f689eeab31e1e686a534418b20eba2df4b4b SHA512 8926f724c47c0249e2e420cd8944f0b106682efaa2d9b211491ea4524fe4e64bb3ff4f21fd756996049d781a68294ab8307bd077b6d96fa00e09cbbdf4e59261 EBUILD certbot-nginx-1.3.0.ebuild 1002 BLAKE2B ce0f437e0c35c4384932b65f1f9bc68a7bb1f10b601941dddd87350d9c8745014cd1cfeb8253c8262fa07fede07a10cb42bb6584363c6a510e023b5cf40253ec SHA512 84cf0ce1e323a9f20a70f147d67465662fdc799df553dd9e74ddb35b8da4d8bf3b3d6179f23964d3145fc8d44804321352b779424b5f15c6e19626129f6a2f97 -EBUILD certbot-nginx-9999.ebuild 1004 BLAKE2B d9c6cdfb14346b94daab36f639191aeb826d1e550ac22c972d6f7203690a565274992111172c5672f2d695030920e762bca222f7fea1ccfc415a3b8e5c7951a2 SHA512 b728d99c7675bb42c1af6dcd3c88cbca72f7e3a3e4651e916437ec7aaac5fa43b675b47560a04b879c2f454c1e8f11bd2dd436eba1fe6761399c44c9068a0116 +EBUILD certbot-nginx-1.4.0.ebuild 969 BLAKE2B d6b7572af8756020330110055c1e3e4c28b54bb4f3adaedd71b565425b3d7d0950ca233f9a7c0040c7f6f8887c99227e661bebf2d97d054c687b28212e955703 SHA512 8ec6ed2c69c2f16ede2112f43d9b157b3b981e5c2177d21a4bf6a750f22cdec798e62eededf3ae0e0b6859f25e408531b3782ee2271a18188be48b49cdba8b6f +EBUILD certbot-nginx-9999.ebuild 969 BLAKE2B d6b7572af8756020330110055c1e3e4c28b54bb4f3adaedd71b565425b3d7d0950ca233f9a7c0040c7f6f8887c99227e661bebf2d97d054c687b28212e955703 SHA512 8ec6ed2c69c2f16ede2112f43d9b157b3b981e5c2177d21a4bf6a750f22cdec798e62eededf3ae0e0b6859f25e408531b3782ee2271a18188be48b49cdba8b6f MISC metadata.xml 334 BLAKE2B 4adbd04c0edcc84925da47b32fee63d4652bf2a1bf5222a56e0e1c7cfe8aaa34275a2652c4416f8a80de11fd88217d8626d610fa857f0615f18bfd773a279e55 SHA512 e3d6dda6c44557523fd48b464b6d39fc45b90ba2ecbe03fb300a655973c1b2e654a24d8d381b769eba00d0d80fb5881e1dfec1694e223cd83047abba9f01a44f diff --git a/app-crypt/certbot-nginx/certbot-nginx-1.4.0.ebuild b/app-crypt/certbot-nginx/certbot-nginx-1.4.0.ebuild new file mode 100644 index 000000000000..b6f70f8607be --- /dev/null +++ b/app-crypt/certbot-nginx/certbot-nginx-1.4.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=(python{3_6,3_7}) + +if [[ ${PV} == 9999* ]]; then + EGIT_REPO_URI="https://github.com/certbot/certbot.git" + inherit git-r3 + S=${WORKDIR}/${P}/${PN} +else + SRC_URI="https://github.com/${PN%-nginx}/${PN%-nginx}/archive/v${PV}.tar.gz -> ${PN%-nginx}-${PV}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" + S=${WORKDIR}/${PN%-nginx}-${PV}/${PN} +fi + +inherit distutils-r1 + +DESCRIPTION="Nginx plugin for certbot (Let's Encrypt Client)" +HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="${CDEPEND} + >=app-crypt/acme-1.4.0[${PYTHON_USEDEP}] + >=app-crypt/certbot-1.4.0[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + >=dev-python/pyparsing-1.5.5[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}]" +DEPEND="${CDEPEND}" diff --git a/app-crypt/certbot-nginx/certbot-nginx-9999.ebuild b/app-crypt/certbot-nginx/certbot-nginx-9999.ebuild index b87bdbf7b7dd..b6f70f8607be 100644 --- a/app-crypt/certbot-nginx/certbot-nginx-9999.ebuild +++ b/app-crypt/certbot-nginx/certbot-nginx-9999.ebuild @@ -25,9 +25,8 @@ IUSE="" CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" RDEPEND="${CDEPEND} - >=app-crypt/acme-1.0.0[${PYTHON_USEDEP}] - >=app-crypt/certbot-1.1.0[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] + >=app-crypt/acme-1.4.0[${PYTHON_USEDEP}] + >=app-crypt/certbot-1.4.0[${PYTHON_USEDEP}] dev-python/pyopenssl[${PYTHON_USEDEP}] >=dev-python/pyparsing-1.5.5[${PYTHON_USEDEP}] dev-python/zope-interface[${PYTHON_USEDEP}]" diff --git a/app-crypt/certbot/Manifest b/app-crypt/certbot/Manifest index 2fcde050d00a..cd426cefd3d9 100644 --- a/app-crypt/certbot/Manifest +++ b/app-crypt/certbot/Manifest @@ -1,4 +1,6 @@ DIST certbot-1.3.0.tar.gz 1362945 BLAKE2B bb36a7737275332f018d7f2283286e07e041892cc366f79e68df9eee7e57ca2186d36895d1923b032068a365878d09e49e17c1399a7418dbd8607c9a7efc1c26 SHA512 4205cdd1f3ddf500b9b952744db234636c086a856df80acd2d776305f4501eed07995e453e5c9b2c711fb0d1f1987d2bb8baaa13fccce8e000a38f486cfdc5d3 +DIST certbot-1.4.0.tar.gz 1381435 BLAKE2B 57d70a12ee38e1ba96f4c8c594c1940403e33d4cdf5111472a9c0c7d41061b2201792c38d9bb4ec516358f5592d2f689eeab31e1e686a534418b20eba2df4b4b SHA512 8926f724c47c0249e2e420cd8944f0b106682efaa2d9b211491ea4524fe4e64bb3ff4f21fd756996049d781a68294ab8307bd077b6d96fa00e09cbbdf4e59261 EBUILD certbot-1.3.0.ebuild 1482 BLAKE2B c937a391b768757ed01f31fa96596da3cad08ea7394af1b5f5a9a828ef97a4a948b9315a3fc499742eb95dd3370f2d303b52886dcc6df75d2d502801a18aa62d SHA512 e7081e69f95c7d2aec45938ca6cc7e3da6dc00d038cb3d9167e1e33102b84d06e6a7a3ff13c5734c933c0b062d1e07203d6002a3a3f1609c14874679d2b3d077 -EBUILD certbot-9999.ebuild 1484 BLAKE2B ec9e79981e59a16061161afacfbb68e889bbcc2f39874914af18f9442c762fa617c05132779b84ae8df5fc96680a3b96b7773cf7e82e6ced118d5a21c7c6eba6 SHA512 df7ebbc90d3f07e67507936ceff7f346dba3a8f91f6fa7a94bcf69fbff2c817f85df0da336c5bacc97643b32cdbde781fa0e66ac29df8ca14c4cf71856c23f24 +EBUILD certbot-1.4.0.ebuild 1449 BLAKE2B 33697537a8dfe539c1aee02b90745fd8da1150c94c9d842f17e3703c79f24fb5ba8b54a95a3f450d340abdc0240663e0b338c86a5a0b4e1506a591bc2a5e5a99 SHA512 a725b74a30ba0b7afd8ec12a02cdbbbb2f69054f588fc8f6da3ba47fdba481ba5b39b70f5609e1e874397d5e53319deb2a5589a2044079d009034fbdec0c3fe7 +EBUILD certbot-9999.ebuild 1449 BLAKE2B 33697537a8dfe539c1aee02b90745fd8da1150c94c9d842f17e3703c79f24fb5ba8b54a95a3f450d340abdc0240663e0b338c86a5a0b4e1506a591bc2a5e5a99 SHA512 a725b74a30ba0b7afd8ec12a02cdbbbb2f69054f588fc8f6da3ba47fdba481ba5b39b70f5609e1e874397d5e53319deb2a5589a2044079d009034fbdec0c3fe7 MISC metadata.xml 334 BLAKE2B e7b28e7d3e7c6fdce0c5120b29fbf5aa607408e2add6c0ad42e921fb1add9def38c6cb191129a5a6e1f0e3ea119caa6cdc74955b572e5d2c6f854d0b7c7c521a SHA512 a24ccf633fc9c2670dcd35801d95bd8ca0f4ea4d3d53b6651f2e8e3e280b95ec8a464d99f5423942c14b0777ae4551f46c1ff285caea460bc91cbc417a7a5b70 diff --git a/app-crypt/certbot/certbot-1.4.0.ebuild b/app-crypt/certbot/certbot-1.4.0.ebuild new file mode 100644 index 000000000000..182f2b91d51b --- /dev/null +++ b/app-crypt/certbot/certbot-1.4.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=(python{3_6,3_7,3_8}) + +if [[ ${PV} == 9999* ]]; then + EGIT_REPO_URI="https://github.com/certbot/certbot.git" + inherit git-r3 +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +fi +S=${WORKDIR}/${P}/${PN} + +inherit distutils-r1 + +DESCRIPTION="Let's encrypt client to automate deployment of X.509 certificates" +HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND=" + ${CDEPEND} + >=app-crypt/acme-0.40.0[${PYTHON_USEDEP}] + >=dev-python/configargparse-0.9.3[${PYTHON_USEDEP}] + dev-python/configobj[${PYTHON_USEDEP}] + >=dev-python/cryptography-2.8[${PYTHON_USEDEP}] + >=dev-python/distro-1.0.1[${PYTHON_USEDEP}] + >=dev-python/josepy-1.1.0[${PYTHON_USEDEP}] + >=dev-python/parsedatetime-1.3[${PYTHON_USEDEP}] + dev-python/pyrfc3339[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/zope-component[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}]" +DEPEND="${CDEPEND}" + +distutils_enable_tests pytest + +python_prepare_all() { + # required as deps of deps can trigger this too... + echo ' ignore:.*collections\.abc:DeprecationWarning' >> ../pytest.ini + distutils-r1_python_prepare_all +} diff --git a/app-crypt/certbot/certbot-9999.ebuild b/app-crypt/certbot/certbot-9999.ebuild index 5bbead32041e..182f2b91d51b 100644 --- a/app-crypt/certbot/certbot-9999.ebuild +++ b/app-crypt/certbot/certbot-9999.ebuild @@ -32,7 +32,6 @@ RDEPEND=" >=dev-python/cryptography-2.8[${PYTHON_USEDEP}] >=dev-python/distro-1.0.1[${PYTHON_USEDEP}] >=dev-python/josepy-1.1.0[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] >=dev-python/parsedatetime-1.3[${PYTHON_USEDEP}] dev-python/pyrfc3339[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] diff --git a/app-crypt/cfssl/Manifest b/app-crypt/cfssl/Manifest index cd97c39100c2..6432f77934e8 100644 --- a/app-crypt/cfssl/Manifest +++ b/app-crypt/cfssl/Manifest @@ -1,10 +1,4 @@ AUX cfssl-1.4.1-build-fix.patch 587 BLAKE2B 74651f5b21947cab2a004e25ca4b30cc6f33a7a5a7089c7d25929d0792f497139268c51ab3f1054dfdba0db073b2f57c0e1807f50b3278527611d17c4942951f SHA512 606d410d70f9b457fe83f2933bb0f335256ddbb1898911984a220da2ed635b732f5a04ad4902de42913aa987793165974117855a6b19857853478d9e7394fa9b -DIST cfssl-1.3.2.tar.gz 6867118 BLAKE2B 775b3419ecf878d9add13faf03a3e1d4cca7b30d965f1ca55c8faa5abf679188a1ea1f80c1416f19c85bc551395628a31da8669ca647e1c1e7a1a313d68f4c7b SHA512 aba27a282c8ca8e95769996aea7e5300b0c3f8fea7ae26484d19a7e1a0330f0b3a0649407062f1a10e8c93136693954e3b24c92456f69db3abee509f982ba554 -DIST cfssl-1.3.3.tar.gz 5005924 BLAKE2B 81e7ec1f27a6597d69f16254a5ded672b9b3ac0bc8dee0f5bb00939e86147b1ed0389d38ea406fe671f3de052ac2e88fe320ffbf6065a83c2d9627ac3c497740 SHA512 39b42f3f8c22e254fa8ed4079308ecad1b0f77cdb56e57099e434389866e58863687307d6cf0f5ec8e4664ad4743ee8728f47a6a1375f3f74f8206a709f0ffc3 -DIST cfssl-1.3.4.tar.gz 7092440 BLAKE2B 85a7a73ae5b18ae0e4ac02b1a4d5f633d73f2c0f81cb49ef85c39b6a241ac538220a8cebb448af795140a6308f46f6e53003f25a31edad452cb6db39ff95a9b2 SHA512 796f24f9a7cd9966b3586b5b08deb410570cc31ec747b0c834215c105df1b4fea4907bfa223d196ad71fb296724dc690b6ffd298c8ef81db1333ed3e69f1ecd4 DIST cfssl-1.4.1.tar.gz 5736648 BLAKE2B 581627eb269fcbbbe9ff3afe558c6ddc7afa10f563444899244045baa0ae195d8822b389e7c59bec6c9135b1159b18d2a5e497c83cd26eaa47a3a87de23ce694 SHA512 0aa557708a300e2eaf48a99d55794069530b6842584cdd867a864272b205c89d5abc2acf3a19d34b3b5519a6429b5f55685129638e65d574ad6afe5b7e1e1e8f -EBUILD cfssl-1.3.2.ebuild 750 BLAKE2B 68a9cb8b12c8f5accdd88c17dfbb061ba9213e5ba3e975ccc3b40bc69d6a16e8b4092462f45c84863e576a3586dca0d2d256b03a0fce8a4dc679f933a0645a76 SHA512 aefe6c912d5b40145a01bcdc273abacc1a93e5c76b12f26b0a04db13e6fccb9041939469fd98ed507adc5ca4ca84ecdf8833422643f87777331ddf27ca9448fe -EBUILD cfssl-1.3.3.ebuild 751 BLAKE2B 8d4ed51cb89139b96f1dc089843dc667e1e9209f95c7cc387815da16abebf224c123c68dc38ea81f57ee26d6bbdf3ea223401b3efe1067b26ce2ebe2443c3e05 SHA512 4dcf38025a8c280e310a92e97560cba2b3bac9a4ac4e8e15010e14d63023ebb407470976425d7b7342a9236195925afbb72a6ac736bb51ff646f508475f43b04 -EBUILD cfssl-1.3.4.ebuild 751 BLAKE2B 8d4ed51cb89139b96f1dc089843dc667e1e9209f95c7cc387815da16abebf224c123c68dc38ea81f57ee26d6bbdf3ea223401b3efe1067b26ce2ebe2443c3e05 SHA512 4dcf38025a8c280e310a92e97560cba2b3bac9a4ac4e8e15010e14d63023ebb407470976425d7b7342a9236195925afbb72a6ac736bb51ff646f508475f43b04 -EBUILD cfssl-1.4.1.ebuild 648 BLAKE2B 3cea9d53516b674e0d0b6e45ed7f346acc6a83398ed80ae5293c0daf86ffadba4c5b86e63ec7b72011fe7b544cc446e15aa14d8bf5625f59a3cd4af351486166 SHA512 e7a35497b87ef52025fb325cab03d6851d11e28d94287f482f4642d441cf902802c3db65ae2635d706c3e6cc97169d70330bbedd6bf6af0485e8071a6708ffe6 +EBUILD cfssl-1.4.1.ebuild 647 BLAKE2B dd609e6e27897765ad3fd1bbfe55362f484e633a5779a38f3d802b40406ece3ec343e0a1c76fdf75bdec144504b9046d582b2341605dfb12314a30cf4ee51152 SHA512 f13adc0c6c0274309b37ad504bf641483ae905173224a746bc6f045ebad138c21c294bd6707cb4e42f2ed6efcd1bacbf60d082e83a91daf357ec37b6bca9a2a5 MISC metadata.xml 329 BLAKE2B 5188aa700150b22b0d2972d57ee0db2d1a2239017edbf9547961126b7158060c74aaafd1ffedfa25f76402766a4403d41f3875a8bd2c43d84150177879e35186 SHA512 b56f2d72ad1a5ef0c2531cc1d3524bf13f7089d099bbd774d1774aca5dfb7f8c074b945203ccb80672c154f98d8728cf9d8671e7df9b328c01c2e79cb9ba8be5 diff --git a/app-crypt/cfssl/cfssl-1.3.2.ebuild b/app-crypt/cfssl/cfssl-1.3.2.ebuild deleted file mode 100644 index 79ee3c130db1..000000000000 --- a/app-crypt/cfssl/cfssl-1.3.2.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -EGO_PN="github.com/cloudflare/${PN}" -inherit golang-build golang-vcs-snapshot - -SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="amd64" - -DESCRIPTION="Cloudflare's PKI and TLS toolkit" -HOMEPAGE="https://github.com/cloudflare/cfssl" -LICENSE="BSD-2" -SLOT="0" -IUSE="hardened" - -RDEPEND="!!dev-lang/mono" #File collision (bug 614364) - -RESTRICT="test" - -src_compile() { - pushd src || die - CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" GOPATH="${S}" go install -v github.com/cloudflare/cfssl/cmd/... || die - popd || die -} - -src_install() { - dobin bin/* - pushd src/${EGO_PN} || die - dodoc CHANGELOG README.md - popd || die -} diff --git a/app-crypt/cfssl/cfssl-1.3.3.ebuild b/app-crypt/cfssl/cfssl-1.3.3.ebuild deleted file mode 100644 index 64942d2fca9b..000000000000 --- a/app-crypt/cfssl/cfssl-1.3.3.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -EGO_PN="github.com/cloudflare/${PN}" -inherit golang-build golang-vcs-snapshot - -SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64" - -DESCRIPTION="Cloudflare's PKI and TLS toolkit" -HOMEPAGE="https://github.com/cloudflare/cfssl" -LICENSE="BSD-2" -SLOT="0" -IUSE="hardened" - -RDEPEND="!!dev-lang/mono" #File collision (bug 614364) - -RESTRICT="test" - -src_compile() { - pushd src || die - CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" GOPATH="${S}" go install -v github.com/cloudflare/cfssl/cmd/... || die - popd || die -} - -src_install() { - dobin bin/* - pushd src/${EGO_PN} || die - dodoc CHANGELOG README.md - popd || die -} diff --git a/app-crypt/cfssl/cfssl-1.3.4.ebuild b/app-crypt/cfssl/cfssl-1.3.4.ebuild deleted file mode 100644 index 64942d2fca9b..000000000000 --- a/app-crypt/cfssl/cfssl-1.3.4.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -EGO_PN="github.com/cloudflare/${PN}" -inherit golang-build golang-vcs-snapshot - -SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64" - -DESCRIPTION="Cloudflare's PKI and TLS toolkit" -HOMEPAGE="https://github.com/cloudflare/cfssl" -LICENSE="BSD-2" -SLOT="0" -IUSE="hardened" - -RDEPEND="!!dev-lang/mono" #File collision (bug 614364) - -RESTRICT="test" - -src_compile() { - pushd src || die - CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" GOPATH="${S}" go install -v github.com/cloudflare/cfssl/cmd/... || die - popd || die -} - -src_install() { - dobin bin/* - pushd src/${EGO_PN} || die - dodoc CHANGELOG README.md - popd || die -} diff --git a/app-crypt/cfssl/cfssl-1.4.1.ebuild b/app-crypt/cfssl/cfssl-1.4.1.ebuild index 6cec5015d3dc..b660f9c05730 100644 --- a/app-crypt/cfssl/cfssl-1.4.1.ebuild +++ b/app-crypt/cfssl/cfssl-1.4.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/cloudflare/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="Apache-2.0 BSD BSD-1 MIT MPL-2.0" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="hardened" RDEPEND="!!dev-lang/mono" #File collision (bug 614364) diff --git a/app-crypt/jitterentropy-rngd/Manifest b/app-crypt/jitterentropy-rngd/Manifest index 7be8684b0a5a..25a79d7e2ff0 100644 --- a/app-crypt/jitterentropy-rngd/Manifest +++ b/app-crypt/jitterentropy-rngd/Manifest @@ -1,5 +1,5 @@ AUX jitterentropy-rngd-1.1.0-do-not-strip-and-compress.patch 581 BLAKE2B ee6f98d762fea06504ea7157ea2b13ececeaef1ee204cf0e5d63fc0932e1c41da13b2a8ad0cb8564548fcabe1989693ed16c7d461f75844323864e457e8fb804 SHA512 7c42e8deebf0d36fdd91b879cbc28eab1a92d413f64ab5f19eeaa214b51f6e96866c1bd53fdd6c2c4e335ae156cef24d2bba4c1dd6b557d96e89b61618703241 AUX jitterentropy-rngd-initd 338 BLAKE2B a717848317980f0376058c04f53cfc7ac4e771ffbd926b36f2f5e18e121d846aa9248b38cfae7d1c6e4c2241e0c1124394d9b5b58d2d119bf455d0d8786e74df SHA512 1993262b47e703514bba9a4dff18e58ff70b6b109a2eb3097b0231467ea7f948c6fb6d0f695988de6c2d41fa2295a8a40af19124572b8e72fe09610eaf8caa39 DIST jitterentropy-rngd-1.1.0.tar.gz 25891 BLAKE2B f711b173c68b74cbc0dbac1ae1b7a2beb5352b38e411f96172aa36ac7f720f05469f5fac2fa97b3514ec11fbe2ccfe0351ee7df8f51a8b36a566635ef93e4d08 SHA512 32835475b604e502caaab9b0d1cd9fe2920c126a27841669f6cf9c717094bfd4c11feab0f9f706ee4cf4caeedf26ced7039075499a3faaf41830c72968544646 -EBUILD jitterentropy-rngd-1.1.0.ebuild 599 BLAKE2B 78eec9773308331161880ec16b83108625ecae51fad2e0c5ebbc0044a2add2b69b67f691316d03e9b1cf3cbdfe9b7fa37631459a5383bfe0ab15c678cd220eaa SHA512 3dd11d7648f2ff86afd0f097a35e66bc488b56a0323c9adc74147a44dc7dd42d74f4cbefe017eda780c4d34a3337eb3faba39871027e5e6caddbd8192ded2a48 +EBUILD jitterentropy-rngd-1.1.0.ebuild 605 BLAKE2B 04c2f307c31d2b26befd16f5e39d81445ae958fe7c5003363210ec25d5f00a87f0aef27f66757274f181b8303b649bf71dd0511c56eeb055bebdc94853b96d70 SHA512 7c4d42890396959d69ae8a215e9bf23ba2546655814baa7830b444208e7067fcd481cd7f3fae64b67551f457ef7fac8180e65436e44502b31be903a5599f7b4f MISC metadata.xml 598 BLAKE2B 50854b04b1cf0b6370888000503a850d5a34b9cc49fbe917f26ff0a6d4fed2204e1b1921d06a1238c47d31fb92c82d8631a56c2fa60e6ef88b7d84aee4897aed SHA512 d13cb55c4649dff554018e04025e741c51397785f2951d1aa8ceb0f7712a2ed48c39b57ac4f6c197f8a4c96bfe8ba44023107201df5ab603d7ea2f11b0713227 diff --git a/app-crypt/jitterentropy-rngd/jitterentropy-rngd-1.1.0.ebuild b/app-crypt/jitterentropy-rngd/jitterentropy-rngd-1.1.0.ebuild index 2a3e017c98e8..1bfdd410b06d 100644 --- a/app-crypt/jitterentropy-rngd/jitterentropy-rngd-1.1.0.ebuild +++ b/app-crypt/jitterentropy-rngd/jitterentropy-rngd-1.1.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/smuellerDD/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~mips ~x86" IUSE="" PATCHES=( diff --git a/app-crypt/libb2/Manifest b/app-crypt/libb2/Manifest index a6fac6950a3c..955a10f8d7a5 100644 --- a/app-crypt/libb2/Manifest +++ b/app-crypt/libb2/Manifest @@ -1,4 +1,5 @@ +AUX libb2-0.98.1-distcc.patch 473 BLAKE2B 245a73813769d12c83089893d2a82fcb9f6f7f5a284b12997132d271484a4e5ca8df1891a83514a2c9aae984bd003424290ac4700c2e24a9885694c4e5bdedc3 SHA512 9684f9358dff01b23a799c74c0e72f3af9bec1a5577e66620c24b0a0e91a0e17fd6ab426b42e238375529eed4fbd47b5974764bd136907614abccd21c13d0c65 DIST libb2-0.98.1.tar.gz 280826 BLAKE2B aa8c3dee3032f457410479be12d00c79a6ca6a7c0376a5c70265d30ff25b50663171f7096141834d4faa4dd5027f38b23b774e59be63475a3ecba855337fb1aa SHA512 a666fdbd1efa9cfff3028e953c62f21ba092c6733ccd12d4d04f1f836fc9747fc90053bc9166510d251d332b91e133853d2cc9b61c279517bd65b05e8483250b -EBUILD libb2-0.98.1-r1.ebuild 1744 BLAKE2B 21d757b2eb0d5d61620abd2a268389757cb38cbbb7e08953cdbf9070b588fba7ac59bd21121f4ab393fd482b25e82f5d2fefeae239d03e1066be295a1ab82d81 SHA512 69296789036f4d5e403f2d17c054c439a680ec8eeca1b483d88c24f27e13d44606ad7595d68fa9f5eeba1c9212f0f2553bf5c37f05484aa0b65bcec9f9e289d1 EBUILD libb2-0.98.1-r2.ebuild 1808 BLAKE2B b20f743e0ec0edd966ec8c1687a811c91c46c67dad1b066ac081ac9a33ef95ade63e7aea60719cf5717a1248eae926b074847f4ce4b0d03aeb8901538533142a SHA512 98e6f77472310acf180d7aae0bcd01881ac5c38147fd3839fdfa9c3b9d9a29fca8446094c40fdd2c40d5dd421825da0d5dffc9b2ca126580918a65ce11c75452 +EBUILD libb2-0.98.1-r3.ebuild 1862 BLAKE2B 497f383e92311492a64503af8ff15cdcce82ba0cea735b63115d19ac724fd4172d4ed1cc779d707b8cc60822e03211eb8e91fd916213455bf6e3a2e7be083ebc SHA512 8a5e4e74bffa44adcad06d76a8eb4c86d1dcd8404751ae3a82afe43c75dccd0bc0d5a2fafeda886d164408e58fff722d15bf4fe42379e5a827c0766059679715 MISC metadata.xml 688 BLAKE2B dafb52bda4cb5c27bbbb4cba85c178ce11e9511f0dedfed4ff3afe40789a28e4a8c9c275a1be7e86568419c29011c1a4ae5c67f7b778ece3c750d8a919d5d930 SHA512 a98e96312724a3af5d104e4adbb9f60cac16124c9beac2622045985c1b0c2276ff1d56561d59cfb5a24b57d29577312c7e73bdfe73bbe735c1c320b699065b11 diff --git a/app-crypt/libb2/files/libb2-0.98.1-distcc.patch b/app-crypt/libb2/files/libb2-0.98.1-distcc.patch new file mode 100644 index 000000000000..2e6a1671781b --- /dev/null +++ b/app-crypt/libb2/files/libb2-0.98.1-distcc.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/704044#c8 + +Patch by Alexey + +--- a/src/Makefile.am 2020-04-26 11:16:22.354103351 +0100 ++++ b/src/Makefile.am 2020-04-26 11:16:31.584080899 +0100 +@@ -18,8 +18,7 @@ LDFLAGS += -version-info $(B2_LIBRARY_VE + lib_LTLIBRARIES = libb2.la + libb2_la_LIBADD = # -lgomp -lpthread + libb2_la_CPPFLAGS = -DSUFFIX= \ +- $(LTDLINCL) \ +- ${top_builddir}/src/ ++ $(LTDLINCL) + + include_HEADERS = blake2.h + diff --git a/app-crypt/libb2/libb2-0.98.1-r1.ebuild b/app-crypt/libb2/libb2-0.98.1-r1.ebuild deleted file mode 100644 index a27fb95fcee3..000000000000 --- a/app-crypt/libb2/libb2-0.98.1-r1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools toolchain-funcs - -DESCRIPTION="C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp" -HOMEPAGE="https://github.com/BLAKE2/libb2" -GITHASH="73d41c8255a991ed2adea41c108b388d9d14b449" -SRC_URI="https://github.com/BLAKE2/libb2/archive/${GITHASH}.tar.gz -> ${P}.tar.gz" - -LICENSE="CC0-1.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="static-libs native-cflags openmp" - -DEPEND=" - openmp? ( - || ( >=sys-devel/gcc-4.2:*[openmp] sys-devel/clang-runtime:*[openmp] ) - ) -" -RDEPEND="${DEPEND}" - -S=${WORKDIR}/${PN}-${GITHASH} - -pkg_setup() { - if [[ ${MERGE_TYPE} != "binary" ]] && use openmp && ! tc-has-openmp; then - ewarn "You are using a compiler without OpenMP support" - die "Need an OpenMP capable compiler" - fi -} - -src_prepare() { - default - # fix bashism - sed -i -e 's/ == / = /' configure.ac || die - # https://github.com/BLAKE2/libb2/pull/28 - echo 'libb2_la_LDFLAGS = -no-undefined' >> src/Makefile.am || die - eautoreconf # upstream doesn't make releases -} - -src_configure() { - econf \ - $(use_enable static-libs static) \ - $(use_enable native-cflags native) \ - $(use_enable openmp) -} - -do_make() { - # respect our CFLAGS when native-cflags is not in effect - local openmp=$(use openmp && echo -fopenmp) - emake $(use native-cflags && echo no)CFLAGS="${CFLAGS} ${openmp}" "$@" -} - -src_compile() { - do_make -} - -src_test() { - do_make check -} - -src_install() { - default - use static-libs || find "${ED}" -name '*.la' -type f -delete || die -} diff --git a/app-crypt/libb2/libb2-0.98.1-r3.ebuild b/app-crypt/libb2/libb2-0.98.1-r3.ebuild new file mode 100644 index 000000000000..930713363bac --- /dev/null +++ b/app-crypt/libb2/libb2-0.98.1-r3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib-minimal toolchain-funcs + +DESCRIPTION="C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp" +HOMEPAGE="https://github.com/BLAKE2/libb2" +GITHASH="73d41c8255a991ed2adea41c108b388d9d14b449" +SRC_URI="https://github.com/BLAKE2/libb2/archive/${GITHASH}.tar.gz -> ${P}.tar.gz" + +LICENSE="CC0-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs native-cflags openmp" + +DEPEND=" + openmp? ( + || ( >=sys-devel/gcc-4.2:*[openmp] sys-devel/clang-runtime:*[openmp] ) + ) +" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN}-${GITHASH} + +PATCHES=( "${FILESDIR}"/${P}-distcc.patch ) + +pkg_setup() { + if [[ ${MERGE_TYPE} != "binary" ]] && use openmp && ! tc-has-openmp; then + ewarn "You are using a compiler without OpenMP support" + die "Need an OpenMP capable compiler" + fi +} + +src_prepare() { + default + # fix bashism + sed -i -e 's/ == / = /' configure.ac || die + # https://github.com/BLAKE2/libb2/pull/28 + echo 'libb2_la_LDFLAGS = -no-undefined' >> src/Makefile.am || die + eautoreconf # upstream doesn't make releases +} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + $(use_enable static-libs static) \ + $(use_enable native-cflags native) \ + $(use_enable openmp) +} + +do_make() { + # respect our CFLAGS when native-cflags is not in effect + local openmp=$(use openmp && echo -fopenmp) + emake $(use native-cflags && echo no)CFLAGS="${CFLAGS} ${openmp}" "$@" +} + +multilib_src_compile() { + do_make +} + +multilib_src_test() { + do_make check +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name '*.la' -type f -delete || die +} diff --git a/app-crypt/libsecret/Manifest b/app-crypt/libsecret/Manifest index 340b223a1b6b..eb7ff2dabcf9 100644 --- a/app-crypt/libsecret/Manifest +++ b/app-crypt/libsecret/Manifest @@ -1,7 +1,7 @@ DIST libsecret-0.18.8.tar.xz 509432 BLAKE2B 3e3995d2c44367e31f3914087494764acfe82fb597b524c4982b4fca4e16612509c675f545191ee3cdae59698614395bef54ad82ae88a7e4e19898ba0be7828f SHA512 9e2ec8d458af6ed078bf3c6d956599f73f2cc7720332c424e9aede1f77f3d969c5122cf7b70899bc07ad96a3a628bf79bc5fffa88274d1ef2bcaaca6719f90d4 -DIST libsecret-0.20.1.tar.xz 528416 BLAKE2B f9e1b089c46e066abf06ba11d0cb49762599a22e0768ce65d29425eb9eef5f557c338b3704b76af29f4f61c9d59cfa14d045f0b4426d151899e307dbafaa9a84 SHA512 d8fca5f4da63427f594e1cb38c91330a98ab706aa945f8e735337f3fd342895bc96ceb36390ba01a4c0b9c5d503c4b544753c3243c444579f46f7b2e7836d1ac DIST libsecret-0.20.2.tar.xz 526224 BLAKE2B cae93962480f65d2c91b1c26a23321d19c256692754ef37c658e346a6cb6b91cdebe134516c3c8652c5ee502b8f7a070a8d519ed878b2f6dfc124ea7b032613f SHA512 89143c8ccc8f6fa0cda2c98baef92e8cbf9b319a984826a09c527125e14712023ee65cada42a2c9232524528da8c1c3d2235ecbcb93e2f06e94121a601c22857 +DIST libsecret-0.20.3.tar.xz 526388 BLAKE2B ae2e64af61c269eb109fa7840cc7ff2362ac69eab4b452074c2cb3a80b26cc88e8d341a7649e0f16fa73541943d968dfbd6f3cc802d99a37f3a7d91e8b20cfe3 SHA512 020e1954e0965f33ee15f35e1f439b6c1650322a9112078f7a3e265cee83ad99d217ae3b363fbadc06c5cb0941f7e544d91da72e5be1c6b96992c071e6170c22 EBUILD libsecret-0.18.8.ebuild 2652 BLAKE2B 07cbecd0bbef05c9c5538e5a212b7533ab61a39e563e5a7cec21ff75b98d61802ed66512f282ce368f5aba6093b775c00afcf48d29618074fdfc175d7667c83c SHA512 e42f531f040f7600bcdc4af20f6cc3db23a7e886e683c6202de97484fe52876e763f75b8ecb3b1a67436ca84a04fdc97625bb456b9bc414fa5ab81da54d4d54a -EBUILD libsecret-0.20.1.ebuild 2663 BLAKE2B d52f33a3a7aaba917f8ac2ca6949beebbf4cf1c9f6ce4493513030a7cdad5cb4448b904cc71a5813c28ccd518ec720d86c92665421bf9b9f3636e7644970afea SHA512 065315ebe759bb893f7adaaee0c13fe44d22d6d0b5f43023e1c9e5772d2c485d8d6ec1e3a36989ec47b0a00bf11bf17cf444a8b86d55f2b198da00367477cfe9 EBUILD libsecret-0.20.2.ebuild 2658 BLAKE2B 2e186b496513d243af36dcf5df4da4601a2dda8579572f73ca8af7f996fc880844a888385b470f5210514a45eda0b8044616e7857ec356684e6cef34d6b7562f SHA512 f5e847b7a183c6b8dfbcee7ddad0f2b673363d4b82ff821ec64f5422b1bf6d3511f3ebac13a5ca2cd1249093f233e927348aba46d4695f952a55029c1367212c +EBUILD libsecret-0.20.3.ebuild 2663 BLAKE2B d52f33a3a7aaba917f8ac2ca6949beebbf4cf1c9f6ce4493513030a7cdad5cb4448b904cc71a5813c28ccd518ec720d86c92665421bf9b9f3636e7644970afea SHA512 065315ebe759bb893f7adaaee0c13fe44d22d6d0b5f43023e1c9e5772d2c485d8d6ec1e3a36989ec47b0a00bf11bf17cf444a8b86d55f2b198da00367477cfe9 MISC metadata.xml 253 BLAKE2B a1efbd3751efaa83ee173f557ec1c8a4497a90b60896cf5a7a07da40b4f94a7a299ca0385477e82b2f5e5dbdf9afa482ccbe21f35ef44214e9c451d764b65529 SHA512 8d59f413993268ca783f7407b676900bb2d964754bf705d4175e2bafbe058a52af74f3928e4bd84d292518f8cf13fab7051486ab7cdc61d02fae6e0188d44442 diff --git a/app-crypt/libsecret/libsecret-0.20.1.ebuild b/app-crypt/libsecret/libsecret-0.20.1.ebuild deleted file mode 100644 index 28696c25eb4b..000000000000 --- a/app-crypt/libsecret/libsecret-0.20.1.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python3_{6,7} ) -VALA_USE_DEPEND=vapigen - -inherit gnome2 multilib-minimal python-any-r1 vala virtualx - -DESCRIPTION="GObject library for accessing the freedesktop.org Secret Service API" -HOMEPAGE="https://wiki.gnome.org/Projects/Libsecret" - -LICENSE="LGPL-2.1+ Apache-2.0" # Apache-2.0 license is used for tests only -SLOT="0" - -IUSE="+crypt +introspection test +vala" -RESTRICT="!test? ( test )" -# Tests fail with USE=-introspection, https://bugs.gentoo.org/655482 -REQUIRED_USE="test? ( introspection ) - vala? ( introspection )" - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" - -RDEPEND=" - >=dev-libs/glib-2.44:2[${MULTILIB_USEDEP}] - crypt? ( >=dev-libs/libgcrypt-1.2.2:0=[${MULTILIB_USEDEP}] ) - introspection? ( >=dev-libs/gobject-introspection-1.29:= ) -" -PDEPEND=">=gnome-base/gnome-keyring-3 -" -# PDEPEND to avoid circular dep (bug #547456) -# gnome-keyring needed at runtime as explained at https://bugs.gentoo.org/475182#c2 -# Add ksecrets to PDEPEND when it's added to portage -DEPEND="${RDEPEND} - dev-libs/libxslt - dev-util/gdbus-codegen - >=dev-util/gtk-doc-am-1.9 - >=sys-devel/gettext-0.19.8 - virtual/pkgconfig[${MULTILIB_USEDEP}] - test? ( - $(python_gen_any_dep ' - dev-python/mock[${PYTHON_USEDEP}] - dev-python/dbus-python[${PYTHON_USEDEP}] - introspection? ( dev-python/pygobject:3[${PYTHON_USEDEP}] )') - introspection? ( >=dev-libs/gjs-1.32 ) - ) - vala? ( $(vala_depend) ) -" - -python_check_deps() { - if use introspection; then - has_version --host-root "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return - fi - has_version --host-root "dev-python/mock[${PYTHON_USEDEP}]" && - has_version --host-root "dev-python/dbus-python[${PYTHON_USEDEP}]" -} - -pkg_setup() { - use test && python-any-r1_pkg_setup -} - -src_prepare() { - use vala && vala_src_prepare - gnome2_src_prepare - - # Drop unwanted CFLAGS modifications - sed -e 's/CFLAGS="$CFLAGS -\(g\|O0\|O2\)"//' -i configure || die -} - -multilib_src_configure() { - local ECONF_SOURCE=${S} - gnome2_src_configure \ - --enable-manpages \ - --disable-strict \ - --disable-coverage \ - --disable-static \ - $(use_enable crypt gcrypt) \ - $(multilib_native_use_enable introspection) \ - $(multilib_native_use_enable vala) \ - LIBGCRYPT_CONFIG="${EPREFIX}/usr/bin/${CHOST}-libgcrypt-config" - - if multilib_is_native_abi; then - ln -s "${S}"/docs/reference/libsecret/html docs/reference/libsecret/html || die - fi -} - -multilib_src_test() { - # tests fail without gobject-introspection - multilib_is_native_abi && virtx emake check -} - -multilib_src_install() { - gnome2_src_install -} diff --git a/app-crypt/libsecret/libsecret-0.20.3.ebuild b/app-crypt/libsecret/libsecret-0.20.3.ebuild new file mode 100644 index 000000000000..28696c25eb4b --- /dev/null +++ b/app-crypt/libsecret/libsecret-0.20.3.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{6,7} ) +VALA_USE_DEPEND=vapigen + +inherit gnome2 multilib-minimal python-any-r1 vala virtualx + +DESCRIPTION="GObject library for accessing the freedesktop.org Secret Service API" +HOMEPAGE="https://wiki.gnome.org/Projects/Libsecret" + +LICENSE="LGPL-2.1+ Apache-2.0" # Apache-2.0 license is used for tests only +SLOT="0" + +IUSE="+crypt +introspection test +vala" +RESTRICT="!test? ( test )" +# Tests fail with USE=-introspection, https://bugs.gentoo.org/655482 +REQUIRED_USE="test? ( introspection ) + vala? ( introspection )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + >=dev-libs/glib-2.44:2[${MULTILIB_USEDEP}] + crypt? ( >=dev-libs/libgcrypt-1.2.2:0=[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.29:= ) +" +PDEPEND=">=gnome-base/gnome-keyring-3 +" +# PDEPEND to avoid circular dep (bug #547456) +# gnome-keyring needed at runtime as explained at https://bugs.gentoo.org/475182#c2 +# Add ksecrets to PDEPEND when it's added to portage +DEPEND="${RDEPEND} + dev-libs/libxslt + dev-util/gdbus-codegen + >=dev-util/gtk-doc-am-1.9 + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig[${MULTILIB_USEDEP}] + test? ( + $(python_gen_any_dep ' + dev-python/mock[${PYTHON_USEDEP}] + dev-python/dbus-python[${PYTHON_USEDEP}] + introspection? ( dev-python/pygobject:3[${PYTHON_USEDEP}] )') + introspection? ( >=dev-libs/gjs-1.32 ) + ) + vala? ( $(vala_depend) ) +" + +python_check_deps() { + if use introspection; then + has_version --host-root "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return + fi + has_version --host-root "dev-python/mock[${PYTHON_USEDEP}]" && + has_version --host-root "dev-python/dbus-python[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + use vala && vala_src_prepare + gnome2_src_prepare + + # Drop unwanted CFLAGS modifications + sed -e 's/CFLAGS="$CFLAGS -\(g\|O0\|O2\)"//' -i configure || die +} + +multilib_src_configure() { + local ECONF_SOURCE=${S} + gnome2_src_configure \ + --enable-manpages \ + --disable-strict \ + --disable-coverage \ + --disable-static \ + $(use_enable crypt gcrypt) \ + $(multilib_native_use_enable introspection) \ + $(multilib_native_use_enable vala) \ + LIBGCRYPT_CONFIG="${EPREFIX}/usr/bin/${CHOST}-libgcrypt-config" + + if multilib_is_native_abi; then + ln -s "${S}"/docs/reference/libsecret/html docs/reference/libsecret/html || die + fi +} + +multilib_src_test() { + # tests fail without gobject-introspection + multilib_is_native_abi && virtx emake check +} + +multilib_src_install() { + gnome2_src_install +} diff --git a/app-crypt/libu2f-host/Manifest b/app-crypt/libu2f-host/Manifest index cfabcf0eab1a..a0c39aceb143 100644 --- a/app-crypt/libu2f-host/Manifest +++ b/app-crypt/libu2f-host/Manifest @@ -1,3 +1,4 @@ +AUX libu2f-host-1.1.10-json-boolean.patch 1101 BLAKE2B c603290ae3f34ac9c6eccbee080ac83d7fcea2dfad69f1088de39cc35165fe7333acafee0aac53c9d973fd0b266bb822a1a68f48e64a492dbb5440976c2ecaf3 SHA512 e8b516d797bbb136fe51c367248be6d1035de409156a35ce55c9e871b236178c610e36f5859121e7fddae28e17c44db9bfa21ce4584acb3c45c6f68fbaba46e2 DIST libu2f-host-1.1.10.tar.xz 471676 BLAKE2B 5066eaaaeda3b8c015afa8946f0af3b1b90a34488d4c71811c0d8f57a3ed2e4c8cb3d82d2df147dcf13ac3c384522d22f25894ac3a2d994a75b288891a67640a SHA512 91c5bf3994f1d3c9bd144f54b14b0404d839c15bef3c318619decdf1bd37214bcff33927af78a9826ff7d0bc9907c912a0e31104ae68d3a727a8436f2a1dbf7a -EBUILD libu2f-host-1.1.10.ebuild 965 BLAKE2B c9a6946736301a3cffc70d778d4a5e00ec04bca1cc06cbf1b0e18bc7d2c4af781384a48e77f21d4633cfb417716d437c19ee03d8ec2091af089f0574eb8fb3e2 SHA512 47999e6554bcab1d7115631918f321f6aa843284746b8e6167eff195be8547775d955be1730f144cd5620d7c80c50f734ea477fc625855313676236e044b064d +EBUILD libu2f-host-1.1.10.ebuild 1016 BLAKE2B bbcaa944397cacbb294b213199de2242b1b0288cfa1dd1b3d2527893fc6d7101f8250a11173d5d7abad061d070ef9e5886bf623bf269baeff5008ad6084bd520 SHA512 1cff390fd989f9d960108b79a66eb9b196ef355122f759ab6d4ae9ce4a8a424afb66a7bc4702d6dbbdf7a31508cdcccbe2e05cd504f203be6bb1f07b15756319 MISC metadata.xml 561 BLAKE2B 5c5f06eedf51575a587ed9c191dcc6f0e84793ef095ae14741ac9fff4fcebe759cd12fe71456d120004f40037e3827a500852ff0eb1383dc860251df59c9cb8f SHA512 a3da7b20b8c880100dfb6518f58fe372ef64b095b4ae22072d1546a43713be5b5ab84f469abf1cad8d507ab85c37be33178983ab58e2973f2ad607e3c021c1e2 diff --git a/app-crypt/libu2f-host/files/libu2f-host-1.1.10-json-boolean.patch b/app-crypt/libu2f-host/files/libu2f-host-1.1.10-json-boolean.patch new file mode 100644 index 000000000000..cee17d5b0b04 --- /dev/null +++ b/app-crypt/libu2f-host/files/libu2f-host-1.1.10-json-boolean.patch @@ -0,0 +1,34 @@ +From 840f01135d2892f45e71b9e90405de587991bd03 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= +Date: Mon, 13 Apr 2020 14:12:25 +0200 +Subject: [PATCH] Add support for upcoming json-c 0.14.0. + +TRUE/FALSE are not defined anymore. 1 and 0 are used instead. +--- + u2f-host/u2fmisc.c | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + +diff --git a/u2f-host/u2fmisc.c b/u2f-host/u2fmisc.c +index e40ca3d..5a032ce 100644 +--- a/u2f-host/u2fmisc.c ++++ b/u2f-host/u2fmisc.c +@@ -33,6 +33,19 @@ typedef int json_bool; + #define u2fh_json_object_object_get(obj, key, value) (value = json_object_object_get(obj, key)) == NULL ? (json_bool)FALSE : (json_bool)TRUE + #endif + ++/* json-c 0.13.99 does not define TRUE/FALSE anymore ++ * the json-c maintainers replaced them with pure 1/0 ++ * https://github.com/json-c/json-c/commit/0992aac61f8b ++ */ ++#if defined JSON_C_VERSION_NUM && JSON_C_VERSION_NUM >= ((13 << 8) | 99) ++#ifndef FALSE ++#define FALSE 0 ++#endif ++#ifndef TRUE ++#define TRUE 1 ++#endif ++#endif ++ + static void + dumpHex (unsigned char *data, int offs, int len) + { diff --git a/app-crypt/libu2f-host/libu2f-host-1.1.10.ebuild b/app-crypt/libu2f-host/libu2f-host-1.1.10.ebuild index 0c27d050b295..3355f7bcc195 100644 --- a/app-crypt/libu2f-host/libu2f-host-1.1.10.ebuild +++ b/app-crypt/libu2f-host/libu2f-host-1.1.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -25,6 +25,8 @@ BDEPEND="virtual/pkgconfig" CONFIG_CHECK="~HIDRAW" +PATCHES=( "${FILESDIR}/${P}-json-boolean.patch" ) + src_install() { default if use kernel_linux; then diff --git a/app-crypt/libu2f-server/Manifest b/app-crypt/libu2f-server/Manifest index 192a52a6bbfe..dff82de8a70d 100644 --- a/app-crypt/libu2f-server/Manifest +++ b/app-crypt/libu2f-server/Manifest @@ -1,4 +1,5 @@ AUX libu2f-server-1.1.0-disable-help2man-gengetopt-checks.patch 1137 BLAKE2B fc1d8287d590acf1385747091195e4401f9c3cba2ad6c0911f2ca549504569250567ef5e1b64124b5545460ba53e7e61354c4393051c275212b40c5a70764dd9 SHA512 cae13f6c9738be740055d0d26a7913f84bee0edf3df06d8a4e3da39dbcd7dd24ca19af638c1f00c3e45d68389e9ae842ab2a92ccd690a04af610646705edd498 +AUX libu2f-server-1.1.0-jsonc014.patch 1137 BLAKE2B 84d26d1439662ee15e72aae0f8789be6326d2fc4eb987d1ab961ce3200750414d9e5173c1f6ec16d210ce0a9d7aa4fd274d84967cef611e1638a1f2404da1e38 SHA512 eaeea076939f52f0c28a24825b56c67fb05be4d1c392f1cadf10452cc465edc5c711c998ef836cabf81886b89641492f9df7c9fe9ae03fe2f05bfcda2f65bdac DIST libu2f-server-1.1.0.tar.xz 269128 BLAKE2B 084b177a878e8216f2ee5af9eeee11e691edcd12b7ed1b1c57f74bcc45f0418a0d44a9e72423c41b4104aa9f69807a0289172d08d21d168c6be5b36ee8c70bc3 SHA512 ebdb7c8c20727f37f4e31d8f16df7966603374f78478ada723a7b9bec1b0b0622caf6d12a65067ac8651f6088aaad61b2ad6ed51b9d6ef0dc45f031c974d8ff9 -EBUILD libu2f-server-1.1.0.ebuild 1211 BLAKE2B 8061749d02a55b40d4610a977b544c7afb486c0998ce8ef15df0f6ffd7cc3dcfcea5ee48df2b206dca4c860575fc37711a6af4bf3524c8fff5919d9dffb8113a SHA512 4c7feb8946c95f9f8852ec5abffc349528913467b56dbd4a8ada01ff424e235209e2ae025d947957ef526960894bb637778e3884b3e3fe74a3b337a1d2a29e4b +EBUILD libu2f-server-1.1.0.ebuild 1253 BLAKE2B ea8d8530aa01e1f411280be1bd82c92e7a5659b4982ee3f5b7829140db0c69021a7d37636a374bf42140f2d1898e24fb6691e10490d6a97a8ed8a33809760e25 SHA512 44d37de15b2435b9330121cd0146aeae6495d5bf1f1dd49a7991307fe24ce5dd2c9b094bc090474c7ccef0785191380a20214ebeab1b47d8a4191cec7de43976 MISC metadata.xml 351 BLAKE2B 9b08643cd9cfab47436281dd57bca31e713980d3cb0b5d20fcd9a915bc5adbcf589ac4df9f03929a8f57e7a11393602afe05d025d10bb04d425bacc1f4765324 SHA512 6a1aeb9117473d5c2ea5de3a3043de7926bb70e2cc00ac8c13b4d3a27b7fd3c7ca6611bc4f4ed9faeb611f228f5a8ffc657e924fdf800133d62a70b48e408f22 diff --git a/app-crypt/libu2f-server/files/libu2f-server-1.1.0-jsonc014.patch b/app-crypt/libu2f-server/files/libu2f-server-1.1.0-jsonc014.patch new file mode 100644 index 000000000000..823dd15abca8 --- /dev/null +++ b/app-crypt/libu2f-server/files/libu2f-server-1.1.0-jsonc014.patch @@ -0,0 +1,34 @@ +From f7c4983b31909299c47bf9b2627c84b6bfe225de Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= +Date: Mon, 13 Apr 2020 14:16:20 +0200 +Subject: [PATCH] Add support for upcoming json-c 0.14.0. + +TRUE/FALSE are not defined anymore. 1 and 0 are used instead. +--- + u2f-server/core.c | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + +diff --git a/u2f-server/core.c b/u2f-server/core.c +index 2fb325e..895c004 100644 +--- a/u2f-server/core.c ++++ b/u2f-server/core.c +@@ -44,6 +44,19 @@ typedef int json_bool; + #define u2fs_json_object_object_get(obj, key, value) (value = json_object_object_get(obj, key)) == NULL ? (json_bool)FALSE : (json_bool)TRUE + #endif + ++/* json-c 0.13.99 does not define TRUE/FALSE anymore ++ * the json-c maintainers replaced them with pure 1/0 ++ * https://github.com/json-c/json-c/commit/0992aac61f8b ++ */ ++#if defined JSON_C_VERSION_NUM && JSON_C_VERSION_NUM >= ((13 << 8) | 99) ++#ifndef FALSE ++#define FALSE 0 ++#endif ++#ifndef TRUE ++#define TRUE 1 ++#endif ++#endif ++ + static u2fs_rc encode_b64u(const char *data, size_t data_len, char *output) + { + base64_encodestate b64; diff --git a/app-crypt/libu2f-server/libu2f-server-1.1.0.ebuild b/app-crypt/libu2f-server/libu2f-server-1.1.0.ebuild index 15c7230119c7..a16820c036ea 100644 --- a/app-crypt/libu2f-server/libu2f-server-1.1.0.ebuild +++ b/app-crypt/libu2f-server/libu2f-server-1.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -28,6 +28,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/${PN}-1.1.0-disable-help2man-gengetopt-checks.patch" + "${FILESDIR}/${PN}-1.1.0-jsonc014.patch" ) src_prepare() { diff --git a/app-crypt/md4sum/Manifest b/app-crypt/md4sum/Manifest index 4a738bc57d95..b83896b36670 100644 --- a/app-crypt/md4sum/Manifest +++ b/app-crypt/md4sum/Manifest @@ -1,4 +1,4 @@ AUX md4sum-fix-out-of-bounds-write.diff 271 BLAKE2B 44573278991d38979ca6f7d18b51be2d9f4150b1491c0650b0ae99d203be475a9c15bfcbdba1dab557a5467aff3c78a16b098d417905b24270164a9969d81ff3 SHA512 bcf06b6da80b67965547d359774c4462516dd69d36ed84723d9baaa93472405ed4d790ce687affa148be39157137ef46399e355540c18271f9164318f7731d65 DIST md4sum-0.02.03.tar.gz 26819 BLAKE2B 6e7fb76a21d13276a7444e1c1d1d0a05e90399dc7a99b3e2e6d24d1dc46f45b086b99d00e4c9e1821c4a82a9fe985e4823a235e254abba475bd639f98536aea6 SHA512 5a05760aa6a770d9f55a41e42bdf6801dcd67bc804ead5bd84aecc48e5ee5a7c8b01d4a1e1767a4cc1f8695d66ed16c6a1f09b58d236c27db317f227e02e3762 -EBUILD md4sum-0.02.03-r2.ebuild 625 BLAKE2B 64d034954e34b51bea2dc9dc85372ece1ee5c5424d155c8dede791cdc28d273b58c9310e469277d4e165077bec785e0b8220f5be2855d9bbf34aaa3f9337b3f1 SHA512 98269dade29e683dbf9e0c044abe08c96b56e21b2754e0bad5a62f26b1d3a2c1e273fb14228da74c91fd1b9659093c3b09bdddb185e9e2c08c30db8865e18374 +EBUILD md4sum-0.02.03-r2.ebuild 625 BLAKE2B 793dbf8af23336b033dd3cc12f06ff5f26f1e09a151ec37cfe202b8fb4af2258bc616488aaa1b1c746943820b189a3478f08849fca2e81ffbb4a579668568ca5 SHA512 9ba36b9f962fc4dc5029b1a7d474ed7862e9b4c69d0d76a41e640646f63cbaa56a682a5a8b82b5af127a8b5a3858c9b80ad1226749c68444926589b45127c7de MISC metadata.xml 210 BLAKE2B a547b5e8dbb5d674ce2df4bcc6ee71c3aae3b0c7863c38a66c1fac3cf0f0c16c7bb302264082f345d2da87d0e544d321e6fd8385a16d01620a733a8ab29082a3 SHA512 27fbc849a311e57c8dbad0cae9975d564c03ae8a7b495b2e7a5cd160c6a09c0101e695ba4d2edf07c0d4c4d7329ff9a4bd91656aa685623342883b83bcb9ac0f diff --git a/app-crypt/md4sum/md4sum-0.02.03-r2.ebuild b/app-crypt/md4sum/md4sum-0.02.03-r2.ebuild index 8198a1631ad6..af650312ff48 100644 --- a/app-crypt/md4sum/md4sum-0.02.03-r2.ebuild +++ b/app-crypt/md4sum/md4sum-0.02.03-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -17,7 +17,7 @@ PATCHES=( "${FILESDIR}"/md4sum-fix-out-of-bounds-write.diff ) src_prepare() { default - sed -i -e "s:CFLAGS=:CFLAGS=${CFLAGS} :g" \ + sed -i -e "s;CFLAGS=;CFLAGS=${CFLAGS} ;g" \ -e "s:install -s:install:g" Makefile.Linux || die } diff --git a/app-crypt/ophcrack/Manifest b/app-crypt/ophcrack/Manifest index 49a890c2e20d..c22f3c860e41 100644 --- a/app-crypt/ophcrack/Manifest +++ b/app-crypt/ophcrack/Manifest @@ -1,8 +1,4 @@ -AUX ophcrack-openssl-des.patch 3253 BLAKE2B 91bdac930a784eb8f68c9cfbec7f0a41e05356cc5a87b2db37669e943fc576938b3cc494446d78407555d56af4357a77e4d92f391a4ec5971b5ae97ccd36a0db SHA512 60f4ec2792f1d697db62bbef16a1f365e368fa4cf99695b1fdda4cdfaa1fdef04bf39dbfea72fe5d97aead6435553051eda0b3b619ae93915f11b87de29cc4bc -DIST ophcrack-3.6.0.tar.bz2 288830 BLAKE2B bc2782d08cb84df24b745fdf0e9723e058da614b73a8d25dfe77cfa2ce291eaf8abd83006a9a410f80bdd240eb81fc402d6d5ebd1c9b92b5a7f1785a203c0c7a SHA512 caa9090b622acac1114f5635c2c58a2c32453ae21a96fc4f424cbc197b056872c282cf9d41142e316a1ffbc9523832b8bc7355c1503c15ac8579470de407a5c9 -DIST ophcrack-3.7.0.tar.bz2 294045 BLAKE2B f506d29b27b4b90eadfd4d650512aea54db4228c4c63b90827a7957b544ab59dae757fc521fe62ab3be55d97e483ddde2aea9ad08c96b77d156e863a61f26312 SHA512 27e73979ca3d733629b9b34c490488cc27140efb8b90d266f270c0b95572cf40319a3fb658c02448fc7a3b825cf05c18a69f5d91bd0656d8410a30645f8dc8c6 +AUX ophcrack-ar.patch 242 BLAKE2B f268c2a0c0900c3ea6a3e4fc1c99530a090e413fbba9e4ff7c339ae6b5db49ad546eb58cd42a64f81d669c38ed9a4de25cfcfb29ee17af1c88b4372aee4fda51 SHA512 bb4f8154abe676ccec48536b50513b45253828334db040f28fe71e5b9d3d7abb6b34693ec234f10ce8c26592d07ccdd678a68b96b6a80ca9137c18a9e0598bfc DIST ophcrack-3.8.0.tar.bz2 293033 BLAKE2B f20bf79d5cafffaab0667b073e8d9dbcfbae0a16f4139b6304c3f6fc80a24f6ca673db9cd53e28ff277ec35821539f3960265aa28467795e25c45049acca3f31 SHA512 c66276b72299744d3e0c9fc14220c7f568e383bd324c1ede228bda5d51da78db817388421c9f5f8cd2f18687e7e53cfb0c65bcc0354b3d55ac16324c61f62dbd -EBUILD ophcrack-3.6.0.ebuild 789 BLAKE2B 2b669ff146298dc6c004511384b7b462a79f587f9f18a17baa1500ba333ef2567b014bb5d2eb92a05a99711231a22375d0062455f61dc7fd10cbcaf8b9388ab4 SHA512 f4d7f623523eed36281a0a95915680a504bab50fb866e9f1b1edee414055e6c44fe630dee9b077f6c242520353019cd141a5170fa862f769378256208d0c11c9 -EBUILD ophcrack-3.7.0.ebuild 739 BLAKE2B 9019a62a463c8f1bbdb7f3d5d90d1d130cfc79c09a87a3a86d4722c6788561cd67ec32f9dbafc08064e2dbfeb2935b63fa3c3ce18d5b7f60f46f0b937d9ef305 SHA512 3f684df8eab1422442e1665cebe987d0d5949d44f55c549930e21a4d585511f070d65fe5552f64ec77ee8a8f7fd4422cc1dd6c62dc5dd1b7de8a56e913f3c219 -EBUILD ophcrack-3.8.0.ebuild 907 BLAKE2B be3aa07cd0440d11d4583f7734d12d875a849b041e7cef419c346029cb128220dad093d31e01dd72cf3f3a652e5529c8ea996732bcc562e1d732d282ec3baf2f SHA512 e13997efd14e685f24040590e1dbbaf5a4a93b343801d852f269a9223d3f7209ee9a1bb40ab5e0649f921442f26fc7ca91687fa7d9dd796a7ddeb35d5a89071b +EBUILD ophcrack-3.8.0.ebuild 939 BLAKE2B 437e2f298f7855b67748e9f0ecd82f901ad9eead6423f561ae83953b83065ba1b51bd13da7c994510295ce39aaf193bf3a51f1848cfd03278768bbd3eb281b22 SHA512 e91c9d5589133065b764d41d7701f4ba7b962071ba2da7dc81dc6f3e62b6c75bb61413f1f60e65d7ffc39065950cecef6b0319619cfd8203be9b52e34195f323 MISC metadata.xml 474 BLAKE2B 06c67b21ed59a24074d06b4003873ef05bc4ef8632d4602e3ac5f0956698c40e8a7662b6aeddb7bea28055ed03e27900a3fe4f692d765cb25ba5d9c3ca62722e SHA512 3381c3cb01e39377a085137392802e0666cd4dd421cdcda2db6af2cae01d7b0a7319886699d99553b9a4aed732b402d923c51a0b053cfa564d2228de605991e3 diff --git a/app-crypt/ophcrack/files/ophcrack-ar.patch b/app-crypt/ophcrack/files/ophcrack-ar.patch new file mode 100644 index 000000000000..422c17398d20 --- /dev/null +++ b/app-crypt/ophcrack/files/ophcrack-ar.patch @@ -0,0 +1,13 @@ +diff --git a/src/common.mk.in b/src/common.mk.in +index 0f090a8..9c133e0 100644 +--- a/src/common.mk.in ++++ b/src/common.mk.in +@@ -32,7 +32,7 @@ OBJECTS = $(SOURCES:%.c=%.o) + all: + + %.a: +- ar r $@ $^ ++ $(AR) r $@ $^ + $(RANLIB) $@ + + %.o: %.c diff --git a/app-crypt/ophcrack/files/ophcrack-openssl-des.patch b/app-crypt/ophcrack/files/ophcrack-openssl-des.patch deleted file mode 100644 index 2515c178abb7..000000000000 --- a/app-crypt/ophcrack/files/ophcrack-openssl-des.patch +++ /dev/null @@ -1,92 +0,0 @@ ---- a/src/lmtable.c 2013-06-04 07:42:47 UTC -+++ b/src/lmtable.c -@@ -470,8 +470,8 @@ void lmtable_mkredux(table_t *tbl, uchar - /*-------------------------------------------------------------------------*/ - void lmtable_mkhash(uchar_t *pwd, uchar_t *hash) { - uchar_t key[8]; -- des_key_schedule ks; -- des_cblock *magic = (des_cblock*)lmmagic; -+ DES_key_schedule ks; -+ DES_cblock *magic = (DES_cblock*)lmmagic; - - key[0] = pwd[0]; - key[1] = (pwd[0] << 7) | (pwd[1] >> 1); -@@ -482,7 +482,7 @@ void lmtable_mkhash(uchar_t *pwd, uchar_ - key[6] = (pwd[5] << 2) | (pwd[6] >> 6); - key[7] = (pwd[6] << 1) ; - -- des_set_odd_parity(&key); -- des_set_key(&key, ks); -- des_ecb_encrypt(magic, (des_cblock*)hash, ks, DES_ENCRYPT); -+ DES_set_odd_parity(&key); -+ DES_set_key(&key, &ks); -+ DES_ecb_encrypt(magic, (DES_cblock*)hash, &ks, DES_ENCRYPT); - } - ---- a/src/samdump2/samdump2.c 2015-03-30 02:26:33 UTC -+++ b/src/samdump2/samdump2.c -@@ -71,7 +71,7 @@ void str_to_key(unsigned char *str,unsig - for (i=0;i<8;i++) { - key[i] = (key[i]<<1); - } -- des_set_odd_parity((des_cblock *)key); -+ DES_set_odd_parity((DES_cblock *)key); - } - - /* -@@ -209,8 +209,8 @@ unsigned char* utf16_to_utf8 (unsigned c - unsigned char hbootkey[0x20]; - - /* Des */ -- des_key_schedule ks1, ks2; -- des_cblock deskey1, deskey2; -+ DES_key_schedule ks1, ks2; -+ DES_cblock deskey1, deskey2; - - int i, j; - -@@ -418,15 +418,15 @@ unsigned char* utf16_to_utf8 (unsigned c - - /* Get the two decrpt keys. */ - sid_to_key1(rid,(unsigned char *)deskey1); -- des_set_key_checked((des_cblock *)deskey1,ks1); -+ DES_set_key_checked((DES_cblock *)deskey1, &ks1); - sid_to_key2(rid,(unsigned char *)deskey2); -- des_set_key_unchecked((des_cblock *)deskey2,ks2); -+ DES_set_key_unchecked((DES_cblock *)deskey2, &ks2); - - /* Decrypt the lanman password hash as two 8 byte blocks. */ -- des_ecb_encrypt((des_cblock *)obfkey, -- (des_cblock *)fb, ks1, DES_DECRYPT); -- des_ecb_encrypt((des_cblock *)(obfkey + 8), -- (des_cblock *)&fb[8], ks2, DES_DECRYPT); -+ DES_ecb_encrypt((DES_cblock *)obfkey, -+ (DES_cblock *)fb, &ks1, DES_DECRYPT); -+ DES_ecb_encrypt((DES_cblock *)(obfkey + 8), -+ (DES_cblock *)&fb[8], &ks2, DES_DECRYPT); - - - -@@ -471,16 +471,16 @@ unsigned char* utf16_to_utf8 (unsigned c - if (lm_size != 0x14) { - /* Get the two decrpt keys. */ - sid_to_key1(rid,(unsigned char *)deskey1); -- des_set_key((des_cblock *)deskey1,ks1); -+ DES_set_key((DES_cblock *)deskey1, &ks1); - sid_to_key2(rid,(unsigned char *)deskey2); -- des_set_key((des_cblock *)deskey2,ks2); -+ DES_set_key((DES_cblock *)deskey2, &ks2); - } - - /* Decrypt the NT md4 password hash as two 8 byte blocks. */ -- des_ecb_encrypt((des_cblock *)obfkey, -- (des_cblock *)fb, ks1, DES_DECRYPT); -- des_ecb_encrypt((des_cblock *)(obfkey + 8), -- (des_cblock *)&fb[8], ks2, DES_DECRYPT); -+ DES_ecb_encrypt((DES_cblock *)obfkey, -+ (DES_cblock *)fb, &ks1, DES_DECRYPT); -+ DES_ecb_encrypt((DES_cblock *)(obfkey + 8), -+ (DES_cblock *)&fb[8], &ks2, DES_DECRYPT); - - /* sf27 wrap to sf25 */ - //sf27( obfkey, (int*)&rid, fb ); diff --git a/app-crypt/ophcrack/ophcrack-3.6.0.ebuild b/app-crypt/ophcrack/ophcrack-3.6.0.ebuild deleted file mode 100644 index 94d9250666bc..000000000000 --- a/app-crypt/ophcrack/ophcrack-3.6.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit eutils - -DESCRIPTION="A time-memory-trade-off-cracker" -HOMEPAGE="http://ophcrack.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="debug libressl +tables" - -CDEPEND="!libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - net-libs/netwib" -DEPEND="app-arch/unzip - virtual/pkgconfig - ${CDEPEND}" -RDEPEND="tables? ( app-crypt/ophcrack-tables ) - ${CDEPEND}" - -PATCHES="${FILESDIR}/ophcrack-openssl-des.patch" - -src_configure() { - - local myconf - - myconf="${myconf} $(use_enable debug) --disable-gui" - - econf ${myconf} -} - -src_install() { - emake install DESTDIR="${D}" -} diff --git a/app-crypt/ophcrack/ophcrack-3.7.0.ebuild b/app-crypt/ophcrack/ophcrack-3.7.0.ebuild deleted file mode 100644 index 736f3bea8b86..000000000000 --- a/app-crypt/ophcrack/ophcrack-3.7.0.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit eutils - -DESCRIPTION="A time-memory-trade-off-cracker" -HOMEPAGE="http://ophcrack.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="debug libressl +tables" - -CDEPEND="!libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - net-libs/netwib" -DEPEND="app-arch/unzip - virtual/pkgconfig - ${CDEPEND}" -RDEPEND="tables? ( app-crypt/ophcrack-tables ) - ${CDEPEND}" - -src_configure() { - - local myconf - - myconf="${myconf} $(use_enable debug) --disable-gui" - - econf ${myconf} -} - -src_install() { - emake install DESTDIR="${D}" -} diff --git a/app-crypt/ophcrack/ophcrack-3.8.0.ebuild b/app-crypt/ophcrack/ophcrack-3.8.0.ebuild index 98ebe5ffe25f..c35c0f3c154c 100644 --- a/app-crypt/ophcrack/ophcrack-3.8.0.ebuild +++ b/app-crypt/ophcrack/ophcrack-3.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -14,15 +14,16 @@ KEYWORDS="~amd64 ~x86" IUSE="debug libressl qt5 +tables" CDEPEND="!libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - net-libs/netwib - qt5? ( dev-qt/qtcharts:5 - dev-qt/qtgui:5 )" + libressl? ( dev-libs/libressl:0= ) + net-libs/netwib + qt5? ( dev-qt/qtcharts:5 + dev-qt/qtgui:5 )" DEPEND="app-arch/unzip - virtual/pkgconfig - ${CDEPEND}" + virtual/pkgconfig + ${CDEPEND}" RDEPEND="tables? ( app-crypt/ophcrack-tables ) - ${CDEPEND}" + ${CDEPEND}" +PATCHES=("${FILESDIR}/ophcrack-ar.patch") src_configure() { diff --git a/app-crypt/pdfcrack/Manifest b/app-crypt/pdfcrack/Manifest index 3362de3c6120..0fdcacad312d 100644 --- a/app-crypt/pdfcrack/Manifest +++ b/app-crypt/pdfcrack/Manifest @@ -1,6 +1,8 @@ AUX pdfcrack-0.14-cflags.patch 236 BLAKE2B ce6e226f6bb8286437fa3a40abae4d1fbde59f7913f6d5fd0c3b510e8f92043f15e96ab790d777c4306a06291de9f8bab9633cf42b29ec0262f34558035b134e SHA512 8fd2f9bc024bff34bb1f7e90e7f27b80473ca12f340735f4cbb8d3717354df9907a9f05d57950a4a9f9604c2452a75cb7de341b4b84f2d248a63ca047131388b DIST pdfcrack-0.16.tar.gz 34467 BLAKE2B 7eda8dae9cec3117f410f9ebbe6d536ca627c72b53693d4021f3faf104ed0439e05dda5848d1f18911544336c6303f9b061c373da9a0a275ecfa2c29ed425b76 SHA512 460113f28249d1ea1cefc6dac8ff22b33849ccff50f61830144e41eeec47c4b9113845bb955d26757adb0552d8c0dfa43b3f5666c1419afe4063037a1e1c933d DIST pdfcrack-0.18.tar.gz 35145 BLAKE2B 05c1b5164c208ba34ffe2c4aadcebaa88d5a4058a8ef355df3346bda19b5e9f319abd714975d86e3b05ef70ec003f4e08b00d5b339ebd0ac0549f72884580547 SHA512 7d1624d835bcefff131745c75dc2ecafe63afdbf2c56568880804d5b7062a8eef27eebfedf340ab9d7e5770dd1a553d5d30b7ea5bca63a317deb40e0deed35a2 +DIST pdfcrack-0.19.tar.gz 35383 BLAKE2B ddbbd813a8b76fd0b643ac5a9f63f8d82f76d2514e43dd0d4a4e4cc4feffb4b01598fc5438aef77f98b48c3df1f04139aa8db76d77eb3ed9d67a36a3b8ef57fb SHA512 e58819e7d90db9a66ebf9509c0b8aace7f8e7dbf5f8083edc70c3f2ca28cf16476bbdbaa77f7c563dcf824e440ca0df03e91d6aaf2a0435ec8f349f4e19ee626 EBUILD pdfcrack-0.16.ebuild 513 BLAKE2B 88ed9f07b3ab02b0fefe481206ec2fe0cf86dd2abbeeeb5a3ce8f344f8c0f0de3153590452fe03b180d0b5f75a88012ab4d28d0a37728efb358c97d3e3f13d51 SHA512 852cdea9e8748e0f01dd4f0316e30d7c4e9291b468ae092405a2a205a8fe851395715a83569a22ce866bac04de7b67e3dfb306fa22d88d9589a8502a8e8641a0 EBUILD pdfcrack-0.18.ebuild 510 BLAKE2B 7644ed38aeae5e4a971e0097f5123987be5d7c3076b01d3783e8d3efad9f0d124022331054b0a07ba7e986173887d656badef50b1255cb12a95ab4a23376c4b2 SHA512 980827f11747b7311b52e79ed7163454bfa98d768093d91dbfbe538db2f372d4c28ec127f6c60801d4eeb2d48399ce1c35b7c53c0ca491639752ea56a44c3af9 +EBUILD pdfcrack-0.19.ebuild 510 BLAKE2B 7644ed38aeae5e4a971e0097f5123987be5d7c3076b01d3783e8d3efad9f0d124022331054b0a07ba7e986173887d656badef50b1255cb12a95ab4a23376c4b2 SHA512 980827f11747b7311b52e79ed7163454bfa98d768093d91dbfbe538db2f372d4c28ec127f6c60801d4eeb2d48399ce1c35b7c53c0ca491639752ea56a44c3af9 MISC metadata.xml 322 BLAKE2B 21547616c422c9b4f1332260b0bf2add6d8d5a37a4bc8a77626b31c5cdfcdd20dd950bd7623f3a2cc26030c5cb3491e9d29c9b2046c23e9fc824a1bcc29098bf SHA512 a02c8d63dd71e334c07b9f45174520e0e1a8d361cc078e2cbec8090287cb2aaa5e179e0215f05018ae8a908a0105c74c703f68dceec3f4977975ccc3f6f2c7c3 diff --git a/app-crypt/pdfcrack/pdfcrack-0.19.ebuild b/app-crypt/pdfcrack/pdfcrack-0.19.ebuild new file mode 100644 index 000000000000..9ccc4f961851 --- /dev/null +++ b/app-crypt/pdfcrack/pdfcrack-0.19.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Tool for recovering passwords and content from PDF-files" +HOMEPAGE="http://pdfcrack.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +PATCHES=( + "${FILESDIR}/${PN}-0.14-cflags.patch" +) + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin pdfcrack + dodoc changelog README +} diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index 10162e571d2b..84fa3d19da18 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -10,4 +10,4 @@ DIST rhash-1.3.9-src.tar.gz 403415 BLAKE2B 49f3b9348485b83521f58fa1de30517b05a82 EBUILD rhash-1.3.6-r1.ebuild 1906 BLAKE2B 2b42abc2249717d46bf80a29ec189ce359dd414226ad895711fb91fcd11f30d8adfd695b0a58150ed810da03c5b859fec103691038b94d8f3c785ad63d1fcf4d SHA512 372d233a7507b52c8dd1a919afda5d4d61ba3bf6049f744d98e417570739491d8f6079723d7c86bc763cc31fe4dc408304148297bf079f34f02439c66b2851ab EBUILD rhash-1.3.8.ebuild 2061 BLAKE2B f793d773cda3f0ae8274fd5864786a97c5aa2c9e8428d87b9d74e5015b5bcfcb2a548549320c7925cae7766de369f756e065d6fb5395dd9f1a92042235697bcd SHA512 be49c11d4201b92b33ee9c386bedac0378ef5298fc4d0165f30ac3cd088949171bfcfdf09bb28bee6807010896f012f54c0f674b1785df560f373f06d8eedc19 EBUILD rhash-1.3.9-r2.ebuild 1955 BLAKE2B 7c0920958260b317476dc8a7bf147f38bf1467510dab0d556f8dd6e77bceed51d135b1c4f46dd7989373b938ffb8b1b7142da221dd8ac7051b2e2b82c9a966c1 SHA512 45e23ec2abbe36f4355721259c91c03f1eda855e9e9766197d79eb836cda61be4f81593bbe1b938e75cd7615beb6805cdb746f7b7278efdddccdf20cabe0c996 -MISC metadata.xml 753 BLAKE2B 09d65c4222a77b9cdab0e82e8b3a38a63762c9e691285f712e09e99ecf28937d70436ac0dc56a890ea1f6ca9981c7f02383ce92a0da6a0c5ca11af2b3598e77e SHA512 d9a8480839af7651eb09b1210b2b0f736d01018cd1863eb17f24f0f51024c234f6f5036745f2034e89bcbd85f396b194184fc987adba43d9d0bebfa0b65d635a +MISC metadata.xml 816 BLAKE2B bb6057383b42281881b70331deed4070724bf10bdd00eb8329d3f3133329aa47d8d64ea66c70500dbeb8f92995f527b012dfeadd96d5c2a1eb73ff0ceb20f43a SHA512 ef3d1b671c08f7f1e1394675f626fc399a7a07dbefaa1a4ef1201052db524f2063efca3470b0d4f58a03cb8a49bb086e37b0bb8357cfc761107b1d6563e79263 diff --git a/app-crypt/rhash/metadata.xml b/app-crypt/rhash/metadata.xml index a6651d883c41..90dd65a6e80e 100644 --- a/app-crypt/rhash/metadata.xml +++ b/app-crypt/rhash/metadata.xml @@ -8,6 +8,7 @@ rhash rhash/RHash + cpe:/a:rhash_project:rhash https://github.com/rhash/RHash/issues diff --git a/app-crypt/ssss/Manifest b/app-crypt/ssss/Manifest index ee28c2754d5b..05714d7c5075 100644 --- a/app-crypt/ssss/Manifest +++ b/app-crypt/ssss/Manifest @@ -1,3 +1,3 @@ DIST ssss-0.5.tar.gz 17435 BLAKE2B 76aae463ce11341f8b0336526f7d19c9921025cabc05bc9e00005b0bdeb676ed5e069226962232f277de2fecb1cd71bafbd4b2fa0c03ef4faf0f66daa24599d1 SHA512 be8df1666ac61d4097b5fd54f2cee3640db8f85ec21411f1b208a35b671c5699bc692079525d8d313d1cf2500da31bfb03771829a9fdccc0bb6d806749526ec9 -EBUILD ssss-0.5.ebuild 755 BLAKE2B 99d90a6b0ebd25739c177d3b72a1ae62897674b3397393382b845f890c8b7a50dad81050accb76db95fcc7e1f4ac627e436f3c7835caf500d1858157ba118970 SHA512 4d42d16680eb2bc9a752e9574433f52c910902a66075979b6d9ff4fd27bbeb7ab18b3656ce38659359e27d1ef1d3e9bbfc70dff9abf9a305e1e07f1a60517cd2 +EBUILD ssss-0.5-r1.ebuild 774 BLAKE2B 08fa8b0d2c88ba22cb3a74bd728a32c2e54ff9cd92b88c8345e407b035bc2916f547ed18ab90d76efb401e6cd7aa015f0262bdb9b9629039091aef5c19725dd6 SHA512 364456d49bf4625c632e42dfee4013b84cb4dee6df747b113dcc11362c4bbb9cbbc2c5b460411986c751c4fd0a4c34a288464b383601bc2eb6c331ad295224f8 MISC metadata.xml 496 BLAKE2B 0e998a8a5587315750394702193fa739a61bcc5101f38eca3b25f13af0661b54f76ad214fc0e378cc55a7a99192e3c7f75166eedda18ab61c1d9911830f40b6c SHA512 84249ac824f19a308cc20bde7610c829030c363c13c6111bfe30d7d5a219461728a8f6010bb006821be5ede4a2cf02c3e11eee67d782126ef0e1453207298c66 diff --git a/app-crypt/ssss/ssss-0.5-r1.ebuild b/app-crypt/ssss/ssss-0.5-r1.ebuild new file mode 100644 index 000000000000..99411362aaff --- /dev/null +++ b/app-crypt/ssss/ssss-0.5-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Shamir's Secret Sharing Scheme" +HOMEPAGE="http://point-at-infinity.org/ssss/" +SRC_URI="http://point-at-infinity.org/${PN}/${P}.tar.gz" + +KEYWORDS="amd64 x86" +LICENSE="GPL-2" +SLOT="0" + +RDEPEND="dev-libs/gmp:0=" +DEPEND="${RDEPEND}" +BDEPEND="app-doc/xmltoman" + +DOCS=( "HISTORY" "THANKS" ) +HTML_DOCS=( "doc.html" "ssss.1.html" ) + +src_prepare() { + default + + tc-export CC + + # Respect users [CL]FLAGS and don't strip, as portage does this part + sed -e 's/-O2/$(CFLAGS) -lgmp $(LDFLAGS)/g' -e '/strip/d' -i Makefile || die +} + +src_install() { + dobin ssss-split + dosym ssss-split /usr/bin/ssss-combine + + doman ssss.1 + + einstalldocs +} diff --git a/app-crypt/ssss/ssss-0.5.ebuild b/app-crypt/ssss/ssss-0.5.ebuild deleted file mode 100644 index f9d6d9eb8ced..000000000000 --- a/app-crypt/ssss/ssss-0.5.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="Shamir's Secret Sharing Scheme" -HOMEPAGE="http://point-at-infinity.org/ssss/" -SRC_URI="http://point-at-infinity.org/${PN}/${P}.tar.gz" - -KEYWORDS="amd64 x86" -LICENSE="GPL-2" -SLOT="0" - -RDEPEND="dev-libs/gmp:0=" -DEPEND="${RDEPEND}" -BDEPEND="app-doc/xmltoman" - -DOCS=( "HISTORY" "THANKS" ) -HTML_DOCS=( "doc.html" "ssss.1.html" ) - -src_prepare() { - default - - tc-export CC - - # Respect users CFLAGS and don't strip, as portage does this part. - sed -e 's/-O2/$(CFLAGS)/g' -e '/strip/d' -i Makefile || die -} - -src_install() { - dobin ssss-split - dosym ssss-split /usr/bin/ssss-combine - - doman ssss.1 - - einstalldocs -} diff --git a/app-crypt/tpm2-pkcs11/Manifest b/app-crypt/tpm2-pkcs11/Manifest new file mode 100644 index 000000000000..1d30983c8b89 --- /dev/null +++ b/app-crypt/tpm2-pkcs11/Manifest @@ -0,0 +1,3 @@ +DIST tpm2-pkcs11-1.2.0.tar.gz 1253641 BLAKE2B e4f673f6cb3b697426f4ba01324939214e74a74edee24a184de860d54d7b8c3f437716245552e06711c258eed88b7556771f2614f3a4dacdec5a986a5c9697d4 SHA512 e7de454b38388c4562fc92282855c1ed9a04c7968c358d6918137257fb5a1ca785c2297e8a34464ea04eed86acd9fc5b59c837027da9d3f195ec86ff0563feeb +EBUILD tpm2-pkcs11-1.2.0.ebuild 1187 BLAKE2B 72e51e7f724db810cb13c967916c64bb8e00cf569d553f0c09922347453a0f6c9f16493a601e31ef7108c634c0ea42073ee4691240cd19c551c1d81df6e7cbd7 SHA512 43547db2fc3a938159daa5e9a9a652ae130967a6ba2f1153753506c71ea652916ea0b38bff886c71ba9a4f676a94c52413e565ccf0219bd3e42fa0de470dd6f0 +MISC metadata.xml 370 BLAKE2B eb4d1a4a8e56cbdcb5b7f86029feb6e2151967f7b4801fbb3a8c2de35840969a4987ca2aada95792cb35ab03702715b1f66fe966c176969de743c64775bed0cb SHA512 5a2f5a0089bb0c54dd36821005a65cbe8c4fd05f1d7e0367eaff02031a39c749e005e5432da334081304af8c55b330b549821819455f1f0919d4525a254ca5c6 diff --git a/app-crypt/tpm2-pkcs11/metadata.xml b/app-crypt/tpm2-pkcs11/metadata.xml new file mode 100644 index 000000000000..6ddd104074b9 --- /dev/null +++ b/app-crypt/tpm2-pkcs11/metadata.xml @@ -0,0 +1,13 @@ + + + + + salah.coronya@gmail.com + Salah Coronya + + + proxy-maint@gentoo.org + Proxy Maintainers + + + diff --git a/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.2.0.ebuild b/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.2.0.ebuild new file mode 100644 index 000000000000..808767d4003e --- /dev/null +++ b/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.2.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +DESCRIPTION="A PKCS#11 interface for TPM2 hardware" +HOMEPAGE="https://tpm2-software.github.io/" +SRC_URI="https://github.com/tpm2-software/tpm2-pkcs11/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +# Test requires the IBM TPM simulator that's not in portage +RESTRICT="test" + +RDEPEND="app-crypt/p11-kit + app-crypt/tpm2-abrmd + app-crypt/tpm2-tss + dev-db/sqlite:3 + dev-libs/openssl + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pyasn1[${PYTHON_USEDEP}] + dev-python/pyasn1-modules[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}]" + +DEPEND="${RDEPEND}" +BDEPEND="sys-devel/autoconf-archive + virtual/pkgconfig" + +src_configure() { + default +} + +src_compile() { + default + cd "${S}/tools" || die + BUILD_DIR="${S}/tools" python_foreach_impl distutils-r1_python_compile +} + +src_install() { + default + cd "${S}/tools" || die + BUILD_DIR="${S}/tools" python_foreach_impl distutils-r1_python_install + dobin "${S}/tools/tpm2_ptool" +} diff --git a/app-crypt/tpm2-tools/Manifest b/app-crypt/tpm2-tools/Manifest index a411def2a4ae..f3e781a03b81 100644 --- a/app-crypt/tpm2-tools/Manifest +++ b/app-crypt/tpm2-tools/Manifest @@ -1,7 +1,4 @@ -AUX tpm2-tools-3.1.3-libressl.patch 2589 BLAKE2B 2d949ed3d8470bbfee647e691f03ee4a53cc70230140dddba85424238670f147465eecaf85ce95696782e2cf3e8229fa5233300e93e33f4d48c0d56485f3d0a5 SHA512 e45ba9fa0f758105cccd4ded4422f285fdf3c8bd35240c8301ac911049618ae35ad5084045dc72658aced371a4af807dc521e830fdafe1cf9b71bc0f1a7a1325 -AUX tpm2-tools-4.1.1-libressl.patch 825 BLAKE2B c6cd9fd6f8aaacd3aa672a31fd727cfae6c64a015e95e2e0fb282b541168a8ad7a45c65186a18651c3bf6d4252de951891b03719c472b0b23639fd1c09729132 SHA512 202aef9a49c9ace31cac0030867c9842c7426e1c11a16c95740fc8818ef83d7e4c7723b09ef372dc8958576f8204f94aa1bd0a8fb7782c6e7b3eb1f37b675cf5 -DIST tpm2-tools-3.1.4.tar.gz 589388 BLAKE2B aaaa9a0158d0658dc2db4734b18ea1d49bd6c0aef84c4f1236f3134245165dccdb0bada69d92f0e5a59ecb1f2973e5cd25924d2b9c4cad2891d9e4f9fb94a84b SHA512 c5e1be4ffab305ee42a8b4a9c9aa4373158259a58844e273465f97a74f913fb12098b9fd81127148be95ecba7378f6a45b96af256dde3101a237e5e33e8e8ccb -DIST tpm2-tools-4.1.1.tar.gz 779914 BLAKE2B 5b347b00508183cbde407e01454df0a7eb3a8080cb5b8f73d153c4972b38b98ac7c066664b54aeedef03b9bfd97b3cff482dbc44d5f11215af9c3c7754380d75 SHA512 25952cf947f0acd16b1a8dbd3ac8573bce85ff970a7e24c290c4f9cd29418e77a3e48ac82c932fbd250887a9303ab301ff92db594c2fffaba47b873382444d26 -EBUILD tpm2-tools-3.1.4.ebuild 720 BLAKE2B 496847fa7e4159f6ef979582e0f5924c7ee2087b245b7eb271a1527f466daeec997befe10c12be9c00ae1f43de83ec3d94f5411da6ed399bc81080c723badc8c SHA512 a1076e0809cbf374ecaaa6dffe6b3f4c6e2c0b928daefc0b894c2f6d0df2215d2957f5fca5232ce4e11eb7d9f44eb26b6505be1f3b20f0b72c65a1851d5e082f -EBUILD tpm2-tools-4.1.1.ebuild 729 BLAKE2B 8c0fe6c6a4592db23e60b40305687f3a3dc8b3bdebefddb6c0c29466c9d727500a8f4377d169970d8c79a6bf844d6facd510bbb9914c9f74b74c4793ed4f333c SHA512 c525f61453f097becb19cfd013231ef0eca394381dadf5649a16da0d657a6200d7bab62db8da31c1bf7a9c517e84fb1e12bb443eec08508da711a3e9207653b6 -MISC metadata.xml 458 BLAKE2B 74440e0ad0ec6ee767ed199a4852cb113ba0ff8a721b3239e1520e3b3ab60049755a27e6bf11e0c374a0167e6902247cac05be95d09cbb25d0317f7e09846406 SHA512 7d29bd3b94ab72846cc99b5ea427b607ccff1671097769721e242dd6b555872fa9c8869a5a3ad75a312f9415a59f58a801cba0a22c6542dd9e4a2ded1d3b1f79 +AUX tpm2-tools-4.2-libressl.patch 825 BLAKE2B c6cd9fd6f8aaacd3aa672a31fd727cfae6c64a015e95e2e0fb282b541168a8ad7a45c65186a18651c3bf6d4252de951891b03719c472b0b23639fd1c09729132 SHA512 202aef9a49c9ace31cac0030867c9842c7426e1c11a16c95740fc8818ef83d7e4c7723b09ef372dc8958576f8204f94aa1bd0a8fb7782c6e7b3eb1f37b675cf5 +DIST tpm2-tools-4.2.tar.gz 889062 BLAKE2B 434b88e90f953785e57a9e9f18d717c8b6632206dabfc7478ae866e245eadf032ec4f26bb9597d04ea887bc23a8096d7e6fc2748b0e96806cb2989fd7edf9071 SHA512 7aaf549dd77307e5ad93d4b34737d684c8a7384996143124f10b188f5e99860940902cee83538e6957997859420dd430d6d27979b223beae515aab94ac8fb235 +EBUILD tpm2-tools-4.2.ebuild 930 BLAKE2B 45b35129e0551cedd898d62118a11cb93bbd44fedcf02a76579e890e6c0eebb6b89b4045e6f2ca9a7a98495ea58771e83755e6997c483e4491644a5d435ca682 SHA512 17145939f7dab63047a6ee355be78198abbdd172defb18be2d77d17574d64d3c879c45261a3546d8c804dbe57fab38aea7ac8938dbca6dbed52952e39db067b0 +MISC metadata.xml 525 BLAKE2B 5fa89e3cfb69fe00abe745690aafc6e45b8394e1673521049ae2bb834454f3100ef65d4080010c4fed7265bcd6c9dd6cb9015a159674bb71622646d5dd5dd57b SHA512 533cc4a3dc31600a948c931d144eeee3cdb265286677966ed7bf26953deec79f1c9e0c2c7152e1a5ef3bc067bbc3d88a7ae0678b9395be3a7b01d76976a9a4d9 diff --git a/app-crypt/tpm2-tools/files/tpm2-tools-3.1.3-libressl.patch b/app-crypt/tpm2-tools/files/tpm2-tools-3.1.3-libressl.patch deleted file mode 100644 index 7c26d6e14f8c..000000000000 --- a/app-crypt/tpm2-tools/files/tpm2-tools-3.1.3-libressl.patch +++ /dev/null @@ -1,81 +0,0 @@ -From a3447989483e09638e6ebeab7eabe6273aa5f3db Mon Sep 17 00:00:00 2001 -From: Alon Bar-Lev -Date: Fri, 4 Jan 2019 10:33:15 +0200 -Subject: [PATCH] build: fixup libressl support and add libressl-2.7 - -Signed-off-by: Alon Bar-Lev -Backport: 5d4cc4ee ---- - lib/conversion.c | 6 +++++- - lib/tpm_kdfa.c | 10 +++++++--- - 2 files changed, 12 insertions(+), 4 deletions(-) - -diff --git a/lib/conversion.c b/lib/conversion.c -index ce0f5b3..f55af6f 100644 ---- a/lib/conversion.c -+++ b/lib/conversion.c -@@ -45,6 +45,10 @@ - #include "tpm2_alg_util.h" - #include "tpm2_util.h" - -+#if (OPENSSL_VERSION_NUMBER < 0x1010000fL && !defined(LIBRESSL_VERSION_NUMBER)) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) /* OpenSSL 1.1.0 */ -+#define LIB_TPM2_OPENSSL_OPENSSL_PRE11 -+#endif -+ - static bool tpm2_convert_pubkey_ssl(TPMT_PUBLIC *public, pubkey_format format, const char *path); - - pubkey_format tpm2_parse_pubkey_format(const char *label) { -@@ -134,7 +138,7 @@ static bool tpm2_convert_pubkey_ssl(TPMT_PUBLIC *public, pubkey_format format, c - goto error; - } - --#if OPENSSL_VERSION_NUMBER < 0x1010000fL /* OpenSSL 1.1.0 */ -+#if defined(LIB_TPM2_OPENSSL_OPENSSL_PRE11) - ssl_rsa_key->e = e; - ssl_rsa_key->n = n; - #else -diff --git a/lib/tpm_kdfa.c b/lib/tpm_kdfa.c -index 3d1ed50..fc03af8 100644 ---- a/lib/tpm_kdfa.c -+++ b/lib/tpm_kdfa.c -@@ -34,6 +34,10 @@ - #include "log.h" - #include "tpm2_util.h" - -+#if (OPENSSL_VERSION_NUMBER < 0x1010000fL && !defined(LIBRESSL_VERSION_NUMBER)) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) /* OpenSSL 1.1.0 */ -+#define LIB_TPM2_OPENSSL_OPENSSL_PRE11 -+#endif -+ - static const EVP_MD *tpm_algorithm_to_openssl_digest(TPMI_ALG_HASH algorithm) { - - switch(algorithm) { -@@ -54,7 +58,7 @@ static const EVP_MD *tpm_algorithm_to_openssl_digest(TPMI_ALG_HASH algorithm) { - static HMAC_CTX *hmac_alloc() - { - HMAC_CTX *ctx; --#if OPENSSL_VERSION_NUMBER < 0x1010000fL /* OpenSSL 1.1.0 */ -+#if defined(LIB_TPM2_OPENSSL_OPENSSL_PRE11) - ctx = malloc(sizeof(*ctx)); - #else - ctx = HMAC_CTX_new(); -@@ -62,7 +66,7 @@ static HMAC_CTX *hmac_alloc() - if (!ctx) - return NULL; - --#if OPENSSL_VERSION_NUMBER < 0x1010000fL -+#if defined(LIB_TPM2_OPENSSL_OPENSSL_PRE11) - HMAC_CTX_init(ctx); - #endif - -@@ -71,7 +75,7 @@ static HMAC_CTX *hmac_alloc() - - static void hmac_del(HMAC_CTX *ctx) - { --#if OPENSSL_VERSION_NUMBER < 0x1010000fL -+#if defined(LIB_TPM2_OPENSSL_OPENSSL_PRE11) - HMAC_CTX_cleanup(ctx); - free(ctx); - #else --- -2.19.2 - diff --git a/app-crypt/tpm2-tools/files/tpm2-tools-4.1.1-libressl.patch b/app-crypt/tpm2-tools/files/tpm2-tools-4.1.1-libressl.patch deleted file mode 100644 index 2f39db3283c3..000000000000 --- a/app-crypt/tpm2-tools/files/tpm2-tools-4.1.1-libressl.patch +++ /dev/null @@ -1,26 +0,0 @@ -From a1ac2ee0c6592e6f730458c03a2abd1532c66046 Mon Sep 17 00:00:00 2001 -From: Salah Coronya -Date: Sun, 12 Jan 2020 19:17:48 -0600 -Subject: [PATCH] lib/tpm2_openssl.c: Fix build for libressl - -Signed-off-by: Salah Coronya ---- - lib/tpm2_openssl.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/tpm2_openssl.c b/lib/tpm2_openssl.c -index 505dd7a0..fd3861d9 100644 ---- a/lib/tpm2_openssl.c -+++ b/lib/tpm2_openssl.c -@@ -14,7 +14,7 @@ - #include "tpm2_openssl.h" - - /* compatibility function for OpenSSL versions < 1.1.0 */ --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - static int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen) { - int r; - int topad; --- -2.24.1 - diff --git a/app-crypt/tpm2-tools/files/tpm2-tools-4.2-libressl.patch b/app-crypt/tpm2-tools/files/tpm2-tools-4.2-libressl.patch new file mode 100644 index 000000000000..2f39db3283c3 --- /dev/null +++ b/app-crypt/tpm2-tools/files/tpm2-tools-4.2-libressl.patch @@ -0,0 +1,26 @@ +From a1ac2ee0c6592e6f730458c03a2abd1532c66046 Mon Sep 17 00:00:00 2001 +From: Salah Coronya +Date: Sun, 12 Jan 2020 19:17:48 -0600 +Subject: [PATCH] lib/tpm2_openssl.c: Fix build for libressl + +Signed-off-by: Salah Coronya +--- + lib/tpm2_openssl.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/tpm2_openssl.c b/lib/tpm2_openssl.c +index 505dd7a0..fd3861d9 100644 +--- a/lib/tpm2_openssl.c ++++ b/lib/tpm2_openssl.c +@@ -14,7 +14,7 @@ + #include "tpm2_openssl.h" + + /* compatibility function for OpenSSL versions < 1.1.0 */ +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + static int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen) { + int r; + int topad; +-- +2.24.1 + diff --git a/app-crypt/tpm2-tools/metadata.xml b/app-crypt/tpm2-tools/metadata.xml index b28056e87941..26b4dcbaf517 100644 --- a/app-crypt/tpm2-tools/metadata.xml +++ b/app-crypt/tpm2-tools/metadata.xml @@ -9,6 +9,9 @@ proxy-maint@gentoo.org Proxy Maintainers + + Enable feature API tools + tpm2-software/tpm2-tools diff --git a/app-crypt/tpm2-tools/tpm2-tools-3.1.4.ebuild b/app-crypt/tpm2-tools/tpm2-tools-3.1.4.ebuild deleted file mode 100644 index 2e1a75c96bbf..000000000000 --- a/app-crypt/tpm2-tools/tpm2-tools-3.1.4.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Tools for the TPM 2.0 TSS" -HOMEPAGE="https://github.com/tpm2-software/tpm2-tools" -SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" -IUSE="libressl test" -RESTRICT="!test? ( test )" - -RDEPEND=">=app-crypt/tpm2-tss-2.0:= - net-misc/curl:= - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= )" -DEPEND="${RDEPEND} - test? ( dev-util/cmocka )" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${PN}-3.1.3-libressl.patch" -) - -src_configure() { - econf \ - --disable-hardening \ - $(use_enable test unit) -} diff --git a/app-crypt/tpm2-tools/tpm2-tools-4.1.1.ebuild b/app-crypt/tpm2-tools/tpm2-tools-4.1.1.ebuild deleted file mode 100644 index a2ad7f1f2dcc..000000000000 --- a/app-crypt/tpm2-tools/tpm2-tools-4.1.1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Tools for the TPM 2.0 TSS" -HOMEPAGE="https://github.com/tpm2-software/tpm2-tools" -SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" -IUSE="libressl test" -RESTRICT="!test? ( test )" - -RDEPEND=">=app-crypt/tpm2-tss-2.3.1:= - net-misc/curl:= - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= )" -DEPEND="${RDEPEND} - test? ( dev-util/cmocka )" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${P}-libressl.patch" -) - -src_configure() { - econf \ - $(use_enable !libressl hardening) \ - $(use_enable test unit) -} diff --git a/app-crypt/tpm2-tools/tpm2-tools-4.2.ebuild b/app-crypt/tpm2-tools/tpm2-tools-4.2.ebuild new file mode 100644 index 000000000000..f791854a95a5 --- /dev/null +++ b/app-crypt/tpm2-tools/tpm2-tools-4.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Tools for the TPM 2.0 TSS" +HOMEPAGE="https://github.com/tpm2-software/tpm2-tools" +SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+fapi libressl" + +# Integration test are now run as part of the testing suite, which will fail +# because none of the supported TPM emulators are in Portage. In a future +# version of tpm2-tools, swtpm will be supported and the tests can be run. +RESTRICT="test" + +RDEPEND="net-misc/curl:= + fapi? ( >=app-crypt/tpm2-tss-2.4.0:=[fapi?] ) + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" +PATCHES=( + "${FILESDIR}/${P}-libressl.patch" +) + +src_configure() { + econf \ + $(use_enable fapi) \ + $(use_enable !libressl hardening) +} diff --git a/app-crypt/tpm2-tss/Manifest b/app-crypt/tpm2-tss/Manifest index 87261b5ff305..25801fabaad3 100644 --- a/app-crypt/tpm2-tss/Manifest +++ b/app-crypt/tpm2-tss/Manifest @@ -1,5 +1,4 @@ -DIST tpm2-tss-2.2.3.tar.gz 912179 BLAKE2B 36b2a462512822dccb3adab605ea9922132f027455a1d2895b6735f6200fe44f08288477c99afd0f6c06b4bff3090104b6412b12ea4a518888cf756fb8ee53c4 SHA512 68087cbf2b7acc33788e90b3825bf2c91faa65cfc04b576790634c88876a8a6930d6943f83b7cf0858e37e5e7307703d0c975b9fc0b0ad1d87f66c74b65bd411 -DIST tpm2-tss-2.3.3.tar.gz 1171185 BLAKE2B de88d3301bf05239ac9644b4d0e8f257f483bd7a8196ba957a68da9f47cd88ca47422fded5fa8939ccb3bcdf4b39c1dd363c65b9e675f3e03021fb12ec723117 SHA512 df83908508fc8add8ca1aaf7144bcf369f13797f7e5d39fe29654d82e2de2cddf324cd06cb3154318ef767d706d863a7781d98c7b29a90945f081a54594128e5 -EBUILD tpm2-tss-2.2.3-r2.ebuild 1277 BLAKE2B aeda0dcbeffe97619fd36effb25a419c0eb19a8bbc08535cfc18e9f7f099fdf3cfcf07d0558fdfca8bfff5fd8428cd93b17dbbb66b0185482071df144d338458 SHA512 3c1e19d927bd3a129c38dc0c5c203c2247010c9350028736615d0d6aa74b9b8647d68c442ee98df6227bf6bd272b010725dfe6713b75930a1ce6236d2fde3b88 -EBUILD tpm2-tss-2.3.3.ebuild 1224 BLAKE2B 18acb65638c296c0d1f3326857c9a9d6396a6e2e062d5110f58262a9afe0ca1ce1ff7f9e0e1c240fb41275df8783e8ff5f3f848b6d75cc0c5d547d156c615de6 SHA512 39e04c983c696dc579e22acad09bcce367a66f15b4fc9fce90a6231f5be8fe017f92a9c3536a53de1f49b1986bf88020405478970fd01e8858050dab69eb732e -MISC metadata.xml 630 BLAKE2B 71c85033656a3bccc387016c188d9e51bf46d5063ce3f910dc204073ee5f8f48f7b18db5630c182de2f4d6745960edf84c0e369c18c4ba222e6d79f76b5ddbb0 SHA512 c7a8877acd32975f5cb57369f268da56ca7494f6552876f212e87c6dbf2df321dff634cefeda8819f4a7c95768884ef93b9d8a7aa640051b21ee3b6ae3aec1a1 +AUX tpm2-tss-2.4.0-fix-tmpfiles-path.patch 1145 BLAKE2B 2cb265a5ae605982765675b5911c111c76d433f5ed1803dedbe06766abf9a0e00abd6dd1e378e6d2e30e9f8acdaf2795595c6a83e7fc08b96377c3b125b62ffc SHA512 60a7af4e6aff18837bc6f97211f14af99799942dae197193daa81ceec9a5c889056321abbf3734ec45daf2d873cb978946b6a77f1f5fe4ec2c2df78d3c59c7dd +DIST tpm2-tss-2.4.0.tar.gz 1446509 BLAKE2B bb078719fa85d9ea07b9710b5ac5d2f9c2b842700ed5b26a30ab2708a227b4bd599563c76e648d6f0b9dfe7785a25c049826f953baffdd39113bd62e7b4563df SHA512 763370381584f2124f751f0736e6a8b34428fd52134fd9966f3581e128f3b74b3f1261992f5d6162d7c866e47f7e5519ea80c1d1d39b80d5ed6e067eb2cd35a0 +EBUILD tpm2-tss-2.4.0.ebuild 1610 BLAKE2B 8f230e65c4327c443c809cc0af7b6f6f5ccd339cfa94c9c5d167898eaa645f1af35bef8e6bd711a153feda87e898e0dfa8d2fa20a6fff3b6da9d7155b814f4f7 SHA512 284e5f7f3d96f1d52b3ddd58fdf051ff56642ae66129f8e09daaa2c81902264741fb0e625c0e1469957ef2554040fa1f0deb3cc40a6f66e2c96606ae3547a04c +MISC metadata.xml 713 BLAKE2B 2abdfb26f5f48d666fb73603855baca019806420a262855faa4d4b00c90cdb260f2d6db4fab0752b13ef67dcfcd0e6462889eed7797545b1893a8c6ed137d563 SHA512 d48e14b074bcaaf77b723671a49979f94b592812d55a1e42acbe9b609be4e799bab939fdd4db66a2f9e37b40a0c2a13b47ef48d0e6c30e0ba88110e28dfaa4d2 diff --git a/app-crypt/tpm2-tss/files/tpm2-tss-2.4.0-fix-tmpfiles-path.patch b/app-crypt/tpm2-tss/files/tpm2-tss-2.4.0-fix-tmpfiles-path.patch new file mode 100644 index 000000000000..93a1fed8a877 --- /dev/null +++ b/app-crypt/tpm2-tss/files/tpm2-tss-2.4.0-fix-tmpfiles-path.patch @@ -0,0 +1,22 @@ +diff --git a/dist/fapi-config.json.in b/dist/fapi-config.json.in +index e32a3c36..4aa636e2 100644 +--- a/dist/fapi-config.json.in ++++ b/dist/fapi-config.json.in +@@ -2,7 +2,7 @@ + "profile_name": "P_RSA2048SHA256", + "profile_dir": "@sysconfdir@/tpm2-tss/fapi-profiles/", + "user_dir": "~/@userstatedir@/tpm2-tss/user/keystore", +- "system_dir": "@localstatedir@/lib/tpm2-tss/system/keystore", ++ "system_dir": "@localstatedir@/tpm2-tss/system/keystore", + "tcti": "", + "system_pcrs" : [], + "log_dir" : "@runstatedir@/tpm2-tss/eventlog/" +diff --git a/dist/tmpfiles.d/tpm2-tss-fapi.conf.in b/dist/tmpfiles.d/tpm2-tss-fapi.conf.in +index 1793c4d7..3f0c8380 100644 +--- a/dist/tmpfiles.d/tpm2-tss-fapi.conf.in ++++ b/dist/tmpfiles.d/tpm2-tss-fapi.conf.in +@@ -1,3 +1,3 @@ + #Type Path Mode User Group Age Argument +-d @localstatedir@/lib/tpm2-tss/system/keystore 775 tss tss - - ++d @localstatedir@/tpm2-tss/system/keystore 775 tss tss - - + d @runstatedir@/tpm2-tss/eventlog 775 tss tss - - diff --git a/app-crypt/tpm2-tss/metadata.xml b/app-crypt/tpm2-tss/metadata.xml index 227ecac58567..ca0c0ecca084 100644 --- a/app-crypt/tpm2-tss/metadata.xml +++ b/app-crypt/tpm2-tss/metadata.xml @@ -10,6 +10,7 @@ Proxy Maintainers + Enable feature API (requires openssl as crypto backend) Use dev-libs/libgcrypt as crypto engine Use dev-libs/openssl as crypto engine diff --git a/app-crypt/tpm2-tss/tpm2-tss-2.2.3-r2.ebuild b/app-crypt/tpm2-tss/tpm2-tss-2.2.3-r2.ebuild deleted file mode 100644 index cc1d9f37f2ab..000000000000 --- a/app-crypt/tpm2-tss/tpm2-tss-2.2.3-r2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info udev - -DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack" -HOMEPAGE="https://github.com/tpm2-software/tpm2-tss" -SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0/0" # sublot is libtss2-sys number -KEYWORDS="~amd64" -IUSE="doc +gcrypt openssl static-libs test" - -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - gcrypt? ( !openssl ) - openssl? ( !gcrypt ) - || ( gcrypt openssl )" - -RDEPEND=" - acct-group/tss - acct-user/tss - gcrypt? ( dev-libs/libgcrypt:0= ) - openssl? ( dev-libs/openssl:0= )" -DEPEND="${RDEPEND} - test? ( dev-util/cmocka )" -BDEPEND="virtual/pkgconfig - doc? ( app-doc/doxygen )" - -pkg_setup() { - local CONFIG_CHECK=" \ - ~TCG_TPM - " - linux-info_pkg_setup - kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required" -} - -src_configure() { - econf \ - $(use_enable doc doxygen-doc) \ - $(use_enable static-libs static) \ - $(use_enable test unit) \ - --disable-defaultflags \ - --with-crypto="$(usex gcrypt gcrypt ossl)" \ - --with-udevrulesdir="$(get_udevdir)/rules.d" \ - --with-udevrulesprefix=60- -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} diff --git a/app-crypt/tpm2-tss/tpm2-tss-2.3.3.ebuild b/app-crypt/tpm2-tss/tpm2-tss-2.3.3.ebuild deleted file mode 100644 index c73c89ca37d3..000000000000 --- a/app-crypt/tpm2-tss/tpm2-tss-2.3.3.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info udev - -DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack" -HOMEPAGE="https://github.com/tpm2-software/tpm2-tss" -SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="doc +gcrypt openssl static-libs test" - -RESTRICT="!test? ( test )" - -REQUIRED_USE="^^ ( gcrypt openssl )" - -RDEPEND="acct-group/tss - acct-user/tss - gcrypt? ( dev-libs/libgcrypt:0= ) - openssl? ( dev-libs/openssl:0= )" -DEPEND="${RDEPEND} - test? ( dev-util/cmocka )" -BDEPEND="virtual/pkgconfig - doc? ( app-doc/doxygen )" - -pkg_setup() { - local CONFIG_CHECK=" \ - ~TCG_TPM - " - linux-info_pkg_setup - kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required" -} - -src_configure() { - econf \ - $(use_enable doc doxygen-doc) \ - $(use_enable static-libs static) \ - $(use_enable test unit) \ - --disable-defaultflags \ - --disable-weakcrypto \ - --with-crypto="$(usex gcrypt gcrypt ossl)" \ - --with-udevrulesdir="$(get_udevdir)/rules.d" \ - --with-udevrulesprefix=60- -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} diff --git a/app-crypt/tpm2-tss/tpm2-tss-2.4.0.ebuild b/app-crypt/tpm2-tss/tpm2-tss-2.4.0.ebuild new file mode 100644 index 000000000000..f8986d88dc98 --- /dev/null +++ b/app-crypt/tpm2-tss/tpm2-tss-2.4.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info tmpfiles udev + +DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack" +HOMEPAGE="https://github.com/tpm2-software/tpm2-tss" +SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc +fapi gcrypt +openssl static-libs test" + +RESTRICT="!test? ( test )" + +REQUIRED_USE="^^ ( gcrypt openssl ) + fapi ( !gcrypt )" + +RDEPEND="acct-group/tss + acct-user/tss + fapi? ( + dev-libs/json-c + net-misc/curl + ) + gcrypt? ( dev-libs/libgcrypt:0= ) + openssl? ( dev-libs/openssl:0= )" +DEPEND="${RDEPEND} + test? ( dev-util/cmocka )" +BDEPEND="virtual/pkgconfig + doc? ( app-doc/doxygen )" + +PATCHES=( + "${FILESDIR}/${PN}-2.4.0-fix-tmpfiles-path.patch" +) + +pkg_setup() { + local CONFIG_CHECK=" \ + ~TCG_TPM + " + linux-info_pkg_setup + kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required" +} + +src_configure() { + econf \ + $(use_enable doc doxygen-doc) \ + $(use_enable fapi) \ + $(use_enable static-libs static) \ + $(use_enable test unit) \ + --disable-tcti-mssim \ + --disable-defaultflags \ + --disable-weakcrypto \ + --with-crypto="$(usex gcrypt gcrypt ossl)" \ + --with-runstatedir=/run \ + --with-udevrulesdir="$(get_udevdir)/rules.d" \ + --with-udevrulesprefix=60- \ + --with-sysusersdir="/usr/lib/sysusers.d" + --with-tmpfilesdir="/usr/lib/tmpfiles.d" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + tmpfiles_process tpm2-tss-fapi.conf +} diff --git a/app-crypt/trousers/Manifest b/app-crypt/trousers/Manifest index 58db7d0f039b..2f480ea7efde 100644 --- a/app-crypt/trousers/Manifest +++ b/app-crypt/trousers/Manifest @@ -3,8 +3,9 @@ AUX tcsd.confd 372 BLAKE2B 535a5bb44cd18e4d0b7520a8ea840159d35e4ae0c557b63ec7892 AUX tcsd.initd 843 BLAKE2B 1c2190a10823130ed69c79761063656e55cdadafeca99053d12a86f110091936f44475f5ea6adaf90e7eb70f3871fcf6452c96c86b5bc88ae28a1a5144e2a95b SHA512 d43dac0f8a7b878fb7572df8e3314ef2e6c1b90ff794df2f41192e7e4f3c8849602dde49db359e6566f1e426b63fc214c6b9dea731fcb7f3c09623e3c27b2001 AUX tcsd.service 131 BLAKE2B db7995ca078c6008daba2bee50b892d5ae0fceb184c966f67578185dbdd81b8a3a55000029215d28d99e8e3ccd73f64b85b66cc4f4a337f28ee9d9ade4222067 SHA512 e516bde8ce45fe4ad687aaaabae475da9c20a9fbd8ebee736d09ceb6efa597efb6f3bb99840a4c0d2c9eb77c2824df6ee45985b46dc8cf924b4eed67eeec1468 AUX trousers-0.3.13-nouseradd.patch 606 BLAKE2B 7e4a479fe1bdc75f743263c1321f2d99cfe99d04d8196b57a158bd2ce75335526b2001c2af8aa0f8b17ddfefa304685e237385be0bc4113d5ca366dd464fa85d SHA512 a6c9074e535429f09ce5e850d943378348b54bed479b7fef0fff7bb18ab2547421407900aa35533749a764275a241ddbd083c4e2f3d6a9ad6f9b1d40d090f783 +AUX trousers-0.3.14-fno-common.patch 385 BLAKE2B 7ed20c894c4687275804adf8d820227e5b246f02880d38b29dc6a17d12a4932059f237913f8d1841d56ee32c652cf732c01e77cd1235255b8e2fc28bc9a78027 SHA512 cf771b065d972b9974c93ec67a471a8ed3da737178a14b2d14537ee7948544bcbf071201d42d6e2b1333a3c30e8104cd1dbb344327a424597e5046e50137a692 AUX trousers-0.3.14-libressl.patch 877 BLAKE2B 6416ecf1cf99678299e4ac39756920de61e598ec9b9c91c17cf8eddfa10af145b813756e2fae3b39fef8682eeb2ee722b3979d52570f41b99708fb4ba2cebe2d SHA512 3aba9ec7554d4fdb941063f771b40c5700efefdbb6e5df186824e93a6b2c61801acb4be60cdbe71dcee9360c0f59229e5d17f1a18aa981132807b5e74efc2d59 DIST trousers-0.3.14.tar.gz 1378438 BLAKE2B 3dc2824fa2ca1b1f1181f98d59e85276e7d38af4bfc07ee8246431d9ccb300a8e0820b318643d4cf5d757d2a49492c8686e2fe9de03484263d2189d4bbaa32d0 SHA512 bf87f00329cf1d76a12cf6b6181fa22f90e76af3c5786e6e2db98438d2d3f0c0e05364374664173f45e3a2f6c0e2364948d0b958a7845cb23fcb340150cd9b21 EBUILD trousers-0.3.14-r1.ebuild 3005 BLAKE2B 625aca034e7f6c85660c31f2ea2aeea18dc9b555213c8238c54d1e348a1a46db01f6e852ab2ae26ac42d396ba928a75bc0ba9d898bbd74b69b4c0b66310bb604 SHA512 bcbd7d7925f0ad42365c73a0419effe6c2e0b63904b1d2730305251b4ed6c95e5d36b6266a1409714075af714055b4500895399cf0b59ec8baa7bbaffb773502 -EBUILD trousers-0.3.14-r2.ebuild 2950 BLAKE2B 2251a0f410623b1dac675ac40f737874463508550521acad0d1f612c1719537d797814d4978a58ce2d52f4315c8c73202fc780d4ef9235019b57e066bab5f173 SHA512 050ccacc085d1f7960423a81a2a47b08891bc539b1c2294f63a744be1416ad51a121ca6e2d141c1b7bff60fb7e6e3d1d2905782c76e417abf06dd0bac165fdcb +EBUILD trousers-0.3.14-r2.ebuild 1579 BLAKE2B 9798302ee9903fef84d39e836a69baa7c3c8fd92651e5245c9734c5979921fc50ebb19fc972b41cfd92d5883605f363afdc8f6588ba0d0db7db32d102fd9afa5 SHA512 9283242356516ef258ec8d42de3b571c24985152efc4441a3123ae2c50e00984ab83aaf61ab1c453311ed48edcf281528ce7e453172e18cf7eb4fb52efd1a2f0 MISC metadata.xml 507 BLAKE2B 1674e8c11713df517fd8d2aead0b5207a114de5b34559ed1b1a2527e73ee7e749a13d5a7e10330f940bc61c51ed9083e3ce423db428503f25295e1fd3b64d576 SHA512 f1c304734694001da4b95f1f18cb6891d3fc9df1db1013ad7155b2f60fd466f46947b3fa9e78d50c2a4a2fb1d0ca98b8ebb8017dde2bfcadd847e422df8885d7 diff --git a/app-crypt/trousers/files/trousers-0.3.14-fno-common.patch b/app-crypt/trousers/files/trousers-0.3.14-fno-common.patch new file mode 100644 index 000000000000..5046bc70883b --- /dev/null +++ b/app-crypt/trousers/files/trousers-0.3.14-fno-common.patch @@ -0,0 +1,15 @@ +diff --git a/src/include/tcsd.h b/src/include/tcsd.h +index 5b9462b..05bae97 100644 +--- a/src/include/tcsd.h ++++ b/src/include/tcsd.h +@@ -166,8 +166,8 @@ void thread_signal_init(); + + /* signal handling */ + #ifndef __APPLE__ +-struct sigaction tcsd_sa_int; +-struct sigaction tcsd_sa_chld; ++extern struct sigaction tcsd_sa_int; ++extern struct sigaction tcsd_sa_chld; + #endif + + #endif diff --git a/app-crypt/trousers/trousers-0.3.14-r2.ebuild b/app-crypt/trousers/trousers-0.3.14-r2.ebuild index 98591153d561..b62a9eb93452 100644 --- a/app-crypt/trousers/trousers-0.3.14-r2.ebuild +++ b/app-crypt/trousers/trousers-0.3.14-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/trousers/${PN}/${P}.tar.gz" LICENSE="CPL-1.0 GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~ppc ~ppc64 ~s390 ~x86" +KEYWORDS="amd64 arm arm64 ~m68k ~ppc ppc64 ~s390 x86" IUSE="doc libressl selinux" # gtk # gtk support presently does NOT compile. @@ -29,6 +29,7 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}/${PN}-0.3.13-nouseradd.patch" "${FILESDIR}/${P}-libressl.patch" + "${FILESDIR}/${P}-fno-common.patch" ) DOCS="AUTHORS ChangeLog NICETOHAVES README TODO" @@ -37,45 +38,9 @@ DOC_CONTENTS=" If you have problems starting tcsd, please check permissions and ownership on /dev/tpm* and ~tss/system.data " - S="${WORKDIR}" -pkg_setup() { - # Check for driver (not sure it can be an rdep, because ot depends on the - # version of virtual/linux-sources... Is that supported by portage?) - linux-info_pkg_setup - local tpm_kernel_version tpm_kernel_present tpm_module - kernel_is ge 2 6 12 && tpm_kernel_version="yes" - if linux_config_exists; then - linux_chkconfig_present TCG_TPM && tpm_kernel_present="yes" - else - ewarn "No kernel configuration could be found." - fi - has_version app-crypt/tpm-emulator && tpm_module="yes" - if [[ -n "${tpm_kernel_present}" ]]; then - einfo "Good, you seem to have in-kernel TPM support." - elif [[ -n "${tpm_module}" ]]; then - einfo "Good, you seem to have TPM support with the external module." - if [[ -n "${tpm_kernel_version}" ]]; then - elog - elog "Note that since you have a >=2.6.12 kernel, you could use" - elog "the in-kernel driver instead of (CONFIG_TCG_TPM)." - fi - elif [[ -n "${tpm_kernel_version}" ]]; then - eerror - eerror "To use this package, you will have to activate TPM support" - eerror "in your kernel configuration. That's at least CONFIG_TCG_TPM," - eerror "plus probably a chip specific driver (like CONFIG_TCG_ATMEL)." - eerror - else - eerror - eerror "To use this package, you should install a TPM driver." - eerror "You can have the following options:" - eerror " - install app-crypt/tpm-emulator" - eerror " - switch to a >=2.6.12 kernel and compile the kernel module" - eerror - fi -} +CONFIG_CHECK="~TCG_TPM" src_prepare() { default diff --git a/app-crypt/xca/Manifest b/app-crypt/xca/Manifest index 7e509447f486..c2f4f155ccdc 100644 --- a/app-crypt/xca/Manifest +++ b/app-crypt/xca/Manifest @@ -1,6 +1,8 @@ AUX xca-1.0.0-desktop.patch 391 BLAKE2B 1cbec5681df8da9230b783c8ea048a199bd31a38fce6781dcd86b926e03b245de05b148d8df9034f5c7470dcf5823bd4a080cbb011a1a32fc0b96d8a8a5d950d SHA512 5dd62d8d2f4485b6155e466bb9a012f44104ff36c97bae61e8155880b937fc1271e94fb5b83627bd828e3cde0ab421a150458d050cb512d633d1c5c97f80f163 DIST xca-2.1.2.tar.gz 1086563 BLAKE2B d48727fffad16d840633af6e0ee38a279978a5b865eb6f391a3d852a0105817254ea0a4780875f2956e1f7e9931e6930c6ffbe82b117dbf8ad0058ec9d6f5c88 SHA512 1f104a22b83b802576b4820b7139971da50f9b3dd70aca8e1199e996bad4379b8681bb31b197b84a3dfa49cef4ae093f6622d15fac9667547ff47af43c1e5f07 DIST xca-2.2.1.tar.gz 1339412 BLAKE2B 5d3e33a711919d85bc3457ddd596f2272f0136d96290aeb31e6d03ea86faff00be3590862e4c96d9214542db1bd536d0d22c6c04cd5071b253bbefe3ab3f4f56 SHA512 90eaf4a859779d57a4c0201dc403d67e005bd540145b9f543e13b8d5c42199f2ea05543de24b071d19a0db8e5b1e9f3bef2aea4bfe9f71f81007a5f5bb3ba406 +DIST xca-2.3.0.tar.gz 1354154 BLAKE2B 31a4ac96819e8d2f7e5f623cc343f0cbff18c931ed0699dbe093dcb963c3431a3943c4dcd8f3d727896104c05a565d062b9678169bf2a8d3f7cf7748c311b53b SHA512 35522aa308e1022a739f3255f13fcf63f481000f9b7411027a009a185e33ddceeb5cf9b55406a4899d2393c7e5ace10354ff24b3b2b0c3045d110f679756b0b8 EBUILD xca-2.1.2.ebuild 1455 BLAKE2B 1aea6cd367a144b64aba3439204e81d2afdbac0e506596eeb02731b439c4b4812a6e3b572f2b974a881a3765832edda9a87301eb593d7c1f569543425d55ffc9 SHA512 d3156e68bd839e5d332190389605759db233c00cb70485b2f8238b4c684473836e817f0af8da44c87d9ff6b736ac6464479b2216572594a5eb7a53881ceab5a2 EBUILD xca-2.2.1.ebuild 1455 BLAKE2B dd8fac4045b49c7521b5df82c966506aef2824a9233b4f1c06e0b99001a1d81e2ef23f1b2c5355f70d9aec237cc44f08425121c926f14f9dae8f2e0b0850d9d9 SHA512 36d5f5d6461a04fed506053de5d2a64b5f5f108d0a4f71ec833e42c06b3a9cb38598c4f794fdb9b7994f7901e7c75f975b17e2ef68c32bb6b2094dd4acc75b09 +EBUILD xca-2.3.0.ebuild 1522 BLAKE2B 2bb1eef06734ad3ed22b284b6232f6b26b49f544f2b65afe5f5b627f45f6423e230a3986f1335c344bb77b0c43c8207ead2e9a10e1ba714b6d4bead9e361379c SHA512 2cbd68d3d174f01c2f3f2466b93ea5fab292f00b6a1dac4f07b423d68fbdc109d3bedf775319b15133d365c7edceeeb70d4892c701f22bacedb29baf6f864aeb MISC metadata.xml 350 BLAKE2B 825e045b03a40c1b9a3c5af631d1748532ad4c84e83d0efd1d4866c5cc1284afab67f1e3e00a2c31a376a19d4e4608404a5830ab1a8a738079a3b6128f5c9bad SHA512 fd4e95bcd679b22bdfa620896e81e0a63bc6f084c60bf42caa853f9dcef2c797ff640801f206caceb6969ee4e347492200b37af4920c50c9764a3bac48910cf3 diff --git a/app-crypt/xca/xca-2.3.0.ebuild b/app-crypt/xca/xca-2.3.0.ebuild new file mode 100644 index 000000000000..0473f9f3358c --- /dev/null +++ b/app-crypt/xca/xca-2.3.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit xdg-utils + +DESCRIPTION="A GUI to OpenSSL, RSA public keys, certificates, signing requests etc" +HOMEPAGE="https://hohnstaedt.de/xca/" +SRC_URI="https://github.com/chris2511/${PN}/releases/download/RELEASE.${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="bindist doc libressl" + +RDEPEND=" + dev-libs/libltdl:0= + dev-qt/qtgui:5 + dev-qt/qtsql:5[sqlite] + dev-qt/qtwidgets:5 + !libressl? ( dev-libs/openssl:0=[bindist=] ) + libressl? ( >=dev-libs/libressl-2.7.0:0= ) + doc? ( app-text/linuxdoc-tools )" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5" + +PATCHES=( + "${FILESDIR}/${PN}-1.0.0-desktop.patch" +) + +src_configure() { + econf \ + --with-qt-version=5 \ + $(use_enable doc) \ + STRIP=true +} + +src_prepare() { + sed '/^CFLAGS/s@-O2 -ggdb@@' -i Local.mak.in || die + default +} + +src_compile() { + # enforce all to avoid the automatic silent rules + emake all +} + +src_install() { + default + + insinto /etc/xca + doins misc/*.txt + + ewarn "Make a backup copy of your database!" + ewarn "Version 2 completely changes the database format to SQL(ite)" + ewarn "Don't try to open it with older versions of XCA (< 1.4.0). They will corrupt the database." +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} diff --git a/app-crypt/yubikey-manager/Manifest b/app-crypt/yubikey-manager/Manifest index 2437d5e032f9..46ee05d3ca8d 100644 --- a/app-crypt/yubikey-manager/Manifest +++ b/app-crypt/yubikey-manager/Manifest @@ -1,5 +1,5 @@ DIST yubikey-manager-3.1.0.tar.gz 115010 BLAKE2B 1b27b9af7f3adac87a1bca58929bffef2ae397b359f70580a07193d2bd2f8cd4d2d867053f6494f1e262668443388d79dfe3775f2c3d0a5528840df8826cdf91 SHA512 518eedb52cfcf725c13114c433f848b97f711e94fa9c71685916fb8cb20e5bfc431f648b0ec710ef9ebed2bc8ddd8722ca1c9865d7a1b29537b719e167ed5f60 DIST yubikey-manager-3.1.1.tar.gz 116632 BLAKE2B 252c419280143fa6f44daf3de8ec27bbdc3218e4552e39799e1daca5b46939c4042ae1d43abeab110fe1abaf2e87d94c270442ee6fce05e26927add5b34e9f66 SHA512 8229d5442ddf89fe90abb0153aa005cb0d149a84634b994dc283f7cbac2f72d4b913c238c277c6aa07f431aed8905008aeb11e594e730be71c9ca88150a6ef68 EBUILD yubikey-manager-3.1.0-r1.ebuild 1454 BLAKE2B 620f4df65c9115f64131536cab3683fa2e618b2b4d5b5e979c846b5ba94363ed4f6dfbc207d42e8fe5e981a22ef2a74de13ba0df86db65be0e66c87dc2097d7a SHA512 ab36bb4dcc1c8b04b62f435a7b36d729351d476259cd49ff3a0cb0c77f942f6d8c62ae85b5ab062066c85b8ccbeefa34836a0ee7f8b1875dcb8fd2f6a37870b5 -EBUILD yubikey-manager-3.1.1-r1.ebuild 1462 BLAKE2B 9f12b7ce1e49f166a60406ca8622b9d1bdf5026372b7a8cf8168e36c5922d447264dd96b734a3f1f5132c140bc8ef1a929accc8675516183e796687eb9680fdf SHA512 1f537c045b51c5586215f5d90c972d5b69f9ed2cc2f3f51b1eda461d50b0ebe80297b7ddbc4493defbc1fd0adb7c4beb7998f86750fd2fd6f01dc91dbd406943 +EBUILD yubikey-manager-3.1.1-r1.ebuild 1460 BLAKE2B fe0769ccfd53bb0cd7ad43ee4e48217522876a4368290c3da1a9884b6da2986a6c532e6ca433e51532f184889a6fabbc04d2beb7b885aceacb424b2111cb0c1f SHA512 fc407556248ff61b861c755939ae630380ce11022758a5addefe9911f4e4838bc4454459b5883945b2e75d313cc5e7c26a406459695ad308ba0830b2b241d1e0 MISC metadata.xml 466 BLAKE2B 258688bf55e0d7d5d13a45996c2177d2154626a75ffd0c5b39cbc5c3f83979a00ec1d9a993870c00785d0e1d02cdeb1dadfa38f39d91b5992c5b495f644c6253 SHA512 6355c94235c5a7a9dbe37fb954d7de5807bbd48d62921f819da7ac1c56f0214820cbf74b2f91311573f8a1726b05960d944b536fbf0e0f27fe49a5aa0a827e1b diff --git a/app-crypt/yubikey-manager/yubikey-manager-3.1.1-r1.ebuild b/app-crypt/yubikey-manager/yubikey-manager-3.1.1-r1.ebuild index 9585e25beb8d..11e2c99374c8 100644 --- a/app-crypt/yubikey-manager/yubikey-manager-3.1.1-r1.ebuild +++ b/app-crypt/yubikey-manager/yubikey-manager-3.1.1-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="test" RESTRICT="!test? ( test )" -- cgit v1.2.3