From 342922f04a58a969ff23806acc427c7ff79119ce Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 24 Oct 2023 20:44:11 +0100 Subject: gentoo auto-resync : 24:10:2023 - 20:44:11 --- dev-libs/Manifest.gz | Bin 97723 -> 97879 bytes dev-libs/libei/Manifest | 2 - dev-libs/libei/libei-1.0.0.ebuild | 98 --------- dev-libs/libutf8proc/Manifest | 8 +- dev-libs/libutf8proc/libutf8proc-2.7.0.ebuild | 57 ----- dev-libs/libutf8proc/libutf8proc-2.8.0.ebuild | 2 +- dev-libs/libutf8proc/libutf8proc-2.9.0.ebuild | 57 +++++ dev-libs/openssl/Manifest | 6 + dev-libs/openssl/openssl-3.0.12.ebuild | 287 +++++++++++++++++++++++++ dev-libs/openssl/openssl-3.1.4.ebuild | 290 ++++++++++++++++++++++++++ dev-libs/serd/Manifest | 2 + dev-libs/serd/serd-0.32.0.ebuild | 47 +++++ dev-libs/sord/Manifest | 4 +- dev-libs/sord/sord-0.16.16.ebuild | 61 ++++++ dev-libs/sord/sord-9999.ebuild | 12 +- dev-libs/zix/Manifest | 3 + dev-libs/zix/metadata.xml | 11 + dev-libs/zix/zix-0.4.2.ebuild | 47 +++++ 18 files changed, 828 insertions(+), 166 deletions(-) delete mode 100644 dev-libs/libei/libei-1.0.0.ebuild delete mode 100644 dev-libs/libutf8proc/libutf8proc-2.7.0.ebuild create mode 100644 dev-libs/libutf8proc/libutf8proc-2.9.0.ebuild create mode 100644 dev-libs/openssl/openssl-3.0.12.ebuild create mode 100644 dev-libs/openssl/openssl-3.1.4.ebuild create mode 100644 dev-libs/serd/serd-0.32.0.ebuild create mode 100644 dev-libs/sord/sord-0.16.16.ebuild create mode 100644 dev-libs/zix/Manifest create mode 100644 dev-libs/zix/metadata.xml create mode 100644 dev-libs/zix/zix-0.4.2.ebuild (limited to 'dev-libs') diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz index ca0484f3fa2b..ab048bf09473 100644 Binary files a/dev-libs/Manifest.gz and b/dev-libs/Manifest.gz differ diff --git a/dev-libs/libei/Manifest b/dev-libs/libei/Manifest index 5b73d784d1c9..223668b8dcdc 100644 --- a/dev-libs/libei/Manifest +++ b/dev-libs/libei/Manifest @@ -1,6 +1,4 @@ -DIST libei-1.0.0.tar.bz2 166254 BLAKE2B 72f9e0426b87e81061e8b01356cfc67897f46219be74c6b7309d2f7b26ea4f6b716ab33a2f9ec16daa0bc555359535b589219eddceced9fa636a2964d32c3d7d SHA512 145b514782fb500bed09437200d0fb989aa0a2cd81d1752938f9b4819ae8130510b2a4a65231bacb8565fcddaa1ffd1925c84cd3a5d34eaa4918ec05105465f6 DIST libei-1.1.0.tar.bz2 169197 BLAKE2B 3f33b21a9876da533a6f52ecc2478065f4f3083f72880cf09f1bbeadcdcaed843e681e5d9fc8692ff667fe7262195caa272712b755997ca74a1b90f24492c08d SHA512 93525215cf896213e5f28581a1701cfccaf1ea07ae85744c01b6152ff29c2c9d6fd3afeeb8de5850cde915b540d3452bfe32c8c56bf780dd401da9947e28044b DIST munit-fbbdf1467eb0d04a6ee465def2e529e4c87f2118.tar.gz 27724 BLAKE2B 9670c9b7a0b5d9ee6ec8df2dea9e241b043964ecf1fa3f6060ad1d16c40ab6afe47f53c6d4a791003e101a0b363263b858e6e4e445f868292753dd1ee7f7e3ce SHA512 26b5599fd12be627a692823ebf496fa446be7ed04a1233fb42e0667c05109b0f804f76646e289ac660fc815baf45f77ec8caf0ff2ea7fb0b4f87f0038a2b971c -EBUILD libei-1.0.0.ebuild 2350 BLAKE2B e5cc57a182b84e7849487a7eecbe0345ce5347624d1b5a8cfbbd3597eb7dc822f428f52e87a00a239c28ee91389ce2b4ac55c918b8cb5eaf6d2e0d723b9e3f9b SHA512 81fbf27b08eb289bc9241f04cf9514c380b7ee3ff233cac5262364fa2fdd6fda233de61c03e6e9631c164b19948804fcb5338ac1832fb2b900ca783fbb0d29d8 EBUILD libei-1.1.0.ebuild 2361 BLAKE2B 305bbc15ff143d02332c641fc4ffd3847a9a18c8b8e36ce0f73d1379b49b17cbe27fbdad370b5b1efde3a7ef9938d0b408c5a39862f505087c0b50a8cf36c197 SHA512 46eb688712cecdef8e5635d5b0f6dc663bbe3eafa63d34ebf1448b0b2f7039f16313f4bbf67a89f77e9c2a2e483dbc67efa7fd51088ff80c0a8936dffb8f2fd2 MISC metadata.xml 336 BLAKE2B 2fd4200876fa044f3563b0eea2096214af92fed1a8db009cf4885a7cf32f303b0a6911dba18cc8fac942348dbe2668ea2d50fabedd235e33be0793076ab0e5be SHA512 a26feb7d41edc6f728bfbaf805cfefa6bba4c5161e70785e7de5f389492f405f7cd6f2c55cce1d2c6bdf9af3aba17e1e51254d9e4421c4fab2e61f2c563c8f3f diff --git a/dev-libs/libei/libei-1.0.0.ebuild b/dev-libs/libei/libei-1.0.0.ebuild deleted file mode 100644 index cce058ed6b74..000000000000 --- a/dev-libs/libei/libei-1.0.0.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -inherit meson python-any-r1 - -DESCRIPTION="Library for Emulated Input, primarily aimed at the Wayland stack" -HOMEPAGE="https://gitlab.freedesktop.org/libinput/libei" -SRC_URI="https://gitlab.freedesktop.org/libinput/${PN}/-/archive/${PV}/${P}.tar.bz2" -MUNIT_COMMIT="fbbdf1467eb0d04a6ee465def2e529e4c87f2118" -SRC_URI+=" https://github.com/nemequ/munit/archive/${MUNIT_COMMIT}.tar.gz -> munit-${MUNIT_COMMIT}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv" -IUSE="elogind systemd test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-libs/libevdev-1.9.902 - || ( - systemd? ( >=sys-apps/systemd-237 ) - elogind? ( >=sys-auth/elogind-237 ) - sys-libs/basu - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - $(python_gen_any_dep ' - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - ') - test? ( - $(python_gen_any_dep ' - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/python-dbusmock[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/structlog[${PYTHON_USEDEP}] - ') - ) -" - -python_check_deps() { - if use test; then - python_has_version \ - "dev-python/pytest[${PYTHON_USEDEP}]" \ - "dev-python/python-dbusmock[${PYTHON_USEDEP}]" \ - "dev-python/pyyaml[${PYTHON_USEDEP}]" \ - "dev-python/structlog[${PYTHON_USEDEP}]" \ - || return 1 - fi - python_has_version \ - "dev-python/attrs[${PYTHON_USEDEP}]" \ - "dev-python/jinja[${PYTHON_USEDEP}]" \ - || return 1 -} - -src_unpack() { - if [[ -n ${A} ]]; then - unpack ${A} - mv "${WORKDIR}"/munit-${MUNIT_COMMIT} "${WORKDIR}"/${P}/subprojects/munit || die - rm "${WORKDIR}"/${P}/subprojects/munit.wrap || die - fi -} - -src_prepare() { - default - - sed -i -e 's:^valgrind = .*:valgrind = disabler():g' test/meson.build || die -} - -src_configure() { - local emesonargs=( - -Ddocumentation="" - -Dliboeffis=enabled - $(meson_feature test tests) - ) - if use systemd; then - emesonargs+=(-Dsd-bus-provider=libsystemd) - elif use elogind; then - emesonargs+=(-Dsd-bus-provider=libelogind) - else - emesonargs+=(-Dsd-bus-provider=basu) - fi - meson_src_configure -} - -src_install() { - meson_src_install - - # munit subproject is installed but not wanted - if use test; then - rm "${ED}"/usr/lib*/libmunit.so || die - fi -} diff --git a/dev-libs/libutf8proc/Manifest b/dev-libs/libutf8proc/Manifest index f0c55f99723c..4f497fb471ef 100644 --- a/dev-libs/libutf8proc/Manifest +++ b/dev-libs/libutf8proc/Manifest @@ -1,7 +1,7 @@ -DIST libutf8proc-2.7.0.tar.gz 187906 BLAKE2B b2b3dc86ffa38f1d75293455cca22d3c0a0c51c529f154bbeaf40bb8b91bcedbf3955cfa459323db8b00566ce42857391875dac6fd677e36f700e8614767ac25 SHA512 29f7883de13302d609e8755872ed43174e70076e9681b4ac3f9b03e50295c45d9972c193bc81f94ad7e11e2d33a46cad5a30a80873173e6e1ae242101ebb3bed DIST libutf8proc-2.8.0.tar.gz 190310 BLAKE2B 61b5af770ad65f959136eb9f5c03862f8d6edab32dc66fa663f6f76009c7481200fcba632d41efdf116f0f56f62fc237cd65e1038ab058fc127358d31ed3ee6d SHA512 4b9853fc95db38bee1d7435bef219907e25b249e0c2ec26f7096b8506ab2a139a8d4b71f7133b7550bff59d8f997fe01c2957d362cad18d890ad82bcf158aa06 -DIST libutf8proc-EastAsianWidth-14.0.0.xz 70420 BLAKE2B c2fa8ec34ae3cccb532d8ba82dc7ef40d82da2ed2f4bf187ef0df28cecd2e91320e25287e7bc6e7f22ffa6730af7b910b73d69172664235f3236c16a5ffe990f SHA512 5bd11dc8c30d12692d3cbca932c1bda5e19d9b5e99fc9f1a3ff8864e4f0e577769c4e1f91338cad10a468c38b904cf16b99ba44f44b80695cac23fe436f1e24a +DIST libutf8proc-2.9.0.tar.gz 190190 BLAKE2B 9f259bb4eea31c95f586f8f7711cc69959d5c1aaa15b940327d6e2cc909e3a7a46dd864fa1c1fe606cd7176f7fbcfaafbb54dcbf3f2ea6d285346d96f628b72b SHA512 fef52e9fabd77efdd42c31a96a80c792cb912ad3158354cec6b260c81062444e35dd0c9c8ff311fe6a540f0022dc2f26f007afd2578e86a31a0ac74ecfc3456f DIST libutf8proc-EastAsianWidth-15.0.0.xz 71296 BLAKE2B 701451cd6576d62ad4bc9c2d140ba78743b3fa5b062b40c2aaf47c02f5c3dc520a89fd51de4b46718c319c0ff2520e09cb39719cf73c044a14aa882b704cba12 SHA512 8b7a3b6cf56a98147ff5f64066a17c71247ae829bbdc10f758991aadf13b38a242a7f72ce13fdd4816117a0db98c084f0f9f32228817c9c2f31599955bb1e8fc -EBUILD libutf8proc-2.7.0.ebuild 1438 BLAKE2B a58bb8fcdf2d4f206e125f8af894eca84090b19049c25c7a38b7a7264beecea94e858cfd9c4c007576873272b7ffb5989a33422f5c2c7891d8f71badf8ab8838 SHA512 f1adc3fcd16618f0afc46f7f2a1fc279a1a0949f98dd568215d5f26a3c43053d6384285e252d27466c290345aef06c11ac2c670dab01af5ad5935c4b631dd3ee -EBUILD libutf8proc-2.8.0.ebuild 1445 BLAKE2B af3815b2111a2a8e0f2736652e0831057afa2cd82e204f186c68b7237714889050505b9c832b618bd6b180f02c29d6348faade6f759e6ecd904763c07d7cc77c SHA512 631ebbf3108770022646084ce5d698e5cd9c78e6f4d53ba6c822faa0954e3cfa494c1cfb0c58cb2eb71345df14a74ddd04015a93d1117c34c2efd99570154584 +DIST libutf8proc-EastAsianWidth-15.1.0.xz 71448 BLAKE2B 4f4bc996c4fc316b7f48b59c38e2b515ecdc7c1cf0a06db093d3ae8255cb03fd380d3f28f629140b3dbbb202bdc522f3593388ff917c76388ea5f2143527ab81 SHA512 d269cd963a2e3326881a127b368b17638775ba581f36cac5de29f99a4971cc4bd21801bacb0a7958bab75fe5b075e69dd38a3ebedab8d02ed2c9feeff28e3b58 +EBUILD libutf8proc-2.8.0.ebuild 1438 BLAKE2B 24fd974c331628eb852d01b01dc691dcdd10230597476c63800183649d0edbba590525909b7438351422b53f77a63a5465c36cfc4bbf3bfe0bc80a5d8373ceb5 SHA512 ffa39e651ec595811f90950ec31ec8b335baa4a6b0bfa9c72d2a6de496fe713aaec7cb4273a5844a1cdd6121452c3403f5bc9d0e85fc5ac3ec78164b4704f774 +EBUILD libutf8proc-2.9.0.ebuild 1453 BLAKE2B c4487eb5cfaa1a6effcf7ae26a33140ac2f093431aa31870988a8690f72bc875f6e7986d83f801214ffb4433b1a6e86371249e39e1dbf9f168317981400a07d8 SHA512 323f0026518a0e92f4a857a7140d04e659fea0823a146ba94613b7e5bd4df0f40783c6aee85762d0a237045a4e61b47faa80af97acacb2777f2783ba482bbe1e MISC metadata.xml 335 BLAKE2B ff350963fd5107b123b5d00bbd247a04b1339fff79e264540fe73b2365055b33f0da742de01d3b7b8dce0811dbcd2cbc329a5985c6c5953587cedfc43e9bb3ac SHA512 ce032d933cbfe1254988d065206fc4940840484a2b6b044d7a0e8130d5ea5df61cab7f3a73b47c56d2f82bc975e7adfad43e0f248f4939589aa9975083b72eb8 diff --git a/dev-libs/libutf8proc/libutf8proc-2.7.0.ebuild b/dev-libs/libutf8proc/libutf8proc-2.7.0.ebuild deleted file mode 100644 index 00d56d4c5a44..000000000000 --- a/dev-libs/libutf8proc/libutf8proc-2.7.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" -USE_RUBY="ruby27 ruby30 ruby31" - -inherit ruby-single toolchain-funcs - -DESCRIPTION="A clean C Library for processing UTF-8 Unicode data" -HOMEPAGE="https://github.com/JuliaStrings/utf8proc" -SRC_URI="https://github.com/JuliaStrings/${PN#lib}/archive/v${PV}.tar.gz -> ${P}.tar.gz - cjk? ( https://dev.gentoo.org/~hattya/distfiles/${PN}-EastAsianWidth-14.0.0.xz )" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="cjk static-libs test" -RESTRICT="!test? ( test )" - -BDEPEND="test? ( - =app-i18n/unicode-data-14.0* - ${RUBY_DEPS} - )" -S="${WORKDIR}/${P#lib}" - -QA_PKGCONFIG_VERSION="$(ver_cut 1).5.0" - -src_prepare() { - if use cjk; then - einfo "Modifying East Asian Ambiguous (A) as wide ..." - cp "${WORKDIR}"/${PN}-EastAsianWidth-14.0.0 ${PN#lib}_data.c || die - fi - - sed -i "/^libdir/s:/lib:/$(get_libdir):" Makefile - default -} - -src_compile() { - emake \ - AR="$(tc-getAR)" \ - CC="$(tc-getCC)" \ - prefix="${EPREFIX}/usr" -} - -src_test() { - cp "${BROOT}"/usr/share/unicode-data/{DerivedCoreProperties,{Normalization,auxiliary/GraphemeBreak}Test}.txt data || die - - emake CC="$(tc-getCC)" check -} - -src_install() { - emake \ - DESTDIR="${D}" \ - prefix="${EPREFIX}/usr" \ - install - use static-libs || find "${ED}" -name '*.a' -delete || die -} diff --git a/dev-libs/libutf8proc/libutf8proc-2.8.0.ebuild b/dev-libs/libutf8proc/libutf8proc-2.8.0.ebuild index 01d542ec65f7..cc65212252a6 100644 --- a/dev-libs/libutf8proc/libutf8proc-2.8.0.ebuild +++ b/dev-libs/libutf8proc/libutf8proc-2.8.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI="8" -USE_RUBY="ruby27 ruby30 ruby31" +USE_RUBY="ruby31 ruby32" inherit ruby-single toolchain-funcs diff --git a/dev-libs/libutf8proc/libutf8proc-2.9.0.ebuild b/dev-libs/libutf8proc/libutf8proc-2.9.0.ebuild new file mode 100644 index 000000000000..8ef86f7679c1 --- /dev/null +++ b/dev-libs/libutf8proc/libutf8proc-2.9.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +USE_RUBY="ruby31 ruby32" + +inherit ruby-single toolchain-funcs + +DESCRIPTION="A clean C Library for processing UTF-8 Unicode data" +HOMEPAGE="https://github.com/JuliaStrings/utf8proc" +SRC_URI="https://github.com/JuliaStrings/${PN#lib}/releases/download/v${PV}/${P#lib}.tar.gz -> ${P}.tar.gz + cjk? ( https://dev.gentoo.org/~hattya/distfiles/${PN}-EastAsianWidth-15.1.0.xz )" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="cjk static-libs test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( + =app-i18n/unicode-data-15.1* + ${RUBY_DEPS} + )" +S="${WORKDIR}/${P#lib}" + +QA_PKGCONFIG_VERSION="3.0.0" + +src_prepare() { + if use cjk; then + einfo "Modifying East Asian Ambiguous (A) as wide ..." + cp "${WORKDIR}"/${PN}-EastAsianWidth-15.1.0 ${PN#lib}_data.c || die + fi + + sed -i "/^libdir/s:/lib:/$(get_libdir):" Makefile + default +} + +src_compile() { + emake \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + prefix="${EPREFIX}/usr" +} + +src_test() { + cp "${BROOT}"/usr/share/unicode-data/{DerivedCoreProperties,{Normalization,auxiliary/GraphemeBreak}Test}.txt data || die + + emake CC="$(tc-getCC)" check +} + +src_install() { + emake \ + DESTDIR="${D}" \ + prefix="${EPREFIX}/usr" \ + install + use static-libs || find "${ED}" -name '*.a' -delete || die +} diff --git a/dev-libs/openssl/Manifest b/dev-libs/openssl/Manifest index 96c486bf0901..4c1c8e8df6cd 100644 --- a/dev-libs/openssl/Manifest +++ b/dev-libs/openssl/Manifest @@ -15,19 +15,25 @@ DIST openssl-3.0.10.tar.gz 15194904 BLAKE2B 8bb3bd02b8dc64441ebfea98c4778d3ee079 DIST openssl-3.0.10.tar.gz.asc 833 BLAKE2B e1a8fa7c95d5dffdce9fa1824cecc5c81a03228d21c983f23ed4c6c459f085e7406f53337cad41f82506b2a8614497b4eb4cbe261ff4db3c002f1470b90100ba SHA512 3d91e763dcb0bb37cf6586b75c5310c824b5ca75e59a206d759081a67bc016add501648a365aa479dc621f33b86e7aac26d1deb528b43a37187d91eb194b2bdc DIST openssl-3.0.11.tar.gz 15198318 BLAKE2B e522573aa72c8f6ffef82f20de36178fc6f97a8fee8443df4bf1bd9a6448b315742e9cb698717c1b7d9a91d0768d7ce08d55956ddc415b9dc6cb33fe3a98131b SHA512 393e7262cce0e7980d1cbba861291c8791f6c2a290e9867895c4310ab6e16b449067d8b780ae6081dc8d42529a4f32d545c66e8b1e69d301281d92f1882c85b7 DIST openssl-3.0.11.tar.gz.asc 833 BLAKE2B e6e2636d5bb5fffb86833e64437fb440bbfd1c4e2bfbfdd72280cf1ce388b70d30eeea56ef6f3bb673e7dcd12020d993ef95f96bf099ded38e8cde4b549b38fa SHA512 3c1fe94fc46861870d99d1edcfe3c151272f7864dde36b66e87a0c79d2289e9ed5cfc48bfa65ba0e88eadcb3cc8307d702e01155f48af8ffc2d4f8fbbf3aa03c +DIST openssl-3.0.12.tar.gz 15204575 BLAKE2B 1f00e33a5ed64a51cf28f0dbe7d53a9197c1edae7538dea9573394ee4dc03a885483d74b0b47a78b9067e87b4f420b9d7103f351bfec91710c168051cb7148df SHA512 63e003653dd1126c66e278969a626cdf0801b97da8b7076824d661e4a77e1572c3171cf7f006c972b95bcfa284889ee0362d8a46a851f7d8e743e2a1fe593b24 +DIST openssl-3.0.12.tar.gz.asc 833 BLAKE2B 5c7914e0449a1f2fad433544fa637263b237c2637b86960f904a7840ef6bd627728dfa45373e03a6ce7a0a4570d03e1dcd0188059bd5dbcc83d49d10be64dd39 SHA512 072d1572e6cc5240fed69c01b1f7f74958ceba33cec3b0a7f0db5929dc884381320fb737ec6b38f95ef81c855e2d382d7ecd19431a328b08efad70288ec4a964 DIST openssl-3.0.9.tar.gz 15181285 BLAKE2B cc1df41fa12ba4443e15e94f6ebdc5e103b9dab5eab2e1c8f74e6a74fa2c38207817921b65d7293cb241c190a910191c7163600bb75243adde0e2f9ec31cc885 SHA512 86c99146b37236419b110db77dd3ac3992e6bed78c258f0cc3434ca233460b4e17c0ac81d7058547fe9cb72a9fd80ee56d4b4916bb731dbe2bbcf1c3d46bf31a DIST openssl-3.0.9.tar.gz.asc 833 BLAKE2B 9943ac65f83f48465cae83b37a1d004f6be4622e53c3025166d42954abe9215f1a6c2af58d4aa2b45fa51182fee5019e740969f694655b6c592bb278c68aacef SHA512 9949de6b57d5aa21da1d4b68a29eb37e302403c983bd7d2d8769b320aac4268a9f9091c5fb182862a4f89a9099660939fe609df87c66991b75f7695faf357caf DIST openssl-3.1.2.tar.gz 15560427 BLAKE2B 7b4ba35df7d5680c5f13a1986e4c6abaf4592690647dcfa84d7f14c196326355e8ad0ea62f81f8269f0605f0d29f18e9def9c2158fcbe00baefabf819f82374d SHA512 9f41113e5537aee4c3f92711ff85fa12da080363fef0c8b8b34e5b3fc608473c6e4cadd9d8c78f2fcbe97462e51f26a0bb6781656a69ad40226e68af2cf2c762 DIST openssl-3.1.2.tar.gz.asc 833 BLAKE2B aba3207c5eafaafc34bea078a9684612f7d9b4c5a888a27781cfe2421d27de6c2af3539abfc6efdac81ab0b923b7044a9b764902aa76edfd44ce5979f871a8b9 SHA512 fe143d2d90de1d3d30590ef9801185f8d2837668474ef3879d409bd4eb9417a127dee6c2a4e45076aa3ae3e443bfedd24de434ba4cf3ea0589c113990345a9ce DIST openssl-3.1.3.tar.gz 15561739 BLAKE2B a279a5c80191b95ca735aed20beb56ab899ee302258ce3529c377820739bf55075537cd900b06b3ca07b85efdce95cb081bcad1dfd4d33f81695c7ef0cefdf03 SHA512 2388eaa8e99acf1e8af4691a645b9b9af456900c74959e82d4cb02808301e11dcfecc86954a922262b16fa4b664b459894d133ab7d35ec82e1633a33194b7b20 DIST openssl-3.1.3.tar.gz.asc 833 BLAKE2B 27427a4523c9fa9f9ffc0e00d6492e4bab4cd0d24ebf903fee05197c5089c4d201a76ef0073e856bedd86abf54ae01491e78d259eedf21a4797eee6c9cbd8fcf SHA512 0b8f12dd8623160f7358c24a8f36edb5d8c3460d1f7d711e1367051b172d9ac90c2c7c4980da1aa9f9c89d72384a034fe888b109650156fa197c363a14337127 +DIST openssl-3.1.4.tar.gz 15569450 BLAKE2B bd6a3ef458f86dd5173e87b10432bd81c1570e1848da3c4d7a06eb021d2f67e4075421885c402f6ea792e383e756d78757c17ef060094e840ed5df6faf3d7f9e SHA512 a69df4a018f57dee7d8a57c8003a6869eba11f1eaa394518976642a993780d0de3326019e92dea4c679c6c581fef568ea616ec541afc0792800359c606dffcd2 +DIST openssl-3.1.4.tar.gz.asc 833 BLAKE2B 9f4c2365617b3ea21c8d4f4281befe584e8d39d5f0546fb17d151b21b20615e5d20ed9105881ee981948e866a7629930a7544263c124dce66a9df4f19e16708e SHA512 fc5fa55a54e3da5d48229f25073186613ddf6bb3907999b53ed61832cce9acef00c79d45357bc8590eeeeffb04a829d45921d982924300da16d84eb5333c1512 EBUILD openssl-1.0.2u-r1.ebuild 10122 BLAKE2B 7b0ffeca5863fbb162d179e55a6f2ad821b725b71668824e1f91e7a3d903a1bf6737596471ae41a76de1eda23bca8dc185d1c9e838e9ccbc0cbb2c0fb124b052 SHA512 77a71985a021f31d10f27673c22a946d106c5d54801b5c95a7626014014ea35304df1ae1558fb337ed2171afc4e40940c6371f07397e969c339f62d62fabb7c7 EBUILD openssl-1.1.1u.ebuild 8183 BLAKE2B d889a7e44d74cdb447305040270d538eb0520d7af8c4a03bbe162de8587aa0b54e8b420cdcc86a197b7627bd5f52d23fe94a720e3a01cc8bdddfe4e5d539fab1 SHA512 b430ecc1741bcae2f12304d749dbd0de863398218798377c583aa21b244337e59a23192ad81c28368cc9989b7fe8cf8a4bc7ce1b641588fc0cfb3ac3d56387e1 EBUILD openssl-1.1.1w.ebuild 8191 BLAKE2B d995615e747a9c3a05da7ee7f27acfa24465dc7916371c4b9d7c20dd36185d248d98a726f615914f7a388be17142e741bda08491c0e5ea22e631f50c647df331 SHA512 4a46ab3650798c8a3ba60c930efad496de2029c49378ec3150aeb858b0af8940e218a27a9ac0c43b5e35ab73de41805a30f701eee966f0c630dfa77a4a2438ab EBUILD openssl-3.0.10.ebuild 8669 BLAKE2B a79d470d83e1520a85cae3686d079145e55e49fa1132028f6aa2c9d4cc812c75e3a53a95018b3337e443f1d3211523c1be0d08debbc5374adf55cd4f3db2e5b1 SHA512 ac32c18bb8eed26ce15c34e72601ad88f5fe28a46b16fae0bdceeee526fa693944589aef012d5745a989ed52223dbe46677d88d6571493f18717f67c13e1a673 EBUILD openssl-3.0.11.ebuild 8669 BLAKE2B a79d470d83e1520a85cae3686d079145e55e49fa1132028f6aa2c9d4cc812c75e3a53a95018b3337e443f1d3211523c1be0d08debbc5374adf55cd4f3db2e5b1 SHA512 ac32c18bb8eed26ce15c34e72601ad88f5fe28a46b16fae0bdceeee526fa693944589aef012d5745a989ed52223dbe46677d88d6571493f18717f67c13e1a673 +EBUILD openssl-3.0.12.ebuild 8677 BLAKE2B 6d4ed42df39b9d5299e0705b2e38b4130dce622938399f82025c77185c3e4416ac6cffd40ade34555819a33fb7e12479414a46b717c2c2a2e09aa0ab2e8cb2df SHA512 4ba868127624667b3c5cfec44d262727000c518ac9932d5a21053b2296ce2e047c63308d0c2a8b8ea31b60bab10a32cc3873d9ad5c65ed60946bc1668eeef35b EBUILD openssl-3.0.9-r1.ebuild 8509 BLAKE2B 32844caced4442e95f6294fd5ccf106b894596fcb5709002d9649536cc723bd4c4e9fdde1ebdd58fa518b113e1224bc6a3f89ce95662031bbd7a8ca759377682 SHA512 7801540536457ec32e473f3840294660088d76b299ed5609e796832870fb842837792a5be5ff4863be28e7faa751ee2d797ee2cd9c2f68ed00f4eee919b3446a EBUILD openssl-3.0.9-r2.ebuild 8727 BLAKE2B 8d9fa46eab35d10b5b3022a841dabe9f22b75f628c42d1019180e939df4d2c1e129a1bfb25d2bf7966781c215e45d905ad584decda58bae73e83664baae45de8 SHA512 5b81857a35fd279af6a439e60ff3211ebf03549adc72fdeed3299e68b6200546f3b433cf1929a61dec62e303e8d7ae9a50feedb54397a8af5b8a56bb404c6df8 EBUILD openssl-3.1.2.ebuild 8723 BLAKE2B 32179ad220b3eff22b394cd9baad1bf1ae1bb4b0d54f2513f8bd73535be682ab48f98d7cb5ecde15e0708b75024795a721e6b4bc81f71c92bb66ad6fa1b74841 SHA512 da691733ab306163508e8311568eee853babe1627d35b7d4e1dbe6a14a5b80dead244cc4298ff5da98e0a468ce61360ca626ea152043f93309ac8e1fc8a8386a EBUILD openssl-3.1.3.ebuild 8723 BLAKE2B 32179ad220b3eff22b394cd9baad1bf1ae1bb4b0d54f2513f8bd73535be682ab48f98d7cb5ecde15e0708b75024795a721e6b4bc81f71c92bb66ad6fa1b74841 SHA512 da691733ab306163508e8311568eee853babe1627d35b7d4e1dbe6a14a5b80dead244cc4298ff5da98e0a468ce61360ca626ea152043f93309ac8e1fc8a8386a +EBUILD openssl-3.1.4.ebuild 8723 BLAKE2B 32179ad220b3eff22b394cd9baad1bf1ae1bb4b0d54f2513f8bd73535be682ab48f98d7cb5ecde15e0708b75024795a721e6b4bc81f71c92bb66ad6fa1b74841 SHA512 da691733ab306163508e8311568eee853babe1627d35b7d4e1dbe6a14a5b80dead244cc4298ff5da98e0a468ce61360ca626ea152043f93309ac8e1fc8a8386a MISC metadata.xml 1664 BLAKE2B cf9d4613e5387e7ec0787b1a6c137baa71effb8458fa63b5dea0be4d5cf7c8607257262dbf89dcc0c3db7b17b10232d32902b7569827bd4f2717b3ef7dffaaa9 SHA512 01deef1de981201c14101630d2a4ae270abcac9a4b27b068359d76f63aeb6075aceb33db60175c105294cb7045aae389168f4cf1edf0f6e3656ccc2fe92e9c92 diff --git a/dev-libs/openssl/openssl-3.0.12.ebuild b/dev-libs/openssl/openssl-3.0.12.ebuild new file mode 100644 index 000000000000..1dcdb2f9f6ab --- /dev/null +++ b/dev-libs/openssl/openssl-3.0.12.ebuild @@ -0,0 +1,287 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/openssl.org.asc +inherit edo flag-o-matic linux-info toolchain-funcs +inherit multilib multilib-minimal multiprocessing preserve-libs verify-sig + +DESCRIPTION="Robust, full-featured Open Source Toolkit for the Transport Layer Security (TLS)" +HOMEPAGE="https://www.openssl.org/" + +MY_P=${P/_/-} + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/openssl/openssl.git" + + inherit git-r3 +else + SRC_URI="mirror://openssl/source/${MY_P}.tar.gz + verify-sig? ( mirror://openssl/source/${MY_P}.tar.gz.asc )" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +S="${WORKDIR}"/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0/3" # .so version of libssl/libcrypto +IUSE="+asm cpu_flags_x86_sse2 fips ktls rfc3779 sctp static-libs test tls-compression vanilla verify-sig weak-ssl-ciphers" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + tls-compression? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] ) +" +BDEPEND=" + >=dev-lang/perl-5 + sctp? ( >=net-misc/lksctp-tools-1.0.12 ) + test? ( + sys-apps/diffutils + sys-devel/bc + sys-process/procps + ) + verify-sig? ( >=sec-keys/openpgp-keys-openssl-20230801 )" + +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" +PDEPEND="app-misc/ca-certificates" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/openssl/configuration.h +) + +pkg_setup() { + if use ktls ; then + if kernel_is -lt 4 18 ; then + ewarn "Kernel implementation of TLS (USE=ktls) requires kernel >=4.18!" + else + CONFIG_CHECK="~TLS ~TLS_DEVICE" + ERROR_TLS="You will be unable to offload TLS to kernel because CONFIG_TLS is not set!" + ERROR_TLS_DEVICE="You will be unable to offload TLS to kernel because CONFIG_TLS_DEVICE is not set!" + use test && CONFIG_CHECK+=" ~CRYPTO_USER_API_SKCIPHER" + + linux-info_pkg_setup + fi + fi + + [[ ${MERGE_TYPE} == binary ]] && return + + # must check in pkg_setup; sysctl doesn't work with userpriv! + if use test && use sctp ; then + # test_ssl_new will fail with "Ensure SCTP AUTH chunks are enabled in kernel" + # if sctp.auth_enable is not enabled. + local sctp_auth_status=$(sysctl -n net.sctp.auth_enable 2>/dev/null) + if [[ -z "${sctp_auth_status}" ]] || [[ ${sctp_auth_status} != 1 ]] ; then + die "FEATURES=test with USE=sctp requires net.sctp.auth_enable=1!" + fi + fi +} + +src_unpack() { + # Can delete this once test fix patch is dropped + if use verify-sig ; then + # Needed for downloaded patch (which is unsigned, which is fine) + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc} + fi + + default +} + +src_prepare() { + # Make sure we only ever touch Makefile.org and avoid patching a file + # that gets blown away anyways by the Configure script in src_configure + rm -f Makefile + + if ! use vanilla ; then + PATCHES+=( + # Add patches which are Gentoo-specific customisations here + ) + fi + + default + + if use test && use sctp && has network-sandbox ${FEATURES} ; then + einfo "Disabling test '80-test_ssl_new.t' which is known to fail with FEATURES=network-sandbox ..." + rm test/recipes/80-test_ssl_new.t || die + fi + + # Test fails depending on kernel configuration, bug #699134 + rm test/recipes/30-test_afalg.t || die +} + +src_configure() { + # Keep this in sync with app-misc/c_rehash + SSL_CNF_DIR="/etc/ssl" + + # Quiet out unknown driver argument warnings since openssl + # doesn't have well-split CFLAGS and we're making it even worse + # and 'make depend' uses -Werror for added fun (bug #417795 again) + tc-is-clang && append-flags -Qunused-arguments + + # We really, really need to build OpenSSL w/ strict aliasing disabled. + # It's filled with violations and it *will* result in miscompiled + # code. This has been in the ebuild for > 10 years but even in 2022, + # it's still relevant: + # - https://github.com/llvm/llvm-project/issues/55255 + # - https://github.com/openssl/openssl/issues/18225 + # - https://github.com/openssl/openssl/issues/18663#issuecomment-1181478057 + # Don't remove the no strict aliasing bits below! + filter-flags -fstrict-aliasing + append-flags -fno-strict-aliasing + # The OpenSSL developers don't test with LTO right now, it leads to various + # warnings/errors (which may or may not be false positives), it's considered + # unsupported, and it's not tested in CI: https://github.com/openssl/openssl/issues/18663. + filter-lto + + append-flags $(test-flags-CC -Wa,--noexecstack) + + # bug #895308 + append-atomic-flags + # Configure doesn't respect LIBS + export LDLIBS="${LIBS}" + + # bug #197996 + unset APPS + # bug #312551 + unset SCRIPTS + # bug #311473 + unset CROSS_COMPILE + + tc-export AR CC CXX RANLIB RC + + multilib-minimal_src_configure +} + +multilib_src_configure() { + use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; } + + local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal") + + # See if our toolchain supports __uint128_t. If so, it's 64bit + # friendly and can use the nicely optimized code paths, bug #460790. + #local ec_nistp_64_gcc_128 + # + # Disable it for now though (bug #469976) + # Do NOT re-enable without substantial discussion first! + # + #echo "__uint128_t i;" > "${T}"/128.c + #if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then + # ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128" + #fi + + local sslout=$(bash "${FILESDIR}/gentoo.config-1.0.4") + einfo "Using configuration: ${sslout:-(openssl knows best)}" + + # https://github.com/openssl/openssl/blob/master/INSTALL.md#enable-and-disable-features + local myeconfargs=( + ${sslout} + + $(use cpu_flags_x86_sse2 || echo "no-sse2") + enable-camellia + enable-ec + enable-ec2m + enable-sm2 + enable-srp + $(use elibc_musl && echo "no-async") + enable-idea + enable-mdc2 + enable-rc5 + $(use fips && echo "enable-fips") + $(use_ssl asm) + $(use_ssl ktls) + $(use_ssl rfc3779) + $(use_ssl sctp) + $(use test || echo "no-tests") + $(use_ssl tls-compression zlib) + $(use_ssl weak-ssl-ciphers) + + --prefix="${EPREFIX}"/usr + --openssldir="${EPREFIX}"${SSL_CNF_DIR} + --libdir=$(get_libdir) + + shared + threads + ) + + edo perl "${S}/Configure" "${myeconfargs[@]}" +} + +multilib_src_compile() { + emake build_sw + + if multilib_is_native_abi; then + emake build_docs + fi +} + +multilib_src_test() { + # VFP = show subtests verbosely and show failed tests verbosely + # Normal V=1 would show everything verbosely but this slows things down. + emake HARNESS_JOBS="$(makeopts_jobs)" -Onone VFP=1 test +} + +multilib_src_install() { + # Only -j1 is supported for the install targets: + # https://github.com/openssl/openssl/issues/21999#issuecomment-1771150305 + emake DESTDIR="${D}" -j1 install_sw + if use fips; then + emake DESTDIR="${D}" -j1 install_fips + # Regen this in pkg_preinst, bug 900625 + rm "${ED}${SSL_CNF_DIR}"/fipsmodule.cnf || die + fi + + if multilib_is_native_abi; then + emake DESTDIR="${D}" -j1 install_ssldirs + emake DESTDIR="${D}" DOCDIR='$(INSTALLTOP)'/share/doc/${PF} -j1 install_docs + fi + + # This is crappy in that the static archives are still built even + # when USE=static-libs. But this is due to a failing in the openssl + # build system: the static archives are built as PIC all the time. + # Only way around this would be to manually configure+compile openssl + # twice; once with shared lib support enabled and once without. + if ! use static-libs ; then + rm "${ED}"/usr/$(get_libdir)/lib{crypto,ssl}.a || die + fi +} + +multilib_src_install_all() { + # openssl installs perl version of c_rehash by default, but + # we provide a shell version via app-misc/c_rehash + rm "${ED}"/usr/bin/c_rehash || die + + dodoc {AUTHORS,CHANGES,NEWS,README,README-PROVIDERS}.md doc/*.txt doc/${PN}-c-indent.el + + # Create the certs directory + keepdir ${SSL_CNF_DIR}/certs + + # bug #254521 + dodir /etc/sandbox.d + echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl + + diropts -m0700 + keepdir ${SSL_CNF_DIR}/private +} + +pkg_preinst() { + if use fips; then + # Regen fipsmodule.cnf, bug 900625 + ebegin "Running openssl fipsinstall" + "${ED}/usr/bin/openssl" fipsinstall -quiet \ + -out "${ED}${SSL_CNF_DIR}/fipsmodule.cnf" \ + -module "${ED}/usr/$(get_libdir)/ossl-modules/fips.so" + eend $? + fi + + preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ + /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) +} + +pkg_postinst() { + ebegin "Running 'openssl rehash ${EROOT}${SSL_CNF_DIR}/certs' to rebuild hashes (bug #333069)" + openssl rehash "${EROOT}${SSL_CNF_DIR}/certs" + eend $? + + preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ + /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) +} diff --git a/dev-libs/openssl/openssl-3.1.4.ebuild b/dev-libs/openssl/openssl-3.1.4.ebuild new file mode 100644 index 000000000000..a89ece323f28 --- /dev/null +++ b/dev-libs/openssl/openssl-3.1.4.ebuild @@ -0,0 +1,290 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/openssl.org.asc +inherit edo flag-o-matic linux-info toolchain-funcs +inherit multilib multilib-minimal multiprocessing preserve-libs verify-sig + +DESCRIPTION="Robust, full-featured Open Source Toolkit for the Transport Layer Security (TLS)" +HOMEPAGE="https://www.openssl.org/" + +MY_P=${P/_/-} + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/openssl/openssl.git" + + inherit git-r3 +else + SRC_URI=" + mirror://openssl/source/${MY_P}.tar.gz + verify-sig? ( mirror://openssl/source/${MY_P}.tar.gz.asc ) + " + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +S="${WORKDIR}"/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0/$(ver_cut 1)" # .so version of libssl/libcrypto +IUSE="+asm cpu_flags_x86_sse2 fips ktls rfc3779 sctp static-libs test tls-compression vanilla verify-sig weak-ssl-ciphers" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + !=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] ) +" +BDEPEND=" + >=dev-lang/perl-5 + sctp? ( >=net-misc/lksctp-tools-1.0.12 ) + test? ( + sys-apps/diffutils + sys-devel/bc + sys-process/procps + ) + verify-sig? ( >=sec-keys/openpgp-keys-openssl-20230801 )" + +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" +PDEPEND="app-misc/ca-certificates" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/openssl/configuration.h +) + +pkg_setup() { + if use ktls ; then + if kernel_is -lt 4 18 ; then + ewarn "Kernel implementation of TLS (USE=ktls) requires kernel >=4.18!" + else + CONFIG_CHECK="~TLS ~TLS_DEVICE" + ERROR_TLS="You will be unable to offload TLS to kernel because CONFIG_TLS is not set!" + ERROR_TLS_DEVICE="You will be unable to offload TLS to kernel because CONFIG_TLS_DEVICE is not set!" + use test && CONFIG_CHECK+=" ~CRYPTO_USER_API_SKCIPHER" + + linux-info_pkg_setup + fi + fi + + [[ ${MERGE_TYPE} == binary ]] && return + + # must check in pkg_setup; sysctl doesn't work with userpriv! + if use test && use sctp ; then + # test_ssl_new will fail with "Ensure SCTP AUTH chunks are enabled in kernel" + # if sctp.auth_enable is not enabled. + local sctp_auth_status=$(sysctl -n net.sctp.auth_enable 2>/dev/null) + if [[ -z "${sctp_auth_status}" ]] || [[ ${sctp_auth_status} != 1 ]] ; then + die "FEATURES=test with USE=sctp requires net.sctp.auth_enable=1!" + fi + fi +} + +src_unpack() { + # Can delete this once test fix patch is dropped + if use verify-sig ; then + # Needed for downloaded patch (which is unsigned, which is fine) + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc} + fi + + default +} + +src_prepare() { + # Make sure we only ever touch Makefile.org and avoid patching a file + # that gets blown away anyways by the Configure script in src_configure + rm -f Makefile + + if ! use vanilla ; then + PATCHES+=( + # Add patches which are Gentoo-specific customisations here + ) + fi + + default + + if use test && use sctp && has network-sandbox ${FEATURES} ; then + einfo "Disabling test '80-test_ssl_new.t' which is known to fail with FEATURES=network-sandbox ..." + rm test/recipes/80-test_ssl_new.t || die + fi + + # Test fails depending on kernel configuration, bug #699134 + rm test/recipes/30-test_afalg.t || die +} + +src_configure() { + # Keep this in sync with app-misc/c_rehash + SSL_CNF_DIR="/etc/ssl" + + # Quiet out unknown driver argument warnings since openssl + # doesn't have well-split CFLAGS and we're making it even worse + # and 'make depend' uses -Werror for added fun (bug #417795 again) + tc-is-clang && append-flags -Qunused-arguments + + # We really, really need to build OpenSSL w/ strict aliasing disabled. + # It's filled with violations and it *will* result in miscompiled + # code. This has been in the ebuild for > 10 years but even in 2022, + # it's still relevant: + # - https://github.com/llvm/llvm-project/issues/55255 + # - https://github.com/openssl/openssl/issues/18225 + # - https://github.com/openssl/openssl/issues/18663#issuecomment-1181478057 + # Don't remove the no strict aliasing bits below! + filter-flags -fstrict-aliasing + append-flags -fno-strict-aliasing + # The OpenSSL developers don't test with LTO right now, it leads to various + # warnings/errors (which may or may not be false positives), it's considered + # unsupported, and it's not tested in CI: https://github.com/openssl/openssl/issues/18663. + filter-lto + + append-flags $(test-flags-CC -Wa,--noexecstack) + + # bug #895308 + append-atomic-flags + # Configure doesn't respect LIBS + export LDLIBS="${LIBS}" + + # bug #197996 + unset APPS + # bug #312551 + unset SCRIPTS + # bug #311473 + unset CROSS_COMPILE + + tc-export AR CC CXX RANLIB RC + + multilib-minimal_src_configure +} + +multilib_src_configure() { + use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; } + + local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal") + + # See if our toolchain supports __uint128_t. If so, it's 64bit + # friendly and can use the nicely optimized code paths, bug #460790. + #local ec_nistp_64_gcc_128 + # + # Disable it for now though (bug #469976) + # Do NOT re-enable without substantial discussion first! + # + #echo "__uint128_t i;" > "${T}"/128.c + #if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then + # ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128" + #fi + + local sslout=$(bash "${FILESDIR}/gentoo.config-1.0.4") + einfo "Using configuration: ${sslout:-(openssl knows best)}" + + # https://github.com/openssl/openssl/blob/master/INSTALL.md#enable-and-disable-features + local myeconfargs=( + ${sslout} + + $(use cpu_flags_x86_sse2 || echo "no-sse2") + enable-camellia + enable-ec + enable-ec2m + enable-sm2 + enable-srp + $(use elibc_musl && echo "no-async") + enable-idea + enable-mdc2 + enable-rc5 + $(use fips && echo "enable-fips") + $(use_ssl asm) + $(use_ssl ktls) + $(use_ssl rfc3779) + $(use_ssl sctp) + $(use test || echo "no-tests") + $(use_ssl tls-compression zlib) + $(use_ssl weak-ssl-ciphers) + + --prefix="${EPREFIX}"/usr + --openssldir="${EPREFIX}"${SSL_CNF_DIR} + --libdir=$(get_libdir) + + shared + threads + ) + + edo perl "${S}/Configure" "${myeconfargs[@]}" +} + +multilib_src_compile() { + emake build_sw + + if multilib_is_native_abi; then + emake build_docs + fi +} + +multilib_src_test() { + # VFP = show subtests verbosely and show failed tests verbosely + # Normal V=1 would show everything verbosely but this slows things down. + emake HARNESS_JOBS="$(makeopts_jobs)" -Onone VFP=1 test +} + +multilib_src_install() { + # Only -j1 is supported for the install targets: + # https://github.com/openssl/openssl/issues/21999#issuecomment-1771150305 + emake DESTDIR="${D}" -j1 install_sw + if use fips; then + emake DESTDIR="${D}" -j1 install_fips + # Regen this in pkg_preinst, bug 900625 + rm "${ED}${SSL_CNF_DIR}"/fipsmodule.cnf || die + fi + + if multilib_is_native_abi; then + emake DESTDIR="${D}" -j1 install_ssldirs + emake DESTDIR="${D}" DOCDIR='$(INSTALLTOP)'/share/doc/${PF} -j1 install_docs + fi + + # This is crappy in that the static archives are still built even + # when USE=static-libs. But this is due to a failing in the openssl + # build system: the static archives are built as PIC all the time. + # Only way around this would be to manually configure+compile openssl + # twice; once with shared lib support enabled and once without. + if ! use static-libs ; then + rm "${ED}"/usr/$(get_libdir)/lib{crypto,ssl}.a || die + fi +} + +multilib_src_install_all() { + # openssl installs perl version of c_rehash by default, but + # we provide a shell version via app-misc/c_rehash + rm "${ED}"/usr/bin/c_rehash || die + + dodoc {AUTHORS,CHANGES,NEWS,README,README-PROVIDERS}.md doc/*.txt doc/${PN}-c-indent.el + + # Create the certs directory + keepdir ${SSL_CNF_DIR}/certs + + # bug #254521 + dodir /etc/sandbox.d + echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl + + diropts -m0700 + keepdir ${SSL_CNF_DIR}/private +} + +pkg_preinst() { + if use fips; then + # Regen fipsmodule.cnf, bug 900625 + ebegin "Running openssl fipsinstall" + "${ED}/usr/bin/openssl" fipsinstall -quiet \ + -out "${ED}${SSL_CNF_DIR}/fipsmodule.cnf" \ + -module "${ED}/usr/$(get_libdir)/ossl-modules/fips.so" + eend $? + fi + + preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ + /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) +} + +pkg_postinst() { + ebegin "Running 'openssl rehash ${EROOT}${SSL_CNF_DIR}/certs' to rebuild hashes (bug #333069)" + openssl rehash "${EROOT}${SSL_CNF_DIR}/certs" + eend $? + + preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ + /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) +} diff --git a/dev-libs/serd/Manifest b/dev-libs/serd/Manifest index 26f7f92506fd..c52cb58da476 100644 --- a/dev-libs/serd/Manifest +++ b/dev-libs/serd/Manifest @@ -1,3 +1,5 @@ DIST serd-0.30.16.tar.xz 173932 BLAKE2B 0021125505bf23565a1cca24dc83eff3496fc11fe6b38dc07b68d800c7bd6a854923bc7c529161b659bd80cb7aa8c3b45e767f0841b57d4803d820e0016e2ed2 SHA512 1bc2e310027d52ea675aa261b52e89c4c1ccb622fa9fef11c874876de7821fe94672918ff58b9edcc7995daa70fc88b7ceb88fae61dd40f601285de1995b39ff +DIST serd-0.32.0.tar.xz 168028 BLAKE2B 839440f197a7b9b4082c7a39a7f63ddcc9129aed8968ab5a52780d0b8072743c78d7ccd9d6fc0e810944e3f55661cbd11969ea0f0242d4133d1883098ca4215c SHA512 eefd5e4b371213cc77cff3ca6e67c0c460d7cd1a70e55dbac64948ab77703679ee24a446f51d6bfc229fe0cd8089d32eeaa236136cbd1162f7d2100ed2946cbc EBUILD serd-0.30.16.ebuild 957 BLAKE2B e0600ff55aca0923739e8f7b8cbbfcc5f26f404735c6671ab31874a2187ff9f22de4cfda6ebc7f8672fc94021f9acc9abad7a0ca4a542524ec38ca215bb1b915 SHA512 1daac13086dfe7b6752a2863155820f758c87c029c7b758d4440444de5966b6b3bd2ac6ccf323e5e87f0aff5c584c47c8fe2817dc36f0334f05a35c06dadc6b5 +EBUILD serd-0.32.0.ebuild 1038 BLAKE2B fd5b8e8de5cc67f9ddd43e495d18b34fbf42672dd0d5959a98c5712af29b78a3e0fa1a01e085664f40019fe156c088c1dd3302e52a922f28f4c5cbe460b8d4ca SHA512 23812795e3be73c2ee8792955a19b2c1984a9e790e2f8f0d224763d0063ff400c03d2cca2e223974e1b950e31621235af68c2dde5fa3c699597391e3d73bd796 MISC metadata.xml 817 BLAKE2B 227ff475b019a065d0f3078357e44acb5726b9ff2de63d1ea8cd7335b2601c552a7ff8943b1f25deeef78091c598fccd4771c2fbdddb4040993941669041cb33 SHA512 62e4e41d9b854e1d7b01173099289dd1ddf33923565b23766201f82282d1ef15a23985f677f515fa68ffa9dda67064bc92b9f432846a5e4ea98c82c5b481b192 diff --git a/dev-libs/serd/serd-0.32.0.ebuild b/dev-libs/serd/serd-0.32.0.ebuild new file mode 100644 index 000000000000..003085e418aa --- /dev/null +++ b/dev-libs/serd/serd-0.32.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson-multilib + +DESCRIPTION="Library for RDF syntax which supports reading and writing Turtle and NTriples" +HOMEPAGE="https://drobilla.net/software/serd.html" +SRC_URI="https://download.drobilla.net/${P}.tar.xz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="doc test +tools" +RESTRICT="!test? ( test )" + +BDEPEND=" + doc? ( + app-doc/doxygen + dev-python/sphinx + dev-python/sphinx-lv2-theme + dev-python/sphinxygen +) +" + +src_prepare() { + default + + # fix doc installation path + sed -i "s/versioned_name/'${PF}'/g" doc/man/meson.build doc/html/meson.build doc/singlehtml/meson.build || die +} + +multilib_src_configure() { + local emesonargs=( + $(meson_native_use_feature doc docs) + $(meson_feature test tests) + $(meson_feature tools) + ) + + meson_src_configure +} + +multilib_src_install_all() { + local DOCS=( AUTHORS NEWS README.md ) + einstalldocs +} diff --git a/dev-libs/sord/Manifest b/dev-libs/sord/Manifest index 0a14f6676680..8c890c1170be 100644 --- a/dev-libs/sord/Manifest +++ b/dev-libs/sord/Manifest @@ -1,4 +1,6 @@ DIST sord-0.16.14.tar.xz 112748 BLAKE2B 399f4bf5d1b8ae557fa7e2d2e92e74ed646d0554235f4527a4b9ad53aa6beb0e90e2d80c9e65ab3c872b5c8d45a7948b7746284bb1fd2352320a0aa33e97e305 SHA512 f6f254518d5dccece7975529b1fcfd552fd9c37e49dc7e9f8a46756b85e476dac064a39af42bfb3078e999e75d1aa75dcc30ec91e08753defa9363adafdfd3bd +DIST sord-0.16.16.tar.xz 107148 BLAKE2B e657f6e4d38df1c254ce6282ae54a6795e29fd60546373a2b4e1560b269658fa69dd93af4d6f75eaa73f9f777a2d82f99f80d34fd65e1001b8231b63af71029f SHA512 8728fa01466e8f64c1a70a6d4ce727cdac3aaba78db0163ad511d7e959a260c95ab47405cce24ca0e076fb1f0da761687d788cddef87a96aa813757d10f0bfe0 EBUILD sord-0.16.14-r1.ebuild 1116 BLAKE2B 0e9947ad377795ef2520c5ce50f8576a1a4e807d47af4fd8cb914ad3591e35ded29f6a3d7acadd3e0414186c65066296c6547320a247774d09c0f356122f60ce SHA512 72bb8842a7c8160b3ea5e1d185e4787cab900fe3f59c487d26d6898b9dd94178fbd51fa68296d98b08bb9abc86384cab2e339bc5774f7f624f3fdc1c8ca8735a -EBUILD sord-9999.ebuild 1116 BLAKE2B 63b48c9f308f163a9cdc225fdc874efb23fb75c305736b0c3de937af41dc7f17c9999b338cfa37bb83cf59bc2120091a3aa44c6f5f176fae1e444ee8e73e4b4a SHA512 1e644d2523fd7d343be43a410e3735c00b8b332457a10b061ad0019a9103fc05788e74c2c9c81a37915b0d5880dbe24583dcf2b63f05792fef7df0a2374011fc +EBUILD sord-0.16.16.ebuild 1203 BLAKE2B 8d3468696839811daae3fb1dc4ec65a8260c74cf746311080146a74aaafc7895b33cd7ccbcecad1d4a127287a111216441588ab06595d9d467f1d6e6f5397ca2 SHA512 83d8ed68770e4901d5fe4b6d9d717577a20d677f3d722a51ade91d4047c72fec4e78d702c3fe3e37d3537cb09e3836f8bcec24f7b345e1d8756af638ba28c88a +EBUILD sord-9999.ebuild 1203 BLAKE2B 8d3468696839811daae3fb1dc4ec65a8260c74cf746311080146a74aaafc7895b33cd7ccbcecad1d4a127287a111216441588ab06595d9d467f1d6e6f5397ca2 SHA512 83d8ed68770e4901d5fe4b6d9d717577a20d677f3d722a51ade91d4047c72fec4e78d702c3fe3e37d3537cb09e3836f8bcec24f7b345e1d8756af638ba28c88a MISC metadata.xml 410 BLAKE2B bc5ce38abe6276b92594039e5264603382ca4ceb88d4acf9d34e663d97edf5a04997f614d44f4422709f9dd3794803ddf883ced9908c4c3cdad3e810eb3531ab SHA512 a07cc2e3a7d131e6823bc2955c433b6fd2af1d395a1730e9a89be10f19b60a6192702ea0e6959de15a7b6aa1eb3ff478f590daba3917a58f92c9ee66bafbda79 diff --git a/dev-libs/sord/sord-0.16.16.ebuild b/dev-libs/sord/sord-0.16.16.ebuild new file mode 100644 index 000000000000..d40179db71ae --- /dev/null +++ b/dev-libs/sord/sord-0.16.16.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson-multilib + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/drobilla/sord.git" +else + SRC_URI="https://download.drobilla.net/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +DESCRIPTION="Library for storing RDF data in memory" +HOMEPAGE="https://drobilla.net/software/sord.html" + +LICENSE="ISC" +SLOT="0" +IUSE="doc test tools" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + doc? ( + app-doc/doxygen + dev-python/sphinx + dev-python/sphinx-lv2-theme + dev-python/sphinxygen + ) +" +# Take care on bumps to check minimum versions! +RDEPEND=" + dev-libs/libpcre + dev-libs/serd + dev-libs/zix +" +DEPEND="${RDEPEND}" + +src_prepare() { + default + + # fix doc installation path + sed -i "s/versioned_name/'${PF}'/g" doc/meson.build || die +} + +multilib_src_configure() { + local emesonargs=( + $(meson_native_use_feature doc docs) + $(meson_feature test tests) + $(meson_feature tools) + ) + + meson_src_configure +} + +multilib_src_install_all() { + local DOCS=( AUTHORS NEWS README.md ) + einstalldocs +} diff --git a/dev-libs/sord/sord-9999.ebuild b/dev-libs/sord/sord-9999.ebuild index 5d7f56bff1cc..d40179db71ae 100644 --- a/dev-libs/sord/sord-9999.ebuild +++ b/dev-libs/sord/sord-9999.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/drobilla/sord.git" else SRC_URI="https://download.drobilla.net/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" fi DESCRIPTION="Library for storing RDF data in memory" @@ -23,12 +23,18 @@ RESTRICT="!test? ( test )" BDEPEND=" virtual/pkgconfig - doc? ( app-doc/doxygen ) + doc? ( + app-doc/doxygen + dev-python/sphinx + dev-python/sphinx-lv2-theme + dev-python/sphinxygen + ) " # Take care on bumps to check minimum versions! RDEPEND=" dev-libs/libpcre - >=dev-libs/serd-0.30.10 + dev-libs/serd + dev-libs/zix " DEPEND="${RDEPEND}" diff --git a/dev-libs/zix/Manifest b/dev-libs/zix/Manifest new file mode 100644 index 000000000000..ff6bd07988f4 --- /dev/null +++ b/dev-libs/zix/Manifest @@ -0,0 +1,3 @@ +DIST zix-0.4.2.tar.xz 76492 BLAKE2B 46d9e3049632abe8fe60928fa4d27ab5a94e86549dbde999c8215f951fe6f70f29124c89de9639c07a3bfb06da6ce902ea2a59f431ea6015d2c7a38df2f6eff6 SHA512 b8fb931a3e9ab5a67f6da57a07bf10b91e7f861c8cf39db14c49c083a9983a0971cc6bc6abcb54a83c00471b386e377cb9bb51e2edd945ba07b9ae43a35964cc +EBUILD zix-0.4.2.ebuild 979 BLAKE2B 178970a3c59a5e309d92c565e702e69f15f0c8b2f42c69bca0bc33ecaa52181504da85ccf8b7292c87049f93039f01657803308a7d6dd4ea5b308a020bb71a8d SHA512 3795d9854f9b0efb672f2116214b9d840d17b66059fd428c10ef298990671b07da73225a54db099f9de62081943ac3066f143f74376e5807faba0f04d20f1463 +MISC metadata.xml 337 BLAKE2B 4b3b9dd09dacec843b851b37da867db149124b97cefc8fcbb0ba1c01d010b3906961d0a78ca914e81baa3a90b01b2c9dcca38fef1a5731b8358a3905e1c3ea05 SHA512 246af6d445da7a395035c6d8485e4c0da51d70322a4ccabf85110e0186b92b91a880e5fd91b3b80760d0f5e0a11077d86cee40d1b27495ec07f9cf7b6b8584a6 diff --git a/dev-libs/zix/metadata.xml b/dev-libs/zix/metadata.xml new file mode 100644 index 000000000000..52de0bfb7f99 --- /dev/null +++ b/dev-libs/zix/metadata.xml @@ -0,0 +1,11 @@ + + + + + proaudio@gentoo.org + Gentoo ProAudio Project + + + drobilla/zix + + diff --git a/dev-libs/zix/zix-0.4.2.ebuild b/dev-libs/zix/zix-0.4.2.ebuild new file mode 100644 index 000000000000..01a7b8abd503 --- /dev/null +++ b/dev-libs/zix/zix-0.4.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson-multilib + +SRC_URI="https://download.drobilla.net/${P}.tar.xz" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +DESCRIPTION="Lightweight C library of portability wrappers and data structures" +HOMEPAGE="https://drobilla.net/software/zix.html" + +LICENSE="ISC" +SLOT="0" +IUSE="doc test" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + doc? ( + app-doc/doxygen + dev-python/sphinx + dev-python/sphinx-lv2-theme + dev-python/sphinxygen + ) +" + +src_prepare() { + default + + # fix doc installation path + sed -i "s/versioned_name/'${PF}'/g" doc/html/meson.build doc/singlehtml/meson.build || die +} + +multilib_src_configure() { + local emesonargs=( + $(meson_native_use_feature doc docs) + $(meson_feature test tests) + ) + + meson_src_configure +} + +multilib_src_install_all() { + local DOCS=( NEWS README.md ) + einstalldocs +} -- cgit v1.2.3