diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-25 10:31:10 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-25 10:31:10 +0000 |
commit | 2900e684ae4bdce1f20652587728095cd01a30a1 (patch) | |
tree | db7b5054b7d0de362a2960a0a7268ffc37b8e1f9 /net-libs/liboauth | |
parent | ff8c6e4babf1a2911b8d61b6bb7e80290355cb70 (diff) |
gentoo auto-resync : 25:11:2023 - 10:31:10
Diffstat (limited to 'net-libs/liboauth')
-rw-r--r-- | net-libs/liboauth/Manifest | 1 | ||||
-rw-r--r-- | net-libs/liboauth/liboauth-1.0.3-r4.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/net-libs/liboauth/Manifest b/net-libs/liboauth/Manifest index 1cbdb7aa4180..3e56c33b0428 100644 --- a/net-libs/liboauth/Manifest +++ b/net-libs/liboauth/Manifest @@ -4,4 +4,5 @@ AUX liboauth-1.0.3-openssl-1.1_2.patch 750 BLAKE2B cf07dc1722c41f55e1ea5d241c91b DIST liboauth-1.0.3.tar.gz 504950 BLAKE2B 56cf10574af58995de9bf86bb7f00becb360cc899bf1ddb23804820d63ae2c7af29aa29031f68ce79a6cc441cbce27aebf5f1c9dfa029243d7732592d03620c7 SHA512 5a13818dbb3e0df76f7a3fde451eff4f90c9bebfe2076a294921af0c07c2b0789f717f0f862ac6961562d4227e016dc198ddd7efb9c7ac599c3bfbcdb2ac33fa EBUILD liboauth-1.0.3-r2.ebuild 1592 BLAKE2B 6c76cf5af8ca1ac43da32d47ffe97ff1070d5912d96bbcfc5c250b9d3ece6cd8200059a62e9753249cfba239ff7f1abdc63e3c5e719dafd5005e4c9f8e35bd52 SHA512 a9db5e954ee658f867cf9cfeaac39610b367118c6afd75def4dcc8df0994d77e647da5f9ff77a8453b15af5c5ed7ab29f02310dcda599933311a7591cf3e6b14 EBUILD liboauth-1.0.3-r3.ebuild 1748 BLAKE2B f2c3ab26714866cfebf548d00cbc151a6416134cd0b1f81fd53b032d3d31340a3986b591616e979955ac8592f265c099720cc099e00628d2dd5bf152839d1c71 SHA512 89718289454f802965b114fba901413e27d1776c05a0e5d5b61cb267562faf1dd4f73ceab08f2b7cc84fafcae80766347c9ea5a95e4ea9686b2a17d163cd25dd +EBUILD liboauth-1.0.3-r4.ebuild 1480 BLAKE2B 9b9ce8c03628931b7368b53f95b5d2a4a7a6532205dbb08f3b5cea94d6aa7a8eb75e9d084992fef581fd03b57165ef62aaf3453135cb15245d59c1758fef5eaa SHA512 3a4a58afe900ae11fe78f8b5f4ea0122c38d79071d0b024ea72a43a5e4bfe29a7aae3dce0c8bb8ad6f77480da3c909af758f10c74c8af2c72948a038488a9e81 MISC metadata.xml 880 BLAKE2B 7d21173fe9d5aa67de1cd75f2055bd686ca7223ad58761cc79241e88e390696fa60abb32c845e51a827720d281963258b41661c0757ba28211b7a0f9055d8cad SHA512 09d4eff65caa5df8b6b60454726cbc0725527d823d337162b06d35476d54569b5e324e920a4c658dbb6c7d0db516e587903aeb6701f01206b7fb766081f11e92 diff --git a/net-libs/liboauth/liboauth-1.0.3-r4.ebuild b/net-libs/liboauth/liboauth-1.0.3-r4.ebuild new file mode 100644 index 000000000000..1d65ea10de65 --- /dev/null +++ b/net-libs/liboauth/liboauth-1.0.3-r4.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" +IUSE="curl doc" + +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 +) + +RDEPEND=" + >=dev-libs/openssl-3:= + curl? ( + net-misc/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=( + # 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. + --disable-nss + $(use_enable !curl curl) + $(use_enable curl libcurl) + ) + 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 +} |