diff options
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/Manifest.gz | bin | 24979 -> 24977 bytes | |||
-rw-r--r-- | app-crypt/libmd/Manifest | 2 | ||||
-rw-r--r-- | app-crypt/libmd/libmd-1.1.0.ebuild | 23 | ||||
-rw-r--r-- | app-crypt/qca/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/qca/qca-2.3.6-r2.ebuild | 115 |
5 files changed, 141 insertions, 0 deletions
diff --git a/app-crypt/Manifest.gz b/app-crypt/Manifest.gz Binary files differindex 9a2a18689588..e7754c9c2af3 100644 --- a/app-crypt/Manifest.gz +++ b/app-crypt/Manifest.gz diff --git a/app-crypt/libmd/Manifest b/app-crypt/libmd/Manifest index 219563803d0c..a9b7ea03c770 100644 --- a/app-crypt/libmd/Manifest +++ b/app-crypt/libmd/Manifest @@ -1,4 +1,6 @@ AUX libmd-1.0.4-fix-version-script-linker-support-detection.patch 1264 BLAKE2B 56e090a0f764617a8febb646299281c68153cc25d6abc889b3a1db55b67350c1ad381095c31716b2424a72d9a91bf81f7fb1c4c85c5553213ad27671639dbc70 SHA512 2a2771d3d310605f6eae6871ab432395c43f3388c4b96e94d4e62f4407944775dcd85bb80134243977370369d9aa8da350a8691983ef4908b1c3779e53af11a2 DIST libmd-1.0.4.tar.xz 264472 BLAKE2B ddc2da74635f5cc009c66a58ae82b83e6e0930e18af8a6b0ecec7cbf378246707b493a99fb97d3491d0d626a0d5ef068baea6a3ba2ec311c5a1516ba5b4e2fd5 SHA512 731553ecc5e0e1eb228cced8fccd531fe31fb5c7627ca30013d287e1aeb8222959cf7498fbb7414bbabb967b25d4e8b0edd54fc47f6ccf55fc91087db0725ce3 +DIST libmd-1.1.0.tar.xz 271228 BLAKE2B a4dc72be4a46609d41453b19ba3110043e74fd0810d59f872e11151dbe87b0bdab203ef72c9d19255db32493b229bc0d33549e787979a42db08c838a810e1cdc SHA512 5d0da3337038e474fae7377bbc646d17214e72dc848a7aadc157f49333ce7b5ac1456e45d13674bd410ea08477c6115fc4282fed6c8e6a0bf63537a418c0df96 EBUILD libmd-1.0.4.ebuild 836 BLAKE2B 9609123c6a022d841d7fa929568a23fa7e4da2a28acfb5b4904831ae7995c536484f76b91e968065974439f5dbc994cd8fa761bb792697d338615ec75ccbc857 SHA512 46903edf125fd5c1194c444e04a1ff35e1876eeddb7efd4e405b95527425dac0c296ab57d3752c3f6a700701cc8528a02d758381cbba0e11046754b29a1635b9 +EBUILD libmd-1.1.0.ebuild 658 BLAKE2B 7556aee412c5c40b7ec2c1db52435abaaab124f4535969989ac5d9dfac388a9721c88ab82047f87c5b2fc65326ed85e1207251a374fd62d52a155e57e0a319ce SHA512 4d7393587eddc19d63d1cabf504b2db3fdc03847e5a50b2b4d5f40c5e37c5c4707957563da520f9949f2805e3e3d8926a360f7a2d7d20bb21fe653c427b45343 MISC metadata.xml 347 BLAKE2B 957c6097e5f3a419ab0d8f184d13e5059c621e2bd126fac09fe1d96241fe86fb5b86abdcd3ce61c8c1d168a69017f87a9655d15a2c90dbb7c2d465cf5b35eeb0 SHA512 ffa404b86c2846593a46124b7cd3064dc0eddc4b84d74b7a3649fbdf3c38456477623afb1419282e46f16ef7c6718cda05209cf7039440ce8a3d9d929fd51203 diff --git a/app-crypt/libmd/libmd-1.1.0.ebuild b/app-crypt/libmd/libmd-1.1.0.ebuild new file mode 100644 index 000000000000..826b791d45ce --- /dev/null +++ b/app-crypt/libmd/libmd-1.1.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-minimal + +DESCRIPTION="Message Digest functions from BSD systems" +HOMEPAGE="https://www.hadrons.org/software/libmd/" +SRC_URI="https://archive.hadrons.org/software/libmd/${P}.tar.xz" + +LICENSE="|| ( BSD BSD-2 ISC BEER-WARE public-domain )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -type f -name '*.la' -delete || die +} diff --git a/app-crypt/qca/Manifest b/app-crypt/qca/Manifest index 1fc711b47292..ef4194a95893 100644 --- a/app-crypt/qca/Manifest +++ b/app-crypt/qca/Manifest @@ -4,4 +4,5 @@ DIST qca-2.3.5.tar.xz 741036 BLAKE2B 3948dc9b58a8ef03eec246cc14c7582d30e2513ea4b DIST qca-2.3.6.tar.xz 745864 BLAKE2B a3a5955215504b5703db304f241ae9c0c9b243c280cacb6180f631b3259b5f9a8af1c08b233f70e8e4130ac2e957dc3d8a99817b4dec2df0fab41b39bc54f8c8 SHA512 018bde919df28cfc9e5d6c5ad30724199a1a17437022751fb92bfc1ce691d8a56c62b661526e346f5a0c5ff7ffd556499f2ee25efe9f8b1698b3f8eee480811c EBUILD qca-2.3.5-r1.ebuild 1927 BLAKE2B 2c8deada2814ebe5c1f29d0ed5aa1331af687519d8acd4b901af41510ed846b104b512217516df272124435b6d14c6d9931fea1b77ed564fc4840aa0a7da3a31 SHA512 1f176e5a7d78c6c53a5e0ed7d20ad1647076f62d7dfa8e7691ead13a244308f5a8b1d6ae8baa97ca7296311e619589430ca95bb75b0a653e8890676c9e99b864 EBUILD qca-2.3.6-r1.ebuild 1880 BLAKE2B cbcf607a8c064a1ae279ff35c461d5f300f8df8f6d72b5b90efd97572333dd1af9b6c812fd48cb7a0e9f0d599b68eaa34c10f414370a4685733ada81410a6503 SHA512 1416b00e7f1dba29ad54cd1e384652f2eef29a77e212e889dfc4ffa9adf9fbe8d8861f8a32a9ac3fbfeb7186d42f235f148b4e2c6cfccf460064703012033580 +EBUILD qca-2.3.6-r2.ebuild 2509 BLAKE2B f8c03aafb840507ea177eb734ecd9a46eec6186a4c8d4cbe3041558817cade3b626f5ec1ca6d1bd9fa89f6ef6f6385ebfee4ed4b99f41845377f32d725614354 SHA512 9c5ee6e25343bd529c3ab66312d5436db90020eee19e5d196f016fdb99b85504c43784fa7be54009f8e8cc30f31560d686423015e386d37ab3907da4e76be58f MISC metadata.xml 832 BLAKE2B 9044b545fa732c5f86c7dbb026630b4946a538ba77369eae28e894bf636ca60f6a31d7aad258fa19aee4c433d6d5a8e2a34a7c2850eef3a40d44261e592032b0 SHA512 b01bfe83343fdc265abc25922300cdc67f556a9a6f6db16918b0b3ee44c4e83db524695c5cb8952278f3e1f2e5d60a49bcc9312b35ab95f0ecc42e03764fb6bd diff --git a/app-crypt/qca/qca-2.3.6-r2.ebuild b/app-crypt/qca/qca-2.3.6-r2.ebuild new file mode 100644 index 000000000000..0cdc05cdc7ad --- /dev/null +++ b/app-crypt/qca/qca-2.3.6-r2.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake kde.org multibuild qmake-utils + +DESCRIPTION="Qt Cryptographic Architecture (QCA)" +HOMEPAGE="https://userbase.kde.org/QCA" +SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="botan debug doc examples gcrypt gpg logger nss pkcs11 +qt5 qt6 sasl softstore +ssl test" +REQUIRED_USE="|| ( qt5 qt6 )" + +RESTRICT="!test? ( test )" + +RDEPEND=" + botan? ( dev-libs/botan:3= ) + gcrypt? ( dev-libs/libgcrypt:= ) + gpg? ( app-crypt/gnupg ) + nss? ( dev-libs/nss ) + pkcs11? ( + >=dev-libs/openssl-1.1 + dev-libs/pkcs11-helper + ) + qt5? ( >=dev-qt/qtcore-5.14:5 ) + qt6? ( + dev-qt/qtbase:6 + dev-qt/qt5compat:6 + ) + sasl? ( dev-libs/cyrus-sasl:2 ) + ssl? ( >=dev-libs/openssl-1.1:= ) +" +DEPEND="${RDEPEND} + test? ( + qt5? ( + dev-qt/qtnetwork:5 + dev-qt/qttest:5 + ) + qt6? ( dev-qt/qtbase:6[network,test] ) + ) +" +BDEPEND=" + doc? ( + app-doc/doxygen[dot] + virtual/latex-base + ) +" + +PATCHES=( "${FILESDIR}/${PN}-disable-pgp-test.patch" ) + +qca_plugin_use() { + echo -DWITH_${2:-$1}_PLUGIN=$(usex "$1") +} + +pkg_setup() { + MULTIBUILD_VARIANTS=( $(usev qt5) $(usev qt6) ) +} + +src_configure() { + myconfigure() { + local mycmakeargs=( + -DQCA_FEATURE_INSTALL_DIR="${EPREFIX}$(${MULTIBUILD_VARIANT}_get_mkspecsdir)/features" + -DQCA_PLUGINS_INSTALL_DIR="${EPREFIX}$(${MULTIBUILD_VARIANT}_get_plugindir)" + $(qca_plugin_use botan) + $(qca_plugin_use gcrypt) + $(qca_plugin_use gpg gnupg) + $(qca_plugin_use logger) + $(qca_plugin_use nss) + $(qca_plugin_use pkcs11) + $(qca_plugin_use sasl cyrus-sasl) + $(qca_plugin_use softstore) + $(qca_plugin_use ssl ossl) + -DBUILD_TESTS=$(usex test) + ) + if [[ ${MULTIBUILD_VARIANT} == qt6 ]]; then + mycmakeargs+=( -DBUILD_WITH_QT6=ON ) + else + mycmakeargs+=( -DBUILD_WITH_QT6=OFF ) + fi + cmake_src_configure + } + + multibuild_foreach_variant myconfigure +} + +src_compile() { + multibuild_foreach_variant cmake_src_compile +} + +src_test() { + mytest() { + local -x QCA_PLUGIN_PATH="${BUILD_DIR}/lib/qca" + cmake_src_test + } + multibuild_foreach_variant mytest +} + +src_install() { + multibuild_foreach_variant cmake_src_install + + if use doc; then + pushd "${BUILD_DIR}" >/dev/null || die + doxygen Doxyfile || die + dodoc -r apidocs/html + popd >/dev/null || die + fi + + if use examples; then + dodoc -r "${S}"/examples + fi +} |