mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-misc/oidc-agent: drop 5.3.4
Closes: https://github.com/gentoo/gentoo/pull/46182 Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com> Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
This commit is contained in:
committed by
Guilherme Amadio
parent
ae008c0913
commit
827f8be79a
@@ -1,5 +1,4 @@
|
||||
DIST oidc-agent-4.5.2.tar.gz 1766905 BLAKE2B 0558778a5162fbbbe29be9a476838d745abf4825e7274487637f368d521e03f6f165ec82129f37f135a6cf3d3d43bb9349574b88763a508bb683cdc8882230d2 SHA512 04c9ddb258c132781eaa875412f0a8d48d2127e5b78ba262eb0240dac05025db62f5d357e4b5c35a9009960b30d63ce96156c8dcf3b5eac4257c02d37578e676
|
||||
DIST oidc-agent-5.2.3.tar.gz 1813729 BLAKE2B ab5f3130686783c444a60e764471203ba04f3b10c690e1f42cc7b41d9b98fc0f01e17f24fc262cf6fa905f235f1baec30a5f2c91959edf46736ed9062eb52d6e SHA512 91486dfd866f9a5840a2f1aabf3f7c2b6f0470fe218ec9c93c2f6cc9e8163e8033a9fda9e02b07b34acd13f570c970f9cbfcbce386e7eb933504577f0308ac0f
|
||||
DIST oidc-agent-5.3.4.tar.gz 2954462 BLAKE2B 500c46fea9b3975e3e0f83507af9d9b3f704a0a08082d8212bb8894056b565ee923c2a400283b96836c317d9613ad25d274e81aae9b68032971060c7b7e5f367 SHA512 754b472a723cb37ece7dfedc2aebe9a4afa35ddbd0e4ee0cb14b870187649babf980f96e15f0310f7f56e59635265012abcc9fb81801b8703190877a765a0ff2
|
||||
DIST oidc-agent-5.3.5.tar.gz 2913799 BLAKE2B 1f9b12a4dd7866d489c950a105052b7d2aedc1978ad0e205ab5c5de9aac136d61175bc7e217e146a8571b3e79a2696c07ce2e31b711922989f311bcd644a681e SHA512 6b746be85053bf37d2951d2f1c71b3855ad445ca81886f2f1890c117394413d5d30a600fe0ae3215e24e4693c6cb119d4b3a7b9d14879f6fbf247779cb076b87
|
||||
DIST oidc-agent-5.3.6.tar.gz 2913799 BLAKE2B 48c63c1daa91975a9759cd54cdfd53cbf52f17b02be2b791ed992f360ddf2d0d23cc6b00a0a28fc4ea1342c5f3dece4f9f4b4ce4d7e8060ea1cac0620379d892 SHA512 1d645f5e7739a4fb8444055c31e09cf7c8c5c950803ee942f920313358c5c7066de0465c2f749fd0cae192cadb4cda6e280f69c1942baf9295524d4ac6fed1a6
|
||||
|
||||
@@ -1,102 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit tmpfiles 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 ~arm64 ~riscv"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="app-crypt/libsecret
|
||||
dev-libs/cJSON
|
||||
dev-libs/glib:2
|
||||
dev-libs/libsodium:=
|
||||
media-gfx/qrencode:=
|
||||
net-libs/libmicrohttpd:=
|
||||
net-libs/webkit-gtk:4.1
|
||||
net-misc/curl
|
||||
x11-libs/gtk+:3
|
||||
elibc_musl? ( sys-libs/argp-standalone )"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="sys-apps/help2man
|
||||
test? ( dev-libs/check )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_prepare() {
|
||||
xdg_environment_reset
|
||||
default
|
||||
sed -i -e 's|^\(\s\+\)@|\1|' Makefile || die "Failed to increase verbosity in Makefile"
|
||||
}
|
||||
|
||||
oidc_emake() {
|
||||
local mymakeargs=(
|
||||
USE_CJSON_SO=1
|
||||
USE_LIST_SO=0
|
||||
USE_MUSTACHE_SO=0
|
||||
USE_ARGP_SO=$(usex elibc_musl 1 0)
|
||||
CONFIG_AFTER_INST_PATH="${EPREFIX}"/etc
|
||||
BIN_AFTER_INST_PATH="${EPREFIX}"/usr
|
||||
)
|
||||
|
||||
emake "${mymakeargs[@]}" $@
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
oidc_emake -j1 create_obj_dir_structure create_picobj_dir_structure # Bug #880157
|
||||
oidc_emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
oidc_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 "${ED}"/etc/X11/Xsession.d/91${PN} || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process ${PN}.conf
|
||||
|
||||
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 old_ver
|
||||
for old_ver in ${REPLACING_VERSIONS}; do
|
||||
if [[ $(ver_cut 1 ${old_ver}) != 5 ]]; then
|
||||
ewarn "${PN} 5 is a major release with quite some usability improvements but unfortunately also some breaking changes."
|
||||
ewarn "Please consult"
|
||||
ewarn " https://indigo-dc.gitbook.io/oidc-agent/oidc-agent5"
|
||||
ewarn "for instructions on how to upgrade your configuration to this version"
|
||||
ewarn
|
||||
ewarn "Furthermore, 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
|
||||
}
|
||||
Reference in New Issue
Block a user