[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2024-07-22 Thread Joonas Niilola
commit: 86f40cfb210d26c17411737118234d4fb406d96f
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Jul 22 06:14:40 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Jul 22 06:14:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86f40cfb

dev-util/librnp: stabilize 0.17.1-r1 for x86

Bug: https://bugs.gentoo.org/936291
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/librnp-0.17.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/librnp/librnp-0.17.1-r1.ebuild 
b/dev-util/librnp/librnp-0.17.1-r1.ebuild
index d1db4721c531..aa8e956edb43 100644
--- a/dev-util/librnp/librnp-0.17.1-r1.ebuild
+++ b/dev-util/librnp/librnp-0.17.1-r1.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/${P/*lib/}"
 
 LICENSE="Apache-2.0 BSD BSD-2"
 SLOT="0/0.16.1"
-KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~loong ~ppc64 x86"
 
 IUSE="+botan man test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2024-07-21 Thread Joonas Niilola
commit: 2cd06c74c5de6c236ec4ed0f64a4cb7125fb25bf
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Jul 21 06:19:13 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Jul 21 06:19:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cd06c74

dev-util/librnp: stabilize 0.17.1-r1 for amd64

Bug: https://bugs.gentoo.org/936291
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/librnp-0.17.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/librnp/librnp-0.17.1-r1.ebuild 
b/dev-util/librnp/librnp-0.17.1-r1.ebuild
index fad0047b4e0e..d1db4721c531 100644
--- a/dev-util/librnp/librnp-0.17.1-r1.ebuild
+++ b/dev-util/librnp/librnp-0.17.1-r1.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/${P/*lib/}"
 
 LICENSE="Apache-2.0 BSD BSD-2"
 SLOT="0/0.16.1"
-KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~x86"
 
 IUSE="+botan man test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2024-06-08 Thread Joonas Niilola
commit: f6035f3cbe1150b72779be7d590faa11800c6ce8
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Jun  8 06:38:49 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Jun  8 06:38:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6035f3c

dev-util/librnp: drop 0.17.1

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/librnp-0.17.1.ebuild | 85 
 1 file changed, 85 deletions(-)

diff --git a/dev-util/librnp/librnp-0.17.1.ebuild 
b/dev-util/librnp/librnp-0.17.1.ebuild
deleted file mode 100644
index 30ef40bae3c2..
--- a/dev-util/librnp/librnp-0.17.1.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake multiprocessing
-
-DESCRIPTION="High performance C++ OpenPGP library"
-HOMEPAGE="https://www.rnpgp.org/ https://github.com/rnpgp/rnp;
-SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0 BSD BSD-2"
-SLOT="0/0.16.1"
-KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~x86"
-IUSE="+botan man test"
-
-RDEPEND="app-arch/bzip2
-   dev-libs/json-c:=
-   >=dev-libs/sexpp-0.8.7
-   sys-libs/zlib
-   botan? ( dev-libs/botan:= )
-   !botan? ( >=dev-libs/openssl-1.1.1:= )"
-DEPEND="${RDEPEND}
-   test? ( dev-cpp/gtest )"
-BDEPEND="man? ( dev-ruby/asciidoctor )"
-
-RESTRICT="!test? ( test )"
-S="${WORKDIR}/${P/*lib/}"
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_TESTING=$(usex test on off)
-
-   -DCRYPTO_BACKEND=$(usex botan botan openssl)
-
-   -DDOWNLOAD_GTEST=off
-
-   -DENABLE_COVERAGE=off
-   -DENABLE_DOC=$(usex man on off)
-   -DENABLE_FUZZERS=off
-   -DENABLE_SANITIZERS=off
-
-   -DSYSTEM_LIBSEXPP=on
-   )
-
-   if use botan; then
-   local mycmakeargs+=(
-   -DENABLE_AEAD=on
-   -DENABLE_BLOWFISH=on
-   -DENABLE_BRAINPOOL=on
-   -DENABLE_CAST5=on
-   -DENABLE_IDEA=on
-   -DENABLE_RIPEMD160=on
-   -DENABLE_SM2=on
-   -DENABLE_TWOFISH=on
-   )
-
-   # OpenSSL support is still not as complete as botan.
-   # https://github.com/rnpgp/rnp/issues/1877 SM2,
-   # https://github.com/openssl/openssl/issues/2046 TWOFISH (won't be 
implemented).
-   else
-   local mycmakeargs+=(
-   -DENABLE_AEAD=on
-   -DENABLE_BLOWFISH=on
-   -DENABLE_BRAINPOOL=on
-   -DENABLE_CAST5=on
-   -DENABLE_IDEA=on
-   -DENABLE_RIPEMD160=on
-   -DENABLE_SM2=off
-   -DENABLE_TWOFISH=off
-   )
-   fi
-
-   cmake_src_configure
-}
-
-src_test() {
-   cd "${BUILD_DIR}"/src/tests || die
-   ctest -j$(makeopts_jobs) -R .* --output-on-failure || die
-}
-
-src_install() {
-   cmake_src_install
-   find "${D}" -name '*.a' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2024-05-22 Thread Joonas Niilola
commit: ca82c504dfe2c64bc690c0872108d113a8c3415e
Author: Alfred Wingate  protonmail  com>
AuthorDate: Wed May 22 18:53:02 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu May 23 05:53:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca82c504

dev-util/librnp: build explicitly against botan-3

Otherwise botan-2 is preferred over botan-3 if both are installed.

Signed-off-by: Alfred Wingate  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36778
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/librnp-0.17.1-r1.ebuild | 85 +
 1 file changed, 85 insertions(+)

diff --git a/dev-util/librnp/librnp-0.17.1-r1.ebuild 
b/dev-util/librnp/librnp-0.17.1-r1.ebuild
new file mode 100644
index ..fad0047b4e0e
--- /dev/null
+++ b/dev-util/librnp/librnp-0.17.1-r1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake multiprocessing
+
+DESCRIPTION="High performance C++ OpenPGP library"
+HOMEPAGE="https://www.rnpgp.org/ https://github.com/rnpgp/rnp;
+SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${P/*lib/}"
+
+LICENSE="Apache-2.0 BSD BSD-2"
+SLOT="0/0.16.1"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~x86"
+
+IUSE="+botan man test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="app-arch/bzip2
+   dev-libs/json-c:=
+   >=dev-libs/sexpp-0.8.7
+   sys-libs/zlib
+   botan? ( dev-libs/botan:3= )
+   !botan? ( >=dev-libs/openssl-1.1.1:= )"
+DEPEND="${RDEPEND}
+   test? ( dev-cpp/gtest )"
+BDEPEND="man? ( dev-ruby/asciidoctor )"
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTING=$(usex test on off)
+
+   -DCRYPTO_BACKEND=$(usex botan botan3 openssl)
+
+   -DDOWNLOAD_GTEST=off
+
+   -DENABLE_COVERAGE=off
+   -DENABLE_DOC=$(usex man on off)
+   -DENABLE_FUZZERS=off
+   -DENABLE_SANITIZERS=off
+
+   -DSYSTEM_LIBSEXPP=on
+   )
+
+   if use botan; then
+   local mycmakeargs+=(
+   -DENABLE_AEAD=on
+   -DENABLE_BLOWFISH=on
+   -DENABLE_BRAINPOOL=on
+   -DENABLE_CAST5=on
+   -DENABLE_IDEA=on
+   -DENABLE_RIPEMD160=on
+   -DENABLE_SM2=on
+   -DENABLE_TWOFISH=on
+   )
+
+   # OpenSSL support is still not as complete as botan.
+   # https://github.com/rnpgp/rnp/issues/1877 SM2,
+   # https://github.com/openssl/openssl/issues/2046 TWOFISH (won't be 
implemented).
+   else
+   local mycmakeargs+=(
+   -DENABLE_AEAD=on
+   -DENABLE_BLOWFISH=on
+   -DENABLE_BRAINPOOL=on
+   -DENABLE_CAST5=on
+   -DENABLE_IDEA=on
+   -DENABLE_RIPEMD160=on
+   -DENABLE_SM2=off
+   -DENABLE_TWOFISH=off
+   )
+   fi
+
+   cmake_src_configure
+}
+
+src_test() {
+   cd "${BUILD_DIR}"/src/tests || die
+   ctest -j$(makeopts_jobs) -R .* --output-on-failure || die
+}
+
+src_install() {
+   cmake_src_install
+   find "${D}" -name '*.a' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2024-05-15 Thread Joonas Niilola
commit: 27cc80e37143be618b24241d5640239fb0cc90ca
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed May 15 06:19:42 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed May 15 06:19:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27cc80e3

dev-util/librnp: add 0.17.1

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/Manifest |  1 +
 dev-util/librnp/librnp-0.17.1.ebuild | 85 
 2 files changed, 86 insertions(+)

diff --git a/dev-util/librnp/Manifest b/dev-util/librnp/Manifest
index 1fbb672e9a3f..9b348c7835e8 100644
--- a/dev-util/librnp/Manifest
+++ b/dev-util/librnp/Manifest
@@ -1 +1,2 @@
 DIST librnp-0.17.0.tar.gz 2996461 BLAKE2B 
9a6ea0452f067464ef52cef395c2969ba9912c5ed32ac6f4d860a3410965dbfbb1ad5c0d4f25489011d869222a4362a90463f521efe5af4b7c412f0ed1e4570b
 SHA512 
0aa5262aa3be163b8a8931d6b9200ced52bb640cd7b02b50009cfb8d5fe1e664d27b2c4a0a3e534cf59d6ea42fbc1c62c970a07cadc27ab6962e0f69f996f74d
+DIST librnp-0.17.1.tar.gz 3515288 BLAKE2B 
279cd5c669b469112066c4754a9a5a5c9fbe3ba225be4f85bc507aad9f29cfa166f90cb3dfe83ea8e29964fdfbbf926438fb36bb345da494ed7f70586fa8d7b6
 SHA512 
0224f79e4dd4b72ddd9c191218327da5485ed1d81321cc3a167cfeea68c00e47cec9151a4177e65e5560039345db3a52e41a093adfdf833f57e867bc559494a5

diff --git a/dev-util/librnp/librnp-0.17.1.ebuild 
b/dev-util/librnp/librnp-0.17.1.ebuild
new file mode 100644
index ..30ef40bae3c2
--- /dev/null
+++ b/dev-util/librnp/librnp-0.17.1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake multiprocessing
+
+DESCRIPTION="High performance C++ OpenPGP library"
+HOMEPAGE="https://www.rnpgp.org/ https://github.com/rnpgp/rnp;
+SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD BSD-2"
+SLOT="0/0.16.1"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~x86"
+IUSE="+botan man test"
+
+RDEPEND="app-arch/bzip2
+   dev-libs/json-c:=
+   >=dev-libs/sexpp-0.8.7
+   sys-libs/zlib
+   botan? ( dev-libs/botan:= )
+   !botan? ( >=dev-libs/openssl-1.1.1:= )"
+DEPEND="${RDEPEND}
+   test? ( dev-cpp/gtest )"
+BDEPEND="man? ( dev-ruby/asciidoctor )"
+
+RESTRICT="!test? ( test )"
+S="${WORKDIR}/${P/*lib/}"
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTING=$(usex test on off)
+
+   -DCRYPTO_BACKEND=$(usex botan botan openssl)
+
+   -DDOWNLOAD_GTEST=off
+
+   -DENABLE_COVERAGE=off
+   -DENABLE_DOC=$(usex man on off)
+   -DENABLE_FUZZERS=off
+   -DENABLE_SANITIZERS=off
+
+   -DSYSTEM_LIBSEXPP=on
+   )
+
+   if use botan; then
+   local mycmakeargs+=(
+   -DENABLE_AEAD=on
+   -DENABLE_BLOWFISH=on
+   -DENABLE_BRAINPOOL=on
+   -DENABLE_CAST5=on
+   -DENABLE_IDEA=on
+   -DENABLE_RIPEMD160=on
+   -DENABLE_SM2=on
+   -DENABLE_TWOFISH=on
+   )
+
+   # OpenSSL support is still not as complete as botan.
+   # https://github.com/rnpgp/rnp/issues/1877 SM2,
+   # https://github.com/openssl/openssl/issues/2046 TWOFISH (won't be 
implemented).
+   else
+   local mycmakeargs+=(
+   -DENABLE_AEAD=on
+   -DENABLE_BLOWFISH=on
+   -DENABLE_BRAINPOOL=on
+   -DENABLE_CAST5=on
+   -DENABLE_IDEA=on
+   -DENABLE_RIPEMD160=on
+   -DENABLE_SM2=off
+   -DENABLE_TWOFISH=off
+   )
+   fi
+
+   cmake_src_configure
+}
+
+src_test() {
+   cd "${BUILD_DIR}"/src/tests || die
+   ctest -j$(makeopts_jobs) -R .* --output-on-failure || die
+}
+
+src_install() {
+   cmake_src_install
+   find "${D}" -name '*.a' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2024-04-15 Thread Joonas Niilola
commit: 89829a80ef30057203ef5956402722865257e00d
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Apr 15 05:57:38 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Apr 15 06:03:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89829a80

dev-util/librnp: restrict sexpp dep, fix tests call

Closes: https://bugs.gentoo.org/927638
Bug: https://bugs.gentoo.org/929906
Signed-off-by: Joonas Niilola  gentoo.org>

 .../librnp/{librnp-0.17.0-r2.ebuild => librnp-0.17.0-r3.ebuild}   | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-util/librnp/librnp-0.17.0-r2.ebuild 
b/dev-util/librnp/librnp-0.17.0-r3.ebuild
similarity index 91%
rename from dev-util/librnp/librnp-0.17.0-r2.ebuild
rename to dev-util/librnp/librnp-0.17.0-r3.ebuild
index b04311dc0379..1ffd2d040346 100644
--- a/dev-util/librnp/librnp-0.17.0-r2.ebuild
+++ b/dev-util/librnp/librnp-0.17.0-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake
+inherit cmake multiprocessing
 
 DESCRIPTION="High performance C++ OpenPGP library"
 HOMEPAGE="https://www.rnpgp.org/ https://github.com/rnpgp/rnp;
@@ -16,7 +16,7 @@ IUSE="+botan man test"
 
 RDEPEND="app-arch/bzip2
dev-libs/json-c:=
-   >=dev-libs/sexpp-0.8.5[-static-libs(-)]
+   =dev-libs/sexpp-0.8.6*[-static-libs(-)]
sys-libs/zlib
botan? ( dev-libs/botan:2= )
!botan? ( >=dev-libs/openssl-1.1.1:= )"
@@ -76,7 +76,7 @@ src_configure() {
 
 src_test() {
cd "${BUILD_DIR}"/src/tests || die
-   ctest -j"${MAKEOPTS}" -R .* --output-on-failure || die
+   ctest -j$(makeopts_jobs) -R .* --output-on-failure || die
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2023-09-21 Thread WANG Xuerui
commit: cd7b7c01d6425829229c19404914ab2a75fb4401
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu Sep 21 10:28:37 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu Sep 21 18:57:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd7b7c01

dev-util/librnp: keyword 0.17.0-r2 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-util/librnp/librnp-0.17.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/librnp/librnp-0.17.0-r2.ebuild 
b/dev-util/librnp/librnp-0.17.0-r2.ebuild
index 4594d7885f07..b04311dc0379 100644
--- a/dev-util/librnp/librnp-0.17.0-r2.ebuild
+++ b/dev-util/librnp/librnp-0.17.0-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="Apache-2.0 BSD BSD-2"
 SLOT="0/0.16.1"
-KEYWORDS="amd64 ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ~loong ~ppc64 x86"
 IUSE="+botan man test"
 
 RDEPEND="app-arch/bzip2



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2023-06-21 Thread Joonas Niilola
commit: 55fd3cd1e2910b3eb121211d0a3816b269ec
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Jun 21 07:02:45 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Jun 21 07:02:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55fd3cd1

dev-util/librnp: drop 0.16.3

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/Manifest |  1 -
 dev-util/librnp/librnp-0.16.3.ebuild | 73 
 2 files changed, 74 deletions(-)

diff --git a/dev-util/librnp/Manifest b/dev-util/librnp/Manifest
index 4205de3c1ee2..1fbb672e9a3f 100644
--- a/dev-util/librnp/Manifest
+++ b/dev-util/librnp/Manifest
@@ -1,2 +1 @@
-DIST librnp-0.16.3.tar.gz 2897854 BLAKE2B 
71e39e810bdbee351c8136df1d11621daccb1738db691b99244ffe5bd2ea372c3ef520ade7cd63c38510fae0f252d5a1c2ceb44db3fbffbd64dfc10612341e29
 SHA512 
b133fb1f9aab6e9b5caecdcf0bd9f2c67a62a98543ca1ac6a7cf4a35b7a571d53e4fa99cefc98f8253117cf0de16194db309efa03bc40fd3556f9b84cf51a942
 DIST librnp-0.17.0.tar.gz 2996461 BLAKE2B 
9a6ea0452f067464ef52cef395c2969ba9912c5ed32ac6f4d860a3410965dbfbb1ad5c0d4f25489011d869222a4362a90463f521efe5af4b7c412f0ed1e4570b
 SHA512 
0aa5262aa3be163b8a8931d6b9200ced52bb640cd7b02b50009cfb8d5fe1e664d27b2c4a0a3e534cf59d6ea42fbc1c62c970a07cadc27ab6962e0f69f996f74d

diff --git a/dev-util/librnp/librnp-0.16.3.ebuild 
b/dev-util/librnp/librnp-0.16.3.ebuild
deleted file mode 100644
index 92d66a7681ba..
--- a/dev-util/librnp/librnp-0.16.3.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="High performance C++ OpenPGP library"
-HOMEPAGE="https://www.rnpgp.org/ https://github.com/rnpgp/rnp;
-SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0 BSD BSD-2"
-SLOT="0/0.16.1"
-KEYWORDS="amd64 ~arm64 ~ppc64 x86"
-IUSE="+botan man test"
-
-RDEPEND="app-arch/bzip2
-   dev-libs/json-c:=
-   sys-libs/zlib
-   botan? ( dev-libs/botan:2= )
-   !botan? ( >=dev-libs/openssl-1.1.1:= )"
-DEPEND="${RDEPEND}
-   test? ( dev-cpp/gtest )"
-BDEPEND="man? ( dev-ruby/asciidoctor )"
-
-RESTRICT="!test? ( test )"
-S="${WORKDIR}/${P/*lib/}"
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_TESTING=$(usex test on off)
-
-   -DCRYPTO_BACKEND=$(usex botan botan openssl)
-
-   -DDOWNLOAD_GTEST=off
-   -DDOWNLOAD_RUBYRNP=off
-
-   -DENABLE_COVERAGE=off
-   -DENABLE_DOC=$(usex man on off)
-   -DENABLE_FUZZERS=off
-   -DENABLE_SANITIZERS=off
-   )
-
-   if use botan; then
-   local mycmakeargs+=(
-   -DENABLE_AEAD=on
-   -DENABLE_BRAINPOOL=on
-   -DENABLE_IDEA=on
-   -DENABLE_SM2=on
-   -DENABLE_TWOFISH=on
-   )
-
-   # OpenSSL support is still not as complete as botan.
-   # https://github.com/rnpgp/rnp/issues/1642 (v. 0.17.0),
-   # https://github.com/rnpgp/rnp/issues/1877 SM2,
-   # https://github.com/openssl/openssl/issues/2046 TWOFISH (won't be 
implemented).
-   else
-   local mycmakeargs+=(
-   -DENABLE_AEAD=off
-   -DENABLE_BRAINPOOL=on
-   -DENABLE_IDEA=on
-   -DENABLE_SM2=off
-   -DENABLE_TWOFISH=off
-   )
-   fi
-
-   cmake_src_configure
-}
-
-src_test() {
-   cd "${BUILD_DIR}"/src/tests || die
-   ctest -j"${MAKEOPTS}" -R .* --output-on-failure || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2023-06-21 Thread Joonas Niilola
commit: ce47074b9f2793971d6d5268985c467a56777c59
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Jun 21 07:02:27 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Jun 21 07:02:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce47074b

dev-util/librnp: adjust dev-libs/sexp dependency

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/{librnp-0.17.0-r1.ebuild => librnp-0.17.0-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/librnp/librnp-0.17.0-r1.ebuild 
b/dev-util/librnp/librnp-0.17.0-r2.ebuild
similarity index 97%
rename from dev-util/librnp/librnp-0.17.0-r1.ebuild
rename to dev-util/librnp/librnp-0.17.0-r2.ebuild
index 3194d0ce439e..9991b6588a92 100644
--- a/dev-util/librnp/librnp-0.17.0-r1.ebuild
+++ b/dev-util/librnp/librnp-0.17.0-r2.ebuild
@@ -16,7 +16,7 @@ IUSE="+botan man test"
 
 RDEPEND="app-arch/bzip2
dev-libs/json-c:=
-   dev-libs/sexp[-static-libs(-)]
+   >=dev-libs/sexp-0.8.5[-static-libs(-)]
sys-libs/zlib
botan? ( dev-libs/botan:2= )
!botan? ( >=dev-libs/openssl-1.1.1:= )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2023-06-21 Thread Joonas Niilola
commit: 15a3dc425c984cfc6c2c417e07f5a393784e8fa9
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Jun 21 06:02:43 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Jun 21 06:03:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15a3dc42

dev-util/librnp: update dev-libs/sexp dependency

 - can be built with sexp using shared libraries.

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/{librnp-0.17.0.ebuild => librnp-0.17.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/librnp/librnp-0.17.0.ebuild 
b/dev-util/librnp/librnp-0.17.0-r1.ebuild
similarity index 98%
rename from dev-util/librnp/librnp-0.17.0.ebuild
rename to dev-util/librnp/librnp-0.17.0-r1.ebuild
index e63d51851794..3194d0ce439e 100644
--- a/dev-util/librnp/librnp-0.17.0.ebuild
+++ b/dev-util/librnp/librnp-0.17.0-r1.ebuild
@@ -16,11 +16,11 @@ IUSE="+botan man test"
 
 RDEPEND="app-arch/bzip2
dev-libs/json-c:=
+   dev-libs/sexp[-static-libs(-)]
sys-libs/zlib
botan? ( dev-libs/botan:2= )
!botan? ( >=dev-libs/openssl-1.1.1:= )"
 DEPEND="${RDEPEND}
-   dev-libs/sexp[static-libs]
test? ( dev-cpp/gtest )"
 BDEPEND="man? ( dev-ruby/asciidoctor )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2023-06-09 Thread Joonas Niilola
commit: 6d0537f103cc5ca04ceaefc30fd78cb416cab648
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Jun  9 08:53:17 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Jun  9 08:53:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d0537f1

dev-util/librnp: Stabilize 0.17.0 x86, #908098

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/librnp-0.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/librnp/librnp-0.17.0.ebuild 
b/dev-util/librnp/librnp-0.17.0.ebuild
index 515e2668e0a6..e63d51851794 100644
--- a/dev-util/librnp/librnp-0.17.0.ebuild
+++ b/dev-util/librnp/librnp-0.17.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="Apache-2.0 BSD BSD-2"
 SLOT="0/0.16.1"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 IUSE="+botan man test"
 
 RDEPEND="app-arch/bzip2



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2023-06-09 Thread Joonas Niilola
commit: 66c9fd84edc990299697ad5598d6beb300a7
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Jun  9 08:52:54 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Jun  9 08:52:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66c9fd84

dev-util/librnp: Stabilize 0.17.0 amd64, #908098

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/librnp-0.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/librnp/librnp-0.17.0.ebuild 
b/dev-util/librnp/librnp-0.17.0.ebuild
index a85c4cc7aad8..515e2668e0a6 100644
--- a/dev-util/librnp/librnp-0.17.0.ebuild
+++ b/dev-util/librnp/librnp-0.17.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="Apache-2.0 BSD BSD-2"
 SLOT="0/0.16.1"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
 IUSE="+botan man test"
 
 RDEPEND="app-arch/bzip2



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2023-05-08 Thread Joonas Niilola
commit: 3736fa97a500c7442573eb81a713bffc8d57210f
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon May  8 05:30:57 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon May  8 07:44:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3736fa97

dev-util/librnp: don't install static libs

Closes: https://bugs.gentoo.org/905648
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/librnp-0.17.0.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/dev-util/librnp/librnp-0.17.0.ebuild 
b/dev-util/librnp/librnp-0.17.0.ebuild
index 880c4fef9541..a85c4cc7aad8 100644
--- a/dev-util/librnp/librnp-0.17.0.ebuild
+++ b/dev-util/librnp/librnp-0.17.0.ebuild
@@ -78,3 +78,8 @@ src_test() {
cd "${BUILD_DIR}"/src/tests || die
ctest -j"${MAKEOPTS}" -R .* --output-on-failure || die
 }
+
+src_install() {
+   cmake_src_install
+   find "${D}" -name '*.a' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2023-05-03 Thread Sam James
commit: 7d95a02a20f7734ed1dd0ff0d2cbcd1173c18671
Author: Sam James  gentoo  org>
AuthorDate: Wed May  3 12:15:51 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  3 12:15:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d95a02a

dev-util/librnp: Keyword 0.17.0 ppc64, #905649

Signed-off-by: Sam James  gentoo.org>

 dev-util/librnp/librnp-0.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/librnp/librnp-0.17.0.ebuild 
b/dev-util/librnp/librnp-0.17.0.ebuild
index 9b3148bc94dd..880c4fef9541 100644
--- a/dev-util/librnp/librnp-0.17.0.ebuild
+++ b/dev-util/librnp/librnp-0.17.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="Apache-2.0 BSD BSD-2"
 SLOT="0/0.16.1"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 IUSE="+botan man test"
 
 RDEPEND="app-arch/bzip2



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2023-05-03 Thread Arthur Zamarin
commit: 7e26d5b9eaaf308a79e03d3cebebeb03ce96642e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed May  3 11:32:51 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed May  3 11:32:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e26d5b9

dev-util/librnp: Keyword 0.17.0 arm64, #905649

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-util/librnp/librnp-0.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/librnp/librnp-0.17.0.ebuild 
b/dev-util/librnp/librnp-0.17.0.ebuild
index 094de41213bb..9b3148bc94dd 100644
--- a/dev-util/librnp/librnp-0.17.0.ebuild
+++ b/dev-util/librnp/librnp-0.17.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="Apache-2.0 BSD BSD-2"
 SLOT="0/0.16.1"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="+botan man test"
 
 RDEPEND="app-arch/bzip2



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2023-05-03 Thread Joonas Niilola
commit: 4dc82cc14728d4581e73c3badba18618b4ff0373
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed May  3 11:09:07 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed May  3 11:09:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dc82cc1

dev-util/librnp: Keyword 0.17.0 x86, #905649

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/librnp-0.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/librnp/librnp-0.17.0.ebuild 
b/dev-util/librnp/librnp-0.17.0.ebuild
index 846d10a8806d..094de41213bb 100644
--- a/dev-util/librnp/librnp-0.17.0.ebuild
+++ b/dev-util/librnp/librnp-0.17.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="Apache-2.0 BSD BSD-2"
 SLOT="0/0.16.1"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 IUSE="+botan man test"
 
 RDEPEND="app-arch/bzip2



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/, dev-util/librnp/files/

2023-05-03 Thread Joonas Niilola
commit: aa34dd9314b1464531a93fb13a882ce12595d563
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed May  3 09:07:52 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed May  3 09:08:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa34dd93

dev-util/librnp: add 0.17.0

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/Manifest   |  1 +
 .../files/librnp-0.17.0-dont-bundle-sexp.patch | 36 ++
 dev-util/librnp/librnp-0.17.0.ebuild   | 80 ++
 3 files changed, 117 insertions(+)

diff --git a/dev-util/librnp/Manifest b/dev-util/librnp/Manifest
index 39b17e88faa6..4205de3c1ee2 100644
--- a/dev-util/librnp/Manifest
+++ b/dev-util/librnp/Manifest
@@ -1 +1,2 @@
 DIST librnp-0.16.3.tar.gz 2897854 BLAKE2B 
71e39e810bdbee351c8136df1d11621daccb1738db691b99244ffe5bd2ea372c3ef520ade7cd63c38510fae0f252d5a1c2ceb44db3fbffbd64dfc10612341e29
 SHA512 
b133fb1f9aab6e9b5caecdcf0bd9f2c67a62a98543ca1ac6a7cf4a35b7a571d53e4fa99cefc98f8253117cf0de16194db309efa03bc40fd3556f9b84cf51a942
+DIST librnp-0.17.0.tar.gz 2996461 BLAKE2B 
9a6ea0452f067464ef52cef395c2969ba9912c5ed32ac6f4d860a3410965dbfbb1ad5c0d4f25489011d869222a4362a90463f521efe5af4b7c412f0ed1e4570b
 SHA512 
0aa5262aa3be163b8a8931d6b9200ced52bb640cd7b02b50009cfb8d5fe1e664d27b2c4a0a3e534cf59d6ea42fbc1c62c970a07cadc27ab6962e0f69f996f74d

diff --git a/dev-util/librnp/files/librnp-0.17.0-dont-bundle-sexp.patch 
b/dev-util/librnp/files/librnp-0.17.0-dont-bundle-sexp.patch
new file mode 100644
index ..4e8b67a2f5f7
--- /dev/null
+++ b/dev-util/librnp/files/librnp-0.17.0-dont-bundle-sexp.patch
@@ -0,0 +1,36 @@
+diff -Naur a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt   2023-05-02 11:01:48.0 +0300
 b/CMakeLists.txt   2023-05-03 11:57:06.095299932 +0300
+@@ -176,11 +176,6 @@
+ endif()
+ add_subdirectory(src/common)
+ 
+-set(WITH_SEXP_CLI OFF)
+-set(WITH_SEXP_TESTS OFF)
+-set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME development)
+-add_subdirectory(src/libsexp EXCLUDE_FROM_ALL)
+-
+ add_subdirectory(src/lib)
+ add_subdirectory(src/rnp)
+ add_subdirectory(src/rnpkeys)
+diff -Naur a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt
+--- a/src/lib/CMakeLists.txt   2023-05-02 11:01:48.0 +0300
 b/src/lib/CMakeLists.txt   2023-05-03 10:59:25.147032470 +0300
+@@ -433,7 +433,7 @@
+   COMPONENT development
+   )
+ 
+-  install(TARGETS librnp-static sexp
++  install(TARGETS librnp-static
+ EXPORT rnp-targets
+ ARCHIVE
+   DESTINATION  "${CMAKE_INSTALL_LIBDIR}"
+@@ -441,7 +441,7 @@
+   )
+ else(BUILD_SHARED_LIBS)
+ # static libraries only
+-install(TARGETS librnp sexp
++install(TARGETS librnp
+ EXPORT rnp-targets
+ ARCHIVE
+   DESTINATION  "${CMAKE_INSTALL_LIBDIR}"

diff --git a/dev-util/librnp/librnp-0.17.0.ebuild 
b/dev-util/librnp/librnp-0.17.0.ebuild
new file mode 100644
index ..846d10a8806d
--- /dev/null
+++ b/dev-util/librnp/librnp-0.17.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="High performance C++ OpenPGP library"
+HOMEPAGE="https://www.rnpgp.org/ https://github.com/rnpgp/rnp;
+SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD BSD-2"
+SLOT="0/0.16.1"
+KEYWORDS="~amd64"
+IUSE="+botan man test"
+
+RDEPEND="app-arch/bzip2
+   dev-libs/json-c:=
+   sys-libs/zlib
+   botan? ( dev-libs/botan:2= )
+   !botan? ( >=dev-libs/openssl-1.1.1:= )"
+DEPEND="${RDEPEND}
+   dev-libs/sexp[static-libs]
+   test? ( dev-cpp/gtest )"
+BDEPEND="man? ( dev-ruby/asciidoctor )"
+
+RESTRICT="!test? ( test )"
+S="${WORKDIR}/${P/*lib/}"
+
+PATCHES=( "${FILESDIR}"/librnp-0.17.0-dont-bundle-sexp.patch )
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTING=$(usex test on off)
+
+   -DCRYPTO_BACKEND=$(usex botan botan openssl)
+
+   -DDOWNLOAD_GTEST=off
+
+   -DENABLE_COVERAGE=off
+   -DENABLE_DOC=$(usex man on off)
+   -DENABLE_FUZZERS=off
+   -DENABLE_SANITIZERS=off
+   )
+
+   if use botan; then
+   local mycmakeargs+=(
+   -DENABLE_AEAD=on
+   -DENABLE_BLOWFISH=on
+   -DENABLE_BRAINPOOL=on
+   -DENABLE_CAST5=on
+   -DENABLE_IDEA=on
+   -DENABLE_RIPEMD160=on
+   -DENABLE_SM2=on
+   -DENABLE_TWOFISH=on
+   )
+
+   # OpenSSL support is still not as complete as botan.
+   # https://github.com/rnpgp/rnp/issues/1877 SM2,
+   # https://github.com/openssl/openssl/issues/2046 TWOFISH (won't be 
implemented).
+   else
+   local mycmakeargs+=(
+   -DENABLE_AEAD=on
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2023-04-15 Thread Joonas Niilola
commit: f624875e395e3852bd41dc29e9d141a113ba3472
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Apr 15 06:16:53 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Apr 15 06:18:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f624875e

dev-util/librnp: drop 0.16.2

Bug: https://bugs.gentoo.org/904250
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/Manifest |  1 -
 dev-util/librnp/librnp-0.16.2.ebuild | 73 
 2 files changed, 74 deletions(-)

diff --git a/dev-util/librnp/Manifest b/dev-util/librnp/Manifest
index f4790bac456a..39b17e88faa6 100644
--- a/dev-util/librnp/Manifest
+++ b/dev-util/librnp/Manifest
@@ -1,2 +1 @@
-DIST librnp-0.16.2.tar.gz 2897137 BLAKE2B 
5f756047506531e0ed3d431cebd3977f3492b464445f6dc54850badc795478f5d04ff036147e8212b4a3e2d4fd939f4bcf668e9a260c2e7fc616ef51dea02117
 SHA512 
5fd5fceb39429e130adafd4869d9a01149d9c08271770da4eedbe75910788f8256c8bf19e6bb0886a902b22dd5564eb93baddaf84689cbf5e6617674f4f0efac
 DIST librnp-0.16.3.tar.gz 2897854 BLAKE2B 
71e39e810bdbee351c8136df1d11621daccb1738db691b99244ffe5bd2ea372c3ef520ade7cd63c38510fae0f252d5a1c2ceb44db3fbffbd64dfc10612341e29
 SHA512 
b133fb1f9aab6e9b5caecdcf0bd9f2c67a62a98543ca1ac6a7cf4a35b7a571d53e4fa99cefc98f8253117cf0de16194db309efa03bc40fd3556f9b84cf51a942

diff --git a/dev-util/librnp/librnp-0.16.2.ebuild 
b/dev-util/librnp/librnp-0.16.2.ebuild
deleted file mode 100644
index f4aad9db34fd..
--- a/dev-util/librnp/librnp-0.16.2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="High performance C++ OpenPGP library"
-HOMEPAGE="https://www.rnpgp.org/ https://github.com/rnpgp/rnp;
-SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0 BSD BSD-2"
-SLOT="0/0.16.1"
-KEYWORDS="amd64 ~arm64 ~ppc64 x86"
-IUSE="+botan man test"
-
-RDEPEND="app-arch/bzip2
-   dev-libs/json-c:=
-   sys-libs/zlib
-   botan? ( dev-libs/botan:2= )
-   !botan? ( >=dev-libs/openssl-1.1.1:= )"
-DEPEND="${RDEPEND}
-   test? ( dev-cpp/gtest )"
-BDEPEND="man? ( dev-ruby/asciidoctor )"
-
-RESTRICT="!test? ( test )"
-S="${WORKDIR}/${P/*lib/}"
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_TESTING=$(usex test on off)
-
-   -DCRYPTO_BACKEND=$(usex botan botan openssl)
-
-   -DDOWNLOAD_GTEST=off
-   -DDOWNLOAD_RUBYRNP=off
-
-   -DENABLE_COVERAGE=off
-   -DENABLE_DOC=$(usex man on off)
-   -DENABLE_FUZZERS=off
-   -DENABLE_SANITIZERS=off
-   )
-
-   if use botan; then
-   local mycmakeargs+=(
-   -DENABLE_AEAD=on
-   -DENABLE_BRAINPOOL=on
-   -DENABLE_IDEA=on
-   -DENABLE_SM2=on
-   -DENABLE_TWOFISH=on
-   )
-
-   # OpenSSL support is still not as complete as botan.
-   # https://github.com/rnpgp/rnp/issues/1642 AEAD,
-   # https://github.com/rnpgp/rnp/issues/1877 SM2,
-   # https://github.com/openssl/openssl/issues/2046 TWOFISH.
-   else
-   local mycmakeargs+=(
-   -DENABLE_AEAD=off
-   -DENABLE_BRAINPOOL=on
-   -DENABLE_IDEA=on
-   -DENABLE_SM2=off
-   -DENABLE_TWOFISH=off
-   )
-   fi
-
-   cmake_src_configure
-}
-
-src_test() {
-   cd "${BUILD_DIR}" || die
-   ctest -j"${MAKEOPTS}" -R .* --output-on-failure || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2023-04-13 Thread Joonas Niilola
commit: a102a388524f59bac0ea069b5b2645abe2180f9b
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Apr 13 11:22:28 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Apr 13 13:36:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a102a388

dev-util/librnp: stabilize 0.16.3 for amd64

Bug: https://bugs.gentoo.org/904250
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/librnp-0.16.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/librnp/librnp-0.16.3.ebuild 
b/dev-util/librnp/librnp-0.16.3.ebuild
index ca34a07b87f9..58e6ee672212 100644
--- a/dev-util/librnp/librnp-0.16.3.ebuild
+++ b/dev-util/librnp/librnp-0.16.3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="Apache-2.0 BSD BSD-2"
 SLOT="0/0.16.1"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
 IUSE="+botan man test"
 
 RDEPEND="app-arch/bzip2



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2023-04-13 Thread Joonas Niilola
commit: 87026f7144840af2e6b1efb370a170dec6afa4f6
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Apr 13 11:22:40 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Apr 13 13:36:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87026f71

dev-util/librnp: stabilize 0.16.3 for x86

Bug: https://bugs.gentoo.org/904250
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/librnp-0.16.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/librnp/librnp-0.16.3.ebuild 
b/dev-util/librnp/librnp-0.16.3.ebuild
index 58e6ee672212..92d66a7681ba 100644
--- a/dev-util/librnp/librnp-0.16.3.ebuild
+++ b/dev-util/librnp/librnp-0.16.3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="Apache-2.0 BSD BSD-2"
 SLOT="0/0.16.1"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 IUSE="+botan man test"
 
 RDEPEND="app-arch/bzip2



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2023-04-12 Thread Joonas Niilola
commit: 1ee9c4190e2ce8af9ee0d8545a198f16d8954b05
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Apr 13 05:40:17 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Apr 13 05:55:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ee9c419

dev-util/librnp: add 0.16.3

Bug: https://bugs.gentoo.org/904250
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/Manifest |  1 +
 dev-util/librnp/librnp-0.16.3.ebuild | 73 
 2 files changed, 74 insertions(+)

diff --git a/dev-util/librnp/Manifest b/dev-util/librnp/Manifest
index 492987b6ba46..f4790bac456a 100644
--- a/dev-util/librnp/Manifest
+++ b/dev-util/librnp/Manifest
@@ -1 +1,2 @@
 DIST librnp-0.16.2.tar.gz 2897137 BLAKE2B 
5f756047506531e0ed3d431cebd3977f3492b464445f6dc54850badc795478f5d04ff036147e8212b4a3e2d4fd939f4bcf668e9a260c2e7fc616ef51dea02117
 SHA512 
5fd5fceb39429e130adafd4869d9a01149d9c08271770da4eedbe75910788f8256c8bf19e6bb0886a902b22dd5564eb93baddaf84689cbf5e6617674f4f0efac
+DIST librnp-0.16.3.tar.gz 2897854 BLAKE2B 
71e39e810bdbee351c8136df1d11621daccb1738db691b99244ffe5bd2ea372c3ef520ade7cd63c38510fae0f252d5a1c2ceb44db3fbffbd64dfc10612341e29
 SHA512 
b133fb1f9aab6e9b5caecdcf0bd9f2c67a62a98543ca1ac6a7cf4a35b7a571d53e4fa99cefc98f8253117cf0de16194db309efa03bc40fd3556f9b84cf51a942

diff --git a/dev-util/librnp/librnp-0.16.3.ebuild 
b/dev-util/librnp/librnp-0.16.3.ebuild
new file mode 100644
index ..ca34a07b87f9
--- /dev/null
+++ b/dev-util/librnp/librnp-0.16.3.ebuild
@@ -0,0 +1,73 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="High performance C++ OpenPGP library"
+HOMEPAGE="https://www.rnpgp.org/ https://github.com/rnpgp/rnp;
+SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD BSD-2"
+SLOT="0/0.16.1"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="+botan man test"
+
+RDEPEND="app-arch/bzip2
+   dev-libs/json-c:=
+   sys-libs/zlib
+   botan? ( dev-libs/botan:2= )
+   !botan? ( >=dev-libs/openssl-1.1.1:= )"
+DEPEND="${RDEPEND}
+   test? ( dev-cpp/gtest )"
+BDEPEND="man? ( dev-ruby/asciidoctor )"
+
+RESTRICT="!test? ( test )"
+S="${WORKDIR}/${P/*lib/}"
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTING=$(usex test on off)
+
+   -DCRYPTO_BACKEND=$(usex botan botan openssl)
+
+   -DDOWNLOAD_GTEST=off
+   -DDOWNLOAD_RUBYRNP=off
+
+   -DENABLE_COVERAGE=off
+   -DENABLE_DOC=$(usex man on off)
+   -DENABLE_FUZZERS=off
+   -DENABLE_SANITIZERS=off
+   )
+
+   if use botan; then
+   local mycmakeargs+=(
+   -DENABLE_AEAD=on
+   -DENABLE_BRAINPOOL=on
+   -DENABLE_IDEA=on
+   -DENABLE_SM2=on
+   -DENABLE_TWOFISH=on
+   )
+
+   # OpenSSL support is still not as complete as botan.
+   # https://github.com/rnpgp/rnp/issues/1642 (v. 0.17.0),
+   # https://github.com/rnpgp/rnp/issues/1877 SM2,
+   # https://github.com/openssl/openssl/issues/2046 TWOFISH (won't be 
implemented).
+   else
+   local mycmakeargs+=(
+   -DENABLE_AEAD=off
+   -DENABLE_BRAINPOOL=on
+   -DENABLE_IDEA=on
+   -DENABLE_SM2=off
+   -DENABLE_TWOFISH=off
+   )
+   fi
+
+   cmake_src_configure
+}
+
+src_test() {
+   cd "${BUILD_DIR}"/src/tests || die
+   ctest -j"${MAKEOPTS}" -R .* --output-on-failure || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2022-09-25 Thread Joonas Niilola
commit: 8d64b0db11e23a30595c55918cbf435721d076b3
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Sep 25 06:39:46 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Sep 25 06:42:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d64b0db

dev-util/librnp: drop 0.16.1

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/Manifest |  1 -
 dev-util/librnp/librnp-0.16.1.ebuild | 76 
 2 files changed, 77 deletions(-)

diff --git a/dev-util/librnp/Manifest b/dev-util/librnp/Manifest
index 74a89613e403..492987b6ba46 100644
--- a/dev-util/librnp/Manifest
+++ b/dev-util/librnp/Manifest
@@ -1,2 +1 @@
-DIST librnp-0.16.1.tar.gz 2897069 BLAKE2B 
0ce261a5f1229ab1567d4726b8d75eaf3fa72774ef66280bd587f28282371cde9691de24de329f8209f99c76dc6cf01e7c711e1bd3fd47b8b145762936a1b655
 SHA512 
948d8c1342c34ec850605b79b490d6da3094b4fb1f8435f4c928473c15a0df364f2ad56091f4b746afc98119d85137cf7b341c72054ccac79ab236f13cca48f4
 DIST librnp-0.16.2.tar.gz 2897137 BLAKE2B 
5f756047506531e0ed3d431cebd3977f3492b464445f6dc54850badc795478f5d04ff036147e8212b4a3e2d4fd939f4bcf668e9a260c2e7fc616ef51dea02117
 SHA512 
5fd5fceb39429e130adafd4869d9a01149d9c08271770da4eedbe75910788f8256c8bf19e6bb0886a902b22dd5564eb93baddaf84689cbf5e6617674f4f0efac

diff --git a/dev-util/librnp/librnp-0.16.1.ebuild 
b/dev-util/librnp/librnp-0.16.1.ebuild
deleted file mode 100644
index b6ba813ff651..
--- a/dev-util/librnp/librnp-0.16.1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="High performance C++ OpenPGP library"
-HOMEPAGE="https://www.rnpgp.org/ https://github.com/rnpgp/rnp;
-SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0 BSD BSD-2"
-SLOT="0/0.16.1"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-IUSE="+botan man test"
-
-RDEPEND="app-arch/bzip2
-   dev-libs/json-c:=
-   sys-libs/zlib
-   botan? ( dev-libs/botan:2= )
-   !botan? ( >=dev-libs/openssl-1.1.1:= )"
-DEPEND="${RDEPEND}
-   test? ( dev-cpp/gtest )"
-BDEPEND="man? ( dev-ruby/asciidoctor )"
-
-RESTRICT="!test? ( test )"
-S="${WORKDIR}/${P/*lib/}"
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_TESTING=$(usex test on off)
-
-   -DCRYPTO_BACKEND=$(usex botan botan openssl)
-
-   -DDOWNLOAD_GTEST=off
-   -DDOWNLOAD_RUBYRNP=off
-
-   -DENABLE_COVERAGE=off
-   -DENABLE_DOC=$(usex man on off)
-   -DENABLE_FUZZERS=off
-   -DENABLE_SANITIZERS=off
-   )
-
-   if use botan; then
-   local mycmakeargs+=(
-   -DENABLE_AEAD=on
-   -DENABLE_BRAINPOOL=on
-   -DENABLE_SM2=on
-   -DENABLE_TWOFISH=on
-   )
-
-   # OpenSSL support is still not as complete as botan.
-   # https://github.com/rnpgp/rnp/issues/1642 AEAD,
-   # https://github.com/rnpgp/rnp/issues/1902 BRAINPOOL,
-   # https://github.com/rnpgp/rnp/issues/1877 SM2,
-   # https://github.com/openssl/openssl/issues/2046 TWOFISH.
-   else
-   local mycmakeargs+=(
-   -DENABLE_AEAD=off
-   -DENABLE_BRAINPOOL=off
-   -DENABLE_SM2=off
-   -DENABLE_TWOFISH=off
-   )
-   fi
-
-   # Broken in 0.16.1.
-   # https://github.com/rnpgp/rnp/issues/1901
-   local mycmakeargs+=( -DENABLE_IDEA=off )
-
-   cmake_src_configure
-}
-
-src_test() {
-   cd "${BUILD_DIR}" || die
-   ctest -j"${MAKEOPTS}" -R .* --output-on-failure || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2022-09-24 Thread Joonas Niilola
commit: ed6149c88ca08fbeebfdf9ce0a25c7158b2ed9ca
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Sep 24 07:27:10 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Sep 24 13:57:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed6149c8

dev-util/librnp: stabilize 0.16.2 for x86

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/librnp-0.16.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/librnp/librnp-0.16.2.ebuild 
b/dev-util/librnp/librnp-0.16.2.ebuild
index 2ee7d47a1da1..f4aad9db34fd 100644
--- a/dev-util/librnp/librnp-0.16.2.ebuild
+++ b/dev-util/librnp/librnp-0.16.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="Apache-2.0 BSD BSD-2"
 SLOT="0/0.16.1"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 IUSE="+botan man test"
 
 RDEPEND="app-arch/bzip2



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2022-09-24 Thread Joonas Niilola
commit: 079af8e86425968d89abe3a571e81b0ab9db2662
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Sep 24 07:26:58 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Sep 24 13:57:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=079af8e8

dev-util/librnp: stabilize 0.16.2 for amd64

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/librnp-0.16.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/librnp/librnp-0.16.2.ebuild 
b/dev-util/librnp/librnp-0.16.2.ebuild
index 5ff8ee442673..2ee7d47a1da1 100644
--- a/dev-util/librnp/librnp-0.16.2.ebuild
+++ b/dev-util/librnp/librnp-0.16.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="Apache-2.0 BSD BSD-2"
 SLOT="0/0.16.1"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
 IUSE="+botan man test"
 
 RDEPEND="app-arch/bzip2



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2022-09-24 Thread Joonas Niilola
commit: 288ba029015d41700da98fa411b55306e5b941a3
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Sep 24 06:02:21 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Sep 24 13:57:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=288ba029

dev-util/librnp: remove added implementation issue link from 0.16.2

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/librnp-0.16.2.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-util/librnp/librnp-0.16.2.ebuild 
b/dev-util/librnp/librnp-0.16.2.ebuild
index 71779ee7a592..5ff8ee442673 100644
--- a/dev-util/librnp/librnp-0.16.2.ebuild
+++ b/dev-util/librnp/librnp-0.16.2.ebuild
@@ -52,7 +52,6 @@ src_configure() {
 
# OpenSSL support is still not as complete as botan.
# https://github.com/rnpgp/rnp/issues/1642 AEAD,
-   # https://github.com/rnpgp/rnp/issues/1902 BRAINPOOL,
# https://github.com/rnpgp/rnp/issues/1877 SM2,
# https://github.com/openssl/openssl/issues/2046 TWOFISH.
else



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2022-09-23 Thread Joonas Niilola
commit: 09eca4dae296745fab5ee697a9b5eadde140b313
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Sep 23 07:30:21 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep 23 12:52:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09eca4da

dev-util/librnp: add 0.16.2

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/Manifest |  1 +
 dev-util/librnp/librnp-0.16.2.ebuild | 74 
 2 files changed, 75 insertions(+)

diff --git a/dev-util/librnp/Manifest b/dev-util/librnp/Manifest
index 5135295e9ab1..74a89613e403 100644
--- a/dev-util/librnp/Manifest
+++ b/dev-util/librnp/Manifest
@@ -1 +1,2 @@
 DIST librnp-0.16.1.tar.gz 2897069 BLAKE2B 
0ce261a5f1229ab1567d4726b8d75eaf3fa72774ef66280bd587f28282371cde9691de24de329f8209f99c76dc6cf01e7c711e1bd3fd47b8b145762936a1b655
 SHA512 
948d8c1342c34ec850605b79b490d6da3094b4fb1f8435f4c928473c15a0df364f2ad56091f4b746afc98119d85137cf7b341c72054ccac79ab236f13cca48f4
+DIST librnp-0.16.2.tar.gz 2897137 BLAKE2B 
5f756047506531e0ed3d431cebd3977f3492b464445f6dc54850badc795478f5d04ff036147e8212b4a3e2d4fd939f4bcf668e9a260c2e7fc616ef51dea02117
 SHA512 
5fd5fceb39429e130adafd4869d9a01149d9c08271770da4eedbe75910788f8256c8bf19e6bb0886a902b22dd5564eb93baddaf84689cbf5e6617674f4f0efac

diff --git a/dev-util/librnp/librnp-0.16.2.ebuild 
b/dev-util/librnp/librnp-0.16.2.ebuild
new file mode 100644
index ..71779ee7a592
--- /dev/null
+++ b/dev-util/librnp/librnp-0.16.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="High performance C++ OpenPGP library"
+HOMEPAGE="https://www.rnpgp.org/ https://github.com/rnpgp/rnp;
+SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD BSD-2"
+SLOT="0/0.16.1"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="+botan man test"
+
+RDEPEND="app-arch/bzip2
+   dev-libs/json-c:=
+   sys-libs/zlib
+   botan? ( dev-libs/botan:2= )
+   !botan? ( >=dev-libs/openssl-1.1.1:= )"
+DEPEND="${RDEPEND}
+   test? ( dev-cpp/gtest )"
+BDEPEND="man? ( dev-ruby/asciidoctor )"
+
+RESTRICT="!test? ( test )"
+S="${WORKDIR}/${P/*lib/}"
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTING=$(usex test on off)
+
+   -DCRYPTO_BACKEND=$(usex botan botan openssl)
+
+   -DDOWNLOAD_GTEST=off
+   -DDOWNLOAD_RUBYRNP=off
+
+   -DENABLE_COVERAGE=off
+   -DENABLE_DOC=$(usex man on off)
+   -DENABLE_FUZZERS=off
+   -DENABLE_SANITIZERS=off
+   )
+
+   if use botan; then
+   local mycmakeargs+=(
+   -DENABLE_AEAD=on
+   -DENABLE_BRAINPOOL=on
+   -DENABLE_IDEA=on
+   -DENABLE_SM2=on
+   -DENABLE_TWOFISH=on
+   )
+
+   # OpenSSL support is still not as complete as botan.
+   # https://github.com/rnpgp/rnp/issues/1642 AEAD,
+   # https://github.com/rnpgp/rnp/issues/1902 BRAINPOOL,
+   # https://github.com/rnpgp/rnp/issues/1877 SM2,
+   # https://github.com/openssl/openssl/issues/2046 TWOFISH.
+   else
+   local mycmakeargs+=(
+   -DENABLE_AEAD=off
+   -DENABLE_BRAINPOOL=on
+   -DENABLE_IDEA=on
+   -DENABLE_SM2=off
+   -DENABLE_TWOFISH=off
+   )
+   fi
+
+   cmake_src_configure
+}
+
+src_test() {
+   cd "${BUILD_DIR}" || die
+   ctest -j"${MAKEOPTS}" -R .* --output-on-failure || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2022-09-19 Thread Joonas Niilola
commit: 5132d2a87172ba6c39548680a6f5e893fab50061
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Sep 19 05:55:53 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Sep 19 05:55:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5132d2a8

dev-util/librnp: drop 0.16.0

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/Manifest |  1 -
 dev-util/librnp/librnp-0.16.0.ebuild | 49 
 2 files changed, 50 deletions(-)

diff --git a/dev-util/librnp/Manifest b/dev-util/librnp/Manifest
index 163085924e8b..5135295e9ab1 100644
--- a/dev-util/librnp/Manifest
+++ b/dev-util/librnp/Manifest
@@ -1,2 +1 @@
-DIST librnp-0.16.0.tar.gz 2755417 BLAKE2B 
bdd06b1bd20ae816b54be19fa844767e9978eb387487db85db2dcd699da1d1b426455565a6c0508bf3782e07317d3bf6ae3613ebe6f8721f80849cb985e7850f
 SHA512 
3d1ba077f85b08ca308d0ebc6499b3a2f32db38f0fd3abbfa7c38277d4552d2bcb7b2e7d07b7fa3222130af347b73d853136974ec289d6de3e97c1e18e407b36
 DIST librnp-0.16.1.tar.gz 2897069 BLAKE2B 
0ce261a5f1229ab1567d4726b8d75eaf3fa72774ef66280bd587f28282371cde9691de24de329f8209f99c76dc6cf01e7c711e1bd3fd47b8b145762936a1b655
 SHA512 
948d8c1342c34ec850605b79b490d6da3094b4fb1f8435f4c928473c15a0df364f2ad56091f4b746afc98119d85137cf7b341c72054ccac79ab236f13cca48f4

diff --git a/dev-util/librnp/librnp-0.16.0.ebuild 
b/dev-util/librnp/librnp-0.16.0.ebuild
deleted file mode 100644
index db950da4873c..
--- a/dev-util/librnp/librnp-0.16.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="High performance C++ OpenPGP library"
-HOMEPAGE="https://www.rnpgp.org/ https://github.com/rnpgp/rnp;
-SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0 BSD BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-IUSE="man test"
-
-RDEPEND="app-arch/bzip2
-   dev-libs/botan:2=
-   dev-libs/json-c:=
-   sys-libs/zlib"
-DEPEND="${RDEPEND}
-   test? ( dev-cpp/gtest )"
-BDEPEND="man? ( dev-ruby/asciidoctor )"
-
-RESTRICT="!test? ( test )"
-S="${WORKDIR}/${P/*lib/}"
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_TESTING=$(usex test on off)
-
-   -DCRYPTO_BACKEND=botan
-
-   -DDOWNLOAD_GTEST=off
-   -DDOWNLOAD_RUBYRNP=off
-
-   -DENABLE_COVERAGE=off
-   -DENABLE_DOC=$(usex man on off)
-   -DENABLE_FUZZERS=off
-   -DENABLE_SANITIZERS=off
-   )
-
-   cmake_src_configure
-}
-
-src_test() {
-   cd "${BUILD_DIR}" || die
-   ctest -j"${MAKEOPTS}" -R .* --output-on-failure || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2022-09-13 Thread Joonas Niilola
commit: 8d70c17557e854d21d7d5bed5b669fab3acac3c2
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Sep 13 09:06:03 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Sep 13 09:08:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d70c175

dev-util/librnp: add another upstream issue link to 0.16.1

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/librnp-0.16.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-util/librnp/librnp-0.16.1.ebuild 
b/dev-util/librnp/librnp-0.16.1.ebuild
index 4d26065cfc69..b6ba813ff651 100644
--- a/dev-util/librnp/librnp-0.16.1.ebuild
+++ b/dev-util/librnp/librnp-0.16.1.ebuild
@@ -51,6 +51,7 @@ src_configure() {
 
# OpenSSL support is still not as complete as botan.
# https://github.com/rnpgp/rnp/issues/1642 AEAD,
+   # https://github.com/rnpgp/rnp/issues/1902 BRAINPOOL,
# https://github.com/rnpgp/rnp/issues/1877 SM2,
# https://github.com/openssl/openssl/issues/2046 TWOFISH.
else



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2022-09-13 Thread Joonas Niilola
commit: e415c429d97034beeaebe27eae0057993509e948
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Sep 13 07:21:45 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Sep 13 07:21:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e415c429

dev-util/librnp: add 0.16.1

 - add subslot due to breaking ABI changes,
 - add support for openssl crypto backend - botan is still the default.

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/Manifest |  1 +
 dev-util/librnp/librnp-0.16.1.ebuild | 75 
 dev-util/librnp/metadata.xml |  3 ++
 3 files changed, 79 insertions(+)

diff --git a/dev-util/librnp/Manifest b/dev-util/librnp/Manifest
index b506ebb23de8..163085924e8b 100644
--- a/dev-util/librnp/Manifest
+++ b/dev-util/librnp/Manifest
@@ -1 +1,2 @@
 DIST librnp-0.16.0.tar.gz 2755417 BLAKE2B 
bdd06b1bd20ae816b54be19fa844767e9978eb387487db85db2dcd699da1d1b426455565a6c0508bf3782e07317d3bf6ae3613ebe6f8721f80849cb985e7850f
 SHA512 
3d1ba077f85b08ca308d0ebc6499b3a2f32db38f0fd3abbfa7c38277d4552d2bcb7b2e7d07b7fa3222130af347b73d853136974ec289d6de3e97c1e18e407b36
+DIST librnp-0.16.1.tar.gz 2897069 BLAKE2B 
0ce261a5f1229ab1567d4726b8d75eaf3fa72774ef66280bd587f28282371cde9691de24de329f8209f99c76dc6cf01e7c711e1bd3fd47b8b145762936a1b655
 SHA512 
948d8c1342c34ec850605b79b490d6da3094b4fb1f8435f4c928473c15a0df364f2ad56091f4b746afc98119d85137cf7b341c72054ccac79ab236f13cca48f4

diff --git a/dev-util/librnp/librnp-0.16.1.ebuild 
b/dev-util/librnp/librnp-0.16.1.ebuild
new file mode 100644
index ..4d26065cfc69
--- /dev/null
+++ b/dev-util/librnp/librnp-0.16.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="High performance C++ OpenPGP library"
+HOMEPAGE="https://www.rnpgp.org/ https://github.com/rnpgp/rnp;
+SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD BSD-2"
+SLOT="0/0.16.1"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="+botan man test"
+
+RDEPEND="app-arch/bzip2
+   dev-libs/json-c:=
+   sys-libs/zlib
+   botan? ( dev-libs/botan:2= )
+   !botan? ( >=dev-libs/openssl-1.1.1:= )"
+DEPEND="${RDEPEND}
+   test? ( dev-cpp/gtest )"
+BDEPEND="man? ( dev-ruby/asciidoctor )"
+
+RESTRICT="!test? ( test )"
+S="${WORKDIR}/${P/*lib/}"
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTING=$(usex test on off)
+
+   -DCRYPTO_BACKEND=$(usex botan botan openssl)
+
+   -DDOWNLOAD_GTEST=off
+   -DDOWNLOAD_RUBYRNP=off
+
+   -DENABLE_COVERAGE=off
+   -DENABLE_DOC=$(usex man on off)
+   -DENABLE_FUZZERS=off
+   -DENABLE_SANITIZERS=off
+   )
+
+   if use botan; then
+   local mycmakeargs+=(
+   -DENABLE_AEAD=on
+   -DENABLE_BRAINPOOL=on
+   -DENABLE_SM2=on
+   -DENABLE_TWOFISH=on
+   )
+
+   # OpenSSL support is still not as complete as botan.
+   # https://github.com/rnpgp/rnp/issues/1642 AEAD,
+   # https://github.com/rnpgp/rnp/issues/1877 SM2,
+   # https://github.com/openssl/openssl/issues/2046 TWOFISH.
+   else
+   local mycmakeargs+=(
+   -DENABLE_AEAD=off
+   -DENABLE_BRAINPOOL=off
+   -DENABLE_SM2=off
+   -DENABLE_TWOFISH=off
+   )
+   fi
+
+   # Broken in 0.16.1.
+   # https://github.com/rnpgp/rnp/issues/1901
+   local mycmakeargs+=( -DENABLE_IDEA=off )
+
+   cmake_src_configure
+}
+
+src_test() {
+   cd "${BUILD_DIR}" || die
+   ctest -j"${MAKEOPTS}" -R .* --output-on-failure || die
+}

diff --git a/dev-util/librnp/metadata.xml b/dev-util/librnp/metadata.xml
index 086e8d1f3ea1..1e8aefe95c28 100644
--- a/dev-util/librnp/metadata.xml
+++ b/dev-util/librnp/metadata.xml
@@ -5,6 +5,9 @@
 mozi...@gentoo.org
 Gentoo Mozilla Team
   
+  
+Use Botan crypto backend instead of OpenSSL
+  
   
 rnpgp/rnp
   



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2022-08-24 Thread Arthur Zamarin
commit: 9311585065a3e80da1fc778e5e64d06dcc926f7f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Aug 24 16:09:37 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Aug 24 16:09:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93115850

dev-util/librnp: Keyword 0.16.0 ppc64, #866259

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-util/librnp/librnp-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/librnp/librnp-0.16.0.ebuild 
b/dev-util/librnp/librnp-0.16.0.ebuild
index 227a3aa3bf2f..db950da4873c 100644
--- a/dev-util/librnp/librnp-0.16.0.ebuild
+++ b/dev-util/librnp/librnp-0.16.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="Apache-2.0 BSD BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 IUSE="man test"
 
 RDEPEND="app-arch/bzip2



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2022-08-24 Thread Sam James
commit: c057371975b3005ac16ea33e0091456eb3c2d71c
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug 24 07:03:27 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug 24 07:03:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0573719

dev-util/librnp: Keyword 0.16.0 arm64, #866259

Signed-off-by: Sam James  gentoo.org>

 dev-util/librnp/librnp-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/librnp/librnp-0.16.0.ebuild 
b/dev-util/librnp/librnp-0.16.0.ebuild
index 248de54c1537..227a3aa3bf2f 100644
--- a/dev-util/librnp/librnp-0.16.0.ebuild
+++ b/dev-util/librnp/librnp-0.16.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="Apache-2.0 BSD BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="man test"
 
 RDEPEND="app-arch/bzip2



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2022-08-23 Thread Joonas Niilola
commit: 0696e661edcf4dbd0d042c25c71243c1f1f34d0f
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Aug 24 02:44:25 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Aug 24 02:44:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0696e661

dev-util/librnp: Keyword 0.16.0 x86, #866259

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/librnp-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/librnp/librnp-0.16.0.ebuild 
b/dev-util/librnp/librnp-0.16.0.ebuild
index 4f3c972de1fe..248de54c1537 100644
--- a/dev-util/librnp/librnp-0.16.0.ebuild
+++ b/dev-util/librnp/librnp-0.16.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="Apache-2.0 BSD BSD-2"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 IUSE="man test"
 
 RDEPEND="app-arch/bzip2



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2022-08-23 Thread Joonas Niilola
commit: 31862cd96272809389aa0a6389bfa9d7dc09
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Aug 23 13:40:55 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Aug 23 13:40:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31862cd9

dev-util/librnp: enable tests, use "usex" in ebuild

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/librnp-0.16.0.ebuild | 22 --
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/dev-util/librnp/librnp-0.16.0.ebuild 
b/dev-util/librnp/librnp-0.16.0.ebuild
index 3c528fc1c13e..4f3c972de1fe 100644
--- a/dev-util/librnp/librnp-0.16.0.ebuild
+++ b/dev-util/librnp/librnp-0.16.0.ebuild
@@ -12,20 +12,22 @@ 
SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> ${P}.ta
 LICENSE="Apache-2.0 BSD BSD-2"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="man"
+IUSE="man test"
 
-DEPEND="app-arch/bzip2
+RDEPEND="app-arch/bzip2
dev-libs/botan:2=
dev-libs/json-c:=
sys-libs/zlib"
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+   test? ( dev-cpp/gtest )"
 BDEPEND="man? ( dev-ruby/asciidoctor )"
 
+RESTRICT="!test? ( test )"
 S="${WORKDIR}/${P/*lib/}"
 
 src_configure() {
local mycmakeargs=(
-   -DBUILD_TESTING=off
+   -DBUILD_TESTING=$(usex test on off)
 
-DCRYPTO_BACKEND=botan
 
@@ -33,15 +35,15 @@ src_configure() {
-DDOWNLOAD_RUBYRNP=off
 
-DENABLE_COVERAGE=off
+   -DENABLE_DOC=$(usex man on off)
-DENABLE_FUZZERS=off
-DENABLE_SANITIZERS=off
)
 
-   if use man; then
-   mycmakeargs+=( -DENABLE_DOC=on )
-   else
-   mycmakeargs+=( -DENABLE_DOC=off )
-   fi
-
cmake_src_configure
 }
+
+src_test() {
+   cd "${BUILD_DIR}" || die
+   ctest -j"${MAKEOPTS}" -R .* --output-on-failure || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2022-08-22 Thread Sam James
commit: 1c1930cfdcdde41549bff34f9b648dbf72c5a743
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 23 01:15:33 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 23 01:15:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c1930cf

dev-util/librnp: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 dev-util/librnp/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-util/librnp/metadata.xml b/dev-util/librnp/metadata.xml
index d7a0807d3469..086e8d1f3ea1 100644
--- a/dev-util/librnp/metadata.xml
+++ b/dev-util/librnp/metadata.xml
@@ -5,4 +5,7 @@
 mozi...@gentoo.org
 Gentoo Mozilla Team
   
+  
+rnpgp/rnp
+  
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/librnp/

2022-08-22 Thread Joonas Niilola
commit: 30070afeced3023c8f75e52b2163d2874389a19e
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Aug 22 16:41:33 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Aug 22 16:50:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30070afe

dev-util/librnp: new package, add 0.16.0

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/librnp/Manifest |  1 +
 dev-util/librnp/librnp-0.16.0.ebuild | 47 
 dev-util/librnp/metadata.xml |  8 ++
 3 files changed, 56 insertions(+)

diff --git a/dev-util/librnp/Manifest b/dev-util/librnp/Manifest
new file mode 100644
index ..b506ebb23de8
--- /dev/null
+++ b/dev-util/librnp/Manifest
@@ -0,0 +1 @@
+DIST librnp-0.16.0.tar.gz 2755417 BLAKE2B 
bdd06b1bd20ae816b54be19fa844767e9978eb387487db85db2dcd699da1d1b426455565a6c0508bf3782e07317d3bf6ae3613ebe6f8721f80849cb985e7850f
 SHA512 
3d1ba077f85b08ca308d0ebc6499b3a2f32db38f0fd3abbfa7c38277d4552d2bcb7b2e7d07b7fa3222130af347b73d853136974ec289d6de3e97c1e18e407b36

diff --git a/dev-util/librnp/librnp-0.16.0.ebuild 
b/dev-util/librnp/librnp-0.16.0.ebuild
new file mode 100644
index ..3c528fc1c13e
--- /dev/null
+++ b/dev-util/librnp/librnp-0.16.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="High performance C++ OpenPGP library"
+HOMEPAGE="https://www.rnpgp.org/ https://github.com/rnpgp/rnp;
+SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="man"
+
+DEPEND="app-arch/bzip2
+   dev-libs/botan:2=
+   dev-libs/json-c:=
+   sys-libs/zlib"
+RDEPEND="${DEPEND}"
+BDEPEND="man? ( dev-ruby/asciidoctor )"
+
+S="${WORKDIR}/${P/*lib/}"
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTING=off
+
+   -DCRYPTO_BACKEND=botan
+
+   -DDOWNLOAD_GTEST=off
+   -DDOWNLOAD_RUBYRNP=off
+
+   -DENABLE_COVERAGE=off
+   -DENABLE_FUZZERS=off
+   -DENABLE_SANITIZERS=off
+   )
+
+   if use man; then
+   mycmakeargs+=( -DENABLE_DOC=on )
+   else
+   mycmakeargs+=( -DENABLE_DOC=off )
+   fi
+
+   cmake_src_configure
+}

diff --git a/dev-util/librnp/metadata.xml b/dev-util/librnp/metadata.xml
new file mode 100644
index ..d7a0807d3469
--- /dev/null
+++ b/dev-util/librnp/metadata.xml
@@ -0,0 +1,8 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+mozi...@gentoo.org
+Gentoo Mozilla Team
+  
+