Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/
Date: Sun, 25 Sep 2022 06:42:22
Message-Id: 1664088136.8d64b0db11e23a30595c55918cbf435721d076b3.juippis@gentoo
1 commit: 8d64b0db11e23a30595c55918cbf435721d076b3
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 25 06:39:46 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 25 06:42:16 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d64b0db
7
8 dev-util/librnp: drop 0.16.1
9
10 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
11
12 dev-util/librnp/Manifest | 1 -
13 dev-util/librnp/librnp-0.16.1.ebuild | 76 ------------------------------------
14 2 files changed, 77 deletions(-)
15
16 diff --git a/dev-util/librnp/Manifest b/dev-util/librnp/Manifest
17 index 74a89613e403..492987b6ba46 100644
18 --- a/dev-util/librnp/Manifest
19 +++ b/dev-util/librnp/Manifest
20 @@ -1,2 +1 @@
21 -DIST librnp-0.16.1.tar.gz 2897069 BLAKE2B 0ce261a5f1229ab1567d4726b8d75eaf3fa72774ef66280bd587f28282371cde9691de24de329f8209f99c76dc6cf01e7c711e1bd3fd47b8b145762936a1b655 SHA512 948d8c1342c34ec850605b79b490d6da3094b4fb1f8435f4c928473c15a0df364f2ad56091f4b746afc98119d85137cf7b341c72054ccac79ab236f13cca48f4
22 DIST librnp-0.16.2.tar.gz 2897137 BLAKE2B 5f756047506531e0ed3d431cebd3977f3492b464445f6dc54850badc795478f5d04ff036147e8212b4a3e2d4fd939f4bcf668e9a260c2e7fc616ef51dea02117 SHA512 5fd5fceb39429e130adafd4869d9a01149d9c08271770da4eedbe75910788f8256c8bf19e6bb0886a902b22dd5564eb93baddaf84689cbf5e6617674f4f0efac
23
24 diff --git a/dev-util/librnp/librnp-0.16.1.ebuild b/dev-util/librnp/librnp-0.16.1.ebuild
25 deleted file mode 100644
26 index b6ba813ff651..000000000000
27 --- a/dev-util/librnp/librnp-0.16.1.ebuild
28 +++ /dev/null
29 @@ -1,76 +0,0 @@
30 -# Copyright 2022 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=8
34 -
35 -inherit cmake
36 -
37 -DESCRIPTION="High performance C++ OpenPGP library"
38 -HOMEPAGE="https://www.rnpgp.org/ https://github.com/rnpgp/rnp"
39 -SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
40 -
41 -LICENSE="Apache-2.0 BSD BSD-2"
42 -SLOT="0/0.16.1"
43 -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
44 -IUSE="+botan man test"
45 -
46 -RDEPEND="app-arch/bzip2
47 - dev-libs/json-c:=
48 - sys-libs/zlib
49 - botan? ( dev-libs/botan:2= )
50 - !botan? ( >=dev-libs/openssl-1.1.1:= )"
51 -DEPEND="${RDEPEND}
52 - test? ( dev-cpp/gtest )"
53 -BDEPEND="man? ( dev-ruby/asciidoctor )"
54 -
55 -RESTRICT="!test? ( test )"
56 -S="${WORKDIR}/${P/*lib/}"
57 -
58 -src_configure() {
59 - local mycmakeargs=(
60 - -DBUILD_TESTING=$(usex test on off)
61 -
62 - -DCRYPTO_BACKEND=$(usex botan botan openssl)
63 -
64 - -DDOWNLOAD_GTEST=off
65 - -DDOWNLOAD_RUBYRNP=off
66 -
67 - -DENABLE_COVERAGE=off
68 - -DENABLE_DOC=$(usex man on off)
69 - -DENABLE_FUZZERS=off
70 - -DENABLE_SANITIZERS=off
71 - )
72 -
73 - if use botan; then
74 - local mycmakeargs+=(
75 - -DENABLE_AEAD=on
76 - -DENABLE_BRAINPOOL=on
77 - -DENABLE_SM2=on
78 - -DENABLE_TWOFISH=on
79 - )
80 -
81 - # OpenSSL support is still not as complete as botan.
82 - # https://github.com/rnpgp/rnp/issues/1642 AEAD,
83 - # https://github.com/rnpgp/rnp/issues/1902 BRAINPOOL,
84 - # https://github.com/rnpgp/rnp/issues/1877 SM2,
85 - # https://github.com/openssl/openssl/issues/2046 TWOFISH.
86 - else
87 - local mycmakeargs+=(
88 - -DENABLE_AEAD=off
89 - -DENABLE_BRAINPOOL=off
90 - -DENABLE_SM2=off
91 - -DENABLE_TWOFISH=off
92 - )
93 - fi
94 -
95 - # Broken in 0.16.1.
96 - # https://github.com/rnpgp/rnp/issues/1901
97 - local mycmakeargs+=( -DENABLE_IDEA=off )
98 -
99 - cmake_src_configure
100 -}
101 -
102 -src_test() {
103 - cd "${BUILD_DIR}" || die
104 - ctest -j"${MAKEOPTS}" -R .* --output-on-failure || die
105 -}