summaryrefslogtreecommitdiff
path: root/net-misc/oidc-agent
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-18 04:04:23 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-18 04:04:23 +0100
commit483d7c056fba15727fe24545f93627a1d1e1e2eb (patch)
tree80d144b60f8e1dc0d14c15cb3e5950da12c80074 /net-misc/oidc-agent
parent8796aaedb3257bbe4d80b0033408b2210b2259d6 (diff)
gentoo auto-resync : 18:10:2024 - 04:04:23
Diffstat (limited to 'net-misc/oidc-agent')
-rw-r--r--net-misc/oidc-agent/Manifest4
-rw-r--r--net-misc/oidc-agent/metadata.xml9
-rw-r--r--net-misc/oidc-agent/oidc-agent-5.2.2.ebuild102
3 files changed, 113 insertions, 2 deletions
diff --git a/net-misc/oidc-agent/Manifest b/net-misc/oidc-agent/Manifest
index 8582ce30b852..12d0c2d29b12 100644
--- a/net-misc/oidc-agent/Manifest
+++ b/net-misc/oidc-agent/Manifest
@@ -5,7 +5,9 @@ AUX oidc-agent-5.0.1_webkit41.patch 253 BLAKE2B af5fb8b4aae2282171d7c765b2b751d6
DIST oidc-agent-4.5.2.tar.gz 1766905 BLAKE2B 0558778a5162fbbbe29be9a476838d745abf4825e7274487637f368d521e03f6f165ec82129f37f135a6cf3d3d43bb9349574b88763a508bb683cdc8882230d2 SHA512 04c9ddb258c132781eaa875412f0a8d48d2127e5b78ba262eb0240dac05025db62f5d357e4b5c35a9009960b30d63ce96156c8dcf3b5eac4257c02d37578e676
DIST oidc-agent-5.0.1.tar.gz 1802435 BLAKE2B 75bc66bb2c6cc89293c7ad155d35b7a7adb73ad7f8a5aadeb029b43a095e2a80f0fc4505737a0c53c60e6f601acbcab990ad4b572b659050fe36e5dd2e7c4092 SHA512 caffa9d7733690917472d2d48ca58092ab722c5f049750de37169dc0a76ccbe374ae3fb5e56b8c578465e84a2f40795eaa26018281b4f851f7a7c94571d2a124
DIST oidc-agent-5.1.0.tar.gz 1803314 BLAKE2B 8ce1de7ec6dffa3155200664a93433db4f4a116325d8ce60ffff885d534b3d2367e40577b6b22987e817d92f0020fea97e2224947b27ba10847bb0c347dcdf3a SHA512 f3ecda4445478ea02e833b0b9ed75a517c1ff91f5b0c2cb258cc3a7eacb62cb75b56697e15fa755d9cf45e7a0293c8bd2f6ab8d998dd8680726c4143b1e011bc
+DIST oidc-agent-5.2.2.tar.gz 1812670 BLAKE2B f17c8ef8d95e509f12ab3cf9a6a3bf4b3550f9f119070843ec40adad1ef959c870caacd74c4a144936b214212671227125eb268d8808261c4cf5f242fa87d036 SHA512 1953c465f0918d005d39ef93a6d792aea1287ac87f337d7d33ce8296920f457a8e420afcdd18343f255c97f504c5e58446a16d683a559952654491e78ed2c5a8
EBUILD oidc-agent-4.5.2.ebuild 2387 BLAKE2B ad75c9735389ccbcba1885b0ac75f3d5505af0c4080e660607613be15630ce8aca24caed63be250c23656333877b7b50b8af4c24341a3f80c10b6d12075f6c9d SHA512 cd56c2250a6a9e6afe114cf02ff069b6bb1f31564f9355467543e0f4ac9c71d175b23d70c8addff75e1b56903a606bdddb848b8178d0cc8375ff9f59cc5a4f2e
EBUILD oidc-agent-5.0.1.ebuild 2632 BLAKE2B f756650c3c90fa58ce20c72a9856a9a001c89177e767f59a64c3f5779b7aa69ee2606e544873a8eb4c40db95a95ffe19ea8d478a0980642b03aaeae37151a417 SHA512 ef1db7d05d683b45a25d26d65e7cd2260aab08130392ae5b492525ff505e8b5768456abcd16577a3924dafa8dd6db27fcfdb0057cc16c7555e571e1963fdd671
EBUILD oidc-agent-5.1.0.ebuild 2633 BLAKE2B f46b6946cd6a27c7011eab3edd2265185a4dbca78649469f55771879047812b826b0d64fcbb66e46137d07cb7f4ff16d3088a84f2174602f51f6ead04bba6e2d SHA512 4ab82b0b1049a81226ca434acb0a6d9eb0972d3471018bbffac155175f835c5a5c63b8f7e23bad16316e07ad6d7c8ce034e711a63cad7dfa183d24c4edb037e4
-MISC metadata.xml 702 BLAKE2B 14c601e4349d652788fd5bb26faaef29106f126e805e817e1d805164c5fe7ab7fab9b423a56d3593d8f50756bb8b68bbfaf863ad1276352c503a44efefc0ab67 SHA512 f608c4feaf014c80b7076bb16e972944c1c43467f59e019f3abf360d01f2587a2d629ba7a4cc63079ba51eaab095f473d77590a044fd70aa19eee6a3a46502a2
+EBUILD oidc-agent-5.2.2.ebuild 2668 BLAKE2B 92591946b9170d268a0bad74b276d4ce7c283a42bb7b8f9bfc70d4a5ea464515b0c27c4969d01792836b459564dcac6501efdb6e401a40c12fc405b440db5031 SHA512 01c3812ab9d6d5cb435e4b4bd42cbff972d6ca2933e9478c254efbafaa05f3041b39a992e24c1b91ee4182d568ef2b7a18516ae8901592bb77f471cf6b65a043
+MISC metadata.xml 942 BLAKE2B a64f641edcd54e37a41dd92229e39b2f08fd44bd5c52ec8e38849fde71a2889c930be0965a72c4448e2f6c07d8d986a908024a86d717aa65ca94abf1748dcf34 SHA512 d59f8fdaea7a5f98190bc30df8a829e221e4449bb5826a359a1d7f70c1e37fb09e968df2d007d58d6f957783b693bf0cc0b5445f7d8a36ec0b3f6159966f1e54
diff --git a/net-misc/oidc-agent/metadata.xml b/net-misc/oidc-agent/metadata.xml
index 77a6fd266217..0095e08e87be 100644
--- a/net-misc/oidc-agent/metadata.xml
+++ b/net-misc/oidc-agent/metadata.xml
@@ -1,7 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person" proxied="yes">
+ <email>o.freyermuth@googlemail.com</email>
+ <name>Oliver Freyermuth</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<longdescription>
oidc-agent is a set of tools to manage OpenID Connect tokens and make them
easily usable from the command line. We followed the ssh-agent design, so users
diff --git a/net-misc/oidc-agent/oidc-agent-5.2.2.ebuild b/net-misc/oidc-agent/oidc-agent-5.2.2.ebuild
new file mode 100644
index 000000000000..1066f0d838dc
--- /dev/null
+++ b/net-misc/oidc-agent/oidc-agent-5.2.2.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2024 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
+}