commit: e3200e0c432b4e32f8e7a04da04f974b9ea8a184 Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Sat Jan 15 23:31:49 2022 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Sat Jan 15 23:36:35 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3200e0c
net-misc/oidc-agent: drop 4.1.1-r1 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> net-misc/oidc-agent/Manifest | 1 - .../oidc-agent-4.1.0_makefile-toolchain-vars.patch | 52 --------------- net-misc/oidc-agent/oidc-agent-4.1.1-r1.ebuild | 77 ---------------------- 3 files changed, 130 deletions(-) diff --git a/net-misc/oidc-agent/Manifest b/net-misc/oidc-agent/Manifest index 599330e2dcd6..ae0127b7b1d4 100644 --- a/net-misc/oidc-agent/Manifest +++ b/net-misc/oidc-agent/Manifest @@ -1,3 +1,2 @@ -DIST oidc-agent-4.1.1.tar.gz 801103 BLAKE2B dcb82a537787ae6ced577843c67acdd4e3fa315d017222067b2914837dfffccae27ddbdeeeaf4e8ca70c7e2744e03df5964d3ba318efd4460c73252bfd3f8e95 SHA512 e383e054623dc3b8fe73ec02df44faa05d4b69aaed47c7925f6f92d25cbc5301173fbc607b6198bc70f99e634e582fbae7c5570812086a8e5694d40ce6d2c2d1 DIST oidc-agent-4.2.4.tar.gz 823459 BLAKE2B 71c2fd983031641c5ed39ba3f1771bf283ab56eae6bba426da5308a7c9fcf2ce48103220375b9881e255eeddf05d50d58e2dee047b0b4436451c8d39b0cd55e6 SHA512 6f4f79823869197a0b74cd757b72e1d060ed9f1d9be477f815989b723a86285b200bd72b95f07a4698e754b9ad7aae48cee72603e1a6eaab71590cc63c2bae3d DIST oidc-agent-4.2.6.tar.gz 824079 BLAKE2B f7cf810254eae00acc1b4c036fe58dda1c62b3db4d7d02a5782269485200a6a4c1d650a6cfac5f6a0e5764a1b2e19d4885eb7744c84724f927aa6d9f18f5bb55 SHA512 6f23cb13c917ce389eea3bb55e802834ff7c1bf1c421264fdcce27eb5a20b11a498d8d76c002eb92bbf3618942803ddb9937f59d19ff1aff6fe9ca07df40d0bb diff --git a/net-misc/oidc-agent/files/oidc-agent-4.1.0_makefile-toolchain-vars.patch b/net-misc/oidc-agent/files/oidc-agent-4.1.0_makefile-toolchain-vars.patch deleted file mode 100644 index 2f42a21afbd6..000000000000 --- a/net-misc/oidc-agent/files/oidc-agent-4.1.0_makefile-toolchain-vars.patch +++ /dev/null @@ -1,52 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -89,9 +89,9 @@ - endif - - # Compiler options --CC = gcc -+CC := $(CC) - # compiling flags here --CFLAGS = -g -std=c99 -I$(SRCDIR) -I$(LIBDIR) -Wall -Wextra -fno-common -+CFLAGS := $(CFLAGS) -g -std=c99 -I$(SRCDIR) -I$(LIBDIR) -Wall -Wextra -fno-common - ifndef MAC_OS - ifndef NODPKG - CFLAGS +=$(shell dpkg-buildflags --get CPPFLAGS) -@@ -102,11 +102,11 @@ - TEST_CFLAGS = $(CFLAGS) -I. - - # Linker options --LINKER = gcc -+LINKER := $(CC) - ifdef MAC_OS - LFLAGS = $(LSODIUM) $(LARGP) - else --LFLAGS = $(LSODIUM) $(LSECCOMP) -fno-common -+LFLAGS := $(LDFLAGS) $(LSODIUM) $(LSECCOMP) -fno-common - ifndef NODPKG - LFLAGS +=$(shell dpkg-buildflags --get LDFLAGS) - endif -@@ -117,7 +117,7 @@ - ifeq ($(USE_LIST_SO),1) - LFLAGS += $(LLIST) - endif --AGENT_LFLAGS = $(LCURL) $(LMICROHTTPD) $(LFLAGS) -+AGENT_LFLAGS := $(LDFLAGS) $(LCURL) $(LMICROHTTPD) $(LFLAGS) - ifndef MAC_OS - AGENT_LFLAGS += $(LSECRET) $(LGLIB) - endif -@@ -126,12 +126,12 @@ - ifdef MAC_OS - CLIENT_LFLAGS = -L$(APILIB) $(LARGP) $(LAGENT) $(LSODIUM) - else --CLIENT_LFLAGS = -L$(APILIB) $(LAGENT) $(LSODIUM) $(LSECCOMP) -+CLIENT_LFLAGS := $(LDFLAGS) -L$(APILIB) $(LAGENT) $(LSODIUM) $(LSECCOMP) - ifndef NODPKG - CLIENT_LFLAGS += $(shell dpkg-buildflags --get LDFLAGS) - endif - endif --LIB_LFLAGS = -lc $(LSODIUM) -+LIB_LFLAGS := $(LDFLAGS) -lc $(LSODIUM) - ifndef MAC_OS - ifndef NODPKG - LIB_LFLAGS += $(shell dpkg-buildflags --get LDFLAGS) diff --git a/net-misc/oidc-agent/oidc-agent-4.1.1-r1.ebuild b/net-misc/oidc-agent/oidc-agent-4.1.1-r1.ebuild deleted file mode 100644 index a4b1287eadfa..000000000000 --- a/net-misc/oidc-agent/oidc-agent-4.1.1-r1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit xdg-utils - -DESCRIPTION="Agent and tools for managing OpenID Connect tokens on the command line" -HOMEPAGE="https://github.com/indigo-dc/oidc-agent" -SRC_URI="https://github.com/indigo-dc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~riscv" -IUSE="test" - -DEPEND="app-crypt/libsecret - dev-libs/libsodium:= - net-libs/libmicrohttpd:= - sys-libs/libseccomp" -RDEPEND="${DEPEND}" -BDEPEND="test? ( dev-libs/check )" - -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-4.0.2_makefile-liblist-automagic.patch - "${FILESDIR}"/${PN}-4.1.0_install-perms.patch - "${FILESDIR}"/${PN}-4.1.0_makefile-toolchain-vars.patch -) - -src_prepare() { - default - sed -i -e 's|^\(\s\+\)@|\1|' Makefile || die "Failed to increase verbosity in Makefile" -} - -src_install() { - emake \ - PREFIX="${ED}" \ - BIN_AFTER_INST_PATH="/usr" \ - INCLUDE_PATH="${ED}"/usr/include \ - LIB_PATH="${ED}"/usr/$(get_libdir) \ - install - - # This file is not compatible with Gentoo and in any case, we generally - # let the users load such agents themselves. - rm -f "${ED}"/etc/X11/Xsession.d/91${PN} -} - -pkg_postinst() { - xdg_desktop_database_update - - if [[ -z "${REPLACING_VERSIONS}" ]]; then - elog - elog "You should use oidc-gen to initially generate your account configuration" - elog "before it can be loaded into oidc-agent using oidc-add. For details, please" - elog "consult the man page of oidc-gen, or full documentation at" - elog " https://indigo-dc.gitbooks.io/oidc-agent/" - elog - else - local new_major_ver old_ver - new_major_ver=$(ver_cut 1) - for old_ver in ${REPLACING_VERSIONS}; do - if [[ $(ver_cut 1 ${old_ver}) != ${new_major_ver} ]]; then - ewarn - ewarn "You are upgrading from a different major version. Please restart any running instances of ${PN}" - ewarn "to make sure they are compatible with the updated clients." - ewarn - break - fi - done - fi -} - -pkg_postrm() { - xdg_desktop_database_update -}