commit: ebd88795c44b57f91049e1ff745a0b6682422cef
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 27 10:42:55 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 27 10:46:40 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebd88795
net-libs/liboauth: modernise
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/liboauth/liboauth-1.0.3-r1.ebuild | 26 +++++++++++---------------
1 file changed, 11 insertions(+), 15 deletions(-)
diff --git a/net-libs/liboauth/liboauth-1.0.3-r1.ebuild
b/net-libs/liboauth/liboauth-1.0.3-r1.ebuild
index f0475e3b43d8..911945ae3847 100644
--- a/net-libs/liboauth/liboauth-1.0.3-r1.ebuild
+++ b/net-libs/liboauth/liboauth-1.0.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -10,8 +10,8 @@ SRC_URI="mirror://sourceforge/project/${PN}/${P}.tar.gz"
LICENSE="|| ( GPL-2 MIT )"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86
~x64-macos"
+# Upstream recommend NSS by default for licencing reasons (may change w/
openssl 3?)
IUSE="bindist curl doc +nss"
-
REQUIRED_USE="bindist? ( nss )"
PATCHES=(
@@ -20,36 +20,34 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.0.3-openssl-1.1_2.patch
)
-CDEPEND="
+RDEPEND="
curl? ( net-misc/curl )
- nss? ( dev-libs/nss
+ nss? (
+ dev-libs/nss
curl? ( || (
net-misc/curl[ssl,curl_ssl_nss]
net-misc/curl[-ssl]
) )
)
!nss? (
- dev-libs/openssl:0=
+ dev-libs/openssl:=
curl? ( || (
net-misc/curl[ssl,curl_ssl_openssl]
net-misc/curl[-ssl]
) )
)
"
-
-RDEPEND="${CDEPEND}"
-
-DEPEND="
- ${CDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
doc? (
app-doc/doxygen
media-gfx/graphviz
media-fonts/freefont
)
"
-BDEPEND="
- virtual/pkgconfig
-"
+
+DOCS=( AUTHORS ChangeLog LICENSE.OpenSSL README )
src_configure() {
local myeconfargs=(
@@ -71,8 +69,6 @@ src_compile() {
fi
}
-DOCS=( AUTHORS ChangeLog LICENSE.OpenSSL README )
-
src_install() {
use doc && HTML_DOCS=( doc/html/. )
default