From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libsodium/
Date: Wed, 23 Jun 2021 01:14:54 +0000 (UTC) [thread overview]
Message-ID: <1624410887.d18aba452b5c89d94a5ce3e78b29ea2da84e293c.sam@gentoo> (raw)
commit: d18aba452b5c89d94a5ce3e78b29ea2da84e293c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 23 01:14:47 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 23 01:14:47 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d18aba45
dev-libs/libsodium: add 1.0.18_p20210617
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/libsodium/Manifest | 2 +
.../libsodium/libsodium-1.0.18_p20210617.ebuild | 98 ++++++++++++++++++++++
2 files changed, 100 insertions(+)
diff --git a/dev-libs/libsodium/Manifest b/dev-libs/libsodium/Manifest
index a6b72a2ae01..ba4f46480c6 100644
--- a/dev-libs/libsodium/Manifest
+++ b/dev-libs/libsodium/Manifest
@@ -2,3 +2,5 @@ DIST libsodium-1.0.18.tar.gz 1919817 BLAKE2B a42d898fe77f232dcbb75728e776b88f006
DIST libsodium-1.0.18.tar.gz.sig 566 BLAKE2B bb892901e2228c93018d79a5c8e70e0ea458513b0fdf99e8f6c015132b618fd0fefbe6a18ed514c20fbe1e56719dd6dd3762bc4bb6348a439146fdaa951090c0 SHA512 ba69d372263e63126d6ce24f67fe85d83f74e558db81391ddcd7eacb6787dcdd5209a149eebca897e9806f295e78f5a8ababa0ab884b85d9a8dd1a54507a8b0c
DIST libsodium-1.0.18_p20210421.tar.gz 1855069 BLAKE2B f9b5843998b0045f97a303589de42b38a7586b4a35571eec9a0b0afd1df101467cb8f82e9a32dbdb9a25058d827a5565ad8d49ad2216d2b6af5b101612a94080 SHA512 ddb77c0608a7e6cacf1923a3d0f5950975511c46d53f6f9c23f80dd99eab84dde2a1292c1e35555f7f1659f25a1b80668516558b83c42effb921fff06c0fb559
DIST libsodium-1.0.18_p20210421.tar.gz.minisig 311 BLAKE2B 12d00384a2acd9c9ac5cfc2ce984c2254a69be93f9cb891513c2f575fbc0cd2c03c2f323aa4b363f54fd7e1bf6b73887c0919e919142f759f0f7baa8680cdba5 SHA512 80fe3a5d41a5550b310e1fce86eed142288c70bab46c761a21206cd0c441b9355d455df49916b3eca134af60444307baa8c5566f1ea369e79f7326a6fac822bf
+DIST libsodium-1.0.18_p20210617.tar.gz 1854880 BLAKE2B 5b421c7efacca5b2a2b5a99a04719d708c217bc6f0b344f08d566bde85c4f758862c0ad61924346eac508542c2d9c6313cb1e3e421743e424f396dd1972e8195 SHA512 d7cd64101fed11ce33c4865dec253f1058acab376c3a6097422508087f4449b2f7fd1b38835915843106f620bf86694d846695e0c8a35f921e4f190dea3164bc
+DIST libsodium-1.0.18_p20210617.tar.gz.minisig 311 BLAKE2B c54b76a9e29f49bccca80466a5aaa77fb8341e8164041331003710de8f9b173fd25de4812157377645d97ba8a97470076a7f5e037501ba8376b285a06461efa9 SHA512 2180beb872716ad6b728a455981b548003b18594c3f28435c5ddc9803ab2a0f8f1945b6c77de5928b948bbb803b4fa7527cc2e72059931364343a2fdf51ca1be
diff --git a/dev-libs/libsodium/libsodium-1.0.18_p20210617.ebuild b/dev-libs/libsodium/libsodium-1.0.18_p20210617.ebuild
new file mode 100644
index 00000000000..3d4e4edcb0e
--- /dev/null
+++ b/dev-libs/libsodium/libsodium-1.0.18_p20210617.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools multilib-minimal
+
+DESCRIPTION="A portable fork of NaCl, a higher-level cryptographic library"
+HOMEPAGE="https://libsodium.org"
+
+if [[ ${PV} == *_p* ]] ; then
+ MY_P=${PN}-$(ver_cut 1-3)-stable-$(ver_cut 5-)
+ MINISIGN_KEY="RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3"
+
+ # We use _pN to represent 'stable releases'
+ # These are backports from upstream to the last release branch
+ # See https://download.libsodium.org/libsodium/releases/README.html
+ SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
+
+ # TODO: Could verify-sig.eclass support minisig? bug #783066
+ SRC_URI+=" verify-sig? ( https://dev.gentoo.org/~sam/distfiles/dev-libs/libsodium/${MY_P}.tar.gz.minisig -> ${P}.tar.gz.minisig )"
+
+ S="${WORKDIR}/${PN}-stable"
+else
+ VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/jedisct1.asc
+ inherit verify-sig
+
+ SRC_URI="https://download.libsodium.org/${PN}/releases/${P}.tar.gz"
+ SRC_URI+=" verify-sig? ( https://download.libsodium.org/${PN}/releases/${P}.tar.gz.sig )"
+fi
+
+LICENSE="ISC"
+SLOT="0/23"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+asm minimal static-libs +urandom"
+
+CPU_USE=( cpu_flags_x86_{aes,sse4_1} )
+IUSE+=" ${CPU_USE[@]}"
+
+if [[ ${PV} == *_p* ]] ; then
+ IUSE+=" verify-sig"
+
+ BDEPEND+=" verify-sig? ( app-crypt/minisign )"
+fi
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.0.10-cpuflags.patch
+)
+
+src_unpack() {
+ if [[ ${PV} == *_p* ]] ; then
+ if use verify-sig ; then
+ elog "Verifying signature using app-crypt/minisign"
+ minisign -V \
+ -P ${MINISIGN_KEY} \
+ -x "${DISTDIR}"/${P}.tar.gz.minisig \
+ -m "${DISTDIR}"/${P}.tar.gz || die "Failed to verify distfile using minisign!"
+ fi
+
+ default
+ else
+ verify-sig_src_unpack
+ fi
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+multilib_src_configure() {
+ local myeconfargs=(
+ $(use_enable asm)
+ $(use_enable cpu_flags_x86_aes aesni)
+ $(use_enable cpu_flags_x86_sse4_1 sse4_1)
+ $(use_enable minimal)
+ $(use_enable static-libs static)
+ $(use_enable !urandom blocking-random)
+ )
+
+ # --disable-pie is needed on x86, see bug #512734
+ if [[ "${MULTILIB_ABI_FLAG}" == "abi_x86_32" ]] ; then
+ myeconfargs+=( --disable-pie )
+
+ # --disable-ssp is needed on musl x86
+ # TODO: Check if still needed? bug #747346
+ if use elibc_musl ; then
+ myeconfargs+=( --disable-ssp )
+ fi
+ fi
+
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+ default
+ find "${ED}" -type f -name "*.la" -delete || die
+}
next reply other threads:[~2021-06-23 1:14 UTC|newest]
Thread overview: 125+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-23 1:14 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-09 21:39 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libsodium/ Sam James
2024-08-30 9:05 Arthur Zamarin
2024-08-29 6:34 Jakov Smolić
2024-08-29 6:34 Jakov Smolić
2024-08-29 5:35 Jakov Smolić
2024-08-29 5:10 Jakov Smolić
2024-08-29 5:10 Jakov Smolić
2024-08-29 5:10 Jakov Smolić
2024-06-02 5:46 Sam James
2024-06-01 3:46 Ionen Wolkens
2024-04-29 5:50 Sam James
2024-04-29 5:48 Sam James
2024-04-13 6:26 Arthur Zamarin
2024-03-14 8:25 Arthur Zamarin
2024-03-14 7:58 Arthur Zamarin
2024-03-14 7:12 Sam James
2024-03-14 6:23 Sam James
2024-03-14 6:19 Sam James
2024-03-14 6:11 Sam James
2024-03-14 6:07 Sam James
2024-01-16 7:59 Sam James
2024-01-16 5:46 Viorel Munteanu
2024-01-16 5:46 Viorel Munteanu
2023-10-26 16:48 Sam James
2023-09-16 22:36 Sam James
2023-09-16 14:38 Sam James
2023-09-16 14:38 Sam James
2023-09-16 9:43 Sam James
2023-09-14 2:45 Sam James
2023-09-14 2:39 Sam James
2022-10-11 17:15 Arthur Zamarin
2022-10-11 6:48 Agostino Sarubbo
2022-10-11 6:47 Agostino Sarubbo
2022-10-11 6:46 Agostino Sarubbo
2022-10-11 6:45 Agostino Sarubbo
2022-10-11 6:44 Agostino Sarubbo
2022-10-11 6:43 Agostino Sarubbo
2022-10-11 6:41 Agostino Sarubbo
2022-08-31 2:04 Sam James
2022-05-05 10:17 WANG Xuerui
2022-01-29 14:29 James Le Cuirot
2022-01-01 9:38 Sam James
2021-11-21 11:51 Sam James
2021-11-02 18:23 Sam James
2021-09-07 17:04 Sam James
2021-08-11 19:11 Sam James
2021-08-11 0:23 Sam James
2021-08-11 0:12 Sam James
2021-08-11 0:04 Sam James
2021-07-31 13:40 Michał Górny
2021-07-25 7:56 Matt Turner
2021-06-27 17:25 Marek Szuba
2021-05-23 23:36 Joshua Kinard
2021-05-08 2:08 Thomas Deutschmann
2021-04-26 15:37 Sam James
2021-04-26 15:37 Sam James
2021-04-26 15:37 Sam James
2021-04-23 13:46 Sam James
2021-04-23 13:44 Sam James
2021-04-20 6:39 Sergei Trofimovich
2021-04-17 13:32 Sergei Trofimovich
2021-04-17 11:14 Sergei Trofimovich
2021-04-16 5:40 Joonas Niilola
2021-04-16 4:47 Sam James
2021-04-16 3:58 Sam James
2021-04-16 3:58 Sam James
2021-04-16 3:58 Sam James
2021-03-23 4:53 Sam James
2020-11-24 14:47 Sam James
2019-12-14 23:05 Pacho Ramos
2019-12-02 10:49 Mikle Kolyada
2019-11-23 0:53 Aaron Bauman
2019-11-22 23:35 Sergei Trofimovich
2019-11-22 13:44 Matt Turner
2019-11-20 11:50 Agostino Sarubbo
2019-11-20 11:48 Agostino Sarubbo
2019-11-20 11:27 Agostino Sarubbo
2019-11-19 15:40 Agostino Sarubbo
2019-11-19 11:58 Agostino Sarubbo
2019-06-03 14:02 Lars Wendler
2019-01-27 12:36 Pacho Ramos
2019-01-19 18:36 Anthony G. Basile
2019-01-07 23:48 Lars Wendler
2018-10-17 17:31 Mikle Kolyada
2018-10-14 9:14 Sergei Trofimovich
2018-10-14 8:59 Sergei Trofimovich
2018-10-07 10:26 Jeroen Roovers
2018-10-05 13:27 Mikle Kolyada
2018-10-05 12:25 Thomas Deutschmann
2018-06-09 19:56 Mikle Kolyada
2018-05-12 10:14 Mart Raudsepp
2018-03-04 8:04 Michał Górny
2018-02-25 10:35 Sergei Trofimovich
2018-02-22 16:09 Michał Górny
2018-02-01 20:37 Thomas Deutschmann
2018-01-22 18:24 Markus Meier
2017-12-15 16:42 Manuel Rüger
2017-12-15 8:18 Jason Zaman
2017-11-23 22:29 Sergei Trofimovich
2017-11-23 11:54 Tobias Klausmann
2017-11-21 18:02 Manuel Rüger
2017-10-02 15:29 Manuel Rüger
2017-09-22 12:29 Manuel Rüger
2017-09-18 11:08 Manuel Rüger
2017-07-16 9:15 Manuel Rüger
2017-03-13 13:51 Manuel Rüger
2017-03-13 13:51 Manuel Rüger
2017-03-01 10:08 Michael Weber
2017-01-14 23:15 Jeroen Roovers
2016-11-15 15:34 Tobias Klausmann
2016-11-09 14:30 Tony Vroon
2016-08-06 13:43 Manuel Rüger
2016-04-05 22:51 Manuel Rüger
2016-04-05 22:51 Manuel Rüger
2016-04-05 20:57 Manuel Rüger
2016-02-28 6:51 Matt Thode
2015-12-29 21:59 Manuel Rüger
2015-12-29 21:58 Manuel Rüger
2015-12-11 21:44 Manuel Rüger
2015-11-07 21:23 Manuel Rüger
2015-11-07 12:49 Manuel Rüger
2015-10-27 20:05 Manuel Rüger
2015-10-27 20:05 Manuel Rüger
2015-10-20 20:46 Manuel Rüger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1624410887.d18aba452b5c89d94a5ce3e78b29ea2da84e293c.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox