[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: efbc79628420cd81dacc55fbd5762a41a8771a5b Author: Sam James gentoo org> AuthorDate: Wed Feb 21 09:46:08 2024 + Commit: Sam James gentoo org> CommitDate: Wed Feb 21 10:02:16 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efbc7962 dev-libs/botan: drop kw for 2.19.4 Has a test failure. Bug: https://github.com/randombit/botan/issues/3916 Bug: https://bugs.gentoo.org/925147 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.19.4.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.19.4.ebuild b/dev-libs/botan/botan-2.19.4.ebuild index 39f7c3ea5bc9..6e152aa47946 100644 --- a/dev-libs/botan/botan-2.19.4.ebuild +++ b/dev-libs/botan/botan-2.19.4.ebuild @@ -17,7 +17,8 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" # New major versions are parallel-installable SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +# Unkeyworded because of https://github.com/randombit/botan/issues/3916 +#KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" CPU_USE=( cpu_flags_arm_{aes,neon}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 829ba39e7e73b6387749f076d2b3f55ac36c64d2 Author: Sam James gentoo org> AuthorDate: Wed Feb 21 08:12:09 2024 + Commit: Sam James gentoo org> CommitDate: Wed Feb 21 10:02:15 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=829ba39e dev-libs/botan: add 3.3.0 Bug: https://bugs.gentoo.org/925147 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest | 2 + dev-libs/botan/botan-3.3.0.ebuild | 223 ++ 2 files changed, 225 insertions(+) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index e4e733e8a5fa..bb8e67b48fc7 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -4,3 +4,5 @@ DIST Botan-3.1.1.tar.xz 8800368 BLAKE2B c31365e6bd4106f96a033e5f092c528c0185577f DIST Botan-3.1.1.tar.xz.asc 488 BLAKE2B 9ac94473d90a26932e507cdb3f46d8381565deecff38a5a2f7fe043b33405071adf0baee4235dd94bb6d35fa3ffedca6192fb5f5d76030874a90a399d88f9744 SHA512 f52e8602a57f590150f6f49829e788910006e5113ab6e85c6efe73009b8db752b5f28b869c6265ef6dd3c2727c64c0182d125f02f92485485768416c618acdb9 DIST Botan-3.2.0.tar.xz 8998204 BLAKE2B f21e7574af93ab3331607f4a4ecf1b2cbbc0db4b510ea8ad19a5286d46d3a8e37e13746d2d4751eb16a70fdc8371b4435b030ef0a17f1ab6dcd76bd81bb3a4fa SHA512 526cf71144584fef6e73f14f6aa1e2a7b03a92a3e51436287764bb61e742a94e02926bcc2aab038f08ef2169cb511152c8ecd71d51e06deb4875dc676875c2d9 DIST Botan-3.2.0.tar.xz.asc 488 BLAKE2B f7bc716dd18eedf35928933e22c75de3d2731330dfdaf8a5048e8ad86e1f3896ea55294a64b7f82593af16dd2e4097a9ba68f25baa024e175b7334478bcf84a6 SHA512 3ee42ac73e1bd6cea0a2e9f468b88d67c02a4a69786c41ddf9fc7f94b6847be00e0f3f0f38f934ab599b8d6dd29006414294df8b371f5cf2422292f3dd176756 +DIST Botan-3.3.0.tar.xz 7164024 BLAKE2B 051a24c28e6858fdff2af15d01a871ebe5bab11d773be821c0a56a55c725c91cf3119280195ac736f4df83305c1d4910430e6b26deded0d4c634e5c2fc23b389 SHA512 90930add225a2b4376046b3ed0177c71e7d19e983fb2b99c40751de5e6c3959b520eaa1e836782eb02ebc8aff8e9a4fd928f585de5e6b1798a8ad4aa0464f19b +DIST Botan-3.3.0.tar.xz.asc 488 BLAKE2B 043538ff2572a449d4d9ad4bba6d7cab78865e924f712d1b4d4aad9f378cc417f07c19a25adefa22b6e1c06259a50880414c11ce8d3ad1e7f815cf458dbbe6b8 SHA512 c951079c22665966b96cf18c20df7b709353b42dab4aeb33d021b4a8abbc0f06d8fe909f1a5db3e736b4f93b17374d8f832f7aa9f25757a5d5ab1604320581b2 diff --git a/dev-libs/botan/botan-3.3.0.ebuild b/dev-libs/botan/botan-3.3.0.ebuild new file mode 100644 index ..0e0e173ec872 --- /dev/null +++ b/dev-libs/botan/botan-3.3.0.ebuild @@ -0,0 +1,223 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/botan.asc +inherit edo flag-o-matic multiprocessing ninja-utils python-r1 toolchain-funcs verify-sig + +MY_P="Botan-${PV}" +DESCRIPTION="C++ crypto library" +HOMEPAGE="https://botan.randombit.net/; +SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; +SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +# New major versions are parallel-installable +SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos" +IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" +CPU_USE=( + cpu_flags_arm_{aes,neon,sha1,sha2} + cpu_flags_ppc_altivec + cpu_flags_x86_{aes,avx2,popcnt,rdrand,sha,sse2,ssse3,sse4_1,sse4_2} +) +IUSE+=" ${CPU_USE[@]}" +RESTRICT="!test? ( test )" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# NOTE: Boost is needed at runtime too for the CLI tool. +DEPEND=" + boost? ( dev-libs/boost:= ) + bzip2? ( >=app-arch/bzip2-1.0.5:= ) + lzma? ( app-arch/xz-utils:= ) + python? ( ${PYTHON_DEPS} ) + sqlite? ( dev-db/sqlite:3= ) + zlib? ( >=sys-libs/zlib-1.2.3:= ) +" +RDEPEND=" + ${DEPEND} + !https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches + +python_check_deps() { + use doc || return 0 + python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + +pkg_pretend() { + [[ ${MERGE_TYPE} == binary ]] && return + + # bug #908958 + if tc-is-gcc && ver_test $(gcc-version) -lt 11 ; then + eerror "Botan needs >=gcc-11 or >=clang-14 to compile." + eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc" + die "GCC version is too old to compile Botan!" + elif tc-is-clang && ver_test $(clang-version) -lt 14 ; then + eerror "Botan needs >=gcc-11 or >=clang-14 to compile." + eerror "Please upgrade Clang: emerge -v1 sys-devel/clang" + die "Clang version is too old to compile Botan!" + fi +} + +src_configure() { + tc-export AR CC CXX + python_setup + + local
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 94c175b2dd8bc1496a5386f807889ccb79f5fbc9 Author: Sam James gentoo org> AuthorDate: Wed Feb 21 08:54:18 2024 + Commit: Sam James gentoo org> CommitDate: Wed Feb 21 10:02:16 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94c175b2 dev-libs/botan: add 2.19.4 Bug: https://bugs.gentoo.org/925147 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest| 4 + dev-libs/botan/botan-2.19.4.ebuild | 200 + 2 files changed, 204 insertions(+) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index e4e733e8a5fa..15dd4e0b8776 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,6 +1,10 @@ DIST Botan-2.19.3.tar.xz 6105896 BLAKE2B 6d7778d9e9a101c76f35c65b0fb0201641cd91967ba934510f3836ee4b924d54cabdc760dd460997679250aa66e1d2a99369cd03f8fb9e7b2fe672d4b355215f SHA512 80012397e2aa7cc88a9536340ac9b770d1195fddda53b9d4cfde82318dd05f9d4f925bbdff773aba99883a701f4d30581e9d5c97e915fa80c3ca2acfa5a92110 DIST Botan-2.19.3.tar.xz.asc 488 BLAKE2B cd86bf77306aad2956cced6ac4fb96081279af88743e87d8fe5437e72e9fa8db8aaf40d0b5cb9c5b3a85204cb7d63c3baa3054126ab4c9a2db527e6835a069d7 SHA512 9142f932c958138b4bac32f503a550e6c73b61612690a280dcb98efe8c367aa6bd3cd88b4ed4decec376bb87596a780a21bdcb01d4a3573a1c44fbeb0aa49d23 +DIST Botan-2.19.4.tar.xz 6099528 BLAKE2B c35dfec5aad13c76fe09b33f97a72d15f84bfd6c434cae89be13c3fd3e6f7deaa9ea21474890bb6a1f4fa7d23369c32b9fc747862233eac33c8c88dbc912d31f SHA512 2fab4347367703dce8302b7710698ed228c6cc6dd609c39829ba17ad580407ed40d822862d467aa7aea4bfd633c1f1d1c0d437e86376f453845cc609596335d8 +DIST Botan-2.19.4.tar.xz.asc 488 BLAKE2B b8b7db32d61859778c0866e782ed94ef89ba48a0f0f2289d9452fe7f540ae37ad495cb7eede68199d9bed8e23f695e1860c0d379cd4c35c92de8c45db167b68a SHA512 e00c4e2944655919507300650d81fbee03dd22d1a84cb8135848ea9ee061ca4d4dfada618643193143c0123e56f22e4a6d3a26c73923d872754d80dc2a4779c5 DIST Botan-3.1.1.tar.xz 8800368 BLAKE2B c31365e6bd4106f96a033e5f092c528c0185577f41d9a698d2630ece0f660f87f03e0775ebeb5c4d812819bbc6eb556b5ff15c16f243288ae73c8bf1fbb991ce SHA512 ed6bdadb910b0775245648140212953ed364aa26107f851e39ac5cb664d7f476c519a22cdad41f0e520796c4ebe453c56ca68a2178e39f815d445e9979333795 DIST Botan-3.1.1.tar.xz.asc 488 BLAKE2B 9ac94473d90a26932e507cdb3f46d8381565deecff38a5a2f7fe043b33405071adf0baee4235dd94bb6d35fa3ffedca6192fb5f5d76030874a90a399d88f9744 SHA512 f52e8602a57f590150f6f49829e788910006e5113ab6e85c6efe73009b8db752b5f28b869c6265ef6dd3c2727c64c0182d125f02f92485485768416c618acdb9 DIST Botan-3.2.0.tar.xz 8998204 BLAKE2B f21e7574af93ab3331607f4a4ecf1b2cbbc0db4b510ea8ad19a5286d46d3a8e37e13746d2d4751eb16a70fdc8371b4435b030ef0a17f1ab6dcd76bd81bb3a4fa SHA512 526cf71144584fef6e73f14f6aa1e2a7b03a92a3e51436287764bb61e742a94e02926bcc2aab038f08ef2169cb511152c8ecd71d51e06deb4875dc676875c2d9 DIST Botan-3.2.0.tar.xz.asc 488 BLAKE2B f7bc716dd18eedf35928933e22c75de3d2731330dfdaf8a5048e8ad86e1f3896ea55294a64b7f82593af16dd2e4097a9ba68f25baa024e175b7334478bcf84a6 SHA512 3ee42ac73e1bd6cea0a2e9f468b88d67c02a4a69786c41ddf9fc7f94b6847be00e0f3f0f38f934ab599b8d6dd29006414294df8b371f5cf2422292f3dd176756 +DIST Botan-3.3.0.tar.xz 7164024 BLAKE2B 051a24c28e6858fdff2af15d01a871ebe5bab11d773be821c0a56a55c725c91cf3119280195ac736f4df83305c1d4910430e6b26deded0d4c634e5c2fc23b389 SHA512 90930add225a2b4376046b3ed0177c71e7d19e983fb2b99c40751de5e6c3959b520eaa1e836782eb02ebc8aff8e9a4fd928f585de5e6b1798a8ad4aa0464f19b +DIST Botan-3.3.0.tar.xz.asc 488 BLAKE2B 043538ff2572a449d4d9ad4bba6d7cab78865e924f712d1b4d4aad9f378cc417f07c19a25adefa22b6e1c06259a50880414c11ce8d3ad1e7f815cf458dbbe6b8 SHA512 c951079c22665966b96cf18c20df7b709353b42dab4aeb33d021b4a8abbc0f06d8fe909f1a5db3e736b4f93b17374d8f832f7aa9f25757a5d5ab1604320581b2 diff --git a/dev-libs/botan/botan-2.19.4.ebuild b/dev-libs/botan/botan-2.19.4.ebuild new file mode 100644 index ..39f7c3ea5bc9 --- /dev/null +++ b/dev-libs/botan/botan-2.19.4.ebuild @@ -0,0 +1,200 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/botan.asc +inherit edo flag-o-matic multiprocessing python-r1 toolchain-funcs verify-sig + +MY_P="Botan-${PV}" +DESCRIPTION="C++ crypto library" +HOMEPAGE="https://botan.randombit.net/; +SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; +SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +# New major versions are parallel-installable +SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" +CPU_USE=( + cpu_flags_arm_{aes,neon} + cpu_flags_ppc_altivec +
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 8b08eae1d92f362ff9b39d0d974aa9f59695ca50 Author: Sam James gentoo org> AuthorDate: Wed Feb 21 09:46:51 2024 + Commit: Sam James gentoo org> CommitDate: Wed Feb 21 10:02:17 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b08eae1 dev-libs/botan: drop kw for 3.3.0 Has a test failure. Bug: https://github.com/randombit/botan/issues/3917 Bug: https://bugs.gentoo.org/925147 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-3.3.0.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-3.3.0.ebuild b/dev-libs/botan/botan-3.3.0.ebuild index 0e0e173ec872..893a9edb2868 100644 --- a/dev-libs/botan/botan-3.3.0.ebuild +++ b/dev-libs/botan/botan-3.3.0.ebuild @@ -17,7 +17,8 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" # New major versions are parallel-installable SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos" +# Unkeyworded because of https://github.com/randombit/botan/issues/3917 +#KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" CPU_USE=( cpu_flags_arm_{aes,neon,sha1,sha2}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: b07ac55e3e8f54c10ebf7cec3e6db6744a5687e8 Author: Sam James gentoo org> AuthorDate: Wed Feb 21 08:51:57 2024 + Commit: Sam James gentoo org> CommitDate: Wed Feb 21 10:02:16 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b07ac55e dev-libs/botan: backport sanitizer support to 2.19.x Backport e05b37859baea238fd59b9a686b5891b76346686. Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest | 2 -- dev-libs/botan/botan-2.19.3-r2.ebuild | 16 ++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index bb8e67b48fc7..e4e733e8a5fa 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -4,5 +4,3 @@ DIST Botan-3.1.1.tar.xz 8800368 BLAKE2B c31365e6bd4106f96a033e5f092c528c0185577f DIST Botan-3.1.1.tar.xz.asc 488 BLAKE2B 9ac94473d90a26932e507cdb3f46d8381565deecff38a5a2f7fe043b33405071adf0baee4235dd94bb6d35fa3ffedca6192fb5f5d76030874a90a399d88f9744 SHA512 f52e8602a57f590150f6f49829e788910006e5113ab6e85c6efe73009b8db752b5f28b869c6265ef6dd3c2727c64c0182d125f02f92485485768416c618acdb9 DIST Botan-3.2.0.tar.xz 8998204 BLAKE2B f21e7574af93ab3331607f4a4ecf1b2cbbc0db4b510ea8ad19a5286d46d3a8e37e13746d2d4751eb16a70fdc8371b4435b030ef0a17f1ab6dcd76bd81bb3a4fa SHA512 526cf71144584fef6e73f14f6aa1e2a7b03a92a3e51436287764bb61e742a94e02926bcc2aab038f08ef2169cb511152c8ecd71d51e06deb4875dc676875c2d9 DIST Botan-3.2.0.tar.xz.asc 488 BLAKE2B f7bc716dd18eedf35928933e22c75de3d2731330dfdaf8a5048e8ad86e1f3896ea55294a64b7f82593af16dd2e4097a9ba68f25baa024e175b7334478bcf84a6 SHA512 3ee42ac73e1bd6cea0a2e9f468b88d67c02a4a69786c41ddf9fc7f94b6847be00e0f3f0f38f934ab599b8d6dd29006414294df8b371f5cf2422292f3dd176756 -DIST Botan-3.3.0.tar.xz 7164024 BLAKE2B 051a24c28e6858fdff2af15d01a871ebe5bab11d773be821c0a56a55c725c91cf3119280195ac736f4df83305c1d4910430e6b26deded0d4c634e5c2fc23b389 SHA512 90930add225a2b4376046b3ed0177c71e7d19e983fb2b99c40751de5e6c3959b520eaa1e836782eb02ebc8aff8e9a4fd928f585de5e6b1798a8ad4aa0464f19b -DIST Botan-3.3.0.tar.xz.asc 488 BLAKE2B 043538ff2572a449d4d9ad4bba6d7cab78865e924f712d1b4d4aad9f378cc417f07c19a25adefa22b6e1c06259a50880414c11ce8d3ad1e7f815cf458dbbe6b8 SHA512 c951079c22665966b96cf18c20df7b709353b42dab4aeb33d021b4a8abbc0f06d8fe909f1a5db3e736b4f93b17374d8f832f7aa9f25757a5d5ab1604320581b2 diff --git a/dev-libs/botan/botan-2.19.3-r2.ebuild b/dev-libs/botan/botan-2.19.3-r2.ebuild index fbab36fb5bef..2a151dbc3529 100644 --- a/dev-libs/botan/botan-2.19.3-r2.ebuild +++ b/dev-libs/botan/botan-2.19.3-r2.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/botan.asc -inherit edo multiprocessing python-r1 toolchain-funcs verify-sig +inherit edo flag-o-matic multiprocessing python-r1 toolchain-funcs verify-sig MY_P="Botan-${PV}" DESCRIPTION="C++ crypto library" @@ -169,6 +169,18 @@ src_configure() { tc-export AR CC CXX + local sanitizers=() + if is-flagq -fsanitize=address ; then + sanitizers+=( address ) + fi + if is-flagq -fsanitize=undefined ; then + sanitizers+=( undefined ) + fi + filter-flags '-fsanitize=*' + myargs+=( + --enable-sanitizers=$(IFS=","; echo "${sanitizers[*]}") + ) + edo ${EPYTHON} configure.py --verbose "${myargs[@]}" }
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 381a796a6d0a31a59d95abec319f00108e33db4d Author: Petr Vaněk gentoo org> AuthorDate: Wed Dec 27 23:19:49 2023 + Commit: Petr Vaněk gentoo org> CommitDate: Wed Dec 27 23:33:33 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=381a796a dev-libs/botan: utilize getrandom and getentropy functions also with musl musl provides those functions since version 1.1.20. Signed-off-by: Petr Vaněk gentoo.org> dev-libs/botan/botan-3.2.0-r2.ebuild | 229 +++ 1 file changed, 229 insertions(+) diff --git a/dev-libs/botan/botan-3.2.0-r2.ebuild b/dev-libs/botan/botan-3.2.0-r2.ebuild new file mode 100644 index ..e159ec4d7ba0 --- /dev/null +++ b/dev-libs/botan/botan-3.2.0-r2.ebuild @@ -0,0 +1,229 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/botan.asc +inherit edo flag-o-matic multiprocessing ninja-utils python-r1 toolchain-funcs verify-sig + +MY_P="Botan-${PV}" +DESCRIPTION="C++ crypto library" +HOMEPAGE="https://botan.randombit.net/; +SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; +SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +# New major versions are parallel-installable +SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos" +IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" +RESTRICT="!test? ( test )" + +CPU_USE=( + cpu_flags_arm_{aes,neon,sha1,sha2} + cpu_flags_ppc_altivec + cpu_flags_x86_{aes,avx2,popcnt,rdrand,sha,sse2,ssse3,sse4_1,sse4_2} +) + +IUSE+=" ${CPU_USE[@]}" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# NOTE: Boost is needed at runtime too for the CLI tool. +DEPEND=" + boost? ( dev-libs/boost:= ) + bzip2? ( >=app-arch/bzip2-1.0.5:= ) + lzma? ( app-arch/xz-utils:= ) + python? ( ${PYTHON_DEPS} ) + sqlite? ( dev-db/sqlite:3= ) + zlib? ( >=sys-libs/zlib-1.2.3:= ) +" +RDEPEND=" + ${DEPEND} + !https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches +PATCHES=( + "${FILESDIR}"/${P}-ninja.patch +) + +python_check_deps() { + use doc || return 0 + python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + +pkg_pretend() { + [[ ${MERGE_TYPE} == binary ]] && return + + # bug #908958 + if tc-is-gcc && ver_test $(gcc-version) -lt 11 ; then + eerror "Botan needs >=gcc-11 or >=clang-14 to compile." + eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc" + die "GCC version is too old to compile Botan!" + elif tc-is-clang && ver_test $(clang-version) -lt 14 ; then + eerror "Botan needs >=gcc-11 or >=clang-14 to compile." + eerror "Please upgrade Clang: emerge -v1 sys-devel/clang" + die "Clang version is too old to compile Botan!" + fi +} + +src_configure() { + tc-export AR CC CXX + python_setup + + local disable_modules=( + $(usev !boost 'boost') + ) + + if [[ -z "${DISABLE_MODULES}" ]] ; then + elog "Disabling module(s): ${disable_modules[@]}" + fi + + local chostarch="${CHOST%%-*}" + + # Arch specific wrangling + local myos= + case ${CHOST} in + *-darwin*) + myos=darwin + ;; + *) + myos=linux + + if [[ ${CHOST} == *hppa* ]] ; then + chostarch=parisc + elif [[ ${ABI} == sparc64 ]] ; then + chostarch="sparc64" + elif [[ ${ABI} == sparc32 ]] ; then + chostarch="sparc32" + fi + ;; + esac + + local pythonvers=() + if use python ; then + _append() { + pythonvers+=( ${EPYTHON/python/} ) + } + + python_foreach_impl _append + fi + + local myargs=( + # Intrinsics + # TODO: x86 RDSEED (new CPU_FLAGS_X86?) + # TODO: POWER Crypto (new CPU_FLAGS_PPC?) + $(usev !cpu_flags_arm_aes '--disable-armv8crypto') + $(usev !cpu_flags_arm_neon '--disable-neon') + $(usev !cpu_flags_arm_sha1 '--disable-armv8crypto') + $(usev !cpu_flags_arm_sha2 '--disable-armv8crypto') + $(usev !cpu_flags_ppc_altivec '--disable-altivec') + $(usev !cpu_flags_x86_aes '--disable-aes-ni') + $(usev !cpu_flags_x86_avx2 '--disable-avx2') + $(usev
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 0b4cc311ae55e26a247ddc66cd7b8927f76ac23e Author: Arthur Zamarin gentoo org> AuthorDate: Sat Dec 23 14:29:08 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Dec 23 14:29:08 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b4cc311 dev-libs/botan: Stabilize 3.2.0-r1 ppc, #919938 Signed-off-by: Arthur Zamarin gentoo.org> dev-libs/botan/botan-3.2.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-3.2.0-r1.ebuild b/dev-libs/botan/botan-3.2.0-r1.ebuild index 4efacf6f68f0..3f687cb7dec7 100644 --- a/dev-libs/botan/botan-3.2.0-r1.ebuild +++ b/dev-libs/botan/botan-3.2.0-r1.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" # New major versions are parallel-installable SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 5ae3a0dc13a2fb812ea495067bc7ac47fe6a8394 Author: Sam James gentoo org> AuthorDate: Fri Dec 15 07:41:53 2023 + Commit: Sam James gentoo org> CommitDate: Fri Dec 15 07:41:53 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ae3a0dc dev-libs/botan: Stabilize 3.2.0-r1 ppc64, #919938 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-3.2.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-3.2.0-r1.ebuild b/dev-libs/botan/botan-3.2.0-r1.ebuild index 031e0c4b9cd1..4efacf6f68f0 100644 --- a/dev-libs/botan/botan-3.2.0-r1.ebuild +++ b/dev-libs/botan/botan-3.2.0-r1.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" # New major versions are parallel-installable SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 8640694d95c8ce3bfa55d0e05772eed5ab97ab66 Author: Sam James gentoo org> AuthorDate: Fri Dec 15 07:33:54 2023 + Commit: Sam James gentoo org> CommitDate: Fri Dec 15 07:33:54 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8640694d dev-libs/botan: Stabilize 3.2.0-r1 amd64, #919938 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-3.2.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-3.2.0-r1.ebuild b/dev-libs/botan/botan-3.2.0-r1.ebuild index 013aaacf837b..031e0c4b9cd1 100644 --- a/dev-libs/botan/botan-3.2.0-r1.ebuild +++ b/dev-libs/botan/botan-3.2.0-r1.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" # New major versions are parallel-installable SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: b89ccbd61f3e15c408bfaf9d1cfe459df288cdf5 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Nov 17 10:44:17 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Nov 17 10:44:41 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b89ccbd6 dev-libs/botan: enable py3.12, SLOT=2 Signed-off-by: Arthur Zamarin gentoo.org> dev-libs/botan/botan-2.19.3-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.19.3-r2.ebuild b/dev-libs/botan/botan-2.19.3-r2.ebuild index 2b31969fc495..fbab36fb5bef 100644 --- a/dev-libs/botan/botan-2.19.3-r2.ebuild +++ b/dev-libs/botan/botan-2.19.3-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/botan.asc inherit edo multiprocessing python-r1 toolchain-funcs verify-sig
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/, dev-libs/botan/files/
commit: f84e0bd3e7f13888c343883bbc5e0b26b0694bf3 Author: Sam James gentoo org> AuthorDate: Thu Oct 12 07:56:00 2023 + Commit: Sam James gentoo org> CommitDate: Thu Oct 12 08:12:10 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f84e0bd3 dev-libs/botan: backport upstream fix for ninja & switch back to it. This reverts commit 5fb454ae567ba6c7c71616b602ce641b5ab7f216. Go back to ninja with the patch, but let's revbump Just In Case as it's possible that a different binary got installed given the nature of the patch. Bug: https://bugs.gentoo.org/915544 Signed-off-by: Sam James gentoo.org> .../{botan-3.2.0.ebuild => botan-3.2.0-r1.ebuild}| 15 +++ dev-libs/botan/files/botan-3.2.0-ninja.patch | 20 2 files changed, 31 insertions(+), 4 deletions(-) diff --git a/dev-libs/botan/botan-3.2.0.ebuild b/dev-libs/botan/botan-3.2.0-r1.ebuild similarity index 96% rename from dev-libs/botan/botan-3.2.0.ebuild rename to dev-libs/botan/botan-3.2.0-r1.ebuild index bb651261749f..bd7375f6945b 100644 --- a/dev-libs/botan/botan-3.2.0.ebuild +++ b/dev-libs/botan/botan-3.2.0-r1.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc -inherit edo flag-o-matic multiprocessing python-r1 toolchain-funcs verify-sig +inherit edo flag-o-matic multiprocessing ninja-utils python-r1 toolchain-funcs verify-sig MY_P="Botan-${PV}" DESCRIPTION="C++ crypto library" @@ -46,6 +46,7 @@ RDEPEND=" " BDEPEND=" ${PYTHON_DEPS} + ${NINJA_DEPEND} $(python_gen_any_dep ' doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) ') @@ -56,6 +57,9 @@ BDEPEND=" # NOTE: Considering patching Botan? # Please see upstream's guidance: # https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches +PATCHES=( + "${FILESDIR}"/${P}-ninja.patch +) python_check_deps() { use doc || return 0 @@ -150,8 +154,7 @@ src_configure() { $(use_with sqlite sqlite3) $(use_with zlib) - # Broken in 3.2.0, bug #915544 - #--build-tool=ninja + --build-tool=ninja --cpu=${chostarch} --docdir=share/doc --disable-modules=$(IFS=","; echo "${disable_modules[*]}") @@ -203,12 +206,16 @@ src_configure() { edo ${EPYTHON} configure.py --verbose "${myargs[@]}" } +src_compile() { + eninja +} + src_test() { LD_LIBRARY_PATH="${S}" edo ./botan-test$(ver_cut 1) --test-threads="$(makeopts_jobs)" } src_install() { - default + DESTDIR="${D}" eninja install if [[ -d "${ED}"/usr/share/doc/${P} && ${P} != ${PF} ]] ; then # --docdir in configure controls the parent directory unfortunately diff --git a/dev-libs/botan/files/botan-3.2.0-ninja.patch b/dev-libs/botan/files/botan-3.2.0-ninja.patch new file mode 100644 index ..826fc496fb31 --- /dev/null +++ b/dev-libs/botan/files/botan-3.2.0-ninja.patch @@ -0,0 +1,20 @@ +https://bugs.gentoo.org/915544 +https://github.com/randombit/botan/commit/a1a32558669a6751e39420b26930d477790509ce + +From a1a32558669a6751e39420b26930d477790509ce Mon Sep 17 00:00:00 2001 +From: Jack Lloyd +Date: Wed, 11 Oct 2023 07:36:31 -0400 +Subject: [PATCH] Fix Ninja build to pass instruction set flags to the compiler + +Fixes #3750 +--- a/src/build-data/ninja.in b/src/build-data/ninja.in +@@ -161,6 +161,7 @@ build tidy: tidy + + %{for lib_build_info} + build %{obj}: compile_lib %{src} ++ isa_flags = %{isa_flags} + %{endfor} + + %{for cli_build_info} +
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 5fb454ae567ba6c7c71616b602ce641b5ab7f216 Author: Sam James gentoo org> AuthorDate: Wed Oct 11 02:22:34 2023 + Commit: Sam James gentoo org> CommitDate: Wed Oct 11 05:21:01 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fb454ae dev-libs/botan: build using make again for now (to fix arm64 build) Bug: https://github.com/randombit/botan/issues/3750 Closes: https://bugs.gentoo.org/915544 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-3.2.0.ebuild | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/dev-libs/botan/botan-3.2.0.ebuild b/dev-libs/botan/botan-3.2.0.ebuild index 82a09259f817..bb651261749f 100644 --- a/dev-libs/botan/botan-3.2.0.ebuild +++ b/dev-libs/botan/botan-3.2.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc -inherit edo flag-o-matic multiprocessing ninja-utils python-r1 toolchain-funcs verify-sig +inherit edo flag-o-matic multiprocessing python-r1 toolchain-funcs verify-sig MY_P="Botan-${PV}" DESCRIPTION="C++ crypto library" @@ -46,7 +46,6 @@ RDEPEND=" " BDEPEND=" ${PYTHON_DEPS} - ${NINJA_DEPEND} $(python_gen_any_dep ' doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) ') @@ -151,7 +150,8 @@ src_configure() { $(use_with sqlite sqlite3) $(use_with zlib) - --build-tool=ninja + # Broken in 3.2.0, bug #915544 + #--build-tool=ninja --cpu=${chostarch} --docdir=share/doc --disable-modules=$(IFS=","; echo "${disable_modules[*]}") @@ -203,16 +203,12 @@ src_configure() { edo ${EPYTHON} configure.py --verbose "${myargs[@]}" } -src_compile() { - eninja -} - src_test() { LD_LIBRARY_PATH="${S}" edo ./botan-test$(ver_cut 1) --test-threads="$(makeopts_jobs)" } src_install() { - DESTDIR="${D}" eninja install + default if [[ -d "${ED}"/usr/share/doc/${P} && ${P} != ${PF} ]] ; then # --docdir in configure controls the parent directory unfortunately
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: a8b4ac651ffcdc65becba780e490224bb5e5f7fb Author: Sam James gentoo org> AuthorDate: Wed Oct 11 02:18:00 2023 + Commit: Sam James gentoo org> CommitDate: Wed Oct 11 05:21:00 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8b4ac65 dev-libs/botan: wire up cpu_flags_arm_{sha1,sha2} Noticed while poking at the linked bug. Bug: https://bugs.gentoo.org/915544 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-3.2.0.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-3.2.0.ebuild b/dev-libs/botan/botan-3.2.0.ebuild index 25af4176f0f6..82a09259f817 100644 --- a/dev-libs/botan/botan-3.2.0.ebuild +++ b/dev-libs/botan/botan-3.2.0.ebuild @@ -22,7 +22,7 @@ IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" RESTRICT="!test? ( test )" CPU_USE=( - cpu_flags_arm_{aes,neon} + cpu_flags_arm_{aes,neon,sha1,sha2} cpu_flags_ppc_altivec cpu_flags_x86_{aes,avx2,popcnt,rdrand,sha,sse2,ssse3,sse4_1,sse4_2} ) @@ -126,6 +126,8 @@ src_configure() { # TODO: POWER Crypto (new CPU_FLAGS_PPC?) $(usev !cpu_flags_arm_aes '--disable-armv8crypto') $(usev !cpu_flags_arm_neon '--disable-neon') + $(usev !cpu_flags_arm_sha1 '--disable-armv8crypto') + $(usev !cpu_flags_arm_sha2 '--disable-armv8crypto') $(usev !cpu_flags_ppc_altivec '--disable-altivec') $(usev !cpu_flags_x86_aes '--disable-aes-ni') $(usev !cpu_flags_x86_avx2 '--disable-avx2')
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 939b3d4d558698b16bf8796a3d6a4b210ec75b84 Author: Sam James gentoo org> AuthorDate: Mon Oct 9 22:12:43 2023 + Commit: Sam James gentoo org> CommitDate: Mon Oct 9 22:12:43 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=939b3d4d dev-libs/botan: add 3.2.0 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest | 2 + dev-libs/botan/botan-3.2.0.ebuild | 224 ++ 2 files changed, 226 insertions(+) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index 3369e26cafc2..e4e733e8a5fa 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -2,3 +2,5 @@ DIST Botan-2.19.3.tar.xz 6105896 BLAKE2B 6d7778d9e9a101c76f35c65b0fb0201641cd919 DIST Botan-2.19.3.tar.xz.asc 488 BLAKE2B cd86bf77306aad2956cced6ac4fb96081279af88743e87d8fe5437e72e9fa8db8aaf40d0b5cb9c5b3a85204cb7d63c3baa3054126ab4c9a2db527e6835a069d7 SHA512 9142f932c958138b4bac32f503a550e6c73b61612690a280dcb98efe8c367aa6bd3cd88b4ed4decec376bb87596a780a21bdcb01d4a3573a1c44fbeb0aa49d23 DIST Botan-3.1.1.tar.xz 8800368 BLAKE2B c31365e6bd4106f96a033e5f092c528c0185577f41d9a698d2630ece0f660f87f03e0775ebeb5c4d812819bbc6eb556b5ff15c16f243288ae73c8bf1fbb991ce SHA512 ed6bdadb910b0775245648140212953ed364aa26107f851e39ac5cb664d7f476c519a22cdad41f0e520796c4ebe453c56ca68a2178e39f815d445e9979333795 DIST Botan-3.1.1.tar.xz.asc 488 BLAKE2B 9ac94473d90a26932e507cdb3f46d8381565deecff38a5a2f7fe043b33405071adf0baee4235dd94bb6d35fa3ffedca6192fb5f5d76030874a90a399d88f9744 SHA512 f52e8602a57f590150f6f49829e788910006e5113ab6e85c6efe73009b8db752b5f28b869c6265ef6dd3c2727c64c0182d125f02f92485485768416c618acdb9 +DIST Botan-3.2.0.tar.xz 8998204 BLAKE2B f21e7574af93ab3331607f4a4ecf1b2cbbc0db4b510ea8ad19a5286d46d3a8e37e13746d2d4751eb16a70fdc8371b4435b030ef0a17f1ab6dcd76bd81bb3a4fa SHA512 526cf71144584fef6e73f14f6aa1e2a7b03a92a3e51436287764bb61e742a94e02926bcc2aab038f08ef2169cb511152c8ecd71d51e06deb4875dc676875c2d9 +DIST Botan-3.2.0.tar.xz.asc 488 BLAKE2B f7bc716dd18eedf35928933e22c75de3d2731330dfdaf8a5048e8ad86e1f3896ea55294a64b7f82593af16dd2e4097a9ba68f25baa024e175b7334478bcf84a6 SHA512 3ee42ac73e1bd6cea0a2e9f468b88d67c02a4a69786c41ddf9fc7f94b6847be00e0f3f0f38f934ab599b8d6dd29006414294df8b371f5cf2422292f3dd176756 diff --git a/dev-libs/botan/botan-3.2.0.ebuild b/dev-libs/botan/botan-3.2.0.ebuild new file mode 100644 index ..25af4176f0f6 --- /dev/null +++ b/dev-libs/botan/botan-3.2.0.ebuild @@ -0,0 +1,224 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc +inherit edo flag-o-matic multiprocessing ninja-utils python-r1 toolchain-funcs verify-sig + +MY_P="Botan-${PV}" +DESCRIPTION="C++ crypto library" +HOMEPAGE="https://botan.randombit.net/; +SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; +SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +# New major versions are parallel-installable +SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos" +IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" +RESTRICT="!test? ( test )" + +CPU_USE=( + cpu_flags_arm_{aes,neon} + cpu_flags_ppc_altivec + cpu_flags_x86_{aes,avx2,popcnt,rdrand,sha,sse2,ssse3,sse4_1,sse4_2} +) + +IUSE+=" ${CPU_USE[@]}" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# NOTE: Boost is needed at runtime too for the CLI tool. +DEPEND=" + boost? ( dev-libs/boost:= ) + bzip2? ( >=app-arch/bzip2-1.0.5:= ) + lzma? ( app-arch/xz-utils:= ) + python? ( ${PYTHON_DEPS} ) + sqlite? ( dev-db/sqlite:3= ) + zlib? ( >=sys-libs/zlib-1.2.3:= ) +" +RDEPEND=" + ${DEPEND} + !https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches + +python_check_deps() { + use doc || return 0 + python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + +pkg_pretend() { + [[ ${MERGE_TYPE} == binary ]] && return + + # bug #908958 + if tc-is-gcc && ver_test $(gcc-version) -lt 11 ; then + eerror "Botan needs >=gcc-11 or >=clang-14 to compile." + eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc" + die "GCC version is too old to compile Botan!" + elif tc-is-clang && ver_test $(clang-version) -lt 14 ; then + eerror "Botan needs >=gcc-11 or >=clang-14 to compile." + eerror "Please upgrade Clang: emerge -v1 sys-devel/clang" + die "Clang version is too old to compile Botan!" + fi +} + +src_configure() { + tc-export AR CC CXX + python_setup + + local disable_modules=( + $(usev
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/files/, dev-libs/botan/
commit: b42bad398a6ef63a6972fb7dd1fb6748a1500952 Author: Sam James gentoo org> AuthorDate: Sat Sep 23 09:43:17 2023 + Commit: Sam James gentoo org> CommitDate: Sat Sep 23 09:43:21 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b42bad39 dev-libs/botan: drop 3.0.0-r2 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest| 2 - dev-libs/botan/botan-3.0.0-r2.ebuild | 194 - .../files/botan-3.0.0-getentropy-includes.patch| 68 3 files changed, 264 deletions(-) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index 75102248b7be..3369e26cafc2 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,6 +1,4 @@ DIST Botan-2.19.3.tar.xz 6105896 BLAKE2B 6d7778d9e9a101c76f35c65b0fb0201641cd91967ba934510f3836ee4b924d54cabdc760dd460997679250aa66e1d2a99369cd03f8fb9e7b2fe672d4b355215f SHA512 80012397e2aa7cc88a9536340ac9b770d1195fddda53b9d4cfde82318dd05f9d4f925bbdff773aba99883a701f4d30581e9d5c97e915fa80c3ca2acfa5a92110 DIST Botan-2.19.3.tar.xz.asc 488 BLAKE2B cd86bf77306aad2956cced6ac4fb96081279af88743e87d8fe5437e72e9fa8db8aaf40d0b5cb9c5b3a85204cb7d63c3baa3054126ab4c9a2db527e6835a069d7 SHA512 9142f932c958138b4bac32f503a550e6c73b61612690a280dcb98efe8c367aa6bd3cd88b4ed4decec376bb87596a780a21bdcb01d4a3573a1c44fbeb0aa49d23 -DIST Botan-3.0.0.tar.xz 8752380 BLAKE2B 06ac29dc0cbaef43a38cc30185f431e1b1f4083469fdea19ee5d77ada6633022746b8ae2419bd00872f9b3892af9c61a455bc88f77bef84f451938dffd27bde3 SHA512 d67ac0f9d67f6869b7a35d4a7c5e96ffcc619f7e44ead36b4cd0906f3d925d12181566aace03ac719ef54d819ae1158febc0b25839beed5f92eade06d510b594 -DIST Botan-3.0.0.tar.xz.asc 488 BLAKE2B 6a34817ec4700983151f97d2e278870736860ac72f3936fcc63e241d89ba758bdf7765d3c877d88019055562a6067c278ecbac263e8d87cc310790089e47f662 SHA512 46ff64bb4d215a48b0549d90ae2461ae39ae5ecf588a7e130876759ec30561c5a2db77ee9cdc7a3dab990927b51ea732f5b56592bdc150062ca25690378ab817 DIST Botan-3.1.1.tar.xz 8800368 BLAKE2B c31365e6bd4106f96a033e5f092c528c0185577f41d9a698d2630ece0f660f87f03e0775ebeb5c4d812819bbc6eb556b5ff15c16f243288ae73c8bf1fbb991ce SHA512 ed6bdadb910b0775245648140212953ed364aa26107f851e39ac5cb664d7f476c519a22cdad41f0e520796c4ebe453c56ca68a2178e39f815d445e9979333795 DIST Botan-3.1.1.tar.xz.asc 488 BLAKE2B 9ac94473d90a26932e507cdb3f46d8381565deecff38a5a2f7fe043b33405071adf0baee4235dd94bb6d35fa3ffedca6192fb5f5d76030874a90a399d88f9744 SHA512 f52e8602a57f590150f6f49829e788910006e5113ab6e85c6efe73009b8db752b5f28b869c6265ef6dd3c2727c64c0182d125f02f92485485768416c618acdb9 diff --git a/dev-libs/botan/botan-3.0.0-r2.ebuild b/dev-libs/botan/botan-3.0.0-r2.ebuild deleted file mode 100644 index 29f6c986af69.. --- a/dev-libs/botan/botan-3.0.0-r2.ebuild +++ /dev/null @@ -1,194 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc -inherit edo multiprocessing python-r1 toolchain-funcs verify-sig - -MY_P="Botan-${PV}" -DESCRIPTION="C++ crypto library" -HOMEPAGE="https://botan.randombit.net/; -SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; -SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD-2" -# New major versions are parallel-installable -SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86 ~ppc-macos" -IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" -RESTRICT="!test? ( test )" - -CPU_USE=( - cpu_flags_arm_{aes,neon} - cpu_flags_ppc_altivec - cpu_flags_x86_{aes,avx2,popcnt,rdrand,sha,sse2,ssse3,sse4_1,sse4_2} -) - -IUSE+=" ${CPU_USE[@]}" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -# NOTE: Boost is needed at runtime too for the CLI tool. -DEPEND=" - boost? ( dev-libs/boost:= ) - bzip2? ( >=app-arch/bzip2-1.0.5:= ) - lzma? ( app-arch/xz-utils:= ) - python? ( ${PYTHON_DEPS} ) - sqlite? ( dev-db/sqlite:3= ) - zlib? ( >=sys-libs/zlib-1.2.3:= ) -" -RDEPEND=" - ${DEPEND} - !https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches -PATCHES=( - "${FILESDIR}"/${P}-getentropy-includes.patch -) - -python_check_deps() { - use doc || return 0 - python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" -} - -src_configure() { - python_setup - - local disable_modules=( - $(usev !boost 'boost') - ) - - if [[ -z "${DISABLE_MODULES}" ]] ; then - elog "Disabling module(s): ${disable_modules[@]}" - fi - - local chostarch="${CHOST%%-*}" - - # Arch specific wrangling - local myos= - case ${CHOST} in - *-darwin*) -
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 746bd0663d83560e194c2cf67fc4cd9a203ff4c1 Author: Sam James gentoo org> AuthorDate: Sat Sep 23 09:42:58 2023 + Commit: Sam James gentoo org> CommitDate: Sat Sep 23 09:43:21 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=746bd066 dev-libs/botan: drop 2.19.2 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest| 2 - dev-libs/botan/botan-2.19.2.ebuild | 180 - 2 files changed, 182 deletions(-) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index ec2db04bcfc3..75102248b7be 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,5 +1,3 @@ -DIST Botan-2.19.2.tar.xz 6063336 BLAKE2B a46fa49c61846e718197ab3a8431a5bdcab0f4cc5e42aec04fd22932ecdbfa2b755cae53c125eee8248ecae237671ec6f0533f99289068ed81e6cd34886d8b88 SHA512 52b9c80a240457e46a299480338472f7d0c0b56df7b1709fdef52c5be3afca5b474fe143801c9a332ae884eaf033e60461c9d3e0b2f7b069f4fe8b4c45932abf -DIST Botan-2.19.2.tar.xz.asc 488 BLAKE2B 94d22dff9de02871560649b1d961f4c7ae5fa37a847141554f8da9f0a726d4497cd23e0d84197beb4d176f29aa3a478118d94cd52d2c04733d115828f85d400d SHA512 e25a03ac437a08737ecde541ead4b841ccb507d3198683a1755dab1d4f82e9ce0278473db7c7041a4b808f9dff9927106e30bbad79b1674615254ee78f0b6a06 DIST Botan-2.19.3.tar.xz 6105896 BLAKE2B 6d7778d9e9a101c76f35c65b0fb0201641cd91967ba934510f3836ee4b924d54cabdc760dd460997679250aa66e1d2a99369cd03f8fb9e7b2fe672d4b355215f SHA512 80012397e2aa7cc88a9536340ac9b770d1195fddda53b9d4cfde82318dd05f9d4f925bbdff773aba99883a701f4d30581e9d5c97e915fa80c3ca2acfa5a92110 DIST Botan-2.19.3.tar.xz.asc 488 BLAKE2B cd86bf77306aad2956cced6ac4fb96081279af88743e87d8fe5437e72e9fa8db8aaf40d0b5cb9c5b3a85204cb7d63c3baa3054126ab4c9a2db527e6835a069d7 SHA512 9142f932c958138b4bac32f503a550e6c73b61612690a280dcb98efe8c367aa6bd3cd88b4ed4decec376bb87596a780a21bdcb01d4a3573a1c44fbeb0aa49d23 DIST Botan-3.0.0.tar.xz 8752380 BLAKE2B 06ac29dc0cbaef43a38cc30185f431e1b1f4083469fdea19ee5d77ada6633022746b8ae2419bd00872f9b3892af9c61a455bc88f77bef84f451938dffd27bde3 SHA512 d67ac0f9d67f6869b7a35d4a7c5e96ffcc619f7e44ead36b4cd0906f3d925d12181566aace03ac719ef54d819ae1158febc0b25839beed5f92eade06d510b594 diff --git a/dev-libs/botan/botan-2.19.2.ebuild b/dev-libs/botan/botan-2.19.2.ebuild deleted file mode 100644 index 9001823c1c74.. --- a/dev-libs/botan/botan-2.19.2.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc -inherit edo multiprocessing python-r1 toolchain-funcs verify-sig - -MY_P="Botan-${PV}" -DESCRIPTION="C++ crypto library" -HOMEPAGE="https://botan.randombit.net/; -SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; -SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD-2" -SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~ppc-macos" -IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" -RESTRICT="!test? ( test )" - -CPU_USE=( - cpu_flags_arm_{aes,neon} - cpu_flags_ppc_altivec - cpu_flags_x86_{aes,avx2,popcnt,rdrand,sha,sse2,ssse3,sse4_1,sse4_2} -) - -IUSE+=" ${CPU_USE[@]}" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -# NOTE: Boost is needed at runtime too for the CLI tool. -DEPEND=" - boost? ( dev-libs/boost:= ) - bzip2? ( >=app-arch/bzip2-1.0.5:= ) - lzma? ( app-arch/xz-utils:= ) - python? ( ${PYTHON_DEPS} ) - sqlite? ( dev-db/sqlite:3= ) - zlib? ( >=sys-libs/zlib-1.2.3:= ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - ${PYTHON_DEPS} - $(python_gen_any_dep ' - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - ') - verify-sig? ( sec-keys/openpgp-keys-botan ) -" - -# NOTE: Considering patching Botan? -# Please see upstream's guidance: -# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches - -python_check_deps() { - use doc || return 0 - python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" -} - -src_configure() { - python_setup - - local disable_modules=( - $(usev !boost 'boost') - ) - - if [[ -z "${DISABLE_MODULES}" ]] ; then - elog "Disabling module(s): ${disable_modules[@]}" - fi - - local chostarch="${CHOST%%-*}" - - # Arch specific wrangling - local myos= - case ${CHOST} in - *-darwin*) - myos=darwin - ;; - *) - myos=linux - - if [[ ${CHOST} == *hppa* ]] ; then - chostarch=parisc - elif [[ ${ABI} == sparc64 ]] ; then -
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 7d76d368431998bd02fd9c1f62b0ede0d50a0aea Author: Sam James gentoo org> AuthorDate: Sat Aug 19 11:37:38 2023 + Commit: Sam James gentoo org> CommitDate: Sat Aug 19 11:37:38 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d76d368 dev-libs/botan: Stabilize 3.1.1 ppc, #912546 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-3.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-3.1.1.ebuild b/dev-libs/botan/botan-3.1.1.ebuild index 712b9c3abec4..85fe7ef0e09d 100644 --- a/dev-libs/botan/botan-3.1.1.ebuild +++ b/dev-libs/botan/botan-3.1.1.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" # New major versions are parallel-installable SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 89837d75de19a0b78832c49e2d1eb98365405218 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Aug 11 19:01:32 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Aug 11 19:01:36 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89837d75 dev-libs/botan: Keyword 3.1.1 s390, #911876 Signed-off-by: Arthur Zamarin gentoo.org> dev-libs/botan/botan-3.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-3.1.1.ebuild b/dev-libs/botan/botan-3.1.1.ebuild index 43885db0f0cd..f81be153d12a 100644 --- a/dev-libs/botan/botan-3.1.1.ebuild +++ b/dev-libs/botan/botan-3.1.1.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" # New major versions are parallel-installable SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: a24bda3302ae6455b8062256bfbba8ba8bc8a6d3 Author: Sam James gentoo org> AuthorDate: Fri Jul 14 11:29:58 2023 + Commit: Sam James gentoo org> CommitDate: Fri Jul 14 11:56:32 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a24bda33 dev-libs/botan: drop 3.1.0 3.1.1 is just test(-only) fixes over 3.1.0. Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest | 2 - dev-libs/botan/botan-3.1.0.ebuild | 202 -- 2 files changed, 204 deletions(-) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index 1ce6513a52f2..ec2db04bcfc3 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -4,7 +4,5 @@ DIST Botan-2.19.3.tar.xz 6105896 BLAKE2B 6d7778d9e9a101c76f35c65b0fb0201641cd919 DIST Botan-2.19.3.tar.xz.asc 488 BLAKE2B cd86bf77306aad2956cced6ac4fb96081279af88743e87d8fe5437e72e9fa8db8aaf40d0b5cb9c5b3a85204cb7d63c3baa3054126ab4c9a2db527e6835a069d7 SHA512 9142f932c958138b4bac32f503a550e6c73b61612690a280dcb98efe8c367aa6bd3cd88b4ed4decec376bb87596a780a21bdcb01d4a3573a1c44fbeb0aa49d23 DIST Botan-3.0.0.tar.xz 8752380 BLAKE2B 06ac29dc0cbaef43a38cc30185f431e1b1f4083469fdea19ee5d77ada6633022746b8ae2419bd00872f9b3892af9c61a455bc88f77bef84f451938dffd27bde3 SHA512 d67ac0f9d67f6869b7a35d4a7c5e96ffcc619f7e44ead36b4cd0906f3d925d12181566aace03ac719ef54d819ae1158febc0b25839beed5f92eade06d510b594 DIST Botan-3.0.0.tar.xz.asc 488 BLAKE2B 6a34817ec4700983151f97d2e278870736860ac72f3936fcc63e241d89ba758bdf7765d3c877d88019055562a6067c278ecbac263e8d87cc310790089e47f662 SHA512 46ff64bb4d215a48b0549d90ae2461ae39ae5ecf588a7e130876759ec30561c5a2db77ee9cdc7a3dab990927b51ea732f5b56592bdc150062ca25690378ab817 -DIST Botan-3.1.0.tar.xz 8807364 BLAKE2B 4f990905d213d42969e54e2f95844832ceecad91eac08436d221a3881719e896e3a4fa564e8b267d5d74d9955b55b547b3df9ca77726993a9a8136e42add4533 SHA512 2234f026bc79657699ab53042dca7d67f4beee91593bf12c32a94688978bd4a99ef4e632ecdb2d21b20481e1cdc353a8fa8665db0f0130b2e8f0f84ebeac8970 -DIST Botan-3.1.0.tar.xz.asc 488 BLAKE2B 921092f09ea4e00742c66827298bc5b1476dbb98c5c76fd10a0901b0d9522484eb85cffef359ffc952c9d01892295c125b7c8957fa028cad2a931b599e05 SHA512 11f43d6147113fbe4d49d81b5b2f74a99951cee6cb52ebea741c36a7dec577e1fc14af7241dc60c14b271ba1432dc19a59939b3984233738159198d187973e3e DIST Botan-3.1.1.tar.xz 8800368 BLAKE2B c31365e6bd4106f96a033e5f092c528c0185577f41d9a698d2630ece0f660f87f03e0775ebeb5c4d812819bbc6eb556b5ff15c16f243288ae73c8bf1fbb991ce SHA512 ed6bdadb910b0775245648140212953ed364aa26107f851e39ac5cb664d7f476c519a22cdad41f0e520796c4ebe453c56ca68a2178e39f815d445e9979333795 DIST Botan-3.1.1.tar.xz.asc 488 BLAKE2B 9ac94473d90a26932e507cdb3f46d8381565deecff38a5a2f7fe043b33405071adf0baee4235dd94bb6d35fa3ffedca6192fb5f5d76030874a90a399d88f9744 SHA512 f52e8602a57f590150f6f49829e788910006e5113ab6e85c6efe73009b8db752b5f28b869c6265ef6dd3c2727c64c0182d125f02f92485485768416c618acdb9 diff --git a/dev-libs/botan/botan-3.1.0.ebuild b/dev-libs/botan/botan-3.1.0.ebuild deleted file mode 100644 index 6cbda3afca02.. --- a/dev-libs/botan/botan-3.1.0.ebuild +++ /dev/null @@ -1,202 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc -inherit edo flag-o-matic multiprocessing python-r1 toolchain-funcs verify-sig - -MY_P="Botan-${PV}" -DESCRIPTION="C++ crypto library" -HOMEPAGE="https://botan.randombit.net/; -SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; -SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD-2" -# New major versions are parallel-installable -SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" -IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" -RESTRICT="!test? ( test )" - -CPU_USE=( - cpu_flags_arm_{aes,neon} - cpu_flags_ppc_altivec - cpu_flags_x86_{aes,avx2,popcnt,rdrand,sha,sse2,ssse3,sse4_1,sse4_2} -) - -IUSE+=" ${CPU_USE[@]}" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -# NOTE: Boost is needed at runtime too for the CLI tool. -DEPEND=" - boost? ( dev-libs/boost:= ) - bzip2? ( >=app-arch/bzip2-1.0.5:= ) - lzma? ( app-arch/xz-utils:= ) - python? ( ${PYTHON_DEPS} ) - sqlite? ( dev-db/sqlite:3= ) - zlib? ( >=sys-libs/zlib-1.2.3:= ) -" -RDEPEND=" - ${DEPEND} - !https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches - -python_check_deps() { - use doc || return 0 - python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" -} - -src_configure() { - tc-export AR CC CXX - python_setup - - local disable_modules=( - $(usev !boost
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 93ec230d04f715cb0d3f586a1f58a09d1f0b164d Author: Sam James gentoo org> AuthorDate: Fri Jul 14 11:29:31 2023 + Commit: Sam James gentoo org> CommitDate: Fri Jul 14 11:56:31 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93ec230d dev-libs/botan: add 3.1.1 Closes: https://bugs.gentoo.org/908958 Closes: https://bugs.gentoo.org/910240 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest | 2 + dev-libs/botan/botan-3.1.1.ebuild | 218 ++ 2 files changed, 220 insertions(+) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index 814c89c86939..1ce6513a52f2 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -6,3 +6,5 @@ DIST Botan-3.0.0.tar.xz 8752380 BLAKE2B 06ac29dc0cbaef43a38cc30185f431e1b1f40834 DIST Botan-3.0.0.tar.xz.asc 488 BLAKE2B 6a34817ec4700983151f97d2e278870736860ac72f3936fcc63e241d89ba758bdf7765d3c877d88019055562a6067c278ecbac263e8d87cc310790089e47f662 SHA512 46ff64bb4d215a48b0549d90ae2461ae39ae5ecf588a7e130876759ec30561c5a2db77ee9cdc7a3dab990927b51ea732f5b56592bdc150062ca25690378ab817 DIST Botan-3.1.0.tar.xz 8807364 BLAKE2B 4f990905d213d42969e54e2f95844832ceecad91eac08436d221a3881719e896e3a4fa564e8b267d5d74d9955b55b547b3df9ca77726993a9a8136e42add4533 SHA512 2234f026bc79657699ab53042dca7d67f4beee91593bf12c32a94688978bd4a99ef4e632ecdb2d21b20481e1cdc353a8fa8665db0f0130b2e8f0f84ebeac8970 DIST Botan-3.1.0.tar.xz.asc 488 BLAKE2B 921092f09ea4e00742c66827298bc5b1476dbb98c5c76fd10a0901b0d9522484eb85cffef359ffc952c9d01892295c125b7c8957fa028cad2a931b599e05 SHA512 11f43d6147113fbe4d49d81b5b2f74a99951cee6cb52ebea741c36a7dec577e1fc14af7241dc60c14b271ba1432dc19a59939b3984233738159198d187973e3e +DIST Botan-3.1.1.tar.xz 8800368 BLAKE2B c31365e6bd4106f96a033e5f092c528c0185577f41d9a698d2630ece0f660f87f03e0775ebeb5c4d812819bbc6eb556b5ff15c16f243288ae73c8bf1fbb991ce SHA512 ed6bdadb910b0775245648140212953ed364aa26107f851e39ac5cb664d7f476c519a22cdad41f0e520796c4ebe453c56ca68a2178e39f815d445e9979333795 +DIST Botan-3.1.1.tar.xz.asc 488 BLAKE2B 9ac94473d90a26932e507cdb3f46d8381565deecff38a5a2f7fe043b33405071adf0baee4235dd94bb6d35fa3ffedca6192fb5f5d76030874a90a399d88f9744 SHA512 f52e8602a57f590150f6f49829e788910006e5113ab6e85c6efe73009b8db752b5f28b869c6265ef6dd3c2727c64c0182d125f02f92485485768416c618acdb9 diff --git a/dev-libs/botan/botan-3.1.1.ebuild b/dev-libs/botan/botan-3.1.1.ebuild new file mode 100644 index ..43885db0f0cd --- /dev/null +++ b/dev-libs/botan/botan-3.1.1.ebuild @@ -0,0 +1,218 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc +inherit edo flag-o-matic multiprocessing python-r1 toolchain-funcs verify-sig + +MY_P="Botan-${PV}" +DESCRIPTION="C++ crypto library" +HOMEPAGE="https://botan.randombit.net/; +SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; +SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +# New major versions are parallel-installable +SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" +RESTRICT="!test? ( test )" + +CPU_USE=( + cpu_flags_arm_{aes,neon} + cpu_flags_ppc_altivec + cpu_flags_x86_{aes,avx2,popcnt,rdrand,sha,sse2,ssse3,sse4_1,sse4_2} +) + +IUSE+=" ${CPU_USE[@]}" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# NOTE: Boost is needed at runtime too for the CLI tool. +DEPEND=" + boost? ( dev-libs/boost:= ) + bzip2? ( >=app-arch/bzip2-1.0.5:= ) + lzma? ( app-arch/xz-utils:= ) + python? ( ${PYTHON_DEPS} ) + sqlite? ( dev-db/sqlite:3= ) + zlib? ( >=sys-libs/zlib-1.2.3:= ) +" +RDEPEND=" + ${DEPEND} + !https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches + +python_check_deps() { + use doc || return 0 + python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + +pkg_pretend() { + [[ ${MERGE_TYPE} == binary ]] && return + + # bug #908958 + if tc-is-gcc && ver_test $(gcc-version) -lt 11 ; then + eerror "Botan needs >=gcc-11 or >=clang-14 to compile." + eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc" + die "GCC version is too old to compile Botan!" + elif tc-is-clang && ver_test $(clang-version) -lt 14 ; then + eerror "Botan needs >=gcc-11 or >=clang-14 to compile." + eerror "Please upgrade Clang: emerge -v1 sys-devel/clang" + die "Clang version is too old to compile Botan!" + fi +} + +src_configure() { + tc-export AR CC CXX + python_setup + +
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: e05b37859baea238fd59b9a686b5891b76346686 Author: Sam James gentoo org> AuthorDate: Wed Jul 12 23:07:15 2023 + Commit: Sam James gentoo org> CommitDate: Wed Jul 12 23:07:15 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e05b3785 dev-libs/botan: handle -fsanitize={address,undefined} See https://github.com/randombit/botan/issues/3623#issuecomment-1632453228. We need to handle -fsanitize=address and -fsanitize=undefined and pass them through with the special build system options rather than passing them in raw. Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-3.1.0.ebuild | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/dev-libs/botan/botan-3.1.0.ebuild b/dev-libs/botan/botan-3.1.0.ebuild index 556004d6c660..6cbda3afca02 100644 --- a/dev-libs/botan/botan-3.1.0.ebuild +++ b/dev-libs/botan/botan-3.1.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc -inherit edo multiprocessing python-r1 toolchain-funcs verify-sig +inherit edo flag-o-matic multiprocessing python-r1 toolchain-funcs verify-sig MY_P="Botan-${PV}" DESCRIPTION="C++ crypto library" @@ -62,6 +62,7 @@ python_check_deps() { } src_configure() { + tc-export AR CC CXX python_setup local disable_modules=( @@ -167,7 +168,17 @@ src_configure() { ) fi - tc-export AR CC CXX + local sanitizers=() + if is-flagq -fsanitize=address ; then + sanitizers+=( address ) + fi + if is-flagq -fsanitize=undefined ; then + sanitizers+=( undefined ) + fi + filter-flags '-fsanitize=*' + myargs+=( + --enable-sanitizers=$(IFS=","; echo "${sanitizers[*]}") + ) edo ${EPYTHON} configure.py --verbose "${myargs[@]}" }
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 6b2dcbb11287d7992ed86ea756170c93a6419ab5 Author: Sam James gentoo org> AuthorDate: Wed Jul 12 09:04:52 2023 + Commit: Sam James gentoo org> CommitDate: Wed Jul 12 09:05:16 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b2dcbb1 dev-libs/botan: respect MAKEOPTS for tests Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.19.2.ebuild| 6 +++--- dev-libs/botan/botan-2.19.3-r2.ebuild | 4 ++-- dev-libs/botan/botan-3.0.0-r2.ebuild | 4 ++-- dev-libs/botan/botan-3.1.0.ebuild | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dev-libs/botan/botan-2.19.2.ebuild b/dev-libs/botan/botan-2.19.2.ebuild index e899feaea56b..9001823c1c74 100644 --- a/dev-libs/botan/botan-2.19.2.ebuild +++ b/dev-libs/botan/botan-2.19.2.ebuild @@ -3,9 +3,9 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc -inherit edo python-r1 toolchain-funcs verify-sig +inherit edo multiprocessing python-r1 toolchain-funcs verify-sig MY_P="Botan-${PV}" DESCRIPTION="C++ crypto library" @@ -167,7 +167,7 @@ src_configure() { } src_test() { - LD_LIBRARY_PATH="${S}" ./botan-test || die "Validation tests failed" + LD_LIBRARY_PATH="${S}" edo ./botan-test --test-threads="$(makeopts_jobs)" } src_install() { diff --git a/dev-libs/botan/botan-2.19.3-r2.ebuild b/dev-libs/botan/botan-2.19.3-r2.ebuild index 3059e4d2c09e..901ed502d597 100644 --- a/dev-libs/botan/botan-2.19.3-r2.ebuild +++ b/dev-libs/botan/botan-2.19.3-r2.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..11} ) VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc -inherit edo python-r1 toolchain-funcs verify-sig +inherit edo multiprocessing python-r1 toolchain-funcs verify-sig MY_P="Botan-${PV}" DESCRIPTION="C++ crypto library" @@ -173,7 +173,7 @@ src_configure() { } src_test() { - LD_LIBRARY_PATH="${S}" ./botan-test$(ver_cut 1) || die "Validation tests failed" + LD_LIBRARY_PATH="${S}" edo ./botan-test$(ver_cut 1) --test-threads="$(makeopts_jobs)" } src_install() { diff --git a/dev-libs/botan/botan-3.0.0-r2.ebuild b/dev-libs/botan/botan-3.0.0-r2.ebuild index fb1e9384a2cc..29f6c986af69 100644 --- a/dev-libs/botan/botan-3.0.0-r2.ebuild +++ b/dev-libs/botan/botan-3.0.0-r2.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..11} ) VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc -inherit edo python-r1 toolchain-funcs verify-sig +inherit edo multiprocessing python-r1 toolchain-funcs verify-sig MY_P="Botan-${PV}" DESCRIPTION="C++ crypto library" @@ -176,7 +176,7 @@ src_configure() { } src_test() { - LD_LIBRARY_PATH="${S}" ./botan-test$(ver_cut 1) || die "Validation tests failed" + LD_LIBRARY_PATH="${S}" edo ./botan-test$(ver_cut 1) --test-threads="$(makeopts_jobs)" } src_install() { diff --git a/dev-libs/botan/botan-3.1.0.ebuild b/dev-libs/botan/botan-3.1.0.ebuild index 2fae139bb350..556004d6c660 100644 --- a/dev-libs/botan/botan-3.1.0.ebuild +++ b/dev-libs/botan/botan-3.1.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc -inherit edo python-r1 toolchain-funcs verify-sig +inherit edo multiprocessing python-r1 toolchain-funcs verify-sig MY_P="Botan-${PV}" DESCRIPTION="C++ crypto library" @@ -173,7 +173,7 @@ src_configure() { } src_test() { - LD_LIBRARY_PATH="${S}" ./botan-test$(ver_cut 1) || die "Validation tests failed" + LD_LIBRARY_PATH="${S}" edo ./botan-test$(ver_cut 1) --test-threads="$(makeopts_jobs)" } src_install() {
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: a558bed7ccc95db87d383b1be7379c72acce40ff Author: Sam James gentoo org> AuthorDate: Wed Jul 12 06:42:02 2023 + Commit: Sam James gentoo org> CommitDate: Wed Jul 12 06:49:31 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a558bed7 dev-libs/botan: enable py3.12 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-3.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-3.1.0.ebuild b/dev-libs/botan/botan-3.1.0.ebuild index 5ef808627c93..2fae139bb350 100644 --- a/dev-libs/botan/botan-3.1.0.ebuild +++ b/dev-libs/botan/botan-3.1.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc inherit edo python-r1 toolchain-funcs verify-sig
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 230179daf6ba0dd4401b7b79079d840ed251b06e Author: Sam James gentoo org> AuthorDate: Wed Jul 12 06:38:57 2023 + Commit: Sam James gentoo org> CommitDate: Wed Jul 12 06:49:30 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=230179da dev-libs/botan: fix doc install Oops. Closes: https://bugs.gentoo.org/910232 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-3.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-3.1.0.ebuild b/dev-libs/botan/botan-3.1.0.ebuild index 59ea36471611..5ef808627c93 100644 --- a/dev-libs/botan/botan-3.1.0.ebuild +++ b/dev-libs/botan/botan-3.1.0.ebuild @@ -179,7 +179,7 @@ src_test() { src_install() { default - if [[ -d "${ED}"/usr/share/doc/${P} ]] ; then + if [[ -d "${ED}"/usr/share/doc/${P} && ${P} != ${PF} ]] ; then # --docdir in configure controls the parent directory unfortunately mv "${ED}"/usr/share/doc/${P} "${ED}"/usr/share/doc/${PF} || die fi
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 2d520f46be3ee6d893064a62434610fe1284cbd8 Author: Sam James gentoo org> AuthorDate: Wed Jul 12 03:35:47 2023 + Commit: Sam James gentoo org> CommitDate: Wed Jul 12 04:31:10 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d520f46 dev-libs/botan: add 3.1.0 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest | 2 + dev-libs/botan/botan-3.1.0.ebuild | 191 ++ 2 files changed, 193 insertions(+) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index f1e5e9e25a16..814c89c86939 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -4,3 +4,5 @@ DIST Botan-2.19.3.tar.xz 6105896 BLAKE2B 6d7778d9e9a101c76f35c65b0fb0201641cd919 DIST Botan-2.19.3.tar.xz.asc 488 BLAKE2B cd86bf77306aad2956cced6ac4fb96081279af88743e87d8fe5437e72e9fa8db8aaf40d0b5cb9c5b3a85204cb7d63c3baa3054126ab4c9a2db527e6835a069d7 SHA512 9142f932c958138b4bac32f503a550e6c73b61612690a280dcb98efe8c367aa6bd3cd88b4ed4decec376bb87596a780a21bdcb01d4a3573a1c44fbeb0aa49d23 DIST Botan-3.0.0.tar.xz 8752380 BLAKE2B 06ac29dc0cbaef43a38cc30185f431e1b1f4083469fdea19ee5d77ada6633022746b8ae2419bd00872f9b3892af9c61a455bc88f77bef84f451938dffd27bde3 SHA512 d67ac0f9d67f6869b7a35d4a7c5e96ffcc619f7e44ead36b4cd0906f3d925d12181566aace03ac719ef54d819ae1158febc0b25839beed5f92eade06d510b594 DIST Botan-3.0.0.tar.xz.asc 488 BLAKE2B 6a34817ec4700983151f97d2e278870736860ac72f3936fcc63e241d89ba758bdf7765d3c877d88019055562a6067c278ecbac263e8d87cc310790089e47f662 SHA512 46ff64bb4d215a48b0549d90ae2461ae39ae5ecf588a7e130876759ec30561c5a2db77ee9cdc7a3dab990927b51ea732f5b56592bdc150062ca25690378ab817 +DIST Botan-3.1.0.tar.xz 8807364 BLAKE2B 4f990905d213d42969e54e2f95844832ceecad91eac08436d221a3881719e896e3a4fa564e8b267d5d74d9955b55b547b3df9ca77726993a9a8136e42add4533 SHA512 2234f026bc79657699ab53042dca7d67f4beee91593bf12c32a94688978bd4a99ef4e632ecdb2d21b20481e1cdc353a8fa8665db0f0130b2e8f0f84ebeac8970 +DIST Botan-3.1.0.tar.xz.asc 488 BLAKE2B 921092f09ea4e00742c66827298bc5b1476dbb98c5c76fd10a0901b0d9522484eb85cffef359ffc952c9d01892295c125b7c8957fa028cad2a931b599e05 SHA512 11f43d6147113fbe4d49d81b5b2f74a99951cee6cb52ebea741c36a7dec577e1fc14af7241dc60c14b271ba1432dc19a59939b3984233738159198d187973e3e diff --git a/dev-libs/botan/botan-3.1.0.ebuild b/dev-libs/botan/botan-3.1.0.ebuild new file mode 100644 index ..59ea36471611 --- /dev/null +++ b/dev-libs/botan/botan-3.1.0.ebuild @@ -0,0 +1,191 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc +inherit edo python-r1 toolchain-funcs verify-sig + +MY_P="Botan-${PV}" +DESCRIPTION="C++ crypto library" +HOMEPAGE="https://botan.randombit.net/; +SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; +SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +# New major versions are parallel-installable +SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" +RESTRICT="!test? ( test )" + +CPU_USE=( + cpu_flags_arm_{aes,neon} + cpu_flags_ppc_altivec + cpu_flags_x86_{aes,avx2,popcnt,rdrand,sha,sse2,ssse3,sse4_1,sse4_2} +) + +IUSE+=" ${CPU_USE[@]}" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# NOTE: Boost is needed at runtime too for the CLI tool. +DEPEND=" + boost? ( dev-libs/boost:= ) + bzip2? ( >=app-arch/bzip2-1.0.5:= ) + lzma? ( app-arch/xz-utils:= ) + python? ( ${PYTHON_DEPS} ) + sqlite? ( dev-db/sqlite:3= ) + zlib? ( >=sys-libs/zlib-1.2.3:= ) +" +RDEPEND=" + ${DEPEND} + !https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches + +python_check_deps() { + use doc || return 0 + python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + +src_configure() { + python_setup + + local disable_modules=( + $(usev !boost 'boost') + ) + + if [[ -z "${DISABLE_MODULES}" ]] ; then + elog "Disabling module(s): ${disable_modules[@]}" + fi + + local chostarch="${CHOST%%-*}" + + # Arch specific wrangling + local myos= + case ${CHOST} in + *-darwin*) + myos=darwin + ;; + *) + myos=linux + + if [[ ${CHOST} == *hppa* ]] ; then + chostarch=parisc + elif [[ ${ABI} == sparc64 ]] ; then + chostarch="sparc64" + elif [[ ${ABI} == sparc32 ]] ; then +
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/, dev-libs/botan/files/
commit: 3eb7e3258d4fd7584fae543d779d9fdea666e721 Author: Sam James gentoo org> AuthorDate: Thu Jul 6 02:07:48 2023 + Commit: Sam James gentoo org> CommitDate: Thu Jul 6 02:10:40 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eb7e325 dev-libs/botan: fix musl build Couldn't reproduce it but seems straightforward wrt the issue. Closes: https://bugs.gentoo.org/909422 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-3.0.0-r2.ebuild | 3 + .../files/botan-3.0.0-getentropy-includes.patch| 68 ++ 2 files changed, 71 insertions(+) diff --git a/dev-libs/botan/botan-3.0.0-r2.ebuild b/dev-libs/botan/botan-3.0.0-r2.ebuild index 866ca3ab1f23..fb1e9384a2cc 100644 --- a/dev-libs/botan/botan-3.0.0-r2.ebuild +++ b/dev-libs/botan/botan-3.0.0-r2.ebuild @@ -55,6 +55,9 @@ BDEPEND=" # NOTE: Considering patching Botan? # Please see upstream's guidance: # https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches +PATCHES=( + "${FILESDIR}"/${P}-getentropy-includes.patch +) python_check_deps() { use doc || return 0 diff --git a/dev-libs/botan/files/botan-3.0.0-getentropy-includes.patch b/dev-libs/botan/files/botan-3.0.0-getentropy-includes.patch new file mode 100644 index ..d8b99ba0f4c5 --- /dev/null +++ b/dev-libs/botan/files/botan-3.0.0-getentropy-includes.patch @@ -0,0 +1,68 @@ +https://bugs.gentoo.org/909422 +https://github.com/randombit/botan/commit/3f87e1eef7dbfe231d833ffbf06f7a85b070b600 (cherry-picked getentropy.cpp bit) +https://github.com/randombit/botan/commit/562ea8da8ab34985b4b3dfefc1bea57829213ace + +--- a/src/lib/entropy/getentropy/getentropy.cpp b/src/lib/entropy/getentropy/getentropy.cpp +@@ -10,8 +10,8 @@ + #if defined(BOTAN_TARGET_OS_IS_OPENBSD) || defined(BOTAN_TARGET_OS_IS_FREEBSD) || defined(BOTAN_TARGET_OS_IS_SOLARIS) +#include + #else +- #include // older macOS needs this before sys/random.h +#include ++ #include // older macOS needs this before sys/random.h + #endif + + namespace Botan { +@@ -21,16 +21,14 @@ namespace Botan { + * buffer size is limited to 256 bytes. On OpenBSD this does neither + * block nor fail. + */ +-size_t Getentropy::poll(RandomNumberGenerator& rng) +- { ++size_t Getentropy::poll(RandomNumberGenerator& rng) { +secure_vector buf(256); + +- if(::getentropy(buf.data(), buf.size()) == 0) +- { ++ if(::getentropy(buf.data(), buf.size()) == 0) { + rng.add_entropy(buf.data(), buf.size()); + return buf.size() * 8; +- } ++ } + +return 0; +- } + } ++} // namespace Botan + +From 562ea8da8ab34985b4b3dfefc1bea57829213ace Mon Sep 17 00:00:00 2001 +From: Jack Lloyd +Date: Mon, 29 May 2023 10:10:54 -0400 +Subject: [PATCH] Clean up getentropy includes + +--- a/src/lib/entropy/getentropy/getentropy.cpp b/src/lib/entropy/getentropy/getentropy.cpp +@@ -6,12 +6,11 @@ + */ + + #include ++#include + +-#if defined(BOTAN_TARGET_OS_IS_OPENBSD) || defined(BOTAN_TARGET_OS_IS_FREEBSD) || defined(BOTAN_TARGET_OS_IS_SOLARIS) +- #include +-#else ++// macOS and Android include it in sys/random.h instead ++#if __has_include() +#include +- #include // older macOS needs this before sys/random.h + #endif + + namespace Botan { +@@ -31,4 +30,5 @@ size_t Getentropy::poll(RandomNumberGenerator& rng) { + +return 0; + } ++ + } // namespace Botan +
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 5513848a20f2cfd2ae1b02aa1d44bb5084282d3d Author: Sam James gentoo org> AuthorDate: Sat May 27 10:47:48 2023 + Commit: Sam James gentoo org> CommitDate: Sat May 27 10:47:48 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5513848a dev-libs/botan: Stabilize 3.0.0-r2 ppc64, #906856 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-3.0.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-3.0.0-r2.ebuild b/dev-libs/botan/botan-3.0.0-r2.ebuild index 018c9682c472..866ca3ab1f23 100644 --- a/dev-libs/botan/botan-3.0.0-r2.ebuild +++ b/dev-libs/botan/botan-3.0.0-r2.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" # New major versions are parallel-installable SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv ~sparc x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 4a6fa413ca972b4cbe2142c092689eb1da6b464c Author: Sam James gentoo org> AuthorDate: Sat May 27 10:29:56 2023 + Commit: Sam James gentoo org> CommitDate: Sat May 27 10:29:56 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a6fa413 dev-libs/botan: Stabilize 3.0.0-r2 ppc, #906856 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-3.0.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-3.0.0-r2.ebuild b/dev-libs/botan/botan-3.0.0-r2.ebuild index eee6920ed041..018c9682c472 100644 --- a/dev-libs/botan/botan-3.0.0-r2.ebuild +++ b/dev-libs/botan/botan-3.0.0-r2.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" # New major versions are parallel-installable SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv ~sparc x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 131832d0c6d7bf598aab18caa5365fe659c65159 Author: Arthur Zamarin gentoo org> AuthorDate: Sun May 21 13:49:37 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun May 21 13:49:37 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=131832d0 dev-libs/botan: Stabilize 3.0.0-r2 x86, #906856 Signed-off-by: Arthur Zamarin gentoo.org> dev-libs/botan/botan-3.0.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-3.0.0-r2.ebuild b/dev-libs/botan/botan-3.0.0-r2.ebuild index 0835a338ad8d..eee6920ed041 100644 --- a/dev-libs/botan/botan-3.0.0-r2.ebuild +++ b/dev-libs/botan/botan-3.0.0-r2.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" # New major versions are parallel-installable SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: e86f8f350b28c6173b428867acf9f29f6b0a59cc Author: Sam James gentoo org> AuthorDate: Sun May 21 06:55:34 2023 + Commit: Sam James gentoo org> CommitDate: Sun May 21 06:55:34 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e86f8f35 dev-libs/botan: Stabilize 3.0.0-r2 amd64, #906856 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-3.0.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-3.0.0-r2.ebuild b/dev-libs/botan/botan-3.0.0-r2.ebuild index 59ea36471611..0835a338ad8d 100644 --- a/dev-libs/botan/botan-3.0.0-r2.ebuild +++ b/dev-libs/botan/botan-3.0.0-r2.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" # New major versions are parallel-installable SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 0e70e04c0836e64635486c1909f883704742d4b8 Author: Sam James gentoo org> AuthorDate: Fri May 5 07:26:35 2023 + Commit: Sam James gentoo org> CommitDate: Fri May 5 07:29:41 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e70e04c dev-libs/botan: better collision fix (equivalent though); fix docdir Bug: https://bugs.gentoo.org/905700 Closes: https://bugs.gentoo.org/905739 Signed-off-by: Sam James gentoo.org> .../{botan-2.19.3-r1.ebuild => botan-2.19.3-r2.ebuild} | 18 ++ .../{botan-3.0.0-r1.ebuild => botan-3.0.0-r2.ebuild} | 18 ++ 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/dev-libs/botan/botan-2.19.3-r1.ebuild b/dev-libs/botan/botan-2.19.3-r2.ebuild similarity index 91% rename from dev-libs/botan/botan-2.19.3-r1.ebuild rename to dev-libs/botan/botan-2.19.3-r2.ebuild index 782d8dcc8ce1..3059e4d2c09e 100644 --- a/dev-libs/botan/botan-2.19.3-r1.ebuild +++ b/dev-libs/botan/botan-2.19.3-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc inherit edo python-r1 toolchain-funcs verify-sig @@ -119,7 +119,7 @@ src_configure() { $(usev !cpu_flags_x86_sse4_1 '--disable-sse4.1') $(usev !cpu_flags_x86_sse4_2 '--disable-sse4.2') - # HPPA's GCC doesn't support SSP (presumably due to stack direction) + # HPPA's GCC doesn't support SSP $(usev hppa '--without-stack-protector') $(use_with boost) @@ -136,6 +136,8 @@ src_configure() { --disable-modules=$(IFS=","; echo "${disable_modules[*]}") --distribution-info="Gentoo ${PVR}" --libdir="$(get_libdir)" + # Avoid collisions between slots for tools (bug #905700) + --program-suffix=$(ver_cut 1) # Don't install Python bindings automatically # (do it manually later in the right place) @@ -171,19 +173,19 @@ src_configure() { } src_test() { - LD_LIBRARY_PATH="${S}" ./botan-test || die "Validation tests failed" + LD_LIBRARY_PATH="${S}" ./botan-test$(ver_cut 1) || die "Validation tests failed" } src_install() { default + if [[ -d "${ED}"/usr/share/doc/${P} ]] ; then + # --docdir in configure controls the parent directory unfortunately + mv "${ED}"/usr/share/doc/${P} "${ED}"/usr/share/doc/${PF} || die + fi + # Manually install the Python bindings (bug #723096) if use python ; then python_foreach_impl python_domodule src/python/botan$(ver_cut 1).py fi - - # Avoid collisions between slots for tools (bug #905700) - if use tools ; then - mv "${ED}"/usr/bin/botan "${ED}"/usr/bin/botan$(ver_cut 1) || die - fi } diff --git a/dev-libs/botan/botan-3.0.0-r1.ebuild b/dev-libs/botan/botan-3.0.0-r2.ebuild similarity index 91% rename from dev-libs/botan/botan-3.0.0-r1.ebuild rename to dev-libs/botan/botan-3.0.0-r2.ebuild index d5f062279dde..59ea36471611 100644 --- a/dev-libs/botan/botan-3.0.0-r1.ebuild +++ b/dev-libs/botan/botan-3.0.0-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc inherit edo python-r1 toolchain-funcs verify-sig @@ -119,7 +119,7 @@ src_configure() { $(usev !cpu_flags_x86_sse4_1 '--disable-sse4.1') $(usev !cpu_flags_x86_sse4_2 '--disable-sse4.2') - # HPPA's GCC doesn't support SSP (presumably due to stack direction) + # HPPA's GCC doesn't support SSP $(usev hppa '--without-stack-protector') $(use_with boost) @@ -136,6 +136,8 @@ src_configure() { --disable-modules=$(IFS=","; echo "${disable_modules[*]}") --distribution-info="Gentoo ${PVR}" --libdir="$(get_libdir)" + # Avoid collisions between slots for tools (bug #905700) + --program-suffix=$(ver_cut 1) # Don't install Python bindings automatically # (do it manually later in the right place) @@ -171,19 +173,19 @@ src_configure() { } src_test() { - LD_LIBRARY_PATH="${S}" ./botan-test || die "Validation tests failed" + LD_LIBRARY_PATH="${S}" ./botan-test$(ver_cut 1) || die "Validation tests failed" } src_install() { default + if [[ -d "${ED}"/usr/share/doc/${P} ]] ; then + # --docdir in configure controls the parent directory unfortunately + mv "${ED}"/usr/share/doc/${P} "${ED}"/usr/share/doc/${PF} || die + fi + # Manually install the Python bindings (bug #723096) if use python ; then
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: c9f856a92ddea76d2bf335ced9cdb39d838915d4 Author: Sam James gentoo org> AuthorDate: Fri May 5 05:03:18 2023 + Commit: Sam James gentoo org> CommitDate: Fri May 5 05:03:27 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9f856a9 dev-libs/botan: fix file collision w/ USE=tools Closes: https://bugs.gentoo.org/905700 Signed-off-by: Sam James gentoo.org> dev-libs/botan/{botan-2.19.3.ebuild => botan-2.19.3-r1.ebuild} | 10 +- dev-libs/botan/{botan-3.0.0.ebuild => botan-3.0.0-r1.ebuild} | 10 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/dev-libs/botan/botan-2.19.3.ebuild b/dev-libs/botan/botan-2.19.3-r1.ebuild similarity index 95% rename from dev-libs/botan/botan-2.19.3.ebuild rename to dev-libs/botan/botan-2.19.3-r1.ebuild index 1ad66cddebfd..782d8dcc8ce1 100644 --- a/dev-libs/botan/botan-2.19.3.ebuild +++ b/dev-libs/botan/botan-2.19.3-r1.ebuild @@ -40,7 +40,10 @@ DEPEND=" sqlite? ( dev-db/sqlite:3= ) zlib? ( >=sys-libs/zlib-1.2.3:= ) " -RDEPEND="${DEPEND}" +RDEPEND=" + ${DEPEND} + !
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 17490756752b15d2ee590ac1a6a9c6e170b3cde1 Author: Sam James gentoo org> AuthorDate: Wed Apr 12 09:17:01 2023 + Commit: Sam James gentoo org> CommitDate: Wed Apr 12 09:17:36 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17490756 dev-libs/botan: fix USE=python for 3.0.0 Closes: https://bugs.gentoo.org/904219 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.19.3.ebuild | 5 +++-- dev-libs/botan/botan-3.0.0.ebuild | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dev-libs/botan/botan-2.19.3.ebuild b/dev-libs/botan/botan-2.19.3.ebuild index 10d64d9a5ec0..1ad66cddebfd 100644 --- a/dev-libs/botan/botan-2.19.3.ebuild +++ b/dev-libs/botan/botan-2.19.3.ebuild @@ -15,7 +15,8 @@ SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" -SLOT="2/$(ver_cut 1-2)" # soname version +# New major versions are parallel-installable +SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" RESTRICT="!test? ( test )" @@ -175,6 +176,6 @@ src_install() { # Manually install the Python bindings (bug #723096) if use python ; then - python_foreach_impl python_domodule src/python/botan2.py + python_foreach_impl python_domodule src/python/botan$(ver_cut 1).py fi } diff --git a/dev-libs/botan/botan-3.0.0.ebuild b/dev-libs/botan/botan-3.0.0.ebuild index 79bf305f90f5..e31d7d9348d4 100644 --- a/dev-libs/botan/botan-3.0.0.ebuild +++ b/dev-libs/botan/botan-3.0.0.ebuild @@ -176,6 +176,6 @@ src_install() { # Manually install the Python bindings (bug #723096) if use python ; then - python_foreach_impl python_domodule src/python/botan2.py + python_foreach_impl python_domodule src/python/botan$(ver_cut 1).py fi }
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: ca95aad45e19ce8a64cb6b8a46603f7a58f879b9 Author: Sam James gentoo org> AuthorDate: Wed Apr 12 02:17:37 2023 + Commit: Sam James gentoo org> CommitDate: Wed Apr 12 02:17:37 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca95aad4 dev-libs/botan: add 3.0.0 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest | 2 + dev-libs/botan/botan-3.0.0.ebuild | 181 ++ 2 files changed, 183 insertions(+) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index 1371878c4608..f1e5e9e25a16 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -2,3 +2,5 @@ DIST Botan-2.19.2.tar.xz 6063336 BLAKE2B a46fa49c61846e718197ab3a8431a5bdcab0f4c DIST Botan-2.19.2.tar.xz.asc 488 BLAKE2B 94d22dff9de02871560649b1d961f4c7ae5fa37a847141554f8da9f0a726d4497cd23e0d84197beb4d176f29aa3a478118d94cd52d2c04733d115828f85d400d SHA512 e25a03ac437a08737ecde541ead4b841ccb507d3198683a1755dab1d4f82e9ce0278473db7c7041a4b808f9dff9927106e30bbad79b1674615254ee78f0b6a06 DIST Botan-2.19.3.tar.xz 6105896 BLAKE2B 6d7778d9e9a101c76f35c65b0fb0201641cd91967ba934510f3836ee4b924d54cabdc760dd460997679250aa66e1d2a99369cd03f8fb9e7b2fe672d4b355215f SHA512 80012397e2aa7cc88a9536340ac9b770d1195fddda53b9d4cfde82318dd05f9d4f925bbdff773aba99883a701f4d30581e9d5c97e915fa80c3ca2acfa5a92110 DIST Botan-2.19.3.tar.xz.asc 488 BLAKE2B cd86bf77306aad2956cced6ac4fb96081279af88743e87d8fe5437e72e9fa8db8aaf40d0b5cb9c5b3a85204cb7d63c3baa3054126ab4c9a2db527e6835a069d7 SHA512 9142f932c958138b4bac32f503a550e6c73b61612690a280dcb98efe8c367aa6bd3cd88b4ed4decec376bb87596a780a21bdcb01d4a3573a1c44fbeb0aa49d23 +DIST Botan-3.0.0.tar.xz 8752380 BLAKE2B 06ac29dc0cbaef43a38cc30185f431e1b1f4083469fdea19ee5d77ada6633022746b8ae2419bd00872f9b3892af9c61a455bc88f77bef84f451938dffd27bde3 SHA512 d67ac0f9d67f6869b7a35d4a7c5e96ffcc619f7e44ead36b4cd0906f3d925d12181566aace03ac719ef54d819ae1158febc0b25839beed5f92eade06d510b594 +DIST Botan-3.0.0.tar.xz.asc 488 BLAKE2B 6a34817ec4700983151f97d2e278870736860ac72f3936fcc63e241d89ba758bdf7765d3c877d88019055562a6067c278ecbac263e8d87cc310790089e47f662 SHA512 46ff64bb4d215a48b0549d90ae2461ae39ae5ecf588a7e130876759ec30561c5a2db77ee9cdc7a3dab990927b51ea732f5b56592bdc150062ca25690378ab817 diff --git a/dev-libs/botan/botan-3.0.0.ebuild b/dev-libs/botan/botan-3.0.0.ebuild new file mode 100644 index ..79bf305f90f5 --- /dev/null +++ b/dev-libs/botan/botan-3.0.0.ebuild @@ -0,0 +1,181 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc +inherit edo python-r1 toolchain-funcs verify-sig + +MY_P="Botan-${PV}" +DESCRIPTION="C++ crypto library" +HOMEPAGE="https://botan.randombit.net/; +SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; +SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +# New major versions are parallel-installable +SLOT="$(ver_cut 1)/$(ver_cut 1-2)" # soname version +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" +RESTRICT="!test? ( test )" + +CPU_USE=( + cpu_flags_arm_{aes,neon} + cpu_flags_ppc_altivec + cpu_flags_x86_{aes,avx2,popcnt,rdrand,sha,sse2,ssse3,sse4_1,sse4_2} +) + +IUSE+=" ${CPU_USE[@]}" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# NOTE: Boost is needed at runtime too for the CLI tool. +DEPEND=" + boost? ( dev-libs/boost:= ) + bzip2? ( >=app-arch/bzip2-1.0.5:= ) + lzma? ( app-arch/xz-utils:= ) + python? ( ${PYTHON_DEPS} ) + sqlite? ( dev-db/sqlite:3= ) + zlib? ( >=sys-libs/zlib-1.2.3:= ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep ' + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + ') + verify-sig? ( sec-keys/openpgp-keys-botan ) +" + +# NOTE: Considering patching Botan? +# Please see upstream's guidance: +# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches + +python_check_deps() { + use doc || return 0 + python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + +src_configure() { + python_setup + + local disable_modules=( + $(usev !boost 'boost') + ) + + if [[ -z "${DISABLE_MODULES}" ]] ; then + elog "Disabling module(s): ${disable_modules[@]}" + fi + + local chostarch="${CHOST%%-*}" + + # Arch specific wrangling + local myos= + case ${CHOST} in + *-darwin*) + myos=darwin + ;; + *) + myos=linux + + if [[ ${CHOST} == *hppa* ]] ;
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 8bb557490e8ccf0afd534aa0f4848d62a897bac4 Author: Sam James gentoo org> AuthorDate: Mon Dec 12 15:55:54 2022 + Commit: Sam James gentoo org> CommitDate: Mon Dec 12 15:55:54 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bb55749 dev-libs/botan: Stabilize 2.19.3 amd64, #885509 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.19.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.19.3.ebuild b/dev-libs/botan/botan-2.19.3.ebuild index 049de96e5a5f..69ea0db79bdd 100644 --- a/dev-libs/botan/botan-2.19.3.ebuild +++ b/dev-libs/botan/botan-2.19.3.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 01bd86b63c5ac8411e4e639ce00c8858f2664e05 Author: Sam James gentoo org> AuthorDate: Mon Dec 12 15:55:55 2022 + Commit: Sam James gentoo org> CommitDate: Mon Dec 12 15:55:55 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01bd86b6 dev-libs/botan: Stabilize 2.19.3 x86, #885509 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.19.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.19.3.ebuild b/dev-libs/botan/botan-2.19.3.ebuild index 69ea0db79bdd..9aab093f2f26 100644 --- a/dev-libs/botan/botan-2.19.3.ebuild +++ b/dev-libs/botan/botan-2.19.3.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 5337bfb819580646f2663690401e6bd46ef99c21 Author: Jakov Smolić gentoo org> AuthorDate: Mon Dec 12 07:44:27 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Mon Dec 12 07:44:27 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5337bfb8 dev-libs/botan: Stabilize 2.19.3 ppc64, #885509 Signed-off-by: Jakov Smolić gentoo.org> dev-libs/botan/botan-2.19.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.19.3.ebuild b/dev-libs/botan/botan-2.19.3.ebuild index 96f23805b8e1..049de96e5a5f 100644 --- a/dev-libs/botan/botan-2.19.3.ebuild +++ b/dev-libs/botan/botan-2.19.3.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: de22745429b72b97bd8e324706c9e5601645421d Author: Jakov Smolić gentoo org> AuthorDate: Mon Dec 12 07:44:21 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Mon Dec 12 07:44:21 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de227454 dev-libs/botan: Stabilize 2.19.3 ppc, #885509 Signed-off-by: Jakov Smolić gentoo.org> dev-libs/botan/botan-2.19.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.19.3.ebuild b/dev-libs/botan/botan-2.19.3.ebuild index a5382e6ae9fc..96f23805b8e1 100644 --- a/dev-libs/botan/botan-2.19.3.ebuild +++ b/dev-libs/botan/botan-2.19.3.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 9841574e46260f409c25aea7c4b7a95bc1aad1d4 Author: Sam James gentoo org> AuthorDate: Thu Nov 17 01:01:46 2022 + Commit: Sam James gentoo org> CommitDate: Thu Nov 17 01:01:46 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9841574e dev-libs/botan: add 2.19.3 Bug: https://bugs.gentoo.org/881529 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest| 2 + dev-libs/botan/botan-2.19.3.ebuild | 180 + 2 files changed, 182 insertions(+) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index 34580d8a67e8..1371878c4608 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,2 +1,4 @@ DIST Botan-2.19.2.tar.xz 6063336 BLAKE2B a46fa49c61846e718197ab3a8431a5bdcab0f4cc5e42aec04fd22932ecdbfa2b755cae53c125eee8248ecae237671ec6f0533f99289068ed81e6cd34886d8b88 SHA512 52b9c80a240457e46a299480338472f7d0c0b56df7b1709fdef52c5be3afca5b474fe143801c9a332ae884eaf033e60461c9d3e0b2f7b069f4fe8b4c45932abf DIST Botan-2.19.2.tar.xz.asc 488 BLAKE2B 94d22dff9de02871560649b1d961f4c7ae5fa37a847141554f8da9f0a726d4497cd23e0d84197beb4d176f29aa3a478118d94cd52d2c04733d115828f85d400d SHA512 e25a03ac437a08737ecde541ead4b841ccb507d3198683a1755dab1d4f82e9ce0278473db7c7041a4b808f9dff9927106e30bbad79b1674615254ee78f0b6a06 +DIST Botan-2.19.3.tar.xz 6105896 BLAKE2B 6d7778d9e9a101c76f35c65b0fb0201641cd91967ba934510f3836ee4b924d54cabdc760dd460997679250aa66e1d2a99369cd03f8fb9e7b2fe672d4b355215f SHA512 80012397e2aa7cc88a9536340ac9b770d1195fddda53b9d4cfde82318dd05f9d4f925bbdff773aba99883a701f4d30581e9d5c97e915fa80c3ca2acfa5a92110 +DIST Botan-2.19.3.tar.xz.asc 488 BLAKE2B cd86bf77306aad2956cced6ac4fb96081279af88743e87d8fe5437e72e9fa8db8aaf40d0b5cb9c5b3a85204cb7d63c3baa3054126ab4c9a2db527e6835a069d7 SHA512 9142f932c958138b4bac32f503a550e6c73b61612690a280dcb98efe8c367aa6bd3cd88b4ed4decec376bb87596a780a21bdcb01d4a3573a1c44fbeb0aa49d23 diff --git a/dev-libs/botan/botan-2.19.3.ebuild b/dev-libs/botan/botan-2.19.3.ebuild new file mode 100644 index ..87dba760e169 --- /dev/null +++ b/dev-libs/botan/botan-2.19.3.ebuild @@ -0,0 +1,180 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc +inherit edo python-r1 toolchain-funcs verify-sig + +MY_P="Botan-${PV}" +DESCRIPTION="C++ crypto library" +HOMEPAGE="https://botan.randombit.net/; +SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; +SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +SLOT="2/$(ver_cut 1-2)" # soname version +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" +RESTRICT="!test? ( test )" + +CPU_USE=( + cpu_flags_arm_{aes,neon} + cpu_flags_ppc_altivec + cpu_flags_x86_{aes,avx2,popcnt,rdrand,sha,sse2,ssse3,sse4_1,sse4_2} +) + +IUSE+=" ${CPU_USE[@]}" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# NOTE: Boost is needed at runtime too for the CLI tool. +DEPEND=" + boost? ( dev-libs/boost:= ) + bzip2? ( >=app-arch/bzip2-1.0.5:= ) + lzma? ( app-arch/xz-utils:= ) + python? ( ${PYTHON_DEPS} ) + sqlite? ( dev-db/sqlite:3= ) + zlib? ( >=sys-libs/zlib-1.2.3:= ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep ' + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + ') + verify-sig? ( sec-keys/openpgp-keys-botan ) +" + +# NOTE: Considering patching Botan? +# Please see upstream's guidance: +# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches + +python_check_deps() { + use doc || return 0 + python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + +src_configure() { + python_setup + + local disable_modules=( + $(usev !boost 'boost') + ) + + if [[ -z "${DISABLE_MODULES}" ]] ; then + elog "Disabling module(s): ${disable_modules[@]}" + fi + + local chostarch="${CHOST%%-*}" + + # Arch specific wrangling + local myos= + case ${CHOST} in + *-darwin*) + myos=darwin + ;; + *) + myos=linux + + if [[ ${CHOST} == *hppa* ]] ; then + chostarch=parisc + elif [[ ${ABI} == sparc64 ]] ; then + chostarch="sparc64" + elif [[ ${ABI} == sparc32 ]] ; then + chostarch="sparc32" + fi + ;; + esac + + local pythonvers=() + if use python ; then +
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: f4cbafa51669b5468a35ee9235553322bc0e1388 Author: Richard-Rogalski tutanota com> AuthorDate: Sun Oct 2 17:15:36 2022 + Commit: Sam James gentoo org> CommitDate: Wed Oct 12 23:06:04 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4cbafa5 dev-libs/botan: fix building for sparc Closes: https://bugs.gentoo.org/872962 Signed-off-by: Richard Rogalski tutanota.com> Closes: https://github.com/gentoo/gentoo/pull/27579 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.19.2.ebuild | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-libs/botan/botan-2.19.2.ebuild b/dev-libs/botan/botan-2.19.2.ebuild index f898e8b84b25..eae0131ed655 100644 --- a/dev-libs/botan/botan-2.19.2.ebuild +++ b/dev-libs/botan/botan-2.19.2.ebuild @@ -81,8 +81,10 @@ src_configure() { if [[ ${CHOST} == *hppa* ]] ; then chostarch=parisc - elif [[ ${PROFILE_ARCH} == sparc64 ]] ; then - chostarch="sparc32-v9" + elif [[ ${ABI} == sparc64 ]] ; then + chostarch="sparc64" + elif [[ ${ABI} == sparc32 ]] ; then + chostarch="sparc32" fi ;; esac
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: e5b42878dea4e8ebf19eeaa648439e3c5985333e Author: Sam James gentoo org> AuthorDate: Tue Jul 26 04:23:47 2022 + Commit: Sam James gentoo org> CommitDate: Tue Jul 26 04:25:22 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5b42878 dev-libs/botan: drop 2.19.1 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest| 2 - dev-libs/botan/botan-2.19.1.ebuild | 165 - 2 files changed, 167 deletions(-) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index a1e5500c5416..34580d8a67e8 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,4 +1,2 @@ -DIST Botan-2.19.1.tar.xz 6088380 BLAKE2B 7a2d50bb66ea4a1875857bea769bcc30f397170a10a70377c3963d92e33321a079271c1e235a7892e33ec5b1bc19e4df8336b2586548ccd849f52ebfa47d9c8f SHA512 e604be0e7e82da89e3e1949d3035a87dc63314bd9854d5fe5129ccb3ed5bc78edb0406c7f8ad1a152b59a63b6d98ba207a0851a08428c3452cce794614b5eef5 -DIST Botan-2.19.1.tar.xz.asc 488 BLAKE2B 36f27e294fed60ea4d9ee9d919a58fc431a1bf9bdec8c12d30f2cba537a70b0e22f6a7c882cf7a80dc10aeee256f9f4a32129b55d2ab5df192d16759638feaa4 SHA512 2cd57bf97630d8f79cc0a87da79d3b338bd3b33b02ded16f6b60d5fd6cb3ea62105f577deb3b8d061f56a09ff902ff553ea3a0c603d5c3bd53a905024a2f457b DIST Botan-2.19.2.tar.xz 6063336 BLAKE2B a46fa49c61846e718197ab3a8431a5bdcab0f4cc5e42aec04fd22932ecdbfa2b755cae53c125eee8248ecae237671ec6f0533f99289068ed81e6cd34886d8b88 SHA512 52b9c80a240457e46a299480338472f7d0c0b56df7b1709fdef52c5be3afca5b474fe143801c9a332ae884eaf033e60461c9d3e0b2f7b069f4fe8b4c45932abf DIST Botan-2.19.2.tar.xz.asc 488 BLAKE2B 94d22dff9de02871560649b1d961f4c7ae5fa37a847141554f8da9f0a726d4497cd23e0d84197beb4d176f29aa3a478118d94cd52d2c04733d115828f85d400d SHA512 e25a03ac437a08737ecde541ead4b841ccb507d3198683a1755dab1d4f82e9ce0278473db7c7041a4b808f9dff9927106e30bbad79b1674615254ee78f0b6a06 diff --git a/dev-libs/botan/botan-2.19.1.ebuild b/dev-libs/botan/botan-2.19.1.ebuild deleted file mode 100644 index 15696ea8fbc9.. --- a/dev-libs/botan/botan-2.19.1.ebuild +++ /dev/null @@ -1,165 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/botan.asc -inherit python-r1 toolchain-funcs verify-sig - -MY_P="Botan-${PV}" -DESCRIPTION="C++ crypto library" -HOMEPAGE="https://botan.randombit.net/; -SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; -SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD-2" -SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~ppc-macos" -IUSE="doc boost bzip2 lzma python ssl static-libs sqlite zlib" - -CPU_USE=( - cpu_flags_arm_{aes,neon} - cpu_flags_ppc_altivec - cpu_flags_x86_{aes,avx2,popcnt,rdrand,sse2,ssse3,sse4_1,sse4_2} -) - -IUSE+=" ${CPU_USE[@]}" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -# NOTE: Boost is needed at runtime too for the CLI tool. -DEPEND=" - boost? ( >=dev-libs/boost-1.48:= ) - bzip2? ( >=app-arch/bzip2-1.0.5:= ) - lzma? ( app-arch/xz-utils:= ) - python? ( ${PYTHON_DEPS} ) - ssl? ( dev-libs/openssl:= ) - sqlite? ( dev-db/sqlite:3= ) - zlib? ( >=sys-libs/zlib-1.2.3:= ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - ${PYTHON_DEPS} - $(python_gen_any_dep ' - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - ') - verify-sig? ( sec-keys/openpgp-keys-botan ) -" - -# NOTE: Considering patching Botan? -# Please see upstream's guidance: -# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches - -python_check_deps() { - if use doc ; then - has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1 - fi -} - -src_configure() { - python_setup - - local disable_modules=( - $(usev !boost 'boost') - ) - - if [[ -z "${DISABLE_MODULES}" ]] ; then - elog "Disabling module(s): ${disable_modules[@]}" - fi - - local chostarch="${CHOST%%-*}" - - # Arch specific wrangling - local myos= - case ${CHOST} in - *-darwin*) - myos=darwin - ;; - - *) - myos=linux - - if [[ ${CHOST} == *hppa* ]] ; then - chostarch=parisc - elif [[ ${PROFILE_ARCH} == "sparc64" ]] ; then - chostarch="sparc32-v9" - fi - ;; - - esac - - local pythonvers=() - if use python ; then - _append() { - pythonvers+=( ${EPYTHON/python/} ) - } - -
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 43a685a1e07d93a7227d37afc3fa92462f27b746 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Jul 15 07:25:48 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Jul 15 07:25:48 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43a685a1 dev-libs/botan: x86 stable wrt bug #858119 Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/botan/botan-2.19.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.19.2.ebuild b/dev-libs/botan/botan-2.19.2.ebuild index 74d1d587517b..c4186ab0ca1a 100644 --- a/dev-libs/botan/botan-2.19.2.ebuild +++ b/dev-libs/botan/botan-2.19.2.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: e673c66adff7d19dcf3ed7305bc732262c63b1b2 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Jul 15 07:21:34 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Jul 15 07:21:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e673c66a dev-libs/botan: amd64 stable wrt bug #858119 Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/botan/botan-2.19.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.19.2.ebuild b/dev-libs/botan/botan-2.19.2.ebuild index 81ddbefb0c4a..74d1d587517b 100644 --- a/dev-libs/botan/botan-2.19.2.ebuild +++ b/dev-libs/botan/botan-2.19.2.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc ~x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: ff91f85cc312e803e57c96be3ddd1e5988d0f464 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 15 07:06:54 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jul 15 07:06:54 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff91f85c dev-libs/botan: Stabilize 2.19.2 ppc, #858119 Signed-off-by: Arthur Zamarin gentoo.org> dev-libs/botan/botan-2.19.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.19.2.ebuild b/dev-libs/botan/botan-2.19.2.ebuild index e02c506bb4c6..81ddbefb0c4a 100644 --- a/dev-libs/botan/botan-2.19.2.ebuild +++ b/dev-libs/botan/botan-2.19.2.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc ~x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 3cd8f8b7b1a31a1e84046238fde23731c78a1566 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 15 07:06:53 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jul 15 07:06:53 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cd8f8b7 dev-libs/botan: Stabilize 2.19.2 ppc64, #858119 Signed-off-by: Arthur Zamarin gentoo.org> dev-libs/botan/botan-2.19.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.19.2.ebuild b/dev-libs/botan/botan-2.19.2.ebuild index f7dd41802cb6..e02c506bb4c6 100644 --- a/dev-libs/botan/botan-2.19.2.ebuild +++ b/dev-libs/botan/botan-2.19.2.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc ~x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: a293a470d22418e0355c26d98e81008e25508f0f Author: Sam James gentoo org> AuthorDate: Sat Jun 4 01:16:17 2022 + Commit: Sam James gentoo org> CommitDate: Sat Jun 4 01:16:56 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a293a470 dev-libs/botan: add 2.19.2 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest| 2 + dev-libs/botan/botan-2.19.2.ebuild | 178 + dev-libs/botan/metadata.xml| 3 +- 3 files changed, 182 insertions(+), 1 deletion(-) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index ac477efafc69..a1e5500c5416 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,2 +1,4 @@ DIST Botan-2.19.1.tar.xz 6088380 BLAKE2B 7a2d50bb66ea4a1875857bea769bcc30f397170a10a70377c3963d92e33321a079271c1e235a7892e33ec5b1bc19e4df8336b2586548ccd849f52ebfa47d9c8f SHA512 e604be0e7e82da89e3e1949d3035a87dc63314bd9854d5fe5129ccb3ed5bc78edb0406c7f8ad1a152b59a63b6d98ba207a0851a08428c3452cce794614b5eef5 DIST Botan-2.19.1.tar.xz.asc 488 BLAKE2B 36f27e294fed60ea4d9ee9d919a58fc431a1bf9bdec8c12d30f2cba537a70b0e22f6a7c882cf7a80dc10aeee256f9f4a32129b55d2ab5df192d16759638feaa4 SHA512 2cd57bf97630d8f79cc0a87da79d3b338bd3b33b02ded16f6b60d5fd6cb3ea62105f577deb3b8d061f56a09ff902ff553ea3a0c603d5c3bd53a905024a2f457b +DIST Botan-2.19.2.tar.xz 6063336 BLAKE2B a46fa49c61846e718197ab3a8431a5bdcab0f4cc5e42aec04fd22932ecdbfa2b755cae53c125eee8248ecae237671ec6f0533f99289068ed81e6cd34886d8b88 SHA512 52b9c80a240457e46a299480338472f7d0c0b56df7b1709fdef52c5be3afca5b474fe143801c9a332ae884eaf033e60461c9d3e0b2f7b069f4fe8b4c45932abf +DIST Botan-2.19.2.tar.xz.asc 488 BLAKE2B 94d22dff9de02871560649b1d961f4c7ae5fa37a847141554f8da9f0a726d4497cd23e0d84197beb4d176f29aa3a478118d94cd52d2c04733d115828f85d400d SHA512 e25a03ac437a08737ecde541ead4b841ccb507d3198683a1755dab1d4f82e9ce0278473db7c7041a4b808f9dff9927106e30bbad79b1674615254ee78f0b6a06 diff --git a/dev-libs/botan/botan-2.19.2.ebuild b/dev-libs/botan/botan-2.19.2.ebuild new file mode 100644 index ..f7dd41802cb6 --- /dev/null +++ b/dev-libs/botan/botan-2.19.2.ebuild @@ -0,0 +1,178 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc +inherit edo python-r1 toolchain-funcs verify-sig + +MY_P="Botan-${PV}" +DESCRIPTION="C++ crypto library" +HOMEPAGE="https://botan.randombit.net/; +SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; +SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +SLOT="2/$(ver_cut 1-2)" # soname version +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" +RESTRICT="!test? ( test )" + +CPU_USE=( + cpu_flags_arm_{aes,neon} + cpu_flags_ppc_altivec + cpu_flags_x86_{aes,avx2,popcnt,rdrand,sha,sse2,ssse3,sse4_1,sse4_2} +) + +IUSE+=" ${CPU_USE[@]}" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# NOTE: Boost is needed at runtime too for the CLI tool. +DEPEND=" + boost? ( >=dev-libs/boost-1.48:= ) + bzip2? ( >=app-arch/bzip2-1.0.5:= ) + lzma? ( app-arch/xz-utils:= ) + python? ( ${PYTHON_DEPS} ) + sqlite? ( dev-db/sqlite:3= ) + zlib? ( >=sys-libs/zlib-1.2.3:= ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep ' + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + ') + verify-sig? ( sec-keys/openpgp-keys-botan ) +" + +# NOTE: Considering patching Botan? +# Please see upstream's guidance: +# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches + +python_check_deps() { + use doc || return 0 + python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + +src_configure() { + python_setup + + local disable_modules=( + $(usev !boost 'boost') + ) + + if [[ -z "${DISABLE_MODULES}" ]] ; then + elog "Disabling module(s): ${disable_modules[@]}" + fi + + local chostarch="${CHOST%%-*}" + + # Arch specific wrangling + local myos= + case ${CHOST} in + *-darwin*) + myos=darwin + ;; + *) + myos=linux + + if [[ ${CHOST} == *hppa* ]] ; then + chostarch=parisc + elif [[ ${PROFILE_ARCH} == sparc64 ]] ; then + chostarch="sparc32-v9" + fi + ;; + esac + + local pythonvers=() + if use python ; then + _append() { + pythonvers+=(
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: cc6667f969f712554ed28cf45214f4d668ce8c0e Author: Sam James gentoo org> AuthorDate: Sun Apr 17 16:45:43 2022 + Commit: Sam James gentoo org> CommitDate: Sun Apr 17 16:45:43 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc6667f9 dev-libs/botan: drop 2.18.2-r1 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest | 2 - dev-libs/botan/botan-2.18.2-r1.ebuild | 164 -- 2 files changed, 166 deletions(-) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index 68a79e6c3c52..ac477efafc69 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,4 +1,2 @@ -DIST Botan-2.18.2.tar.xz 5996928 BLAKE2B 5c5ac1e8e2de16a012aa5716138f4c2d2b8178f0a811993e5e297aa5ae9e7f6d5a4f182d50566f5848a4f93a88bcec622291a15370c4c017361ca65d3bb189bf SHA512 ccf9286ee891fb201065a0a6a991ce78ef7f5dd0caf04010527cd524b824ea470e5ce302853c1839e999a1b3dafb2e82eb298036a37d11f0cf3df5fa09529d9c -DIST Botan-2.18.2.tar.xz.asc 488 BLAKE2B 03744e95f52031295162b63dc34d7e0fd9a6b01ae751a809eed5f24c46017fca253c8d42c88b568566f393f0e6dd55d488ef56223d164941386690e2accdf296 SHA512 6764bcdb52a3a28672bcf22f8c364c926511a7b7c9bc227ba15f1e4b2feb9b371a9a4bd9bb1ee43e85faacbef4df5ce39a158357b4ce3706a00f4220bea8d926 DIST Botan-2.19.1.tar.xz 6088380 BLAKE2B 7a2d50bb66ea4a1875857bea769bcc30f397170a10a70377c3963d92e33321a079271c1e235a7892e33ec5b1bc19e4df8336b2586548ccd849f52ebfa47d9c8f SHA512 e604be0e7e82da89e3e1949d3035a87dc63314bd9854d5fe5129ccb3ed5bc78edb0406c7f8ad1a152b59a63b6d98ba207a0851a08428c3452cce794614b5eef5 DIST Botan-2.19.1.tar.xz.asc 488 BLAKE2B 36f27e294fed60ea4d9ee9d919a58fc431a1bf9bdec8c12d30f2cba537a70b0e22f6a7c882cf7a80dc10aeee256f9f4a32129b55d2ab5df192d16759638feaa4 SHA512 2cd57bf97630d8f79cc0a87da79d3b338bd3b33b02ded16f6b60d5fd6cb3ea62105f577deb3b8d061f56a09ff902ff553ea3a0c603d5c3bd53a905024a2f457b diff --git a/dev-libs/botan/botan-2.18.2-r1.ebuild b/dev-libs/botan/botan-2.18.2-r1.ebuild deleted file mode 100644 index 9cd3e6481fa1.. --- a/dev-libs/botan/botan-2.18.2-r1.ebuild +++ /dev/null @@ -1,164 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/botan.asc -inherit python-r1 toolchain-funcs verify-sig - -MY_P="Botan-${PV}" -DESCRIPTION="C++ crypto library" -HOMEPAGE="https://botan.randombit.net/; -SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; -SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD-2" -SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~ppc-macos" -IUSE="doc boost bzip2 lzma python ssl static-libs sqlite zlib" - -CPU_USE=( - cpu_flags_arm_{aes,neon} - cpu_flags_ppc_altivec - cpu_flags_x86_{aes,avx2,popcnt,rdrand,sse2,ssse3,sse4_1,sse4_2} -) - -IUSE+=" ${CPU_USE[@]}" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -# NOTE: Boost is needed at runtime too for the CLI tool. -DEPEND=" - boost? ( >=dev-libs/boost-1.48:= ) - bzip2? ( >=app-arch/bzip2-1.0.5:= ) - lzma? ( app-arch/xz-utils:= ) - python? ( ${PYTHON_DEPS} ) - ssl? ( dev-libs/openssl:= ) - sqlite? ( dev-db/sqlite:3= ) - zlib? ( >=sys-libs/zlib-1.2.3:= ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - ${PYTHON_DEPS} - $(python_gen_any_dep ' - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - ') - verify-sig? ( sec-keys/openpgp-keys-botan ) -" - -# NOTE: Considering patching Botan? -# Please see upstream's guidance: -# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches - -python_check_deps() { - if use doc ; then - has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1 - fi -} - -src_configure() { - python_setup - - local disable_modules=( - $(usev !boost 'boost') - ) - - if [[ -z "${DISABLE_MODULES}" ]] ; then - elog "Disabling module(s): ${disable_modules[@]}" - fi - - local chostarch="${CHOST%%-*}" - - # Arch specific wrangling - local myos= - case ${CHOST} in - *-darwin*) - myos=darwin - ;; - - *) - myos=linux - - if [[ ${CHOST} == *hppa* ]] ; then - chostarch=parisc - elif [[ ${PROFILE_ARCH} == "sparc64" ]] ; then - chostarch="sparc32-v9" - fi - ;; - - esac - - local pythonvers=() - if use python ; then - _append() { - pythonvers+=( ${EPYTHON/python/} ) - } - -
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 1bb6e2a8d5a41228972fb59b474adda6de99919c Author: Arthur Zamarin gentoo org> AuthorDate: Sat Feb 26 14:46:34 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Feb 26 14:46:34 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bb6e2a8 dev-libs/botan: Stabilize 2.19.1 ppc64, #834045 Signed-off-by: Arthur Zamarin gentoo.org> dev-libs/botan/botan-2.19.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.19.1.ebuild b/dev-libs/botan/botan-2.19.1.ebuild index ec34571a806e..15696ea8fbc9 100644 --- a/dev-libs/botan/botan-2.19.1.ebuild +++ b/dev-libs/botan/botan-2.19.1.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~sparc x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python ssl static-libs sqlite zlib" CPU_USE=(
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 2a10591506b2a6764c5eaaa651c53db082708342 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Feb 26 09:16:45 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Feb 26 09:16:45 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a105915 dev-libs/botan: x86 stable wrt bug #834045 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/botan/botan-2.19.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.19.1.ebuild b/dev-libs/botan/botan-2.19.1.ebuild index 8a6c4a532918..ec34571a806e 100644 --- a/dev-libs/botan/botan-2.19.1.ebuild +++ b/dev-libs/botan/botan-2.19.1.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~sparc x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python ssl static-libs sqlite zlib" CPU_USE=(
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 7102449e78c1688f61c65a781720322c2cd202a4 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Feb 26 09:15:50 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Feb 26 09:15:50 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7102449e dev-libs/botan: ppc stable wrt bug #834045 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/botan/botan-2.19.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.19.1.ebuild b/dev-libs/botan/botan-2.19.1.ebuild index 960fcb31bf54..8a6c4a532918 100644 --- a/dev-libs/botan/botan-2.19.1.ebuild +++ b/dev-libs/botan/botan-2.19.1.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python ssl static-libs sqlite zlib" CPU_USE=(
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 112e12c9693fe285a37d80b14e05fa625414328c Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Feb 26 09:15:25 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Feb 26 09:15:25 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=112e12c9 dev-libs/botan: amd64 stable wrt bug #834045 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/botan/botan-2.19.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.19.1.ebuild b/dev-libs/botan/botan-2.19.1.ebuild index 6138e73f21d7..960fcb31bf54 100644 --- a/dev-libs/botan/botan-2.19.1.ebuild +++ b/dev-libs/botan/botan-2.19.1.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python ssl static-libs sqlite zlib" CPU_USE=(
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 1200e4291b26d9ca1bda43e18c14c49658f91f97 Author: Sam James gentoo org> AuthorDate: Wed Jan 26 02:39:08 2022 + Commit: Sam James gentoo org> CommitDate: Wed Jan 26 04:33:22 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1200e429 dev-libs/botan: add 2.19.1, drop 2.19.0 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest | 4 ++-- dev-libs/botan/{botan-2.19.0.ebuild => botan-2.19.1.ebuild} | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index 4ea6124ec1c6..68a79e6c3c52 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,4 +1,4 @@ DIST Botan-2.18.2.tar.xz 5996928 BLAKE2B 5c5ac1e8e2de16a012aa5716138f4c2d2b8178f0a811993e5e297aa5ae9e7f6d5a4f182d50566f5848a4f93a88bcec622291a15370c4c017361ca65d3bb189bf SHA512 ccf9286ee891fb201065a0a6a991ce78ef7f5dd0caf04010527cd524b824ea470e5ce302853c1839e999a1b3dafb2e82eb298036a37d11f0cf3df5fa09529d9c DIST Botan-2.18.2.tar.xz.asc 488 BLAKE2B 03744e95f52031295162b63dc34d7e0fd9a6b01ae751a809eed5f24c46017fca253c8d42c88b568566f393f0e6dd55d488ef56223d164941386690e2accdf296 SHA512 6764bcdb52a3a28672bcf22f8c364c926511a7b7c9bc227ba15f1e4b2feb9b371a9a4bd9bb1ee43e85faacbef4df5ce39a158357b4ce3706a00f4220bea8d926 -DIST Botan-2.19.0.tar.xz 6093020 BLAKE2B c45f8e50ffcb38bfc345f0504a5db87472e9f7a9f92721ebeedb38e7c3f631094a4790bbc802974a767f9f6148d791b84141e91274925df86383b4a9dc914a57 SHA512 3552a190a2a0ab1198a7b13a2798b2f1bf1e853e42ccd4cd348716ea816e8984d2602ec8ae26114a0a337e38d494fe507db993e46484577d13fdc213749dea17 -DIST Botan-2.19.0.tar.xz.asc 488 BLAKE2B 8b4099192eea23b0efa63a7702cc5858ed6b527764773f4fa6578d2d927408e8070668fa06585d9820a0e03fc45fa68fdd6f5c87de71529754f70ba795ff48f0 SHA512 6d15f0c5792d8f5fec4cd2d75ba675e8fdcad39f455d69bdeb09f0c8a7406f67cc849f577765c837ece3b60ca27f2d81b56afa26975a760d426b6eca776a1899 +DIST Botan-2.19.1.tar.xz 6088380 BLAKE2B 7a2d50bb66ea4a1875857bea769bcc30f397170a10a70377c3963d92e33321a079271c1e235a7892e33ec5b1bc19e4df8336b2586548ccd849f52ebfa47d9c8f SHA512 e604be0e7e82da89e3e1949d3035a87dc63314bd9854d5fe5129ccb3ed5bc78edb0406c7f8ad1a152b59a63b6d98ba207a0851a08428c3452cce794614b5eef5 +DIST Botan-2.19.1.tar.xz.asc 488 BLAKE2B 36f27e294fed60ea4d9ee9d919a58fc431a1bf9bdec8c12d30f2cba537a70b0e22f6a7c882cf7a80dc10aeee256f9f4a32129b55d2ab5df192d16759638feaa4 SHA512 2cd57bf97630d8f79cc0a87da79d3b338bd3b33b02ded16f6b60d5fd6cb3ea62105f577deb3b8d061f56a09ff902ff553ea3a0c603d5c3bd53a905024a2f457b diff --git a/dev-libs/botan/botan-2.19.0.ebuild b/dev-libs/botan/botan-2.19.1.ebuild similarity index 98% rename from dev-libs/botan/botan-2.19.0.ebuild rename to dev-libs/botan/botan-2.19.1.ebuild index 9ce3b40f2e63..6138e73f21d7 100644 --- a/dev-libs/botan/botan-2.19.0.ebuild +++ b/dev-libs/botan/botan-2.19.1.ebuild @@ -115,6 +115,7 @@ src_configure() { $(usev !cpu_flags_x86_sse4_1 '--disable-sse4.1') $(usev !cpu_flags_x86_sse4_2 '--disable-sse4.2') + # HPPA's GCC doesn't support SSP (presumably due to stack direction) $(usev hppa '--without-stack-protector') $(use_with boost)
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 68f83c0bd90b6ea4a3d664f6553f33c6e35d5c23 Author: Sam James gentoo org> AuthorDate: Thu Jan 20 11:44:03 2022 + Commit: Sam James gentoo org> CommitDate: Thu Jan 20 12:02:05 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68f83c0b dev-libs/botan: add 2.19.0 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest| 2 + dev-libs/botan/botan-2.19.0.ebuild | 164 + 2 files changed, 166 insertions(+) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index 8d41a36d78f5..4ea6124ec1c6 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,2 +1,4 @@ DIST Botan-2.18.2.tar.xz 5996928 BLAKE2B 5c5ac1e8e2de16a012aa5716138f4c2d2b8178f0a811993e5e297aa5ae9e7f6d5a4f182d50566f5848a4f93a88bcec622291a15370c4c017361ca65d3bb189bf SHA512 ccf9286ee891fb201065a0a6a991ce78ef7f5dd0caf04010527cd524b824ea470e5ce302853c1839e999a1b3dafb2e82eb298036a37d11f0cf3df5fa09529d9c DIST Botan-2.18.2.tar.xz.asc 488 BLAKE2B 03744e95f52031295162b63dc34d7e0fd9a6b01ae751a809eed5f24c46017fca253c8d42c88b568566f393f0e6dd55d488ef56223d164941386690e2accdf296 SHA512 6764bcdb52a3a28672bcf22f8c364c926511a7b7c9bc227ba15f1e4b2feb9b371a9a4bd9bb1ee43e85faacbef4df5ce39a158357b4ce3706a00f4220bea8d926 +DIST Botan-2.19.0.tar.xz 6093020 BLAKE2B c45f8e50ffcb38bfc345f0504a5db87472e9f7a9f92721ebeedb38e7c3f631094a4790bbc802974a767f9f6148d791b84141e91274925df86383b4a9dc914a57 SHA512 3552a190a2a0ab1198a7b13a2798b2f1bf1e853e42ccd4cd348716ea816e8984d2602ec8ae26114a0a337e38d494fe507db993e46484577d13fdc213749dea17 +DIST Botan-2.19.0.tar.xz.asc 488 BLAKE2B 8b4099192eea23b0efa63a7702cc5858ed6b527764773f4fa6578d2d927408e8070668fa06585d9820a0e03fc45fa68fdd6f5c87de71529754f70ba795ff48f0 SHA512 6d15f0c5792d8f5fec4cd2d75ba675e8fdcad39f455d69bdeb09f0c8a7406f67cc849f577765c837ece3b60ca27f2d81b56afa26975a760d426b6eca776a1899 diff --git a/dev-libs/botan/botan-2.19.0.ebuild b/dev-libs/botan/botan-2.19.0.ebuild new file mode 100644 index ..9ce3b40f2e63 --- /dev/null +++ b/dev-libs/botan/botan-2.19.0.ebuild @@ -0,0 +1,164 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/botan.asc +inherit python-r1 toolchain-funcs verify-sig + +MY_P="Botan-${PV}" +DESCRIPTION="C++ crypto library" +HOMEPAGE="https://botan.randombit.net/; +SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; +SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +SLOT="2/$(ver_cut 1-2)" # soname version +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +IUSE="doc boost bzip2 lzma python ssl static-libs sqlite zlib" + +CPU_USE=( + cpu_flags_arm_{aes,neon} + cpu_flags_ppc_altivec + cpu_flags_x86_{aes,avx2,popcnt,rdrand,sse2,ssse3,sse4_1,sse4_2} +) + +IUSE+=" ${CPU_USE[@]}" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# NOTE: Boost is needed at runtime too for the CLI tool. +DEPEND=" + boost? ( >=dev-libs/boost-1.48:= ) + bzip2? ( >=app-arch/bzip2-1.0.5:= ) + lzma? ( app-arch/xz-utils:= ) + python? ( ${PYTHON_DEPS} ) + ssl? ( dev-libs/openssl:= ) + sqlite? ( dev-db/sqlite:3= ) + zlib? ( >=sys-libs/zlib-1.2.3:= ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep ' + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + ') + verify-sig? ( sec-keys/openpgp-keys-botan ) +" + +# NOTE: Considering patching Botan? +# Please see upstream's guidance: +# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches + +python_check_deps() { + if use doc ; then + has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1 + fi +} + +src_configure() { + python_setup + + local disable_modules=( + $(usev !boost 'boost') + ) + + if [[ -z "${DISABLE_MODULES}" ]] ; then + elog "Disabling module(s): ${disable_modules[@]}" + fi + + local chostarch="${CHOST%%-*}" + + # Arch specific wrangling + local myos= + case ${CHOST} in + *-darwin*) + myos=darwin + ;; + + *) + myos=linux + + if [[ ${CHOST} == *hppa* ]] ; then + chostarch=parisc + elif [[ ${PROFILE_ARCH} == "sparc64" ]] ; then + chostarch="sparc32-v9" + fi + ;; + + esac + + local pythonvers=() + if use python ; then + _append() { + pythonvers+=( ${EPYTHON/python/} ) + } + +
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: b4c6d315ef4456f223851a4aeee6892d26571a32 Author: Sam James gentoo org> AuthorDate: Sat Jan 1 09:36:13 2022 + Commit: Sam James gentoo org> CommitDate: Sat Jan 1 09:38:33 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4c6d315 dev-libs/botan: drop 2.17.3-r1, 2.18.1-r1, 2.18.2 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest | 3 - dev-libs/botan/botan-2.17.3-r1.ebuild | 131 --- dev-libs/botan/botan-2.18.1-r1.ebuild | 166 -- dev-libs/botan/botan-2.18.2.ebuild| 165 - 4 files changed, 465 deletions(-) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index eef83723d52b..8d41a36d78f5 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,5 +1,2 @@ -DIST Botan-2.17.3.tar.xz 5937596 BLAKE2B 605e71c959889b459bc26f17d310a33f26c9a51fe00db91db407ac5b96c9ff57bef67a401f71826e83e0d4eda2289c22685957289e6bb357f3693a1bce60f44d SHA512 ead0f144dfb9eca66d0e81e376d0d49f4b0b6bc1599f8cf52299e1753645b5b20100efa004ef5f9571f7bea88958f35db38367fc26f2603890f8f199cc890dbc -DIST Botan-2.18.1.tar.xz 5953936 BLAKE2B 82f6a9563377542d059901adec0fc17a41b0184cf59af76084babec2591830314a4d7f8d3308eb393c4910c9b0e6c056625765f0d95b435f47dc94cf4b83b128 SHA512 2f11d1ab703d977a2d64504d2a2489ce56109a2a6c46c0dc7c8db428470ce511bcc0160f70baedad29237abd5e1622f2c155ea58c4dec4d3ae57ee7b350415c3 -DIST Botan-2.18.1.tar.xz.asc 488 BLAKE2B d7e6f18ba969b1fffe5aec27ec28839bb6eefac438b0971bb24293a9a1dc104d4355feaae4f8749ea9ea9a729e9f0c0368782c60c2f1aaed58620624248d09d2 SHA512 0cb24d544e31f347e649661d28fedaad4352cd5096ad41e1513c7915138981c7c099e4ee6025893ed829a65082aaded738a94018a8e0bc079f4f0fb63bbec262 DIST Botan-2.18.2.tar.xz 5996928 BLAKE2B 5c5ac1e8e2de16a012aa5716138f4c2d2b8178f0a811993e5e297aa5ae9e7f6d5a4f182d50566f5848a4f93a88bcec622291a15370c4c017361ca65d3bb189bf SHA512 ccf9286ee891fb201065a0a6a991ce78ef7f5dd0caf04010527cd524b824ea470e5ce302853c1839e999a1b3dafb2e82eb298036a37d11f0cf3df5fa09529d9c DIST Botan-2.18.2.tar.xz.asc 488 BLAKE2B 03744e95f52031295162b63dc34d7e0fd9a6b01ae751a809eed5f24c46017fca253c8d42c88b568566f393f0e6dd55d488ef56223d164941386690e2accdf296 SHA512 6764bcdb52a3a28672bcf22f8c364c926511a7b7c9bc227ba15f1e4b2feb9b371a9a4bd9bb1ee43e85faacbef4df5ce39a158357b4ce3706a00f4220bea8d926 diff --git a/dev-libs/botan/botan-2.17.3-r1.ebuild b/dev-libs/botan/botan-2.17.3-r1.ebuild deleted file mode 100644 index 9900e923b2a8.. --- a/dev-libs/botan/botan-2.17.3-r1.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) - -inherit python-r1 toolchain-funcs - -MY_P="Botan-${PV}" - -DESCRIPTION="C++ crypto library" -HOMEPAGE="https://botan.randombit.net/; -SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD-2" -SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~ppc-macos" -IUSE="bindist doc boost bzip2 lzma python ssl static-libs sqlite zlib" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -BDEPEND=" - ${PYTHON_DEPS} - $(python_gen_any_dep ' - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - ') -" - -# NOTE: Boost is needed at runtime too for the CLI tool. -DEPEND=" - boost? ( >=dev-libs/boost-1.48:= ) - bzip2? ( >=app-arch/bzip2-1.0.5:= ) - lzma? ( app-arch/xz-utils:= ) - python? ( ${PYTHON_DEPS} ) - ssl? ( - dev-libs/openssl:0=[bindist(-)=] - ) - sqlite? ( dev-db/sqlite:3= ) - zlib? ( >=sys-libs/zlib-1.2.3:= ) -" - -RDEPEND="${DEPEND}" - -# NOTE: Considering patching Botan? -# Please see upstream's guidance: -# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches - -python_check_deps() { - if use doc ; then - has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1 - fi -} - -src_configure() { - python_setup - - local disable_modules=() - use boost || disable_modules+=( "boost" ) - use bindist && disable_modules+=( "ecdsa" ) - elog "Disabling module(s): ${disable_modules[@]}" - - # Enable v9 instructions for sparc64 - local chostarch="${CHOST%%-*}" - if [[ "${PROFILE_ARCH}" = "sparc64" ]] ; then - chostarch="sparc32-v9" - fi - - local myos= - case ${CHOST} in - *-darwin*) myos=darwin ;; - *) myos=linux ;; - esac - - case ${CHOST} in - hppa*) chostarch=parisc ;; - esac - - local pythonvers=() - if use python ; then - _append() { - pythonvers+=( ${EPYTHON/python/} ) - } - - python_foreach_impl _append -
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: f39763f09579d0e18e40d1944c0414100c79560b Author: Sam James gentoo org> AuthorDate: Thu Dec 16 00:08:58 2021 + Commit: Sam James gentoo org> CommitDate: Thu Dec 16 00:08:58 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f39763f0 dev-libs/botan: Stabilize 2.18.2-r1 ALLARCHES, #828045 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.18.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.18.2-r1.ebuild b/dev-libs/botan/botan-2.18.2-r1.ebuild index b6eed68539ce..80f5a0c89129 100644 --- a/dev-libs/botan/botan-2.18.2-r1.ebuild +++ b/dev-libs/botan/botan-2.18.2-r1.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~ppc-macos" IUSE="doc boost bzip2 lzma python ssl static-libs sqlite zlib" CPU_USE=(
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 06fa4c0bc9591084cafe39051681fd34b8741209 Author: Sam James gentoo org> AuthorDate: Fri Dec 3 04:46:44 2021 + Commit: Sam James gentoo org> CommitDate: Fri Dec 3 04:50:24 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06fa4c0b dev-libs/botan: adapt for OpenSSL bindist changes OpenSSL no longer has a bindist flag. Bug: https://bugs.gentoo.org/762850 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.18.2-r1.ebuild | 164 ++ 1 file changed, 164 insertions(+) diff --git a/dev-libs/botan/botan-2.18.2-r1.ebuild b/dev-libs/botan/botan-2.18.2-r1.ebuild new file mode 100644 index ..b6eed68539ce --- /dev/null +++ b/dev-libs/botan/botan-2.18.2-r1.ebuild @@ -0,0 +1,164 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/botan.asc +inherit python-r1 toolchain-funcs verify-sig + +MY_P="Botan-${PV}" +DESCRIPTION="C++ crypto library" +HOMEPAGE="https://botan.randombit.net/; +SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; +SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +SLOT="2/$(ver_cut 1-2)" # soname version +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +IUSE="doc boost bzip2 lzma python ssl static-libs sqlite zlib" + +CPU_USE=( + cpu_flags_arm_{aes,neon} + cpu_flags_ppc_altivec + cpu_flags_x86_{aes,avx2,popcnt,rdrand,sse2,ssse3,sse4_1,sse4_2} +) + +IUSE+=" ${CPU_USE[@]}" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# NOTE: Boost is needed at runtime too for the CLI tool. +DEPEND=" + boost? ( >=dev-libs/boost-1.48:= ) + bzip2? ( >=app-arch/bzip2-1.0.5:= ) + lzma? ( app-arch/xz-utils:= ) + python? ( ${PYTHON_DEPS} ) + ssl? ( dev-libs/openssl:= ) + sqlite? ( dev-db/sqlite:3= ) + zlib? ( >=sys-libs/zlib-1.2.3:= ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep ' + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + ') + verify-sig? ( app-crypt/openpgp-keys-botan ) +" + +# NOTE: Considering patching Botan? +# Please see upstream's guidance: +# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches + +python_check_deps() { + if use doc ; then + has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1 + fi +} + +src_configure() { + python_setup + + local disable_modules=( + $(usev !boost 'boost') + ) + + if [[ -z "${DISABLE_MODULES}" ]] ; then + elog "Disabling module(s): ${disable_modules[@]}" + fi + + local chostarch="${CHOST%%-*}" + + # Arch specific wrangling + local myos= + case ${CHOST} in + *-darwin*) + myos=darwin + ;; + + *) + myos=linux + + if [[ ${CHOST} == *hppa* ]] ; then + chostarch=parisc + elif [[ ${PROFILE_ARCH} == "sparc64" ]] ; then + chostarch="sparc32-v9" + fi + ;; + + esac + + local pythonvers=() + if use python ; then + _append() { + pythonvers+=( ${EPYTHON/python/} ) + } + + python_foreach_impl _append + fi + + local myargs=( + # Intrinsics + # TODO: x86 RDSEED (new CPU_FLAGS_X86?) + # TODO: POWER Crypto (new CPU_FLAGS_PPC?) + $(usev !cpu_flags_arm_aes '--disable-armv8crypto') + $(usev !cpu_flags_arm_neon '--disable-neon') + $(usev !cpu_flags_ppc_altivec '--disable-altivec') + $(usev !cpu_flags_x86_aes '--disable-aes-ni') + $(usev !cpu_flags_x86_avx2 '--disable-avx2') + $(usev !cpu_flags_x86_popcnt '--disable-bmi2') + $(usev !cpu_flags_x86_rdrand '--disable-rdrand') + $(usev !cpu_flags_x86_sse2 '--disable-sse2') + $(usev !cpu_flags_x86_ssse3 '--disable-ssse3') + $(usev !cpu_flags_x86_sse4_1 '--disable-sse4.1') + $(usev !cpu_flags_x86_sse4_2 '--disable-sse4.2') + + $(usev hppa '--without-stack-protector') + + $(use_with boost) + $(use_with bzip2) + $(use_with doc documentation) + $(use_with doc sphinx) + $(use_with lzma) + $(use_enable static-libs static-library) + $(use_with ssl openssl) + $(use_with sqlite sqlite3) + $(use_with zlib) + + --cpu=${chostarch} +
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 4ef870ef59703e6467b5121e9a2578d2f2d01030 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Nov 20 07:26:12 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Nov 20 07:26:12 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ef870ef dev-libs/botan: amd64 stable wrt bug #824922 Package-Manager: Portage-3.0.20, Repoman-3.0.3 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/botan/botan-2.18.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.18.2.ebuild b/dev-libs/botan/botan-2.18.2.ebuild index 2ef6665f0d77..9a5b8846dd45 100644 --- a/dev-libs/botan/botan-2.18.2.ebuild +++ b/dev-libs/botan/botan-2.18.2.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~ppc-macos" IUSE="bindist doc boost bzip2 lzma python ssl static-libs sqlite zlib" CPU_USE=(
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: f4d8466d39899ba15d52e82b84fba8b677814eff Author: Jakov Smolić gentoo org> AuthorDate: Fri Nov 19 18:10:26 2021 + Commit: Jakov Smolić gentoo org> CommitDate: Fri Nov 19 18:10:26 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4d8466d dev-libs/botan: Stabilize 2.18.2 x86, #824922 Signed-off-by: Jakov Smolić gentoo.org> dev-libs/botan/botan-2.18.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.18.2.ebuild b/dev-libs/botan/botan-2.18.2.ebuild index 24a18b5602e6..2ef6665f0d77 100644 --- a/dev-libs/botan/botan-2.18.2.ebuild +++ b/dev-libs/botan/botan-2.18.2.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~ppc-macos" IUSE="bindist doc boost bzip2 lzma python ssl static-libs sqlite zlib" CPU_USE=(
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 42fddf9836b4849d14a5f238c915c426c6536b64 Author: Sam James gentoo org> AuthorDate: Fri Nov 19 15:05:20 2021 + Commit: Sam James gentoo org> CommitDate: Fri Nov 19 15:05:20 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42fddf98 dev-libs/botan: Stabilize 2.18.2 ppc, #824922 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.18.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.18.2.ebuild b/dev-libs/botan/botan-2.18.2.ebuild index bb3146339364..24a18b5602e6 100644 --- a/dev-libs/botan/botan-2.18.2.ebuild +++ b/dev-libs/botan/botan-2.18.2.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc ~x86 ~ppc-macos" IUSE="bindist doc boost bzip2 lzma python ssl static-libs sqlite zlib" CPU_USE=(
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 6c3ad40b99fe3e5460ca458875c5419efe3d1b0a Author: Sam James gentoo org> AuthorDate: Fri Nov 19 15:05:06 2021 + Commit: Sam James gentoo org> CommitDate: Fri Nov 19 15:05:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c3ad40b dev-libs/botan: Stabilize 2.18.2 ppc64, #824922 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.18.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.18.2.ebuild b/dev-libs/botan/botan-2.18.2.ebuild index d33373a7c38a..bb3146339364 100644 --- a/dev-libs/botan/botan-2.18.2.ebuild +++ b/dev-libs/botan/botan-2.18.2.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc ~x86 ~ppc-macos" IUSE="bindist doc boost bzip2 lzma python ssl static-libs sqlite zlib" CPU_USE=(
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: f8cb7eb4992dadfc2313ff2840aef86e329e2527 Author: Sam James gentoo org> AuthorDate: Wed Oct 27 05:17:13 2021 + Commit: Sam James gentoo org> CommitDate: Wed Oct 27 05:34:01 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8cb7eb4 dev-libs/botan: add 2.18.2 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest| 2 + dev-libs/botan/botan-2.18.2.ebuild | 165 + 2 files changed, 167 insertions(+) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index 7695eab0d96..eef83723d52 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,3 +1,5 @@ DIST Botan-2.17.3.tar.xz 5937596 BLAKE2B 605e71c959889b459bc26f17d310a33f26c9a51fe00db91db407ac5b96c9ff57bef67a401f71826e83e0d4eda2289c22685957289e6bb357f3693a1bce60f44d SHA512 ead0f144dfb9eca66d0e81e376d0d49f4b0b6bc1599f8cf52299e1753645b5b20100efa004ef5f9571f7bea88958f35db38367fc26f2603890f8f199cc890dbc DIST Botan-2.18.1.tar.xz 5953936 BLAKE2B 82f6a9563377542d059901adec0fc17a41b0184cf59af76084babec2591830314a4d7f8d3308eb393c4910c9b0e6c056625765f0d95b435f47dc94cf4b83b128 SHA512 2f11d1ab703d977a2d64504d2a2489ce56109a2a6c46c0dc7c8db428470ce511bcc0160f70baedad29237abd5e1622f2c155ea58c4dec4d3ae57ee7b350415c3 DIST Botan-2.18.1.tar.xz.asc 488 BLAKE2B d7e6f18ba969b1fffe5aec27ec28839bb6eefac438b0971bb24293a9a1dc104d4355feaae4f8749ea9ea9a729e9f0c0368782c60c2f1aaed58620624248d09d2 SHA512 0cb24d544e31f347e649661d28fedaad4352cd5096ad41e1513c7915138981c7c099e4ee6025893ed829a65082aaded738a94018a8e0bc079f4f0fb63bbec262 +DIST Botan-2.18.2.tar.xz 5996928 BLAKE2B 5c5ac1e8e2de16a012aa5716138f4c2d2b8178f0a811993e5e297aa5ae9e7f6d5a4f182d50566f5848a4f93a88bcec622291a15370c4c017361ca65d3bb189bf SHA512 ccf9286ee891fb201065a0a6a991ce78ef7f5dd0caf04010527cd524b824ea470e5ce302853c1839e999a1b3dafb2e82eb298036a37d11f0cf3df5fa09529d9c +DIST Botan-2.18.2.tar.xz.asc 488 BLAKE2B 03744e95f52031295162b63dc34d7e0fd9a6b01ae751a809eed5f24c46017fca253c8d42c88b568566f393f0e6dd55d488ef56223d164941386690e2accdf296 SHA512 6764bcdb52a3a28672bcf22f8c364c926511a7b7c9bc227ba15f1e4b2feb9b371a9a4bd9bb1ee43e85faacbef4df5ce39a158357b4ce3706a00f4220bea8d926 diff --git a/dev-libs/botan/botan-2.18.2.ebuild b/dev-libs/botan/botan-2.18.2.ebuild new file mode 100644 index 000..d33373a7c38 --- /dev/null +++ b/dev-libs/botan/botan-2.18.2.ebuild @@ -0,0 +1,165 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/botan.asc +inherit python-r1 toolchain-funcs verify-sig + +MY_P="Botan-${PV}" +DESCRIPTION="C++ crypto library" +HOMEPAGE="https://botan.randombit.net/; +SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; +SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +SLOT="2/$(ver_cut 1-2)" # soname version +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +IUSE="bindist doc boost bzip2 lzma python ssl static-libs sqlite zlib" + +CPU_USE=( + cpu_flags_arm_{aes,neon} + cpu_flags_ppc_altivec + cpu_flags_x86_{aes,avx2,popcnt,rdrand,sse2,ssse3,sse4_1,sse4_2} +) + +IUSE+=" ${CPU_USE[@]}" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# NOTE: Boost is needed at runtime too for the CLI tool. +DEPEND=" + boost? ( >=dev-libs/boost-1.48:= ) + bzip2? ( >=app-arch/bzip2-1.0.5:= ) + lzma? ( app-arch/xz-utils:= ) + python? ( ${PYTHON_DEPS} ) + ssl? ( dev-libs/openssl:0=[bindist(-)=] ) + sqlite? ( dev-db/sqlite:3= ) + zlib? ( >=sys-libs/zlib-1.2.3:= ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep ' + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + ') + verify-sig? ( app-crypt/openpgp-keys-botan ) +" + +# NOTE: Considering patching Botan? +# Please see upstream's guidance: +# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches + +python_check_deps() { + if use doc ; then + has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1 + fi +} + +src_configure() { + python_setup + + local disable_modules=( + $(usev !boost 'boost') + $(usev bindist 'ecdsa') + ) + + if [[ -z "${DISABLE_MODULES}" ]] ; then + elog "Disabling module(s): ${disable_modules[@]}" + fi + + local chostarch="${CHOST%%-*}" + + # Arch specific wrangling + local myos= + case ${CHOST} in + *-darwin*) + myos=darwin + ;; + + *) + myos=linux + + if [[ ${CHOST} == *hppa* ]] ; then + chostarch=parisc +
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: aa284d11f797cd9cf2c67c1039fcf47ccbe3f819 Author: Yixun Lan gentoo org> AuthorDate: Fri Aug 20 14:29:00 2021 + Commit: Yixun Lan gentoo org> CommitDate: Wed Aug 25 20:06:28 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa284d11 dev-libs/botan: keyword ~riscv Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Yixun Lan gentoo.org> dev-libs/botan/botan-2.18.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.18.1-r1.ebuild b/dev-libs/botan/botan-2.18.1-r1.ebuild index 0764024db75..8c5f0701e2f 100644 --- a/dev-libs/botan/botan-2.18.1-r1.ebuild +++ b/dev-libs/botan/botan-2.18.1-r1.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~ppc-macos" IUSE="bindist doc boost bzip2 lzma python ssl static-libs sqlite zlib" CPU_USE=(
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: f19e4f0dbeaca67bbdf82eda2bcd13dc397fb7d4 Author: Michał Górny gentoo org> AuthorDate: Sat Jul 31 06:35:16 2021 + Commit: Michał Górny gentoo org> CommitDate: Sat Jul 31 13:32:14 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f19e4f0d dev-libs/botan: Use BROOT for verify-sig key path Signed-off-by: Michał Górny gentoo.org> dev-libs/botan/botan-2.18.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.18.1-r1.ebuild b/dev-libs/botan/botan-2.18.1-r1.ebuild index 133a2313d2b..0764024db75 100644 --- a/dev-libs/botan/botan-2.18.1-r1.ebuild +++ b/dev-libs/botan/botan-2.18.1-r1.ebuild @@ -4,7 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{8,9,10} ) -VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/botan.asc" +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/botan.asc inherit python-r1 toolchain-funcs verify-sig MY_P="Botan-${PV}"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 35960d54d6e797fc4ba74b0a2455eb533b9100fd Author: Sam James gentoo org> AuthorDate: Sat Jul 17 04:16:29 2021 + Commit: Sam James gentoo org> CommitDate: Sat Jul 17 04:16:29 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35960d54 dev-libs/botan: enable py3.10 and disable py3.7 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.18.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.18.1-r1.ebuild b/dev-libs/botan/botan-2.18.1-r1.ebuild index 0e5c78c36a5..133a2313d2b 100644 --- a/dev-libs/botan/botan-2.18.1-r1.ebuild +++ b/dev-libs/botan/botan-2.18.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{8,9,10} ) VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/botan.asc" inherit python-r1 toolchain-funcs verify-sig
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 98d3833b1fa5d48eb8c1b748215fa85b0a5fc23c Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Jun 10 06:26:53 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Jun 10 06:26:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98d3833b dev-libs/botan: ppc64 stable wrt bug #795009 Package-Manager: Portage-3.0.13, Repoman-3.0.2 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/botan/botan-2.18.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.18.1.ebuild b/dev-libs/botan/botan-2.18.1.ebuild index f7f3a832919..7b1dd5d7cea 100644 --- a/dev-libs/botan/botan-2.18.1.ebuild +++ b/dev-libs/botan/botan-2.18.1.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~sparc x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~ppc-macos" IUSE="bindist doc boost bzip2 lzma python ssl static-libs sqlite zlib" CPU_USE=(
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 34e06278816fb81edc9f66d37234c305b96165f5 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Jun 10 06:26:22 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Jun 10 06:26:22 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34e06278 dev-libs/botan: ppc stable wrt bug #795009 Package-Manager: Portage-3.0.13, Repoman-3.0.2 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/botan/botan-2.18.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.18.1.ebuild b/dev-libs/botan/botan-2.18.1.ebuild index 43576dde2a0..f7f3a832919 100644 --- a/dev-libs/botan/botan-2.18.1.ebuild +++ b/dev-libs/botan/botan-2.18.1.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~sparc x86 ~ppc-macos" IUSE="bindist doc boost bzip2 lzma python ssl static-libs sqlite zlib" CPU_USE=(
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 7e6979a05f91eac116cecb9b4bd0a92690d8c808 Author: Sam James gentoo org> AuthorDate: Wed Jun 9 02:00:32 2021 + Commit: Sam James gentoo org> CommitDate: Wed Jun 9 21:08:40 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e6979a0 dev-libs/botan: Stabilize 2.18.1 x86, #795009 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.18.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.18.1.ebuild b/dev-libs/botan/botan-2.18.1.ebuild index 65efe3efaad..43576dde2a0 100644 --- a/dev-libs/botan/botan-2.18.1.ebuild +++ b/dev-libs/botan/botan-2.18.1.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~ppc-macos" IUSE="bindist doc boost bzip2 lzma python ssl static-libs sqlite zlib" CPU_USE=(
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: d7ed41d8f62987bd15f86614b8f9fb0abcb2d1ef Author: Sam James gentoo org> AuthorDate: Wed Jun 9 01:59:44 2021 + Commit: Sam James gentoo org> CommitDate: Wed Jun 9 02:01:04 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7ed41d8 dev-libs/botan: Stabilize 2.18.1 amd64, #795009 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.18.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.18.1.ebuild b/dev-libs/botan/botan-2.18.1.ebuild index 4d9fc251745..65efe3efaad 100644 --- a/dev-libs/botan/botan-2.18.1.ebuild +++ b/dev-libs/botan/botan-2.18.1.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" IUSE="bindist doc boost bzip2 lzma python ssl static-libs sqlite zlib" CPU_USE=(
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 3e1c995ff414381265dadf24f0af305aa9a41c68 Author: Sam James gentoo org> AuthorDate: Sat May 22 02:22:24 2021 + Commit: Sam James gentoo org> CommitDate: Sat May 22 02:29:17 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e1c995f dev-libs/botan: drop 2.18.0 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest| 2 - dev-libs/botan/botan-2.18.0.ebuild | 164 - 2 files changed, 166 deletions(-) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index 0df8aa5911d..7695eab0d96 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,5 +1,3 @@ DIST Botan-2.17.3.tar.xz 5937596 BLAKE2B 605e71c959889b459bc26f17d310a33f26c9a51fe00db91db407ac5b96c9ff57bef67a401f71826e83e0d4eda2289c22685957289e6bb357f3693a1bce60f44d SHA512 ead0f144dfb9eca66d0e81e376d0d49f4b0b6bc1599f8cf52299e1753645b5b20100efa004ef5f9571f7bea88958f35db38367fc26f2603890f8f199cc890dbc -DIST Botan-2.18.0.tar.xz 5941536 BLAKE2B 2a4182bab5e681fdfeafa113462bf5a31057d7be97d71d0a6e60975b84432dd3932498f42f0b879e216727df4bbfcbf0d844e971df95eaf9cf922280f32858b4 SHA512 8613412e3e2fe8b787db7a4d4dbadf60b8fe6b68a84408c600c37cd0b5dbdf3f347a49f5bd88eb8d4f658e927a8b976884146551bf7d256fa80e9675297c0f09 -DIST Botan-2.18.0.tar.xz.asc 488 BLAKE2B b9a9c98e11eae227fb900cae2dca3aecc2114ecacd87336cf5cdbe6fbcb9676514f11e365e94dbfecf3b9edc1a9a3398ff2c66f34a77d7b4d6b0f87518af6d9a SHA512 f2e1689e10b0706eed5a3cf08dfcb163874d3ada12968ac739eeff259ae81b1329fafdae4d29290195276fe3bb1cdeaf3f302b8df53a377c5bbdb7964deaa044 DIST Botan-2.18.1.tar.xz 5953936 BLAKE2B 82f6a9563377542d059901adec0fc17a41b0184cf59af76084babec2591830314a4d7f8d3308eb393c4910c9b0e6c056625765f0d95b435f47dc94cf4b83b128 SHA512 2f11d1ab703d977a2d64504d2a2489ce56109a2a6c46c0dc7c8db428470ce511bcc0160f70baedad29237abd5e1622f2c155ea58c4dec4d3ae57ee7b350415c3 DIST Botan-2.18.1.tar.xz.asc 488 BLAKE2B d7e6f18ba969b1fffe5aec27ec28839bb6eefac438b0971bb24293a9a1dc104d4355feaae4f8749ea9ea9a729e9f0c0368782c60c2f1aaed58620624248d09d2 SHA512 0cb24d544e31f347e649661d28fedaad4352cd5096ad41e1513c7915138981c7c099e4ee6025893ed829a65082aaded738a94018a8e0bc079f4f0fb63bbec262 diff --git a/dev-libs/botan/botan-2.18.0.ebuild b/dev-libs/botan/botan-2.18.0.ebuild deleted file mode 100644 index 4d9fc251745..000 --- a/dev-libs/botan/botan-2.18.0.ebuild +++ /dev/null @@ -1,164 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) -VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/botan.asc" -inherit python-r1 toolchain-funcs verify-sig - -MY_P="Botan-${PV}" -DESCRIPTION="C++ crypto library" -HOMEPAGE="https://botan.randombit.net/; -SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; -SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD-2" -SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" -IUSE="bindist doc boost bzip2 lzma python ssl static-libs sqlite zlib" - -CPU_USE=( - cpu_flags_arm_{aes,neon} - cpu_flags_ppc_altivec - cpu_flags_x86_{aes,avx2,popcnt,rdrand,sse2,ssse3,sse4_1,sse4_2} -) - -IUSE+=" ${CPU_USE[@]}" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -# NOTE: Boost is needed at runtime too for the CLI tool. -DEPEND=" - boost? ( >=dev-libs/boost-1.48:= ) - bzip2? ( >=app-arch/bzip2-1.0.5:= ) - lzma? ( app-arch/xz-utils:= ) - python? ( ${PYTHON_DEPS} ) - ssl? ( dev-libs/openssl:0=[bindist=] ) - sqlite? ( dev-db/sqlite:3= ) - zlib? ( >=sys-libs/zlib-1.2.3:= ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - ${PYTHON_DEPS} - $(python_gen_any_dep ' - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - ') - verify-sig? ( app-crypt/openpgp-keys-botan ) -" - -# NOTE: Considering patching Botan? -# Please see upstream's guidance: -# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches - -python_check_deps() { - if use doc ; then - has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1 - fi -} - -src_configure() { - local disable_modules=( - $(usex boost '' 'boost') - $(usex bindist 'ecdsa' '') - ) - - if [[ -z "${DISABLE_MODULES}" ]] ; then - elog "Disabling module(s): ${disable_modules[@]}" - fi - - local chostarch="${CHOST%%-*}" - - # Arch specific wrangling - - local myos= - case ${CHOST} in - *-darwin*) - myos=darwin - ;; - - *) - myos=linux - - if [[ ${CHOST} == *hppa* ]] ; then - chostarch=parisc - elif [[
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 94c5fdde92104a42fba127ea0c0442f7a0b345a2 Author: Sam James gentoo org> AuthorDate: Sun May 9 22:08:50 2021 + Commit: Sam James gentoo org> CommitDate: Sun May 9 22:09:33 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94c5fdde dev-libs/botan: add 2.18.1 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest| 2 + dev-libs/botan/botan-2.18.1.ebuild | 164 + 2 files changed, 166 insertions(+) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index 5509e2815c2..0df8aa5911d 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,3 +1,5 @@ DIST Botan-2.17.3.tar.xz 5937596 BLAKE2B 605e71c959889b459bc26f17d310a33f26c9a51fe00db91db407ac5b96c9ff57bef67a401f71826e83e0d4eda2289c22685957289e6bb357f3693a1bce60f44d SHA512 ead0f144dfb9eca66d0e81e376d0d49f4b0b6bc1599f8cf52299e1753645b5b20100efa004ef5f9571f7bea88958f35db38367fc26f2603890f8f199cc890dbc DIST Botan-2.18.0.tar.xz 5941536 BLAKE2B 2a4182bab5e681fdfeafa113462bf5a31057d7be97d71d0a6e60975b84432dd3932498f42f0b879e216727df4bbfcbf0d844e971df95eaf9cf922280f32858b4 SHA512 8613412e3e2fe8b787db7a4d4dbadf60b8fe6b68a84408c600c37cd0b5dbdf3f347a49f5bd88eb8d4f658e927a8b976884146551bf7d256fa80e9675297c0f09 DIST Botan-2.18.0.tar.xz.asc 488 BLAKE2B b9a9c98e11eae227fb900cae2dca3aecc2114ecacd87336cf5cdbe6fbcb9676514f11e365e94dbfecf3b9edc1a9a3398ff2c66f34a77d7b4d6b0f87518af6d9a SHA512 f2e1689e10b0706eed5a3cf08dfcb163874d3ada12968ac739eeff259ae81b1329fafdae4d29290195276fe3bb1cdeaf3f302b8df53a377c5bbdb7964deaa044 +DIST Botan-2.18.1.tar.xz 5953936 BLAKE2B 82f6a9563377542d059901adec0fc17a41b0184cf59af76084babec2591830314a4d7f8d3308eb393c4910c9b0e6c056625765f0d95b435f47dc94cf4b83b128 SHA512 2f11d1ab703d977a2d64504d2a2489ce56109a2a6c46c0dc7c8db428470ce511bcc0160f70baedad29237abd5e1622f2c155ea58c4dec4d3ae57ee7b350415c3 +DIST Botan-2.18.1.tar.xz.asc 488 BLAKE2B d7e6f18ba969b1fffe5aec27ec28839bb6eefac438b0971bb24293a9a1dc104d4355feaae4f8749ea9ea9a729e9f0c0368782c60c2f1aaed58620624248d09d2 SHA512 0cb24d544e31f347e649661d28fedaad4352cd5096ad41e1513c7915138981c7c099e4ee6025893ed829a65082aaded738a94018a8e0bc079f4f0fb63bbec262 diff --git a/dev-libs/botan/botan-2.18.1.ebuild b/dev-libs/botan/botan-2.18.1.ebuild new file mode 100644 index 000..4d9fc251745 --- /dev/null +++ b/dev-libs/botan/botan-2.18.1.ebuild @@ -0,0 +1,164 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/botan.asc" +inherit python-r1 toolchain-funcs verify-sig + +MY_P="Botan-${PV}" +DESCRIPTION="C++ crypto library" +HOMEPAGE="https://botan.randombit.net/; +SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; +SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +SLOT="2/$(ver_cut 1-2)" # soname version +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" +IUSE="bindist doc boost bzip2 lzma python ssl static-libs sqlite zlib" + +CPU_USE=( + cpu_flags_arm_{aes,neon} + cpu_flags_ppc_altivec + cpu_flags_x86_{aes,avx2,popcnt,rdrand,sse2,ssse3,sse4_1,sse4_2} +) + +IUSE+=" ${CPU_USE[@]}" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# NOTE: Boost is needed at runtime too for the CLI tool. +DEPEND=" + boost? ( >=dev-libs/boost-1.48:= ) + bzip2? ( >=app-arch/bzip2-1.0.5:= ) + lzma? ( app-arch/xz-utils:= ) + python? ( ${PYTHON_DEPS} ) + ssl? ( dev-libs/openssl:0=[bindist=] ) + sqlite? ( dev-db/sqlite:3= ) + zlib? ( >=sys-libs/zlib-1.2.3:= ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep ' + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + ') + verify-sig? ( app-crypt/openpgp-keys-botan ) +" + +# NOTE: Considering patching Botan? +# Please see upstream's guidance: +# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches + +python_check_deps() { + if use doc ; then + has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1 + fi +} + +src_configure() { + local disable_modules=( + $(usex boost '' 'boost') + $(usex bindist 'ecdsa' '') + ) + + if [[ -z "${DISABLE_MODULES}" ]] ; then + elog "Disabling module(s): ${disable_modules[@]}" + fi + + local chostarch="${CHOST%%-*}" + + # Arch specific wrangling + + local myos= + case ${CHOST} in + *-darwin*) + myos=darwin + ;; + + *) + myos=linux + + if [[ ${CHOST} == *hppa* ]] ; then + chostarch=parisc + elif [[
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 95c6ce04795efb9f34cbaeabb0492bdcce1c3aeb Author: Mikle Kolyada gentoo org> AuthorDate: Fri Apr 30 17:54:08 2021 + Commit: Mikle Kolyada gentoo org> CommitDate: Fri Apr 30 18:01:09 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95c6ce04 dev-libs/botan: remove libressl support Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Mikle Kolyada gentoo.org> dev-libs/botan/botan-2.17.3.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dev-libs/botan/botan-2.17.3.ebuild b/dev-libs/botan/botan-2.17.3.ebuild index a43f0e5f4cc..69e23dffa1c 100644 --- a/dev-libs/botan/botan-2.17.3.ebuild +++ b/dev-libs/botan/botan-2.17.3.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~ppc-macos" -IUSE="bindist doc boost bzip2 libressl lzma python ssl static-libs sqlite zlib" +IUSE="bindist doc boost bzip2 lzma python ssl static-libs sqlite zlib" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" BDEPEND=" @@ -34,8 +34,7 @@ DEPEND=" lzma? ( app-arch/xz-utils:= ) python? ( ${PYTHON_DEPS} ) ssl? ( - !libressl? ( dev-libs/openssl:0=[bindist=] ) - libressl? ( dev-libs/libressl:0= ) + dev-libs/openssl:0=[bindist=] ) sqlite? ( dev-db/sqlite:3= ) zlib? ( >=sys-libs/zlib-1.2.3:= )
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 2526495e34dc62af30f8a5da2deaeb64af135c9e Author: Sam James gentoo org> AuthorDate: Fri Apr 16 02:09:18 2021 + Commit: Sam James gentoo org> CommitDate: Fri Apr 16 02:27:00 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2526495e dev-libs/botan: add verify-sig support Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest| 1 + dev-libs/botan/botan-2.18.0.ebuild | 5 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index 8f6761a393d..5509e2815c2 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,2 +1,3 @@ DIST Botan-2.17.3.tar.xz 5937596 BLAKE2B 605e71c959889b459bc26f17d310a33f26c9a51fe00db91db407ac5b96c9ff57bef67a401f71826e83e0d4eda2289c22685957289e6bb357f3693a1bce60f44d SHA512 ead0f144dfb9eca66d0e81e376d0d49f4b0b6bc1599f8cf52299e1753645b5b20100efa004ef5f9571f7bea88958f35db38367fc26f2603890f8f199cc890dbc DIST Botan-2.18.0.tar.xz 5941536 BLAKE2B 2a4182bab5e681fdfeafa113462bf5a31057d7be97d71d0a6e60975b84432dd3932498f42f0b879e216727df4bbfcbf0d844e971df95eaf9cf922280f32858b4 SHA512 8613412e3e2fe8b787db7a4d4dbadf60b8fe6b68a84408c600c37cd0b5dbdf3f347a49f5bd88eb8d4f658e927a8b976884146551bf7d256fa80e9675297c0f09 +DIST Botan-2.18.0.tar.xz.asc 488 BLAKE2B b9a9c98e11eae227fb900cae2dca3aecc2114ecacd87336cf5cdbe6fbcb9676514f11e365e94dbfecf3b9edc1a9a3398ff2c66f34a77d7b4d6b0f87518af6d9a SHA512 f2e1689e10b0706eed5a3cf08dfcb163874d3ada12968ac739eeff259ae81b1329fafdae4d29290195276fe3bb1cdeaf3f302b8df53a377c5bbdb7964deaa044 diff --git a/dev-libs/botan/botan-2.18.0.ebuild b/dev-libs/botan/botan-2.18.0.ebuild index ab5000d8a85..4d9fc251745 100644 --- a/dev-libs/botan/botan-2.18.0.ebuild +++ b/dev-libs/botan/botan-2.18.0.ebuild @@ -4,12 +4,14 @@ EAPI=7 PYTHON_COMPAT=( python3_{7,8,9} ) -inherit python-r1 toolchain-funcs +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/botan.asc" +inherit python-r1 toolchain-funcs verify-sig MY_P="Botan-${PV}" DESCRIPTION="C++ crypto library" HOMEPAGE="https://botan.randombit.net/; SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; +SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" @@ -43,6 +45,7 @@ BDEPEND=" $(python_gen_any_dep ' doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) ') + verify-sig? ( app-crypt/openpgp-keys-botan ) " # NOTE: Considering patching Botan?
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 33099cea95157707f2bb6009dbca0bed0eaa5599 Author: Sam James gentoo org> AuthorDate: Fri Apr 16 01:55:20 2021 + Commit: Sam James gentoo org> CommitDate: Fri Apr 16 02:26:54 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33099cea dev-libs/botan: add 2.18.0 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest| 1 + dev-libs/botan/botan-2.18.0.ebuild | 130 + 2 files changed, 131 insertions(+) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index f749e3fb806..8f6761a393d 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1 +1,2 @@ DIST Botan-2.17.3.tar.xz 5937596 BLAKE2B 605e71c959889b459bc26f17d310a33f26c9a51fe00db91db407ac5b96c9ff57bef67a401f71826e83e0d4eda2289c22685957289e6bb357f3693a1bce60f44d SHA512 ead0f144dfb9eca66d0e81e376d0d49f4b0b6bc1599f8cf52299e1753645b5b20100efa004ef5f9571f7bea88958f35db38367fc26f2603890f8f199cc890dbc +DIST Botan-2.18.0.tar.xz 5941536 BLAKE2B 2a4182bab5e681fdfeafa113462bf5a31057d7be97d71d0a6e60975b84432dd3932498f42f0b879e216727df4bbfcbf0d844e971df95eaf9cf922280f32858b4 SHA512 8613412e3e2fe8b787db7a4d4dbadf60b8fe6b68a84408c600c37cd0b5dbdf3f347a49f5bd88eb8d4f658e927a8b976884146551bf7d256fa80e9675297c0f09 diff --git a/dev-libs/botan/botan-2.18.0.ebuild b/dev-libs/botan/botan-2.18.0.ebuild new file mode 100644 index 000..0fd5992235c --- /dev/null +++ b/dev-libs/botan/botan-2.18.0.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit python-r1 toolchain-funcs + +MY_P="Botan-${PV}" + +DESCRIPTION="C++ crypto library" +HOMEPAGE="https://botan.randombit.net/; +SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +SLOT="2/$(ver_cut 1-2)" # soname version +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" +IUSE="bindist doc boost bzip2 libressl lzma python ssl static-libs sqlite zlib" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +BDEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep ' + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + ') +" + +# NOTE: Boost is needed at runtime too for the CLI tool. +DEPEND=" + boost? ( >=dev-libs/boost-1.48:= ) + bzip2? ( >=app-arch/bzip2-1.0.5:= ) + lzma? ( app-arch/xz-utils:= ) + python? ( ${PYTHON_DEPS} ) + ssl? ( + !libressl? ( dev-libs/openssl:0=[bindist=] ) + libressl? ( dev-libs/libressl:0= ) + ) + sqlite? ( dev-db/sqlite:3= ) + zlib? ( >=sys-libs/zlib-1.2.3:= ) +" + +RDEPEND="${DEPEND}" + +# NOTE: Considering patching Botan? +# Please see upstream's guidance: +# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches + +python_check_deps() { + if use doc ; then + has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1 + fi +} + +src_configure() { + local disable_modules=() + use boost || disable_modules+=( "boost" ) + use bindist && disable_modules+=( "ecdsa" ) + elog "Disabling module(s): ${disable_modules[@]}" + + # Enable v9 instructions for sparc64 + local chostarch="${CHOST%%-*}" + if [[ "${PROFILE_ARCH}" = "sparc64" ]] ; then + chostarch="sparc32-v9" + fi + + local myos= + case ${CHOST} in + *-darwin*) myos=darwin ;; + *) myos=linux ;; + esac + + case ${CHOST} in + hppa*) chostarch=parisc ;; + esac + + local pythonvers=() + if use python ; then + _append() { + pythonvers+=( ${EPYTHON/python/} ) + } + + python_foreach_impl _append + fi + + # Don't install Python bindings automatically + # (do it manually later in the right place) + # https://bugs.gentoo.org/723096 + local myargs=( + $(use_enable static-libs static-library) + $(use_with boost) + $(use_with bzip2) + $(use_with doc documentation) + $(use_with doc sphinx) + $(use_with lzma) + $(use_with sqlite sqlite3) + $(use_with ssl openssl) + $(use_with zlib) + $(usex hppa --without-stack-protector '') + --cpu=${chostarch} + --disable-modules=$( IFS=","; echo "${disable_modules[*]}" ) + --docdir=share/doc + --libdir=$(get_libdir) + --os=${myos} + --distribution-info="Gentoo ${PVR}" + --prefix="${EPREFIX}/usr" + --with-endian="$(tc-endian)" + --with-python-version=$( IFS=","; echo "${pythonvers[*]}" ) + --without-doxygen +
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: d8467da93d612f11b7daaa2644a0c52bf581c979 Author: Sam James gentoo org> AuthorDate: Fri Apr 16 01:56:01 2021 + Commit: Sam James gentoo org> CommitDate: Fri Apr 16 02:26:58 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8467da9 dev-libs/botan: rework src_configure (including CPU_FLAGS_*) * Add support for CPU_FLAGS_* rather than automagic detection * Consoldiate arch-specific workarounds * Sort configure arguments * Simplify disable logic * Minor other style changes * Drop USE=libressl Closes: https://bugs.gentoo.org/724338 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.18.0.ebuild | 105 - 1 file changed, 68 insertions(+), 37 deletions(-) diff --git a/dev-libs/botan/botan-2.18.0.ebuild b/dev-libs/botan/botan-2.18.0.ebuild index 0fd5992235c..ab5000d8a85 100644 --- a/dev-libs/botan/botan-2.18.0.ebuild +++ b/dev-libs/botan/botan-2.18.0.ebuild @@ -4,11 +4,9 @@ EAPI=7 PYTHON_COMPAT=( python3_{7,8,9} ) - inherit python-r1 toolchain-funcs MY_P="Botan-${PV}" - DESCRIPTION="C++ crypto library" HOMEPAGE="https://botan.randombit.net/; SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; @@ -17,15 +15,17 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" -IUSE="bindist doc boost bzip2 libressl lzma python ssl static-libs sqlite zlib" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +IUSE="bindist doc boost bzip2 lzma python ssl static-libs sqlite zlib" -BDEPEND=" - ${PYTHON_DEPS} - $(python_gen_any_dep ' - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - ') -" +CPU_USE=( + cpu_flags_arm_{aes,neon} + cpu_flags_ppc_altivec + cpu_flags_x86_{aes,avx2,popcnt,rdrand,sse2,ssse3,sse4_1,sse4_2} +) + +IUSE+=" ${CPU_USE[@]}" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" # NOTE: Boost is needed at runtime too for the CLI tool. DEPEND=" @@ -33,15 +33,17 @@ DEPEND=" bzip2? ( >=app-arch/bzip2-1.0.5:= ) lzma? ( app-arch/xz-utils:= ) python? ( ${PYTHON_DEPS} ) - ssl? ( - !libressl? ( dev-libs/openssl:0=[bindist=] ) - libressl? ( dev-libs/libressl:0= ) - ) + ssl? ( dev-libs/openssl:0=[bindist=] ) sqlite? ( dev-db/sqlite:3= ) zlib? ( >=sys-libs/zlib-1.2.3:= ) " - RDEPEND="${DEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep ' + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + ') +" # NOTE: Considering patching Botan? # Please see upstream's guidance: @@ -54,25 +56,35 @@ python_check_deps() { } src_configure() { - local disable_modules=() - use boost || disable_modules+=( "boost" ) - use bindist && disable_modules+=( "ecdsa" ) - elog "Disabling module(s): ${disable_modules[@]}" + local disable_modules=( + $(usex boost '' 'boost') + $(usex bindist 'ecdsa' '') + ) - # Enable v9 instructions for sparc64 - local chostarch="${CHOST%%-*}" - if [[ "${PROFILE_ARCH}" = "sparc64" ]] ; then - chostarch="sparc32-v9" + if [[ -z "${DISABLE_MODULES}" ]] ; then + elog "Disabling module(s): ${disable_modules[@]}" fi + local chostarch="${CHOST%%-*}" + + # Arch specific wrangling + local myos= case ${CHOST} in - *-darwin*) myos=darwin ;; - *) myos=linux ;; - esac + *-darwin*) + myos=darwin + ;; + + *) + myos=linux + + if [[ ${CHOST} == *hppa* ]] ; then + chostarch=parisc + elif [[ ${PROFILE_ARCH} == "sparc64" ]] ; then + chostarch="sparc32-v9" + fi + ;; - case ${CHOST} in - hppa*) chostarch=parisc ;; esac local pythonvers=() @@ -84,31 +96,50 @@ src_configure() { python_foreach_impl _append fi - # Don't install Python bindings automatically - # (do it manually later in the right place) - # https://bugs.gentoo.org/723096 local myargs=( - $(use_enable static-libs static-library) + # Intrinsics + # TODO: x86 RDSEED (new CPU_FLAGS_X86?) + # TODO: POWER Crypto (new CPU_FLAGS_PPC?) + $(usex cpu_flags_arm_aes '' '--disable-armv8crypto') + $(usex cpu_flags_arm_neon '' '--disable-neon') + $(usex cpu_flags_ppc_altivec '' '--disable-altivec') + $(usex cpu_flags_x86_aes '' '--disable-aes-ni') + $(usex cpu_flags_x86_avx2 '' '--disable-avx2') + $(usex cpu_flags_x86_popcnt '' '--disable-bmi2') +
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: f169a5bba98bb471da9b978e09dc60ebf9cbd01b Author: Sam James gentoo org> AuthorDate: Mon Mar 22 22:30:12 2021 + Commit: Sam James gentoo org> CommitDate: Tue Mar 23 04:48:44 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f169a5bb dev-libs/botan: sort IUSE Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.17.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.17.3.ebuild b/dev-libs/botan/botan-2.17.3.ebuild index fb15d09e9e4..a43f0e5f4cc 100644 --- a/dev-libs/botan/botan-2.17.3.ebuild +++ b/dev-libs/botan/botan-2.17.3.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~ppc-macos" -IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" +IUSE="bindist doc boost bzip2 libressl lzma python ssl static-libs sqlite zlib" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" BDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: f2a26794cc8a7903303d64e9cf78dcfc92ee80a5 Author: Roy Bamford gentoo org> AuthorDate: Wed Feb 24 22:28:49 2021 + Commit: Sam James gentoo org> CommitDate: Thu Feb 25 00:22:33 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2a26794 dev-libs/botan: added ~arm64 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Roy Bamford gentoo.org> Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.17.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.17.3.ebuild b/dev-libs/botan/botan-2.17.3.ebuild index de43def34d0..fb15d09e9e4 100644 --- a/dev-libs/botan/botan-2.17.3.ebuild +++ b/dev-libs/botan/botan-2.17.3.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~hppa ~ia64 ppc ppc64 ~sparc x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~ppc-macos" IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 92483b2bd6f29edd6c5262603b1fddaa67c5970f Author: Sam James gentoo org> AuthorDate: Sun Jan 24 13:46:59 2021 + Commit: Sam James gentoo org> CommitDate: Sun Jan 24 13:46:59 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92483b2b dev-libs/botan: cleanup old Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest| 1 - dev-libs/botan/botan-2.16.0.ebuild | 130 - 2 files changed, 131 deletions(-) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index 541d3f35226..f749e3fb806 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,2 +1 @@ -DIST Botan-2.16.0.tar.xz 5938644 BLAKE2B a4b7bb48aee0dbf0f8b81a407b6a39707c3e6040a2bb93f9c34208ab87ea64879b2e56af66f090a73d66b64156e333c89e490d206e666e665a5eb4fbcd98d13e SHA512 12550425c695119d7f448a47b7956565de373e1bc86b8fdfa0a2a5b9fed1ef93a36101b6480e7a2f78e9262c988904c353fa021b681543691d09bf5b00495bd4 DIST Botan-2.17.3.tar.xz 5937596 BLAKE2B 605e71c959889b459bc26f17d310a33f26c9a51fe00db91db407ac5b96c9ff57bef67a401f71826e83e0d4eda2289c22685957289e6bb357f3693a1bce60f44d SHA512 ead0f144dfb9eca66d0e81e376d0d49f4b0b6bc1599f8cf52299e1753645b5b20100efa004ef5f9571f7bea88958f35db38367fc26f2603890f8f199cc890dbc diff --git a/dev-libs/botan/botan-2.16.0.ebuild b/dev-libs/botan/botan-2.16.0.ebuild deleted file mode 100644 index b8d465aedbe..000 --- a/dev-libs/botan/botan-2.16.0.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) - -inherit python-r1 toolchain-funcs - -MY_P="Botan-${PV}" - -DESCRIPTION="C++ crypto library" -HOMEPAGE="https://botan.randombit.net/; -SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD-2" -SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~hppa ~ia64 ppc ppc64 ~sparc x86 ~ppc-macos" -IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -BDEPEND=" - ${PYTHON_DEPS} - $(python_gen_any_dep ' - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - ') -" - -# NOTE: Boost is needed at runtime too for the CLI tool. -DEPEND=" - boost? ( >=dev-libs/boost-1.48:= ) - bzip2? ( >=app-arch/bzip2-1.0.5:= ) - lzma? ( app-arch/xz-utils:= ) - python? ( ${PYTHON_DEPS} ) - ssl? ( - !libressl? ( dev-libs/openssl:0=[bindist=] ) - libressl? ( dev-libs/libressl:0= ) - ) - sqlite? ( dev-db/sqlite:3= ) - zlib? ( >=sys-libs/zlib-1.2.3:= ) -" - -RDEPEND="${DEPEND}" - -# NOTE: Considering patching Botan? -# Please see upstream's guidance: -# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches - -python_check_deps() { - if use doc ; then - has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1 - fi -} - -src_configure() { - local disable_modules=() - use boost || disable_modules+=( "boost" ) - use bindist && disable_modules+=( "ecdsa" ) - elog "Disabling module(s): ${disable_modules[@]}" - - # Enable v9 instructions for sparc64 - local chostarch="${CHOST%%-*}" - if [[ "${PROFILE_ARCH}" = "sparc64" ]] ; then - chostarch="sparc32-v9" - fi - - local myos= - case ${CHOST} in - *-darwin*) myos=darwin ;; - *) myos=linux ;; - esac - - case ${CHOST} in - hppa*) chostarch=parisc ;; - esac - - local pythonvers=() - if use python ; then - _append() { - pythonvers+=( ${EPYTHON/python/} ) - } - - python_foreach_impl _append - fi - - # Don't install Python bindings automatically - # (do it manually later in the right place) - # https://bugs.gentoo.org/723096 - local myargs=( - $(use_enable static-libs static-library) - $(use_with boost) - $(use_with bzip2) - $(use_with doc documentation) - $(use_with doc sphinx) - $(use_with lzma) - $(use_with sqlite sqlite3) - $(use_with ssl openssl) - $(use_with zlib) - $(usex hppa --without-stack-protector '') - --cpu=${chostarch} - --disable-modules=$( IFS=","; echo "${disable_modules[*]}" ) - --docdir=share/doc - --libdir=$(get_libdir) - --os=${myos} - --distribution-info="Gentoo ${PVR}" - --prefix="${EPREFIX}/usr" - --with-endian="$(tc-endian)" - --with-python-version=$( IFS=","; echo "${pythonvers[*]}" ) -
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: ac5129d42ee92eff2ed52906aa9864efc8168015 Author: Sam James gentoo org> AuthorDate: Sun Jan 24 13:45:36 2021 + Commit: Sam James gentoo org> CommitDate: Sun Jan 24 13:45:36 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac5129d4 dev-libs/botan: Stabilize 2.17.3 ppc, #766456 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.17.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.17.3.ebuild b/dev-libs/botan/botan-2.17.3.ebuild index a23ef28e8a4..3e43bd72e66 100644 --- a/dev-libs/botan/botan-2.17.3.ebuild +++ b/dev-libs/botan/botan-2.17.3.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ppc ~ppc64 ~sparc x86 ~ppc-macos" IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 103d64612f0985350a39b1155ffce71becdee3d5 Author: Sam James gentoo org> AuthorDate: Sun Jan 24 13:45:43 2021 + Commit: Sam James gentoo org> CommitDate: Sun Jan 24 13:45:43 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=103d6461 dev-libs/botan: Stabilize 2.17.3 ppc64, #766456 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.17.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.17.3.ebuild b/dev-libs/botan/botan-2.17.3.ebuild index 3e43bd72e66..de43def34d0 100644 --- a/dev-libs/botan/botan-2.17.3.ebuild +++ b/dev-libs/botan/botan-2.17.3.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~hppa ~ia64 ppc ~ppc64 ~sparc x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ppc ppc64 ~sparc x86 ~ppc-macos" IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 64a573faeb63598d1c939c4eb60d6a861eb99e8a Author: Sam James gentoo org> AuthorDate: Sat Jan 23 22:55:49 2021 + Commit: Sam James gentoo org> CommitDate: Sat Jan 23 22:55:49 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64a573fa dev-libs/botan: Stabilize 2.17.3 x86, #766456 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.17.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.17.3.ebuild b/dev-libs/botan/botan-2.17.3.ebuild index 2fe23e8da1f..a23ef28e8a4 100644 --- a/dev-libs/botan/botan-2.17.3.ebuild +++ b/dev-libs/botan/botan-2.17.3.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~ppc-macos" IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: bf44f40de2351b2ced2fd2551f5125f3c62c7846 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Jan 22 16:51:42 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Jan 22 16:51:42 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf44f40d dev-libs/botan: amd64 stable wrt bug #766456 Package-Manager: Portage-3.0.9, Repoman-3.0.2 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/botan/botan-2.17.3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/botan/botan-2.17.3.ebuild b/dev-libs/botan/botan-2.17.3.ebuild index c15f5000f25..2fe23e8da1f 100644 --- a/dev-libs/botan/botan-2.17.3.ebuild +++ b/dev-libs/botan/botan-2.17.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 3e33dd594d656ee660f48e7f7f7736ebe567bab6 Author: Sam James gentoo org> AuthorDate: Tue Dec 29 23:51:42 2020 + Commit: Sam James gentoo org> CommitDate: Tue Dec 29 23:51:42 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e33dd59 dev-libs/botan: cleanup old Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest| 1 - dev-libs/botan/botan-2.17.2.ebuild | 130 - 2 files changed, 131 deletions(-) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index d93a3cd..541d3f35226 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,3 +1,2 @@ DIST Botan-2.16.0.tar.xz 5938644 BLAKE2B a4b7bb48aee0dbf0f8b81a407b6a39707c3e6040a2bb93f9c34208ab87ea64879b2e56af66f090a73d66b64156e333c89e490d206e666e665a5eb4fbcd98d13e SHA512 12550425c695119d7f448a47b7956565de373e1bc86b8fdfa0a2a5b9fed1ef93a36101b6480e7a2f78e9262c988904c353fa021b681543691d09bf5b00495bd4 -DIST Botan-2.17.2.tar.xz 5940964 BLAKE2B 009df11c9d4379a15a48697554a82df3baffad0fff98af995f9a5b9b3223e4db42837650d41b7081170b07fb70d62ab347c5577ef2480a8f7011b40e1cf1764d SHA512 fa9bd30d02540c4544646971c7b82d3873f32362668d2496b4bc1a92f47d52f75ec9533d5848a7d8e9b9077c7ae2866b55d70d39101c705eec0edf9dbf01d6cf DIST Botan-2.17.3.tar.xz 5937596 BLAKE2B 605e71c959889b459bc26f17d310a33f26c9a51fe00db91db407ac5b96c9ff57bef67a401f71826e83e0d4eda2289c22685957289e6bb357f3693a1bce60f44d SHA512 ead0f144dfb9eca66d0e81e376d0d49f4b0b6bc1599f8cf52299e1753645b5b20100efa004ef5f9571f7bea88958f35db38367fc26f2603890f8f199cc890dbc diff --git a/dev-libs/botan/botan-2.17.2.ebuild b/dev-libs/botan/botan-2.17.2.ebuild deleted file mode 100644 index c15f5000f25..000 --- a/dev-libs/botan/botan-2.17.2.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) - -inherit python-r1 toolchain-funcs - -MY_P="Botan-${PV}" - -DESCRIPTION="C++ crypto library" -HOMEPAGE="https://botan.randombit.net/; -SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD-2" -SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" -IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -BDEPEND=" - ${PYTHON_DEPS} - $(python_gen_any_dep ' - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - ') -" - -# NOTE: Boost is needed at runtime too for the CLI tool. -DEPEND=" - boost? ( >=dev-libs/boost-1.48:= ) - bzip2? ( >=app-arch/bzip2-1.0.5:= ) - lzma? ( app-arch/xz-utils:= ) - python? ( ${PYTHON_DEPS} ) - ssl? ( - !libressl? ( dev-libs/openssl:0=[bindist=] ) - libressl? ( dev-libs/libressl:0= ) - ) - sqlite? ( dev-db/sqlite:3= ) - zlib? ( >=sys-libs/zlib-1.2.3:= ) -" - -RDEPEND="${DEPEND}" - -# NOTE: Considering patching Botan? -# Please see upstream's guidance: -# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches - -python_check_deps() { - if use doc ; then - has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1 - fi -} - -src_configure() { - local disable_modules=() - use boost || disable_modules+=( "boost" ) - use bindist && disable_modules+=( "ecdsa" ) - elog "Disabling module(s): ${disable_modules[@]}" - - # Enable v9 instructions for sparc64 - local chostarch="${CHOST%%-*}" - if [[ "${PROFILE_ARCH}" = "sparc64" ]] ; then - chostarch="sparc32-v9" - fi - - local myos= - case ${CHOST} in - *-darwin*) myos=darwin ;; - *) myos=linux ;; - esac - - case ${CHOST} in - hppa*) chostarch=parisc ;; - esac - - local pythonvers=() - if use python ; then - _append() { - pythonvers+=( ${EPYTHON/python/} ) - } - - python_foreach_impl _append - fi - - # Don't install Python bindings automatically - # (do it manually later in the right place) - # https://bugs.gentoo.org/723096 - local myargs=( - $(use_enable static-libs static-library) - $(use_with boost) - $(use_with bzip2) - $(use_with doc documentation) - $(use_with doc sphinx) - $(use_with lzma) - $(use_with sqlite sqlite3) - $(use_with ssl openssl) - $(use_with zlib) - $(usex hppa --without-stack-protector '') - --cpu=${chostarch} - --disable-modules=$( IFS=","; echo "${disable_modules[*]}" ) -
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: d1b87c017eb2b01fdb500c6ea20a7155c7106cb0 Author: Sam James gentoo org> AuthorDate: Mon Dec 21 23:47:19 2020 + Commit: Sam James gentoo org> CommitDate: Mon Dec 21 23:47:30 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1b87c01 dev-libs/botan: bump to 2.17.3 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest| 1 + dev-libs/botan/botan-2.17.3.ebuild | 130 + 2 files changed, 131 insertions(+) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index aa1b4d94151..d93a3cd 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,2 +1,3 @@ DIST Botan-2.16.0.tar.xz 5938644 BLAKE2B a4b7bb48aee0dbf0f8b81a407b6a39707c3e6040a2bb93f9c34208ab87ea64879b2e56af66f090a73d66b64156e333c89e490d206e666e665a5eb4fbcd98d13e SHA512 12550425c695119d7f448a47b7956565de373e1bc86b8fdfa0a2a5b9fed1ef93a36101b6480e7a2f78e9262c988904c353fa021b681543691d09bf5b00495bd4 DIST Botan-2.17.2.tar.xz 5940964 BLAKE2B 009df11c9d4379a15a48697554a82df3baffad0fff98af995f9a5b9b3223e4db42837650d41b7081170b07fb70d62ab347c5577ef2480a8f7011b40e1cf1764d SHA512 fa9bd30d02540c4544646971c7b82d3873f32362668d2496b4bc1a92f47d52f75ec9533d5848a7d8e9b9077c7ae2866b55d70d39101c705eec0edf9dbf01d6cf +DIST Botan-2.17.3.tar.xz 5937596 BLAKE2B 605e71c959889b459bc26f17d310a33f26c9a51fe00db91db407ac5b96c9ff57bef67a401f71826e83e0d4eda2289c22685957289e6bb357f3693a1bce60f44d SHA512 ead0f144dfb9eca66d0e81e376d0d49f4b0b6bc1599f8cf52299e1753645b5b20100efa004ef5f9571f7bea88958f35db38367fc26f2603890f8f199cc890dbc diff --git a/dev-libs/botan/botan-2.17.3.ebuild b/dev-libs/botan/botan-2.17.3.ebuild new file mode 100644 index 000..c15f5000f25 --- /dev/null +++ b/dev-libs/botan/botan-2.17.3.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit python-r1 toolchain-funcs + +MY_P="Botan-${PV}" + +DESCRIPTION="C++ crypto library" +HOMEPAGE="https://botan.randombit.net/; +SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +SLOT="2/$(ver_cut 1-2)" # soname version +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" +IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +BDEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep ' + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + ') +" + +# NOTE: Boost is needed at runtime too for the CLI tool. +DEPEND=" + boost? ( >=dev-libs/boost-1.48:= ) + bzip2? ( >=app-arch/bzip2-1.0.5:= ) + lzma? ( app-arch/xz-utils:= ) + python? ( ${PYTHON_DEPS} ) + ssl? ( + !libressl? ( dev-libs/openssl:0=[bindist=] ) + libressl? ( dev-libs/libressl:0= ) + ) + sqlite? ( dev-db/sqlite:3= ) + zlib? ( >=sys-libs/zlib-1.2.3:= ) +" + +RDEPEND="${DEPEND}" + +# NOTE: Considering patching Botan? +# Please see upstream's guidance: +# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches + +python_check_deps() { + if use doc ; then + has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1 + fi +} + +src_configure() { + local disable_modules=() + use boost || disable_modules+=( "boost" ) + use bindist && disable_modules+=( "ecdsa" ) + elog "Disabling module(s): ${disable_modules[@]}" + + # Enable v9 instructions for sparc64 + local chostarch="${CHOST%%-*}" + if [[ "${PROFILE_ARCH}" = "sparc64" ]] ; then + chostarch="sparc32-v9" + fi + + local myos= + case ${CHOST} in + *-darwin*) myos=darwin ;; + *) myos=linux ;; + esac + + case ${CHOST} in + hppa*) chostarch=parisc ;; + esac + + local pythonvers=() + if use python ; then + _append() { + pythonvers+=( ${EPYTHON/python/} ) + } + + python_foreach_impl _append + fi + + # Don't install Python bindings automatically + # (do it manually later in the right place) + # https://bugs.gentoo.org/723096 + local myargs=( + $(use_enable static-libs static-library) + $(use_with boost) + $(use_with bzip2) + $(use_with doc documentation) + $(use_with doc sphinx) + $(use_with lzma) + $(use_with sqlite sqlite3) + $(use_with ssl openssl) + $(use_with zlib) + $(usex hppa --without-stack-protector '') + --cpu=${chostarch} + --disable-modules=$( IFS=","; echo "${disable_modules[*]}" ) +
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: a71396f5f5a136c4cf777c4fab429e78c229ae4e Author: Sam James gentoo org> AuthorDate: Sun Dec 20 06:23:02 2020 + Commit: Sam James gentoo org> CommitDate: Sun Dec 20 06:23:02 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a71396f5 dev-libs/botan: cleanup old Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest| 1 - dev-libs/botan/botan-2.15.0.ebuild | 132 - 2 files changed, 133 deletions(-) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index f01a64f7cf5..aa1b4d94151 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,3 +1,2 @@ -DIST Botan-2.15.0.tar.xz 5920688 BLAKE2B 1bbb9cadb0f754194851bddf8b14dbcd291285c5f3fbaad35920277a11c3d9e1b1e5cc484c0d37b1c7999b3084a1c90da56631df0b07e788372b95aff5197031 SHA512 0965a0a6141df44e38bd7da038b89dd2b3808ed9a4ebaafbf089abf60718e62cba78d7b64eaf272b5df8c5a489222e4cad4fb511cde38e76cdaed87f35896c18 DIST Botan-2.16.0.tar.xz 5938644 BLAKE2B a4b7bb48aee0dbf0f8b81a407b6a39707c3e6040a2bb93f9c34208ab87ea64879b2e56af66f090a73d66b64156e333c89e490d206e666e665a5eb4fbcd98d13e SHA512 12550425c695119d7f448a47b7956565de373e1bc86b8fdfa0a2a5b9fed1ef93a36101b6480e7a2f78e9262c988904c353fa021b681543691d09bf5b00495bd4 DIST Botan-2.17.2.tar.xz 5940964 BLAKE2B 009df11c9d4379a15a48697554a82df3baffad0fff98af995f9a5b9b3223e4db42837650d41b7081170b07fb70d62ab347c5577ef2480a8f7011b40e1cf1764d SHA512 fa9bd30d02540c4544646971c7b82d3873f32362668d2496b4bc1a92f47d52f75ec9533d5848a7d8e9b9077c7ae2866b55d70d39101c705eec0edf9dbf01d6cf diff --git a/dev-libs/botan/botan-2.15.0.ebuild b/dev-libs/botan/botan-2.15.0.ebuild deleted file mode 100644 index b0108d71ae2..000 --- a/dev-libs/botan/botan-2.15.0.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) - -inherit python-r1 toolchain-funcs - -MY_P="Botan-${PV}" - -DESCRIPTION="C++ crypto library" -HOMEPAGE="https://botan.randombit.net/; -SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; -LICENSE="BSD-2" - -SLOT="2/$(ver_cut 1-2)" # soname version - -KEYWORDS="amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~ppc-macos" -IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -BDEPEND=" - ${PYTHON_DEPS} - $(python_gen_any_dep ' - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - ') -" - -# NOTE: Boost is needed at runtime too for the CLI tool. -DEPEND=" - boost? ( >=dev-libs/boost-1.48:= ) - bzip2? ( >=app-arch/bzip2-1.0.5:= ) - lzma? ( app-arch/xz-utils:= ) - python? ( ${PYTHON_DEPS} ) - ssl? ( - !libressl? ( dev-libs/openssl:0=[bindist=] ) - libressl? ( dev-libs/libressl:0= ) - ) - sqlite? ( dev-db/sqlite:3= ) - zlib? ( >=sys-libs/zlib-1.2.3:= ) -" - -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -# NOTE: Considering patching Botan? -# Please see upstream's guidance: -# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches - -python_check_deps() { - if use doc ; then - has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1 - fi -} - -src_configure() { - local disable_modules=() - use boost || disable_modules+=( "boost" ) - use bindist && disable_modules+=( "ecdsa" ) - elog "Disabling module(s): ${disable_modules[@]}" - - # Enable v9 instructions for sparc64 - local chostarch="${CHOST%%-*}" - if [[ "${PROFILE_ARCH}" = "sparc64" ]] ; then - chostarch="sparc32-v9" - fi - - local myos= - case ${CHOST} in - *-darwin*) myos=darwin ;; - *) myos=linux ;; - esac - - case ${CHOST} in - hppa*) chostarch=parisc ;; - esac - - local pythonvers=() - if use python ; then - _append() { - pythonvers+=( ${EPYTHON/python/} ) - } - - python_foreach_impl _append - fi - - # Don't install Python bindings automatically - # (do it manually later in the right place) - # https://bugs.gentoo.org/723096 - local myargs=( - $(use_enable static-libs static-library) - $(use_with boost) - $(use_with bzip2) - $(use_with doc documentation) - $(use_with doc sphinx) - $(use_with lzma) - $(use_with sqlite sqlite3) - $(use_with ssl openssl) - $(use_with zlib) - $(usex hppa --without-stack-protector '') - --cpu=${chostarch} - --disable-modules=$( IFS=","; echo "${disable_modules[*]}" ) -
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 517820eb03878aba1f348fcd4a9726d2d06e8803 Author: Sam James gentoo org> AuthorDate: Wed Dec 2 23:17:46 2020 + Commit: Sam James gentoo org> CommitDate: Wed Dec 2 23:17:46 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=517820eb dev-libs/botan: add Python 3.9 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.17.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.17.2.ebuild b/dev-libs/botan/botan-2.17.2.ebuild index 17cef74104b..c15f5000f25 100644 --- a/dev-libs/botan/botan-2.17.2.ebuild +++ b/dev-libs/botan/botan-2.17.2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7,8,9} ) inherit python-r1 toolchain-funcs
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: e1480210193ce3d60a492a40daef07b93e7d2049 Author: Sam James gentoo org> AuthorDate: Fri Nov 13 23:51:40 2020 + Commit: Sam James gentoo org> CommitDate: Fri Nov 13 23:51:40 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1480210 dev-libs/botan: Stabilize 2.16.0 amd64, #753422 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.16.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.16.0.ebuild b/dev-libs/botan/botan-2.16.0.ebuild index 5948159b1e9..571b07ca8cb 100644 --- a/dev-libs/botan/botan-2.16.0.ebuild +++ b/dev-libs/botan/botan-2.16.0.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm hppa ~ia64 ~ppc ppc64 ~sparc x86 ~ppc-macos" +KEYWORDS="amd64 ~arm hppa ~ia64 ~ppc ppc64 ~sparc x86 ~ppc-macos" IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: b82c21151dac6fae430319fde4630f39c9fb2f86 Author: Sam James gentoo org> AuthorDate: Fri Nov 13 16:32:35 2020 + Commit: Sam James gentoo org> CommitDate: Fri Nov 13 16:32:43 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b82c2115 dev-libs/botan: bump to 2.7.2 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest | 2 +- dev-libs/botan/{botan-2.17.1.ebuild => botan-2.17.2.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index 3032b74d66d..f01a64f7cf5 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,3 +1,3 @@ DIST Botan-2.15.0.tar.xz 5920688 BLAKE2B 1bbb9cadb0f754194851bddf8b14dbcd291285c5f3fbaad35920277a11c3d9e1b1e5cc484c0d37b1c7999b3084a1c90da56631df0b07e788372b95aff5197031 SHA512 0965a0a6141df44e38bd7da038b89dd2b3808ed9a4ebaafbf089abf60718e62cba78d7b64eaf272b5df8c5a489222e4cad4fb511cde38e76cdaed87f35896c18 DIST Botan-2.16.0.tar.xz 5938644 BLAKE2B a4b7bb48aee0dbf0f8b81a407b6a39707c3e6040a2bb93f9c34208ab87ea64879b2e56af66f090a73d66b64156e333c89e490d206e666e665a5eb4fbcd98d13e SHA512 12550425c695119d7f448a47b7956565de373e1bc86b8fdfa0a2a5b9fed1ef93a36101b6480e7a2f78e9262c988904c353fa021b681543691d09bf5b00495bd4 -DIST Botan-2.17.1.tar.xz 5970240 BLAKE2B d9c68cb55782bc3b174d5a6382c778dd38255540945404a96e71ff808f65848f4bcffc4c7bf6a61b841fb0225379ffa8dd473aac40af4436eae737ec450428b9 SHA512 05572b744c5d3a6a9dbece7e1dd777a8c44f9800fc90637d3ae5da62818ac826e80835c2a61446a0d16b3b4ad23c95b838422d90300ff7ce7a02fc3902cb058c +DIST Botan-2.17.2.tar.xz 5940964 BLAKE2B 009df11c9d4379a15a48697554a82df3baffad0fff98af995f9a5b9b3223e4db42837650d41b7081170b07fb70d62ab347c5577ef2480a8f7011b40e1cf1764d SHA512 fa9bd30d02540c4544646971c7b82d3873f32362668d2496b4bc1a92f47d52f75ec9533d5848a7d8e9b9077c7ae2866b55d70d39101c705eec0edf9dbf01d6cf diff --git a/dev-libs/botan/botan-2.17.1.ebuild b/dev-libs/botan/botan-2.17.2.ebuild similarity index 100% rename from dev-libs/botan/botan-2.17.1.ebuild rename to dev-libs/botan/botan-2.17.2.ebuild
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: ab7f43ea9c1481707ef18aa4743315226cef9f7a Author: Sam James gentoo org> AuthorDate: Sat Nov 7 20:53:19 2020 + Commit: Sam James gentoo org> CommitDate: Sat Nov 7 20:53:26 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab7f43ea dev-libs/botan: bump to 2.17.1 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest | 2 +- dev-libs/botan/{botan-2.17.0.ebuild => botan-2.17.1.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index f7db92923eb..3032b74d66d 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,3 +1,3 @@ DIST Botan-2.15.0.tar.xz 5920688 BLAKE2B 1bbb9cadb0f754194851bddf8b14dbcd291285c5f3fbaad35920277a11c3d9e1b1e5cc484c0d37b1c7999b3084a1c90da56631df0b07e788372b95aff5197031 SHA512 0965a0a6141df44e38bd7da038b89dd2b3808ed9a4ebaafbf089abf60718e62cba78d7b64eaf272b5df8c5a489222e4cad4fb511cde38e76cdaed87f35896c18 DIST Botan-2.16.0.tar.xz 5938644 BLAKE2B a4b7bb48aee0dbf0f8b81a407b6a39707c3e6040a2bb93f9c34208ab87ea64879b2e56af66f090a73d66b64156e333c89e490d206e666e665a5eb4fbcd98d13e SHA512 12550425c695119d7f448a47b7956565de373e1bc86b8fdfa0a2a5b9fed1ef93a36101b6480e7a2f78e9262c988904c353fa021b681543691d09bf5b00495bd4 -DIST Botan-2.17.0.tar.xz 5972376 BLAKE2B 2e1bfcf1f118f16f1fa5647e45da35649305a2f790254321a2b2a6ebb40c38a559c2c64de4f85536610e65fc2d880f4324eed7d6a047b35cdb447fc80d4fa280 SHA512 fe5e3abcd10cf3e9b6f74248d9934722f41c5618a5f034e811ac9bc28d3162ae8259c5f90b61e1e85bf63957360d1ed0f001239eab81455d8b7b7f89d4c2940c +DIST Botan-2.17.1.tar.xz 5970240 BLAKE2B d9c68cb55782bc3b174d5a6382c778dd38255540945404a96e71ff808f65848f4bcffc4c7bf6a61b841fb0225379ffa8dd473aac40af4436eae737ec450428b9 SHA512 05572b744c5d3a6a9dbece7e1dd777a8c44f9800fc90637d3ae5da62818ac826e80835c2a61446a0d16b3b4ad23c95b838422d90300ff7ce7a02fc3902cb058c diff --git a/dev-libs/botan/botan-2.17.0.ebuild b/dev-libs/botan/botan-2.17.1.ebuild similarity index 100% rename from dev-libs/botan/botan-2.17.0.ebuild rename to dev-libs/botan/botan-2.17.1.ebuild
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 8cac861796a911168475d8f462190fde77f1003e Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Nov 7 20:23:47 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Nov 7 20:34:42 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cac8617 dev-libs/botan: stable 2.16.0 for ppc64 stable wrt bug #753422 Package-Manager: Portage-3.0.9, Repoman-3.0.2 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Sergei Trofimovich gentoo.org> dev-libs/botan/botan-2.16.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.16.0.ebuild b/dev-libs/botan/botan-2.16.0.ebuild index b81dd4643b0..21800b2b36b 100644 --- a/dev-libs/botan/botan-2.16.0.ebuild +++ b/dev-libs/botan/botan-2.16.0.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" +KEYWORDS="~amd64 ~arm hppa ~ia64 ~ppc ppc64 ~sparc ~x86 ~ppc-macos" IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: bddf25e64543cf8354f960ec8b0bb3247748af48 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Nov 7 20:08:22 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Nov 7 20:10:33 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bddf25e6 dev-libs/botan: stable 2.16.0 for hppa stable wrt bug #753422 Package-Manager: Portage-3.0.9, Repoman-3.0.2 RepoMan-Options: --include-arches="hppa" Signed-off-by: Sergei Trofimovich gentoo.org> dev-libs/botan/botan-2.16.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.16.0.ebuild b/dev-libs/botan/botan-2.16.0.ebuild index 17cef74104b..b81dd4643b0 100644 --- a/dev-libs/botan/botan-2.16.0.ebuild +++ b/dev-libs/botan/botan-2.16.0.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" +KEYWORDS="~amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 6236db536ac8d5acfa157119c469cc06dfec7b8d Author: Sam James gentoo org> AuthorDate: Thu Nov 5 14:41:42 2020 + Commit: Sam James gentoo org> CommitDate: Thu Nov 5 14:41:48 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6236db53 dev-libs/botan: bump to 2.17.0 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest| 1 + dev-libs/botan/botan-2.17.0.ebuild | 130 + 2 files changed, 131 insertions(+) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index b54bb404607..f7db92923eb 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,2 +1,3 @@ DIST Botan-2.15.0.tar.xz 5920688 BLAKE2B 1bbb9cadb0f754194851bddf8b14dbcd291285c5f3fbaad35920277a11c3d9e1b1e5cc484c0d37b1c7999b3084a1c90da56631df0b07e788372b95aff5197031 SHA512 0965a0a6141df44e38bd7da038b89dd2b3808ed9a4ebaafbf089abf60718e62cba78d7b64eaf272b5df8c5a489222e4cad4fb511cde38e76cdaed87f35896c18 DIST Botan-2.16.0.tar.xz 5938644 BLAKE2B a4b7bb48aee0dbf0f8b81a407b6a39707c3e6040a2bb93f9c34208ab87ea64879b2e56af66f090a73d66b64156e333c89e490d206e666e665a5eb4fbcd98d13e SHA512 12550425c695119d7f448a47b7956565de373e1bc86b8fdfa0a2a5b9fed1ef93a36101b6480e7a2f78e9262c988904c353fa021b681543691d09bf5b00495bd4 +DIST Botan-2.17.0.tar.xz 5972376 BLAKE2B 2e1bfcf1f118f16f1fa5647e45da35649305a2f790254321a2b2a6ebb40c38a559c2c64de4f85536610e65fc2d880f4324eed7d6a047b35cdb447fc80d4fa280 SHA512 fe5e3abcd10cf3e9b6f74248d9934722f41c5618a5f034e811ac9bc28d3162ae8259c5f90b61e1e85bf63957360d1ed0f001239eab81455d8b7b7f89d4c2940c diff --git a/dev-libs/botan/botan-2.17.0.ebuild b/dev-libs/botan/botan-2.17.0.ebuild new file mode 100644 index 000..17cef74104b --- /dev/null +++ b/dev-libs/botan/botan-2.17.0.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +inherit python-r1 toolchain-funcs + +MY_P="Botan-${PV}" + +DESCRIPTION="C++ crypto library" +HOMEPAGE="https://botan.randombit.net/; +SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +SLOT="2/$(ver_cut 1-2)" # soname version +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" +IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +BDEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep ' + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + ') +" + +# NOTE: Boost is needed at runtime too for the CLI tool. +DEPEND=" + boost? ( >=dev-libs/boost-1.48:= ) + bzip2? ( >=app-arch/bzip2-1.0.5:= ) + lzma? ( app-arch/xz-utils:= ) + python? ( ${PYTHON_DEPS} ) + ssl? ( + !libressl? ( dev-libs/openssl:0=[bindist=] ) + libressl? ( dev-libs/libressl:0= ) + ) + sqlite? ( dev-db/sqlite:3= ) + zlib? ( >=sys-libs/zlib-1.2.3:= ) +" + +RDEPEND="${DEPEND}" + +# NOTE: Considering patching Botan? +# Please see upstream's guidance: +# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches + +python_check_deps() { + if use doc ; then + has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1 + fi +} + +src_configure() { + local disable_modules=() + use boost || disable_modules+=( "boost" ) + use bindist && disable_modules+=( "ecdsa" ) + elog "Disabling module(s): ${disable_modules[@]}" + + # Enable v9 instructions for sparc64 + local chostarch="${CHOST%%-*}" + if [[ "${PROFILE_ARCH}" = "sparc64" ]] ; then + chostarch="sparc32-v9" + fi + + local myos= + case ${CHOST} in + *-darwin*) myos=darwin ;; + *) myos=linux ;; + esac + + case ${CHOST} in + hppa*) chostarch=parisc ;; + esac + + local pythonvers=() + if use python ; then + _append() { + pythonvers+=( ${EPYTHON/python/} ) + } + + python_foreach_impl _append + fi + + # Don't install Python bindings automatically + # (do it manually later in the right place) + # https://bugs.gentoo.org/723096 + local myargs=( + $(use_enable static-libs static-library) + $(use_with boost) + $(use_with bzip2) + $(use_with doc documentation) + $(use_with doc sphinx) + $(use_with lzma) + $(use_with sqlite sqlite3) + $(use_with ssl openssl) + $(use_with zlib) + $(usex hppa --without-stack-protector '') + --cpu=${chostarch} + --disable-modules=$( IFS=","; echo "${disable_modules[*]}" ) +
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/files/, dev-libs/botan/
commit: 0547744d1554b9e9389d6caa459ea3a94c7b Author: Sam James gentoo org> AuthorDate: Wed Oct 14 01:09:06 2020 + Commit: Sam James gentoo org> CommitDate: Wed Oct 14 01:09:06 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05477000 dev-libs/botan: cleanup old Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest| 1 - dev-libs/botan/botan-2.14.0-r1.ebuild | 110 - .../files/botan-2.14.0-bindist-test-fix.patch | 91 - 3 files changed, 202 deletions(-) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index e546b0b57c9..b54bb404607 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,3 +1,2 @@ -DIST Botan-2.14.0.tar.xz 5958948 BLAKE2B 90e73945b22f6e4e8d6163bfb45eca153eb1495448f8bf35514b780fd12bb1b81c822314e1f598c7625277f1e9cf7a6265387cca80ffd4c2664c681b9d4807fd SHA512 ee15928ecdb0127720b444b0207d46fd68fe3007125b0deb8bdd32f96e9befb684ad54009354da4f6a3c48b9698693b46223710a47fd644da8760dda53d40d34 DIST Botan-2.15.0.tar.xz 5920688 BLAKE2B 1bbb9cadb0f754194851bddf8b14dbcd291285c5f3fbaad35920277a11c3d9e1b1e5cc484c0d37b1c7999b3084a1c90da56631df0b07e788372b95aff5197031 SHA512 0965a0a6141df44e38bd7da038b89dd2b3808ed9a4ebaafbf089abf60718e62cba78d7b64eaf272b5df8c5a489222e4cad4fb511cde38e76cdaed87f35896c18 DIST Botan-2.16.0.tar.xz 5938644 BLAKE2B a4b7bb48aee0dbf0f8b81a407b6a39707c3e6040a2bb93f9c34208ab87ea64879b2e56af66f090a73d66b64156e333c89e490d206e666e665a5eb4fbcd98d13e SHA512 12550425c695119d7f448a47b7956565de373e1bc86b8fdfa0a2a5b9fed1ef93a36101b6480e7a2f78e9262c988904c353fa021b681543691d09bf5b00495bd4 diff --git a/dev-libs/botan/botan-2.14.0-r1.ebuild b/dev-libs/botan/botan-2.14.0-r1.ebuild deleted file mode 100644 index 36655933319..000 --- a/dev-libs/botan/botan-2.14.0-r1.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8} ) - -MY_P="Botan-${PV}" -inherit python-r1 toolchain-funcs - -DESCRIPTION="C++ crypto library" -HOMEPAGE="https://botan.randombit.net/; -SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; - -LICENSE="BSD" -SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~ppc-macos" -IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -S="${WORKDIR}/${MY_P}" - -DEPEND="python? ( ${PYTHON_DEPS} )" -RDEPEND="${DEPEND} - boost? ( >=dev-libs/boost-1.48:= ) - bzip2? ( >=app-arch/bzip2-1.0.5:= ) - lzma? ( app-arch/xz-utils:= ) - sqlite? ( dev-db/sqlite:3= ) - ssl? ( - !libressl? ( dev-libs/openssl:0=[bindist=] ) - libressl? ( dev-libs/libressl:0= ) - ) - zlib? ( >=sys-libs/zlib-1.2.3:= ) -" -BDEPEND=" - dev-lang/python:* - doc? ( dev-python/sphinx ) -" - -PATCHES=( - "${FILESDIR}/${P}-bindist-test-fix.patch" -) - -src_configure() { - local disable_modules=() - use boost || disable_modules+=( "boost" ) - use bindist && disable_modules+=( "ecdsa" ) - elog "Disabling modules: ${disable_modules[@]}" - - # Enable v9 instructions for sparc64 - if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then - CHOSTARCH="sparc32-v9" - else - CHOSTARCH="${CHOST%%-*}" - fi - - local myos= - case ${CHOST} in - *-darwin*) myos=darwin ;; - *) myos=linux ;; - esac - - case ${CHOST} in - hppa*) CHOSTARCH=parisc ;; - esac - - local pythonvers=() - if use python; then - append() { - pythonvers+=( ${EPYTHON/python/} ) - } - python_foreach_impl append - fi - - # Don't install automatically, do it manually later in right place - # https://bugs.gentoo.org/723096 - CXX="$(tc-getCXX)" AR="$(tc-getAR)" ./configure.py \ - $(use_enable static-libs static-library) \ - $(use_with boost) \ - $(use_with bzip2) \ - $(use_with doc documentation) \ - $(use_with doc sphinx) \ - $(use_with lzma) \ - $(use_with sqlite sqlite3) \ - $(use_with ssl openssl) \ - $(use_with zlib) \ - $(usex hppa --without-stack-protector '') \ - --cc=gcc \ - --cpu=${CHOSTARCH} \ - --disable-modules=$(IFS=","; echo "${disable_modules[*]}" ) \ - --docdir=share/doc \ - --libdir=$(get_libdir) \ - --os=${myos} \ - --distribution-info="Gentoo ${PVR}" \ - --prefix="${EPREFIX}/usr" \ -
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: a6e120bd426b5f8f4d7f015a2a8515c86c3369c0 Author: Sam James gentoo org> AuthorDate: Thu Oct 8 23:11:12 2020 + Commit: Sam James gentoo org> CommitDate: Thu Oct 8 23:11:55 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6e120bd dev-libs/botan: bump to 2.16.0 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest| 1 + dev-libs/botan/botan-2.16.0.ebuild | 130 + 2 files changed, 131 insertions(+) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index a5442d2b4ff..e546b0b57c9 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,2 +1,3 @@ DIST Botan-2.14.0.tar.xz 5958948 BLAKE2B 90e73945b22f6e4e8d6163bfb45eca153eb1495448f8bf35514b780fd12bb1b81c822314e1f598c7625277f1e9cf7a6265387cca80ffd4c2664c681b9d4807fd SHA512 ee15928ecdb0127720b444b0207d46fd68fe3007125b0deb8bdd32f96e9befb684ad54009354da4f6a3c48b9698693b46223710a47fd644da8760dda53d40d34 DIST Botan-2.15.0.tar.xz 5920688 BLAKE2B 1bbb9cadb0f754194851bddf8b14dbcd291285c5f3fbaad35920277a11c3d9e1b1e5cc484c0d37b1c7999b3084a1c90da56631df0b07e788372b95aff5197031 SHA512 0965a0a6141df44e38bd7da038b89dd2b3808ed9a4ebaafbf089abf60718e62cba78d7b64eaf272b5df8c5a489222e4cad4fb511cde38e76cdaed87f35896c18 +DIST Botan-2.16.0.tar.xz 5938644 BLAKE2B a4b7bb48aee0dbf0f8b81a407b6a39707c3e6040a2bb93f9c34208ab87ea64879b2e56af66f090a73d66b64156e333c89e490d206e666e665a5eb4fbcd98d13e SHA512 12550425c695119d7f448a47b7956565de373e1bc86b8fdfa0a2a5b9fed1ef93a36101b6480e7a2f78e9262c988904c353fa021b681543691d09bf5b00495bd4 diff --git a/dev-libs/botan/botan-2.16.0.ebuild b/dev-libs/botan/botan-2.16.0.ebuild new file mode 100644 index 000..17cef74104b --- /dev/null +++ b/dev-libs/botan/botan-2.16.0.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +inherit python-r1 toolchain-funcs + +MY_P="Botan-${PV}" + +DESCRIPTION="C++ crypto library" +HOMEPAGE="https://botan.randombit.net/; +SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz; +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +SLOT="2/$(ver_cut 1-2)" # soname version +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" +IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +BDEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep ' + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + ') +" + +# NOTE: Boost is needed at runtime too for the CLI tool. +DEPEND=" + boost? ( >=dev-libs/boost-1.48:= ) + bzip2? ( >=app-arch/bzip2-1.0.5:= ) + lzma? ( app-arch/xz-utils:= ) + python? ( ${PYTHON_DEPS} ) + ssl? ( + !libressl? ( dev-libs/openssl:0=[bindist=] ) + libressl? ( dev-libs/libressl:0= ) + ) + sqlite? ( dev-db/sqlite:3= ) + zlib? ( >=sys-libs/zlib-1.2.3:= ) +" + +RDEPEND="${DEPEND}" + +# NOTE: Considering patching Botan? +# Please see upstream's guidance: +# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches + +python_check_deps() { + if use doc ; then + has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1 + fi +} + +src_configure() { + local disable_modules=() + use boost || disable_modules+=( "boost" ) + use bindist && disable_modules+=( "ecdsa" ) + elog "Disabling module(s): ${disable_modules[@]}" + + # Enable v9 instructions for sparc64 + local chostarch="${CHOST%%-*}" + if [[ "${PROFILE_ARCH}" = "sparc64" ]] ; then + chostarch="sparc32-v9" + fi + + local myos= + case ${CHOST} in + *-darwin*) myos=darwin ;; + *) myos=linux ;; + esac + + case ${CHOST} in + hppa*) chostarch=parisc ;; + esac + + local pythonvers=() + if use python ; then + _append() { + pythonvers+=( ${EPYTHON/python/} ) + } + + python_foreach_impl _append + fi + + # Don't install Python bindings automatically + # (do it manually later in the right place) + # https://bugs.gentoo.org/723096 + local myargs=( + $(use_enable static-libs static-library) + $(use_with boost) + $(use_with bzip2) + $(use_with doc documentation) + $(use_with doc sphinx) + $(use_with lzma) + $(use_with sqlite sqlite3) + $(use_with ssl openssl) + $(use_with zlib) + $(usex hppa --without-stack-protector '') + --cpu=${chostarch} + --disable-modules=$( IFS=","; echo "${disable_modules[*]}" ) +
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: ea0818b4f06c698f54cbc734722266e9f45d9314 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Sep 18 07:52:43 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Sep 18 07:54:35 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea0818b4 dev-libs/botan: ppc stable wrt bug #737166 Package-Manager: Portage-2.3.103, Repoman-2.3.23 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/botan/botan-2.15.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.15.0.ebuild b/dev-libs/botan/botan-2.15.0.ebuild index 5f9c7a702b9..b0108d71ae2 100644 --- a/dev-libs/botan/botan-2.15.0.ebuild +++ b/dev-libs/botan/botan-2.15.0.ebuild @@ -16,7 +16,7 @@ LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm hppa ~ia64 ~ppc ppc64 ~sparc x86 ~ppc-macos" +KEYWORDS="amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~ppc-macos" IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/files/, dev-libs/botan/
commit: e3002ff94b023e3c3028934d18bf95c4f055d80f Author: Sam James gentoo org> AuthorDate: Thu Sep 10 15:14:07 2020 + Commit: Sam James gentoo org> CommitDate: Thu Sep 10 15:14:16 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3002ff9 dev-libs/botan: security cleanup Bug: https://bugs.gentoo.org/718596 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James gentoo.org> dev-libs/botan/Manifest | 1 - dev-libs/botan/botan-2.9.0.ebuild| 103 --- dev-libs/botan/files/botan-2.9.0-build.patch | 63 3 files changed, 167 deletions(-) diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index ae7a4661551..a5442d2b4ff 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,3 +1,2 @@ DIST Botan-2.14.0.tar.xz 5958948 BLAKE2B 90e73945b22f6e4e8d6163bfb45eca153eb1495448f8bf35514b780fd12bb1b81c822314e1f598c7625277f1e9cf7a6265387cca80ffd4c2664c681b9d4807fd SHA512 ee15928ecdb0127720b444b0207d46fd68fe3007125b0deb8bdd32f96e9befb684ad54009354da4f6a3c48b9698693b46223710a47fd644da8760dda53d40d34 DIST Botan-2.15.0.tar.xz 5920688 BLAKE2B 1bbb9cadb0f754194851bddf8b14dbcd291285c5f3fbaad35920277a11c3d9e1b1e5cc484c0d37b1c7999b3084a1c90da56631df0b07e788372b95aff5197031 SHA512 0965a0a6141df44e38bd7da038b89dd2b3808ed9a4ebaafbf089abf60718e62cba78d7b64eaf272b5df8c5a489222e4cad4fb511cde38e76cdaed87f35896c18 -DIST Botan-2.9.0.tgz 7216373 BLAKE2B 5ad2e15db871ccc3a32b29b7f54a02d69f251f0aca2ce656b557dbbb3814a793053a54905371b3414ad72952a64bece43e2383da91f205f68b0fe31be2f9439c SHA512 b88f3894a4a5b7b2fbff9be6eb0b774bf679a014bd2364811b7e63d4f323e22ca9ef916491afbc2cdf9db68727c1449fbeb6fd417e591560add0955517db3f65 diff --git a/dev-libs/botan/botan-2.9.0.ebuild b/dev-libs/botan/botan-2.9.0.ebuild deleted file mode 100644 index ec3daddb330..000 --- a/dev-libs/botan/botan-2.9.0.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_6 ) - -inherit multilib python-r1 toolchain-funcs - -MY_PN="Botan" -MY_P="${MY_PN}-${PV}" -DESCRIPTION="A C++ crypto library" -HOMEPAGE="https://botan.randombit.net/; -SRC_URI="https://botan.randombit.net/releases/${MY_P}.tgz; - -KEYWORDS="amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~ppc-macos" -SLOT="2/$(ver_cut 1-2)" # soname version -LICENSE="BSD" -IUSE="bindist doc boost python bzip2 libressl lzma sqlite ssl static-libs zlib" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -S="${WORKDIR}/${MY_P}" - -DEPEND="python? ( ${PYTHON_DEPS} )" -RDEPEND="${DEPEND} - bzip2? ( >=app-arch/bzip2-1.0.5:= ) - zlib? ( >=sys-libs/zlib-1.2.3:= ) - boost? ( >=dev-libs/boost-1.48:= ) - lzma? ( app-arch/xz-utils:= ) - sqlite? ( dev-db/sqlite:3= ) - ssl? ( - !libressl? ( dev-libs/openssl:0=[bindist=] ) - libressl? ( dev-libs/libressl:0= ) - )" -BDEPEND="dev-lang/python:* - doc? ( dev-python/sphinx )" - -PATCHES=( - "${FILESDIR}/${P}-build.patch" -) - -src_configure() { - local disable_modules=() - use boost || disable_modules+=( "boost" ) - use bindist && disable_modules+=( "ecdsa" ) - elog "Disabling modules: ${disable_modules[@]}" - - # Enable v9 instructions for sparc64 - if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then - CHOSTARCH="sparc32-v9" - else - CHOSTARCH="${CHOST%%-*}" - fi - - local myos= - case ${CHOST} in - *-darwin*) myos=darwin ;; - *) myos=linux ;; - esac - - case ${CHOST} in - hppa*) CHOSTARCH=parisc ;; - esac - - local pythonvers=() - if use python; then - append() { - pythonvers+=( ${EPYTHON/python/} ) - } - python_foreach_impl append - fi - - CXX="$(tc-getCXX)" AR="$(tc-getAR)" ./configure.py \ - $(use_enable static-libs static-library) \ - $(use_with boost) \ - $(use_with bzip2) \ - $(use_with doc documentation) \ - $(use_with doc sphinx) \ - $(use_with lzma) \ - $(use_with sqlite sqlite3) \ - $(use_with ssl openssl) \ - $(use_with zlib) \ - $(usex hppa --without-stack-protector '') \ - --cc=gcc \ - --cpu=${CHOSTARCH} \ - --disable-modules=$(IFS=","; echo "${disable_modules[*]}" ) \ - --docdir=share/doc \ - --libdir=$(get_libdir) \ - --os=${myos} \ - --prefix="${EPREFIX}/usr" \ - --with-endian="$(tc-endian)" \ - --with-python-version=$(IFS=","; echo "${pythonvers[*]}" ) \ -
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 1abc5a546b78c65f7c1aa5396352cbeb036783e5 Author: Sam James gentoo org> AuthorDate: Sun Sep 6 20:24:51 2020 + Commit: Sam James gentoo org> CommitDate: Sun Sep 6 20:25:00 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1abc5a54 dev-libs/botan: ppc64 stable (bug #737166) Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.15.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.15.0.ebuild b/dev-libs/botan/botan-2.15.0.ebuild index e0c7d9955b5..5f9c7a702b9 100644 --- a/dev-libs/botan/botan-2.15.0.ebuild +++ b/dev-libs/botan/botan-2.15.0.ebuild @@ -16,7 +16,7 @@ LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~ppc-macos" +KEYWORDS="amd64 ~arm hppa ~ia64 ~ppc ppc64 ~sparc x86 ~ppc-macos" IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: f17aefba702bcbffb0a896542e1bd43a753003f7 Author: Sam James gentoo org> AuthorDate: Wed Aug 19 14:27:04 2020 + Commit: Sam James gentoo org> CommitDate: Wed Aug 19 14:33:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f17aefba dev-libs/botan: add upstream info Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Sam James gentoo.org> dev-libs/botan/metadata.xml | 4 1 file changed, 4 insertions(+) diff --git a/dev-libs/botan/metadata.xml b/dev-libs/botan/metadata.xml index 3cdf3d03504..9ff2d26660b 100644 --- a/dev-libs/botan/metadata.xml +++ b/dev-libs/botan/metadata.xml @@ -11,4 +11,8 @@ botan soname version + + cpe:/a:botan_project:botan + randombit/botan +
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 520c1efa100fe9d7bd110fd8242051ee28bf2c12 Author: Rolf Eike Beer sf-mail de> AuthorDate: Wed Aug 19 07:28:33 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Aug 19 08:31:20 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=520c1efa dev-libs/botan: stable 2.15.0 for hppa, bug #737166 Package-Manager: Portage-2.3.103, Repoman-2.3.23 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-libs/botan/botan-2.15.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.15.0.ebuild b/dev-libs/botan/botan-2.15.0.ebuild index 224761fc7f0..e0c7d9955b5 100644 --- a/dev-libs/botan/botan-2.15.0.ebuild +++ b/dev-libs/botan/botan-2.15.0.ebuild @@ -16,7 +16,7 @@ LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~ppc-macos" +KEYWORDS="amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~ppc-macos" IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: 928a7f53632866d276520c9bdc3381a9b2ff4737 Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Aug 16 14:49:42 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Aug 16 14:49:42 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=928a7f53 dev-libs/botan: x86 stable wrt bug #737166 Package-Manager: Portage-2.3.103, Repoman-2.3.23 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/botan/botan-2.15.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.15.0.ebuild b/dev-libs/botan/botan-2.15.0.ebuild index 88a5f82ba58..224761fc7f0 100644 --- a/dev-libs/botan/botan-2.15.0.ebuild +++ b/dev-libs/botan/botan-2.15.0.ebuild @@ -16,7 +16,7 @@ LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~ppc-macos" IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
commit: d6fdb062d91b1476e981335b786fe91d8da8cc4b Author: Sam James gentoo org> AuthorDate: Sat Aug 15 04:36:52 2020 + Commit: Sam James gentoo org> CommitDate: Sat Aug 15 04:36:52 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6fdb062 dev-libs/botan: Stabilize 2.15.0 amd64, #737166 Signed-off-by: Sam James gentoo.org> dev-libs/botan/botan-2.15.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/botan/botan-2.15.0.ebuild b/dev-libs/botan/botan-2.15.0.ebuild index df5fd9c8af9..88a5f82ba58 100644 --- a/dev-libs/botan/botan-2.15.0.ebuild +++ b/dev-libs/botan/botan-2.15.0.ebuild @@ -16,7 +16,7 @@ LICENSE="BSD-2" SLOT="2/$(ver_cut 1-2)" # soname version -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"