1 |
commit: 658d4bf6d525f5dd47f23ab4e4ebe525612f7206 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 1 23:18:20 2022 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 1 23:18:20 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=658d4bf6 |
7 |
|
8 |
net-misc/oidc-agent: drop 4.2.6 |
9 |
|
10 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
11 |
|
12 |
net-misc/oidc-agent/Manifest | 1 - |
13 |
...dc-agent-4.0.2_makefile-liblist-automagic.patch | 11 --- |
14 |
.../files/oidc-agent-4.1.0_install-perms.patch | 60 ---------------- |
15 |
.../files/oidc-agent-4.2.6_sighandler_t.patch | 11 --- |
16 |
net-misc/oidc-agent/oidc-agent-4.2.6.ebuild | 83 ---------------------- |
17 |
5 files changed, 166 deletions(-) |
18 |
|
19 |
diff --git a/net-misc/oidc-agent/Manifest b/net-misc/oidc-agent/Manifest |
20 |
index 3b61e20a7a2b..a0f914e226fc 100644 |
21 |
--- a/net-misc/oidc-agent/Manifest |
22 |
+++ b/net-misc/oidc-agent/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST oidc-agent-4.2.6.tar.gz 824079 BLAKE2B f7cf810254eae00acc1b4c036fe58dda1c62b3db4d7d02a5782269485200a6a4c1d650a6cfac5f6a0e5764a1b2e19d4885eb7744c84724f927aa6d9f18f5bb55 SHA512 6f23cb13c917ce389eea3bb55e802834ff7c1bf1c421264fdcce27eb5a20b11a498d8d76c002eb92bbf3618942803ddb9937f59d19ff1aff6fe9ca07df40d0bb |
25 |
DIST oidc-agent-4.3.1.tar.gz 2124200 BLAKE2B 4108f50688fd0d2043105972a7a7fbab58a74b6a36e0d0a739be5b42a29c3b6bedb29b2273038d49b77fc3245a51f8cf998a12fee5e39096dd5e35ec72660b05 SHA512 3b598f760b1932a07bb243ce7c978a99c209ffbe5594cbb9e084c430c11c089ff0f7be113f73b165bd5f6b382d0ab30dd230c4c9fab6e210a327af20715e6d60 |
26 |
|
27 |
diff --git a/net-misc/oidc-agent/files/oidc-agent-4.0.2_makefile-liblist-automagic.patch b/net-misc/oidc-agent/files/oidc-agent-4.0.2_makefile-liblist-automagic.patch |
28 |
deleted file mode 100644 |
29 |
index 1e8765aef9d0..000000000000 |
30 |
--- a/net-misc/oidc-agent/files/oidc-agent-4.0.2_makefile-liblist-automagic.patch |
31 |
+++ /dev/null |
32 |
@@ -1,11 +0,0 @@ |
33 |
---- a/Makefile |
34 |
-+++ b/Makefile |
35 |
-@@ -58,7 +58,7 @@ |
36 |
- |
37 |
- # USE_CJSON_SO ?= $(shell /sbin/ldconfig -N -v $(sed 's/:/ /g' <<< $LD_LIBRARY_PATH) 2>/dev/null | grep -i libcjson >/dev/null && echo 1 || echo 0) |
38 |
- USE_CJSON_SO ?= 0 |
39 |
--USE_LIST_SO ?= $(shell /sbin/ldconfig -N -v $(sed 's/:/ /g' <<< $LD_LIBRARY_PATH) 2>/dev/null | grep -i liblist >/dev/null && echo 1 || echo 0) |
40 |
-+USE_LIST_SO ?= 0 |
41 |
- |
42 |
- ifeq ($(USE_CJSON_SO),1) |
43 |
- DEFINE_USE_CJSON_SO = -DUSE_CJSON_SO |
44 |
|
45 |
diff --git a/net-misc/oidc-agent/files/oidc-agent-4.1.0_install-perms.patch b/net-misc/oidc-agent/files/oidc-agent-4.1.0_install-perms.patch |
46 |
deleted file mode 100644 |
47 |
index e0ee26cfa6f2..000000000000 |
48 |
--- a/net-misc/oidc-agent/files/oidc-agent-4.1.0_install-perms.patch |
49 |
+++ /dev/null |
50 |
@@ -1,60 +0,0 @@ |
51 |
---- a/Makefile |
52 |
-+++ b/Makefile |
53 |
-@@ -426,19 +426,19 @@ |
54 |
- |
55 |
- ## Man pages |
56 |
- $(MAN_PATH)/man1/$(AGENT).1: $(MANDIR)/$(AGENT).1 $(MAN_PATH)/man1 |
57 |
-- @install $< $@ |
58 |
-+ @install -m 644 $< $@ |
59 |
- $(MAN_PATH)/man1/$(GEN).1: $(MANDIR)/$(GEN).1 $(MAN_PATH)/man1 |
60 |
-- @install $< $@ |
61 |
-+ @install -m 644 $< $@ |
62 |
- $(MAN_PATH)/man1/$(ADD).1: $(MANDIR)/$(ADD).1 $(MAN_PATH)/man1 |
63 |
-- @install $< $@ |
64 |
-+ @install -m 644 $< $@ |
65 |
- $(MAN_PATH)/man1/$(CLIENT).1: $(MANDIR)/$(CLIENT).1 $(MAN_PATH)/man1 |
66 |
-- @install $< $@ |
67 |
-+ @install -m 644 $< $@ |
68 |
- $(MAN_PATH)/man1/$(AGENT_SERVICE).1: $(MANDIR)/$(AGENT_SERVICE).1 $(MAN_PATH)/man1 |
69 |
-- @install $< $@ |
70 |
-+ @install -m 644 $< $@ |
71 |
- $(MAN_PATH)/man1/$(KEYCHAIN).1: $(MANDIR)/$(KEYCHAIN).1 $(MAN_PATH)/man1 |
72 |
-- @install $< $@ |
73 |
-+ @install -m 644 $< $@ |
74 |
- $(PROMPT_MAN_PATH)/man1/$(PROMPT).1: $(MANDIR)/$(PROMPT).1 $(PROMPT_MAN_PATH)/man1 |
75 |
-- @install $< $@ |
76 |
-+ @install -m 644 $< $@ |
77 |
- |
78 |
- |
79 |
- ## Lib |
80 |
-@@ -452,24 +452,24 @@ |
81 |
- @ln -sf $(SHARED_LIB_NAME_SO) $@ |
82 |
- |
83 |
- $(INCLUDE_PATH)/oidc-agent/api.h: $(SRCDIR)/$(CLIENT)/api.h $(INCLUDE_PATH)/oidc-agent |
84 |
-- @install $< $@ |
85 |
-+ @install -m 644 $< $@ |
86 |
- |
87 |
- $(INCLUDE_PATH)/oidc-agent/ipc_values.h: $(SRCDIR)/defines/ipc_values.h $(INCLUDE_PATH)/oidc-agent |
88 |
-- @install $< $@ |
89 |
-+ @install -m 644 $< $@ |
90 |
- |
91 |
- $(INCLUDE_PATH)/oidc-agent/oidc_error.h: $(SRCDIR)/utils/oidc_error.h $(INCLUDE_PATH)/oidc-agent |
92 |
-- @install $< $@ |
93 |
-+ @install -m 644 $< $@ |
94 |
- |
95 |
- $(LIBDEV_PATH)/liboidc-agent.a: $(APILIB)/liboidc-agent.a $(LIBDEV_PATH) |
96 |
-- @install $< $@ |
97 |
-+ @install -m 644 $< $@ |
98 |
- |
99 |
- $(INCLUDE_PATH)/oidc-agent/export_symbols.h: $(SRCDIR)/$(CLIENT)/export_symbols.h $(INCLUDE_PATH)/oidc-agent |
100 |
-- @install $< $@ |
101 |
-+ @install -m 644 $< $@ |
102 |
- |
103 |
- |
104 |
- ## scheme handler |
105 |
- $(DESKTOP_APPLICATION_PATH)/oidc-gen.desktop: $(CONFDIR)/scheme_handler/oidc-gen.desktop |
106 |
-- @install -D $< $@ |
107 |
-+ @install -m 644 -D $< $@ |
108 |
- @echo "Exec=x-terminal-emulator -e bash -c \"$(BIN_AFTER_INST_PATH)/bin/$(GEN) --codeExchange=%u; exec bash\"" >> $@ |
109 |
- |
110 |
- ## Xsession |
111 |
|
112 |
diff --git a/net-misc/oidc-agent/files/oidc-agent-4.2.6_sighandler_t.patch b/net-misc/oidc-agent/files/oidc-agent-4.2.6_sighandler_t.patch |
113 |
deleted file mode 100644 |
114 |
index d450d0ec2c7a..000000000000 |
115 |
--- a/net-misc/oidc-agent/files/oidc-agent-4.2.6_sighandler_t.patch |
116 |
+++ /dev/null |
117 |
@@ -1,11 +0,0 @@ |
118 |
---- a/src/oidc-gen/gen_signal_handler.c |
119 |
-+++ b/src/oidc-gen/gen_signal_handler.c |
120 |
-@@ -12,7 +12,7 @@ |
121 |
- |
122 |
- static char* global_state = NULL; |
123 |
- #ifndef __APPLE__ |
124 |
--static __sighandler_t old_sigint; |
125 |
-+static sighandler_t old_sigint; |
126 |
- #else |
127 |
- static sig_t old_sigint; |
128 |
- #endif |
129 |
|
130 |
diff --git a/net-misc/oidc-agent/oidc-agent-4.2.6.ebuild b/net-misc/oidc-agent/oidc-agent-4.2.6.ebuild |
131 |
deleted file mode 100644 |
132 |
index 0d3056b5e583..000000000000 |
133 |
--- a/net-misc/oidc-agent/oidc-agent-4.2.6.ebuild |
134 |
+++ /dev/null |
135 |
@@ -1,83 +0,0 @@ |
136 |
-# Copyright 1999-2022 Gentoo Authors |
137 |
-# Distributed under the terms of the GNU General Public License v2 |
138 |
- |
139 |
-EAPI=8 |
140 |
- |
141 |
-inherit flag-o-matic xdg-utils |
142 |
- |
143 |
-DESCRIPTION="Agent and tools for managing OpenID Connect tokens on the command line" |
144 |
-HOMEPAGE="https://github.com/indigo-dc/oidc-agent" |
145 |
-SRC_URI="https://github.com/indigo-dc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
146 |
- |
147 |
-LICENSE="MIT" |
148 |
-SLOT="0" |
149 |
-KEYWORDS="amd64 ~riscv" |
150 |
-IUSE="test" |
151 |
- |
152 |
-DEPEND="app-crypt/libsecret |
153 |
- dev-libs/libsodium:= |
154 |
- media-gfx/qrencode |
155 |
- net-libs/libmicrohttpd:= |
156 |
- sys-libs/libseccomp |
157 |
- elibc_musl? ( sys-libs/argp-standalone )" |
158 |
-RDEPEND="${DEPEND}" |
159 |
-BDEPEND="test? ( dev-libs/check )" |
160 |
- |
161 |
-RESTRICT="!test? ( test )" |
162 |
- |
163 |
-PATCHES=( |
164 |
- "${FILESDIR}"/${PN}-4.0.2_makefile-liblist-automagic.patch |
165 |
- "${FILESDIR}"/${PN}-4.1.0_install-perms.patch |
166 |
- "${FILESDIR}"/${PN}-4.2.6_sighandler_t.patch |
167 |
-) |
168 |
- |
169 |
-src_prepare() { |
170 |
- default |
171 |
- sed -i -e 's|^\(\s\+\)@|\1|' Makefile || die "Failed to increase verbosity in Makefile" |
172 |
- |
173 |
- # Bug #832552 |
174 |
- append-cflags -D_GNU_SOURCE |
175 |
- use elibc_musl && append-ldflags -largp |
176 |
-} |
177 |
- |
178 |
-src_install() { |
179 |
- emake \ |
180 |
- PREFIX="${ED}" \ |
181 |
- BIN_AFTER_INST_PATH="/usr" \ |
182 |
- INCLUDE_PATH="${ED}"/usr/include \ |
183 |
- LIB_PATH="${ED}"/usr/$(get_libdir) \ |
184 |
- install |
185 |
- |
186 |
- # This file is not compatible with Gentoo and in any case, we generally |
187 |
- # let the users load such agents themselves. |
188 |
- rm -f "${ED}"/etc/X11/Xsession.d/91${PN} |
189 |
-} |
190 |
- |
191 |
-pkg_postinst() { |
192 |
- xdg_desktop_database_update |
193 |
- |
194 |
- if [[ -z "${REPLACING_VERSIONS}" ]]; then |
195 |
- elog |
196 |
- elog "You should use oidc-gen to initially generate your account configuration" |
197 |
- elog "before it can be loaded into oidc-agent using oidc-add. For details, please" |
198 |
- elog "consult the man page of oidc-gen, or full documentation at" |
199 |
- elog " https://indigo-dc.gitbooks.io/oidc-agent/" |
200 |
- elog |
201 |
- else |
202 |
- local new_major_ver old_ver |
203 |
- new_major_ver=$(ver_cut 1) |
204 |
- for old_ver in ${REPLACING_VERSIONS}; do |
205 |
- if [[ $(ver_cut 1 ${old_ver}) != ${new_major_ver} ]]; then |
206 |
- ewarn |
207 |
- ewarn "You are upgrading from a different major version. Please restart any running instances of ${PN}" |
208 |
- ewarn "to make sure they are compatible with the updated clients." |
209 |
- ewarn |
210 |
- break |
211 |
- fi |
212 |
- done |
213 |
- fi |
214 |
-} |
215 |
- |
216 |
-pkg_postrm() { |
217 |
- xdg_desktop_database_update |
218 |
-} |