summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@gentoo.org>2024-09-15 19:13:36 +0200
committerPetr Vaněk <arkamar@gentoo.org>2024-09-15 19:16:34 +0200
commitb04bc54e41010a7d42536a16766bd41ca6103c22 (patch)
treeaeef40e65f4003469684c95ef50a38f15de2e194 /net-libs
parentnet-news/yydecode: drop 0.2.10-r1, 0.2.10-r2 (diff)
downloadgentoo-b04bc54e41010a7d42536a16766bd41ca6103c22.tar.gz
gentoo-b04bc54e41010a7d42536a16766bd41ca6103c22.tar.bz2
gentoo-b04bc54e41010a7d42536a16766bd41ca6103c22.zip
net-libs/liboauth: drop 1.0.3-r2, 1.0.3-r3
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/liboauth/liboauth-1.0.3-r2.ebuild76
-rw-r--r--net-libs/liboauth/liboauth-1.0.3-r3.ebuild78
-rw-r--r--net-libs/liboauth/metadata.xml8
3 files changed, 0 insertions, 162 deletions
diff --git a/net-libs/liboauth/liboauth-1.0.3-r2.ebuild b/net-libs/liboauth/liboauth-1.0.3-r2.ebuild
deleted file mode 100644
index 0c8ec466d97f..000000000000
--- a/net-libs/liboauth/liboauth-1.0.3-r2.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2024 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="https://downloads.sourceforge.net/project/${PN}/${P}.tar.gz"
-
-LICENSE="|| ( GPL-2 MIT )"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong 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=(
- "${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="
- curl? ( net-misc/curl )
- nss? (
- dev-libs/nss
- curl? ( || (
- net-misc/curl[ssl,curl_ssl_nss(-)]
- net-misc/curl[-ssl]
- ) )
- )
- !nss? (
- dev-libs/openssl:=
- curl? ( || (
- net-misc/curl[ssl,curl_ssl_openssl]
- net-misc/curl[-ssl]
- ) )
- )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
- doc? (
- app-text/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
-}
diff --git a/net-libs/liboauth/liboauth-1.0.3-r3.ebuild b/net-libs/liboauth/liboauth-1.0.3-r3.ebuild
deleted file mode 100644
index 84fff9020d25..000000000000
--- a/net-libs/liboauth/liboauth-1.0.3-r3.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2024 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="https://downloads.sourceforge.net/project/${PN}/${P}.tar.gz"
-
-LICENSE="|| ( GPL-2 MIT )"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~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-text/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
-}
diff --git a/net-libs/liboauth/metadata.xml b/net-libs/liboauth/metadata.xml
index c86aefa0a482..e03bf3e62efb 100644
--- a/net-libs/liboauth/metadata.xml
+++ b/net-libs/liboauth/metadata.xml
@@ -3,14 +3,6 @@
<pkgmetadata>
<!-- maintainer-needed -->
<use>
- <flag name="nss">
- Use Mozilla NSS (<pkg>dev-libs/nss</pkg>) as hash library; if
- this is disabled, <pkg>dev-libs/openssl</pkg> is used instead.
- </flag>
- <flag name="bindist">
- Alias for the nss USE flag, since there are license compliancy
- trouble when using OpenSSL.
- </flag>
<flag name="curl">
If enabled, <pkg>net-misc/curl</pkg> is used thorugh the libcurl
library; if it's not, the curl command is used instead. Some