1 |
commit: 4f97d509bba291616d5df50add0d4c486d1f1f56 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 26 12:20:52 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 26 14:32:26 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f97d509 |
7 |
|
8 |
sys-auth/elogind: Drop 243.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
sys-auth/elogind/Manifest | 1 - |
14 |
sys-auth/elogind/elogind-243.4.ebuild | 137 --------------------- |
15 |
sys-auth/elogind/files/elogind-243.4-nodocs.patch | 29 ----- |
16 |
.../elogind-243.4-selinux-missing-headers.patch | 36 ------ |
17 |
4 files changed, 203 deletions(-) |
18 |
|
19 |
diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest |
20 |
index 8fca8b1be19..8bb9d4b5ee2 100644 |
21 |
--- a/sys-auth/elogind/Manifest |
22 |
+++ b/sys-auth/elogind/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST elogind-243.4.tar.gz 1335747 BLAKE2B 37c4eb1c476f97948aed44901fbd61ee1b1b8215d3167b368be00c542c64cdcb8b1e8e2725515820df4542d800079810e95f59469e3c6f5229932e55de4a3c1f SHA512 9751a3d0ed65dd73d9363097ee1752d437d5636db2a4137395596e0c81e04d4715f314568d1d7c6f367f1ecbda011086cb165bd4dc207302626b16e693cd0a02 |
25 |
DIST elogind-243.7.tar.gz 1338186 BLAKE2B f3efc2af50f56c2cda18d721c18f4d88ca608fb35b2c7e2ebb35c3f3f743124dcf17efcc9db47810a13093397b1c1bc82cb42e017b3db493af5d2bb70bcf0eff SHA512 fd17c5016d083d63805f9ed0326ee32597870f6c48c9c246712cb09a77db775036b0fd0f4258b6557e189a1eceb4b50f4ae2e9e7881f4d9759b87a0b49ce3472 |
26 |
|
27 |
diff --git a/sys-auth/elogind/elogind-243.4.ebuild b/sys-auth/elogind/elogind-243.4.ebuild |
28 |
deleted file mode 100644 |
29 |
index 9b5b3ebd4f3..00000000000 |
30 |
--- a/sys-auth/elogind/elogind-243.4.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,137 +0,0 @@ |
33 |
-# Copyright 1999-2020 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-if [[ ${PV} = *9999* ]]; then |
39 |
- EGIT_BRANCH="v241-stable" |
40 |
- EGIT_REPO_URI="https://github.com/elogind/elogind.git" |
41 |
- inherit git-r3 |
42 |
-else |
43 |
- SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
44 |
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86" |
45 |
-fi |
46 |
- |
47 |
-inherit linux-info meson pam udev xdg-utils |
48 |
- |
49 |
-DESCRIPTION="The systemd project's logind, extracted to a standalone package" |
50 |
-HOMEPAGE="https://github.com/elogind/elogind" |
51 |
- |
52 |
-LICENSE="CC0-1.0 LGPL-2.1+ public-domain" |
53 |
-SLOT="0" |
54 |
-IUSE="+acl debug doc +pam +policykit selinux" |
55 |
- |
56 |
-BDEPEND=" |
57 |
- app-text/docbook-xml-dtd:4.2 |
58 |
- app-text/docbook-xml-dtd:4.5 |
59 |
- app-text/docbook-xsl-stylesheets |
60 |
- dev-util/gperf |
61 |
- dev-util/intltool |
62 |
- virtual/pkgconfig |
63 |
-" |
64 |
-DEPEND=" |
65 |
- sys-apps/util-linux |
66 |
- sys-libs/libcap |
67 |
- virtual/libudev:= |
68 |
- acl? ( sys-apps/acl ) |
69 |
- pam? ( sys-libs/pam ) |
70 |
- selinux? ( sys-libs/libselinux ) |
71 |
-" |
72 |
-RDEPEND="${DEPEND} |
73 |
- !sys-apps/systemd |
74 |
-" |
75 |
-PDEPEND=" |
76 |
- sys-apps/dbus |
77 |
- policykit? ( sys-auth/polkit ) |
78 |
-" |
79 |
- |
80 |
-DOCS=( README.md src/libelogind/sd-bus/GVARIANT-SERIALIZATION ) |
81 |
- |
82 |
-PATCHES=( |
83 |
- "${FILESDIR}/${P}-nodocs.patch" |
84 |
- "${FILESDIR}/${PN}-241.4-broken-test.patch" # bug 699116 |
85 |
- "${FILESDIR}/${P}-selinux-missing-headers.patch" # bug 711432 |
86 |
-) |
87 |
- |
88 |
-pkg_setup() { |
89 |
- local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD" |
90 |
- |
91 |
- use kernel_linux && linux-info_pkg_setup |
92 |
-} |
93 |
- |
94 |
-src_prepare() { |
95 |
- default |
96 |
- xdg_environment_reset |
97 |
-} |
98 |
- |
99 |
-src_configure() { |
100 |
- local rccgroupmode="$(grep rc_cgroup_mode ${EPREFIX}/etc/rc.conf | cut -d '"' -f 2)" |
101 |
- local cgroupmode="legacy" |
102 |
- |
103 |
- if [[ "xhybrid" = "x${rccgroupmode}" ]] ; then |
104 |
- cgroupmode="hybrid" |
105 |
- elif [[ "xunified" = "x${rccgroupmode}" ]] ; then |
106 |
- cgroupmode="unified" |
107 |
- fi |
108 |
- |
109 |
- local emesonargs=( |
110 |
- -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" |
111 |
- -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html" |
112 |
- -Dpamlibdir=$(getpam_mod_dir) |
113 |
- -Dudevrulesdir="${EPREFIX}$(get_udevdir)"/rules.d |
114 |
- --libdir="${EPREFIX}"/usr/$(get_libdir) |
115 |
- -Drootlibdir="${EPREFIX}"/$(get_libdir) |
116 |
- -Drootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind |
117 |
- -Drootprefix="${EPREFIX}/" |
118 |
- -Dbashcompletiondir="${EPREFIX}/usr/share/bash-completion/completions" |
119 |
- -Dman=auto |
120 |
- -Dsmack=true |
121 |
- -Dcgroup-controller=openrc |
122 |
- -Ddefault-hierarchy=${cgroupmode} |
123 |
- -Ddefault-kill-user-processes=false |
124 |
- -Dacl=$(usex acl true false) |
125 |
- --buildtype $(usex debug debug release) |
126 |
- -Dhtml=$(usex doc auto false) |
127 |
- -Dpam=$(usex pam true false) |
128 |
- -Dselinux=$(usex selinux true false) |
129 |
- -Dutmp=$(usex elibc_musl false true) |
130 |
- ) |
131 |
- |
132 |
- meson_src_configure |
133 |
-} |
134 |
- |
135 |
-src_install() { |
136 |
- DOCS+=( src/libelogind/sd-bus/GVARIANT-SERIALIZATION ) |
137 |
- |
138 |
- meson_src_install |
139 |
- |
140 |
- newinitd "${FILESDIR}"/${PN}.init ${PN} |
141 |
- |
142 |
- sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die |
143 |
- newconfd ${PN}.conf ${PN} |
144 |
-} |
145 |
- |
146 |
-pkg_postinst() { |
147 |
- if [[ "$(rc-config list boot | grep elogind)" != "" ]]; then |
148 |
- elog "elogind is currently started from boot runlevel." |
149 |
- elif [[ "$(rc-config list default | grep elogind)" != "" ]]; then |
150 |
- ewarn "elogind is currently started from default runlevel." |
151 |
- ewarn "Please remove elogind from the default runlevel and" |
152 |
- ewarn "add it to the boot runlevel by:" |
153 |
- ewarn "# rc-update del elogind default" |
154 |
- ewarn "# rc-update add elogind boot" |
155 |
- else |
156 |
- elog "elogind is currently not started from any runlevel." |
157 |
- elog "You may add it to the boot runlevel by:" |
158 |
- elog "# rc-update add elogind boot" |
159 |
- elog |
160 |
- elog "Alternatively, you can leave elogind out of any" |
161 |
- elog "runlevel. It will then be started automatically" |
162 |
- if use pam; then |
163 |
- elog "when the first service calls it via dbus, or" |
164 |
- elog "the first user logs into the system." |
165 |
- else |
166 |
- elog "when the first service calls it via dbus." |
167 |
- fi |
168 |
- fi |
169 |
-} |
170 |
|
171 |
diff --git a/sys-auth/elogind/files/elogind-243.4-nodocs.patch b/sys-auth/elogind/files/elogind-243.4-nodocs.patch |
172 |
deleted file mode 100644 |
173 |
index c83611a4ef6..00000000000 |
174 |
--- a/sys-auth/elogind/files/elogind-243.4-nodocs.patch |
175 |
+++ /dev/null |
176 |
@@ -1,29 +0,0 @@ |
177 |
-We don't want the build system to install to docdir for us. |
178 |
- |
179 |
---- a/meson.build 2020-01-20 08:22:09.000000000 +0100 |
180 |
-+++ b/meson.build 2020-02-02 16:16:00.074882830 +0100 |
181 |
-@@ -3342,15 +3342,11 @@ |
182 |
- # install_data('modprobe.d/systemd.conf', |
183 |
- # install_dir : modprobedir) |
184 |
- #endif // 0 |
185 |
--install_data('LICENSE.GPL2', |
186 |
-- 'LICENSE.LGPL2.1', |
187 |
- #if 0 /// elogind has upgraded to markdown, and the NEWS file is useless |
188 |
- # 'NEWS', |
189 |
- # 'README', |
190 |
- #else |
191 |
-- 'README.md', |
192 |
- #endif // 0 |
193 |
-- 'docs/CODING_STYLE.md', |
194 |
- #if 0 /// irrelevant for elogind |
195 |
- # 'docs/DISTRO_PORTING.md', |
196 |
- # 'docs/ENVIRONMENT.md', |
197 |
-@@ -3359,8 +3355,6 @@ |
198 |
- # 'docs/TRANSLATORS.md', |
199 |
- # 'docs/UIDS-GIDS.md', |
200 |
- #endif // 0 |
201 |
-- 'src/libelogind/sd-bus/GVARIANT-SERIALIZATION', |
202 |
-- install_dir : docdir) |
203 |
- |
204 |
- #if 0 /// UNNEEDED by elogind |
205 |
- # meson.add_install_script('sh', '-c', mkdir_p.format(systemdstatedir)) |
206 |
|
207 |
diff --git a/sys-auth/elogind/files/elogind-243.4-selinux-missing-headers.patch b/sys-auth/elogind/files/elogind-243.4-selinux-missing-headers.patch |
208 |
deleted file mode 100644 |
209 |
index 7cc46fd05eb..00000000000 |
210 |
--- a/sys-auth/elogind/files/elogind-243.4-selinux-missing-headers.patch |
211 |
+++ /dev/null |
212 |
@@ -1,36 +0,0 @@ |
213 |
-From 1cd3fe4083eb8784fa2a125e4af0edb80e6928b5 Mon Sep 17 00:00:00 2001 |
214 |
-From: Sven Eden <sven.eden@×××××××××.com> |
215 |
-Date: Thu, 12 Mar 2020 20:31:00 +0100 |
216 |
-Subject: [PATCH] basic/selinux-util.c : Uncomment missing includes (#157) |
217 |
- |
218 |
-Compiling on Debian unstable failed using gcc 9.2.1 and libc6 2.29. |
219 |
-Uncommenting the two commented includes in basic/selinux-util.c |
220 |
-fixes the compilation issues. |
221 |
- |
222 |
-Bug: #157 |
223 |
-Closes: #157 |
224 |
-Signed-off-by: Sven Eden <sven.eden@×××××××××.com> |
225 |
---- |
226 |
- src/basic/selinux-util.c | 4 ++-- |
227 |
- 1 file changed, 2 insertions(+), 2 deletions(-) |
228 |
- |
229 |
-diff --git a/src/basic/selinux-util.c b/src/basic/selinux-util.c |
230 |
-index 40a85feec..3be9f2c0d 100644 |
231 |
---- a/src/basic/selinux-util.c |
232 |
-+++ b/src/basic/selinux-util.c |
233 |
-@@ -1,13 +1,13 @@ |
234 |
- /* SPDX-License-Identifier: LGPL-2.1+ */ |
235 |
- |
236 |
- #include <errno.h> |
237 |
--//#include <fcntl.h> |
238 |
-+#include <fcntl.h> |
239 |
- #include <malloc.h> |
240 |
- #include <stddef.h> |
241 |
- #include <string.h> |
242 |
- #include <sys/stat.h> |
243 |
- #include <sys/time.h> |
244 |
--//#include <sys/types.h> |
245 |
-+#include <sys/types.h> |
246 |
- #include <sys/un.h> |
247 |
- #include <syslog.h> |
248 |
- |