1 |
commit: 09b2e4ffcc78d1fa83e3b017e3af904b37c8e208 |
2 |
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> |
3 |
AuthorDate: Tue Feb 22 21:04:18 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 23 21:38:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09b2e4ff |
7 |
|
8 |
sys-auth/seatd: Security bump to 0.6.4, CVE-2022-25643 |
9 |
|
10 |
This affects 0.6.0, 0.6.1, 0.6.2 and 0.6.3. |
11 |
|
12 |
Announcement: <https://lists.sr.ht/~kennylevinsen/seatd-announce/%3CETEO7R.QG8B1KGD531R1%40kl.wtf%3E> |
13 |
|
14 |
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> |
15 |
Closes: https://github.com/gentoo/gentoo/pull/24322 |
16 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
17 |
|
18 |
sys-auth/seatd/Manifest | 1 + |
19 |
sys-auth/seatd/seatd-0.6.4.ebuild | 57 +++++++++++++++++++++++++++++++++++++++ |
20 |
2 files changed, 58 insertions(+) |
21 |
|
22 |
diff --git a/sys-auth/seatd/Manifest b/sys-auth/seatd/Manifest |
23 |
index 5cd5acd8009f..9419af2c6ac5 100644 |
24 |
--- a/sys-auth/seatd/Manifest |
25 |
+++ b/sys-auth/seatd/Manifest |
26 |
@@ -1,3 +1,4 @@ |
27 |
DIST seatd-0.5.0.tar.gz 34762 BLAKE2B 054bd64800b734f6092f856540217e5ea4872c5a363960bac6c5aa7dac5355bdbd982232efd2f8078ad326ec0e6257f3ee7643384c88a3bbe15255d65f02540c SHA512 a6b1f11313411fe99e8bdd64aa493fc19bde7b0b927f21e2c3ec8a7fadc6cf2f04fcefa73fa033d971d1dc482665d3dc927ec168026289fe88b2593a45adbc0f |
28 |
DIST seatd-0.6.2.tar.gz 37713 BLAKE2B 001c6269bcc83488099f9237a3412b61f89cf653fcb5b0d1ada3f5fbdb17ec604d881ce3d835ff1ea3bc683bb143bab75de88d67b55f508e6a9dd2e958347567 SHA512 47e3aec819f43e72913be1cac2c0db26287f1ef8ecc738845d3591b3e2b4fee3441ac50ea45ac75a5da774e5305a18a02b8375f76f71644c8c07e95bcad52762 |
29 |
DIST seatd-0.6.3.tar.gz 38525 BLAKE2B e1bdb85f9432a9a407ea7a72ed5790debf01a410546e9162641ab55179b3beefba0eb45fd24e2643dc5cfb2a26db2490f49095ff1d08b4a38663f93e46dc2ed5 SHA512 28c979e8c2fc73a8607c6085f2e27dc6e2630bc874f98686ce22aa797e74fdad1cc9fca8649eaf8920e93f01a852fbe209bde86ebf582e81060d4ca015425815 |
30 |
+DIST seatd-0.6.4.tar.gz 38393 BLAKE2B 2d01dbf00846c311daa3b4ac2bf87e818c722fa38e84b4cf83470803c23f779f12e4efe922f0b09ec8ef35ca913178a7f76bcded75dd7f7a7431e3a838c6bcc6 SHA512 0e2b23eca2e7978e3f914433caa6f84243a20487c6fe9fe3e42a7bf663a4a0872482aa334a3f5dc9b6625c565b408c3c78310b5575b9fb2e2919efdb9620ec57 |
31 |
|
32 |
diff --git a/sys-auth/seatd/seatd-0.6.4.ebuild b/sys-auth/seatd/seatd-0.6.4.ebuild |
33 |
new file mode 100644 |
34 |
index 000000000000..65af4f6810af |
35 |
--- /dev/null |
36 |
+++ b/sys-auth/seatd/seatd-0.6.4.ebuild |
37 |
@@ -0,0 +1,57 @@ |
38 |
+# Copyright 2020-2022 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=8 |
42 |
+ |
43 |
+inherit meson systemd |
44 |
+ |
45 |
+DESCRIPTION="Minimal seat management daemon and universal library" |
46 |
+HOMEPAGE="https://sr.ht/~kennylevinsen/seatd" |
47 |
+if [[ ${PV} == 9999 ]]; then |
48 |
+ inherit git-r3 |
49 |
+ EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/seatd" |
50 |
+else |
51 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
52 |
+ SRC_URI="https://git.sr.ht/~kennylevinsen/seatd/archive/${PV}.tar.gz -> ${P}.tar.gz" |
53 |
+fi |
54 |
+LICENSE="MIT" |
55 |
+SLOT="0/1" |
56 |
+IUSE="builtin elogind +server systemd" |
57 |
+REQUIRED_USE="?? ( elogind systemd )" |
58 |
+ |
59 |
+DEPEND=" |
60 |
+ elogind? ( sys-auth/elogind ) |
61 |
+ systemd? ( sys-apps/systemd ) |
62 |
+" |
63 |
+RDEPEND="${DEPEND} |
64 |
+ server? ( acct-group/seat ) |
65 |
+" |
66 |
+BDEPEND=">=app-text/scdoc-1.9.7" |
67 |
+ |
68 |
+src_configure() { |
69 |
+ local emesonargs=( |
70 |
+ -Dman-pages=enabled |
71 |
+ -Dwerror=false |
72 |
+ $(meson_feature builtin libseat-builtin) |
73 |
+ $(meson_feature server) |
74 |
+ ) |
75 |
+ |
76 |
+ if use elogind ; then |
77 |
+ emesonargs+=( -Dlibseat-logind=elogind ) |
78 |
+ elif use systemd; then |
79 |
+ emesonargs+=( -Dlibseat-logind=systemd ) |
80 |
+ else |
81 |
+ emesonargs+=( -Dlibseat-logind=disabled ) |
82 |
+ fi |
83 |
+ |
84 |
+ meson_src_configure |
85 |
+} |
86 |
+ |
87 |
+src_install() { |
88 |
+ meson_src_install |
89 |
+ |
90 |
+ if use server; then |
91 |
+ newinitd "${FILESDIR}/seatd.initd" seatd |
92 |
+ systemd_dounit contrib/systemd/seatd.service |
93 |
+ fi |
94 |
+} |