diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-14 10:46:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-14 10:46:43 +0100 |
commit | d938920a33f03124f4e211a67d9291283442caa1 (patch) | |
tree | 8df88b987b9cf96366e7bdab6bec0f5606c6153d /net-libs | |
parent | 8d3092381b8c63ad0261911737e91cc4fda109c9 (diff) |
gentoo auto-resync : 14:09:2023 - 10:46:43
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/Manifest.gz | bin | 32328 -> 32325 bytes | |||
-rw-r--r-- | net-libs/liboauth/Manifest | 3 | ||||
-rw-r--r-- | net-libs/liboauth/liboauth-1.0.3-r2.ebuild (renamed from net-libs/liboauth/liboauth-1.0.3-r1.ebuild) | 2 | ||||
-rw-r--r-- | net-libs/liboauth/liboauth-1.0.3-r3.ebuild | 78 |
4 files changed, 81 insertions, 2 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz Binary files differindex b9fb0d0f8933..95a4895903a5 100644 --- a/net-libs/Manifest.gz +++ b/net-libs/Manifest.gz diff --git a/net-libs/liboauth/Manifest b/net-libs/liboauth/Manifest index 06b06ae4f037..1cbdb7aa4180 100644 --- a/net-libs/liboauth/Manifest +++ b/net-libs/liboauth/Manifest @@ -2,5 +2,6 @@ AUX liboauth-1.0.1-doxygen-out-of-tree.patch 2231 BLAKE2B 61523955ac500d63879dae AUX liboauth-1.0.3-openssl-1.1.patch 4483 BLAKE2B 4d2628448a1341cc41a676d5002c7f0f17af384fafde77687bc83235d90f4b6b853bbc9a4262fd4acaa0b04cb67d586bca308bb9c66fafbe7de1734fb39a4c1b SHA512 90ae75bbaf7296826f813df852263901ad8632579b5e5dd1e8b1edc4719d3f749ffc30e6348ffc2ddd5239de544c934382f52c4d62e90b3e655fd9630b5b4880 AUX liboauth-1.0.3-openssl-1.1_2.patch 750 BLAKE2B cf07dc1722c41f55e1ea5d241c91bd62d4eb8c862a727cf350ea10ca11a24e195439599bf1e712158d6f0dbd113d5cce62d567b48883f23e505e1df6d077a34f SHA512 778222c9b5ff2a35447cc8c14f7868f011c3a3e938cebdd617471221e07278e82b70bc436dbcf28c4b7a558486465a0e36278d18718f48f57a2bb47e74eba957 DIST liboauth-1.0.3.tar.gz 504950 BLAKE2B 56cf10574af58995de9bf86bb7f00becb360cc899bf1ddb23804820d63ae2c7af29aa29031f68ce79a6cc441cbce27aebf5f1c9dfa029243d7732592d03620c7 SHA512 5a13818dbb3e0df76f7a3fde451eff4f90c9bebfe2076a294921af0c07c2b0789f717f0f862ac6961562d4227e016dc198ddd7efb9c7ac599c3bfbcdb2ac33fa -EBUILD liboauth-1.0.3-r1.ebuild 1589 BLAKE2B 1b4a64ca65ad4d00fa9273dfa9dd1decd6ee49306f3c64cb82a1e83c85364993b41903c2681fa7b845fe49e6a5d098739e940e4168d0c01090006667a0c05096 SHA512 071edbd04d0e94eb1d93759aec6c15335526ad93fda6f85b19186d867332df9b7d095c91c521c0926487db3819533f8957e2fadf0c65649aa62eafabf0a55092 +EBUILD liboauth-1.0.3-r2.ebuild 1592 BLAKE2B 6c76cf5af8ca1ac43da32d47ffe97ff1070d5912d96bbcfc5c250b9d3ece6cd8200059a62e9753249cfba239ff7f1abdc63e3c5e719dafd5005e4c9f8e35bd52 SHA512 a9db5e954ee658f867cf9cfeaac39610b367118c6afd75def4dcc8df0994d77e647da5f9ff77a8453b15af5c5ed7ab29f02310dcda599933311a7591cf3e6b14 +EBUILD liboauth-1.0.3-r3.ebuild 1748 BLAKE2B f2c3ab26714866cfebf548d00cbc151a6416134cd0b1f81fd53b032d3d31340a3986b591616e979955ac8592f265c099720cc099e00628d2dd5bf152839d1c71 SHA512 89718289454f802965b114fba901413e27d1776c05a0e5d5b61cb267562faf1dd4f73ceab08f2b7cc84fafcae80766347c9ea5a95e4ea9686b2a17d163cd25dd MISC metadata.xml 880 BLAKE2B 7d21173fe9d5aa67de1cd75f2055bd686ca7223ad58761cc79241e88e390696fa60abb32c845e51a827720d281963258b41661c0757ba28211b7a0f9055d8cad SHA512 09d4eff65caa5df8b6b60454726cbc0725527d823d337162b06d35476d54569b5e324e920a4c658dbb6c7d0db516e587903aeb6701f01206b7fb766081f11e92 diff --git a/net-libs/liboauth/liboauth-1.0.3-r1.ebuild b/net-libs/liboauth/liboauth-1.0.3-r2.ebuild index 6a60bfa23920..5e47ba416dae 100644 --- a/net-libs/liboauth/liboauth-1.0.3-r1.ebuild +++ b/net-libs/liboauth/liboauth-1.0.3-r2.ebuild @@ -25,7 +25,7 @@ RDEPEND=" nss? ( dev-libs/nss curl? ( || ( - net-misc/curl[ssl,curl_ssl_nss] + net-misc/curl[ssl,curl_ssl_nss(-)] net-misc/curl[-ssl] ) ) ) diff --git a/net-libs/liboauth/liboauth-1.0.3-r3.ebuild b/net-libs/liboauth/liboauth-1.0.3-r3.ebuild new file mode 100644 index 000000000000..a1ed30b8023b --- /dev/null +++ b/net-libs/liboauth/liboauth-1.0.3-r3.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="C library implementing the OAuth secure authentication protocol" +HOMEPAGE="https://liboauth.sourceforge.io/" +SRC_URI="mirror://sourceforge/project/${PN}/${P}.tar.gz" + +LICENSE="|| ( GPL-2 MIT )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +# Upstream recommended NSS in the past for licencing reasons but w/ OpenSSL 3 that's +# no longer a problem, plus curl >= 8.3 doesn't support NSS anymore. +IUSE="bindist curl doc nss" +REQUIRED_USE="bindist? ( nss )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.1-doxygen-out-of-tree.patch + "${FILESDIR}"/${PN}-1.0.3-openssl-1.1.patch + "${FILESDIR}"/${PN}-1.0.3-openssl-1.1_2.patch +) + +# TODO: Drop curl + nss support entirely given it doesn't make sense anymore +RDEPEND=" + curl? ( net-misc/curl ) + nss? ( + dev-libs/nss + curl? ( || ( + net-misc/curl[ssl,curl_ssl_nss(-)] + net-misc/curl[-ssl] + ) ) + ) + !nss? ( + >=dev-libs/openssl-3:= + curl? ( || ( + net-misc/curl[ssl,curl_ssl_openssl] + net-misc/curl[-ssl] + ) ) + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( + app-doc/doxygen + media-gfx/graphviz + media-fonts/freefont + ) +" + +DOCS=( AUTHORS ChangeLog LICENSE.OpenSSL README ) + +src_configure() { + local myeconfargs=( + --disable-static + $(use_enable !curl curl) + $(use_enable curl libcurl) + $(use_enable nss) + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + default + + if use doc ; then + # make sure fonts are found + export DOTFONTPATH="${EPREFIX}"/usr/share/fonts/freefont-ttf + emake dox + fi +} + +src_install() { + use doc && HTML_DOCS=( doc/html/. ) + default + find "${ED}" -name "*.la" -delete || die +} |