Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/, sys-auth/elogind/files/
Date: Mon, 20 Nov 2017 00:45:21
Message-Id: 1511138704.2a7dda73ef55720ef6598e7e2fa8e3f1093e738a.asturm@gentoo
1 commit: 2a7dda73ef55720ef6598e7e2fa8e3f1093e738a
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 20 00:43:03 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 20 00:45:04 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a7dda73
7
8 sys-auth/elogind: Drop old
9
10 Package-Manager: Portage-2.3.14, Repoman-2.3.6
11
12 sys-auth/elogind/Manifest | 5 --
13 sys-auth/elogind/elogind-229.6.ebuild | 85 ---------------------------
14 sys-auth/elogind/elogind-231.4.ebuild | 85 ---------------------------
15 sys-auth/elogind/elogind-232.3.ebuild | 85 ---------------------------
16 sys-auth/elogind/elogind-233.6.ebuild | 105 ----------------------------------
17 sys-auth/elogind/elogind-234.3.ebuild | 105 ----------------------------------
18 sys-auth/elogind/files/elogind.conf | 7 ---
19 7 files changed, 477 deletions(-)
20
21 diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest
22 index 773cbad5699..82049ada38c 100644
23 --- a/sys-auth/elogind/Manifest
24 +++ b/sys-auth/elogind/Manifest
25 @@ -1,10 +1,5 @@
26 -DIST elogind-229.6.tar.gz 765900 SHA256 19f08dba36509b3c5baf1f35d9ac1f5b473b550c081f63fa64ffbe8862ede7aa SHA512 a1bf2937ad2f8d351cd5a0ca5c1c73e85746d14e0a252befa3ed0d396e782df0fde34c49101931189cd56404b59709a7e5ae5beceaac6f30151b50fb32d26ae0 WHIRLPOOL 24d6315d4568b18df4eaa42410f2744b31ab935dd6a7fb0281e4fe2b2e953e411d462db829cbde786c338e823823998e13a9af287252440642499dfe8aca1b1c
27 DIST elogind-229.8.tar.gz 767750 SHA256 5b9af5dc1e2d2dcd4e4008ba0ff07581fdd6aa1a11e3ebee345ef1b16b491184 SHA512 bc30b9ed604aba4da1d7e743ab4d00bf26845a8febd78e1cf7031e609c1ab4d14d7460ccf0a3782bffcc1a887fc9a6f66cddc21820525a5b209f132e84747c87 WHIRLPOOL 90ae05602969259bbc41b548dd21022dcf70b53c22afcd812bb17d5578b888add90d6fe528f4fe30c045981922fd4285d35814056d9e3b9f600e2d4fe4d80c4e
28 -DIST elogind-231.4.tar.gz 812542 SHA256 6a7118abb696d6fd046bb4bbfcbc7bd415770792e6577417d9deb0bcbc4ee8ff SHA512 e1a031b8d6d4ad63043c79b5786b4b5dd890a7911483cdff8652242856edcad99ad811c44b132875a47ff8995d135d843cbfcf4622e4b3e2e7c62ad2d5acf90e WHIRLPOOL 8f5bbec56784eb95b3886c9eb42a9e1a233f68ff8107984e247612e4fd08443b88b69ab033b398fb2d77338ea69fa6607500d481a80a03810ab37a8613e7a703
29 DIST elogind-231.6.tar.gz 813666 SHA256 d57ab2f488284e5bc01c6b8d60bf3037e9b43abfc647daacbeb2501352cf0d14 SHA512 cf4c06b930f72fbc93ec253a1f0ba86ae67dc4b1e974a5c7fef3e3985b78cd3cf86b0e7c33261bf27acb347d551c05ab363455c963d5ce817cc5fcee4ad09629 WHIRLPOOL 81291aca139a0316ab200dc000846ab78f4ec262337840c65a8ecd7653e1f6c7a399c3fae335604148fc0c71e48644466b83919d68da364dbfd2023a7138a9f7
30 -DIST elogind-232.3.tar.gz 834210 SHA256 6e1064fdc648e7ebe0aadbcc3c2b4e41f85fec08713dbca3faa5c156f8c76bbc SHA512 359949408549e102923954447c213ed060842846edd126ff233118405521ee553909efaa6ab8ed20c96786534e11b1f3b700e6db18232b7e69691d4712cf014d WHIRLPOOL 36eba13ce1891b40fc85f244b0cb2ca5ba1efbd1bd23fbc07220682706d4071ec15fcaa75ffce2241fd1da040dd207ef9655550cc5ade2962638223a9d126e29
31 DIST elogind-232.5.tar.gz 835373 SHA256 b8707534873c1a6198f865ef5d9450627c31f70685c97ffbb18c248ef96c9200 SHA512 40a717dd4ce581e08ce501384c7fbfb1a4830504931f0380fec048594fb6308bf3453806713c137f809538c506a9965ea8f35a2a858f27121b8342bb37745b2a WHIRLPOOL d94d0fdf1db70e72a13a710a7b4d5dce24df9ab2c40cbc1a90756cb4ca59bbec2329b3a92678bf6cabbb1b47ffaeda03110bf2ceeac459e8b851475d4ed3890a
32 -DIST elogind-233.6.tar.gz 902277 SHA256 0efa2c6eb685000c9e0f29a8d7ee7b269c756f013ae83522568a25f6b249822d SHA512 390950893c37d90ee59438822261383a5d0913f5e4cfc82286c505f6db89b06b3d161c209c6ac5bb95e084402352299b7bdbd9c0faa573bb6f8a45309fc872f4 WHIRLPOOL 0b0534f061e319050fafd6450cf3a4a9ab5119069dff52e91c0f8b555bf630701c014d3990235a2cf1b4d224fa70bf934fab6525add63e13c9732f28fed31dfe
33 DIST elogind-233.7.tar.gz 957308 SHA256 8854f29a53d1305dc1c264635b1e970cfcbcc32507af8ef35de4a9b447f79e0b SHA512 c4ca84d45c289131f2b9d698d0e010fb368da39e80a9a972822148509644727a5e420ec2c68dc896bd250e81bdb125b4d760b0a65a4444365c81af2da9555a78 WHIRLPOOL 597f43c47ff630ec408f99c3d7e88622fc179f542772d800af09691734882bede81ab2d54ea51de21de08be568500477e2688579f9d244ddc11bd282a6678fce
34 -DIST elogind-234.3.tar.gz 970679 SHA256 d3a3f272256da3946b0ab2508b6d5a95ad71f0b9b57e509a2264551bb1a4484d SHA512 3aeb33a2c7ba8c75af29cc7844ad7a6fe51edb96a09e364798de62332b04bcb94cb36cd55986cbf517bcf61660b3265b18d5819102f8ab5ecea26738154e21cb WHIRLPOOL 758650da0ba3c6800cf8a81426e2c8f8148cff9d185e0bb7d61e04a227b9eca05a2c32538c1ec7573c0f4ba28fe85a32a374b958ecf547a78667c97c25bbc6df
35 DIST elogind-234.4.tar.gz 973370 SHA256 ffb465a62c4281c19b07eb7fbb9ad0987f3b726ae1a868a92a3144d7714542f3 SHA512 2df4fa318074d4f5e5dbba353cf817068a2703ffed40cdeae4cba2dea4ee143d1c5fc076b19419f1c4299392088c2c14b430d8aa1ded03b62117311802305d5e WHIRLPOOL 1b735338cb02ef8cffb5837a0702110117ae1d677a4cbf106180c549485f7fb0604f3134e6ff5e14b23485ddfe4d4415a41e69d93b8f099cee41a220d0ea4a69
36
37 diff --git a/sys-auth/elogind/elogind-229.6.ebuild b/sys-auth/elogind/elogind-229.6.ebuild
38 deleted file mode 100644
39 index 0779afc16a3..00000000000
40 --- a/sys-auth/elogind/elogind-229.6.ebuild
41 +++ /dev/null
42 @@ -1,85 +0,0 @@
43 -# Copyright 1999-2017 Gentoo Foundation
44 -# Distributed under the terms of the GNU General Public License v2
45 -
46 -EAPI=6
47 -
48 -inherit autotools linux-info pam udev
49 -
50 -DESCRIPTION="The systemd project's logind, extracted to a standalone package"
51 -HOMEPAGE="https://github.com/elogind/elogind"
52 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
53 -
54 -LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
55 -SLOT="0"
56 -KEYWORDS="~amd64 ~arm ~x86"
57 -IUSE="acl debug pam policykit selinux"
58 -
59 -RDEPEND="
60 - sys-apps/util-linux
61 - sys-libs/libcap
62 - virtual/libudev:=
63 - acl? ( sys-apps/acl )
64 - pam? ( virtual/pam )
65 - selinux? ( sys-libs/libselinux )
66 - !sys-apps/systemd
67 -"
68 -DEPEND="${RDEPEND}
69 - app-text/docbook-xml-dtd:4.2
70 - app-text/docbook-xml-dtd:4.5
71 - app-text/docbook-xsl-stylesheets
72 - dev-util/gperf
73 - dev-util/intltool
74 - sys-devel/libtool
75 - virtual/pkgconfig
76 -"
77 -PDEPEND="
78 - sys-apps/dbus
79 - policykit? ( sys-auth/polkit )
80 -"
81 -
82 -PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" )
83 -
84 -pkg_setup() {
85 - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK
86 - ~SIGNALFD ~TIMERFD"
87 -
88 - if use kernel_linux; then
89 - linux-info_pkg_setup
90 - fi
91 -}
92 -
93 -src_prepare() {
94 - default
95 - eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch"
96 -}
97 -
98 -src_configure() {
99 - econf \
100 - --with-pamlibdir=$(getpam_mod_dir) \
101 - --with-udevrulesdir="$(get_udevdir)"/rules.d \
102 - --libdir="${EPREFIX}"/usr/$(get_libdir) \
103 - --with-rootlibdir="${EPREFIX}"/$(get_libdir) \
104 - --enable-smack \
105 - --disable-kdbus \
106 - --disable-lto \
107 - $(use_enable debug debug elogind) \
108 - $(use_enable acl) \
109 - $(use_enable pam) \
110 - $(use_enable selinux)
111 -}
112 -
113 -src_install() {
114 - default
115 - find "${D}" -name '*.la' -delete || die
116 -
117 - newinitd "${FILESDIR}"/${PN}.init ${PN}
118 - newconfd "${FILESDIR}"/${PN}.conf ${PN}
119 -}
120 -
121 -pkg_postinst() {
122 - if [ "$(rc-config list default | grep elogind)" = "" ]; then
123 - ewarn "To enable the elogind daemon, elogind must be"
124 - ewarn "added to the default runlevel:"
125 - ewarn "# rc-update add elogind default"
126 - fi
127 -}
128
129 diff --git a/sys-auth/elogind/elogind-231.4.ebuild b/sys-auth/elogind/elogind-231.4.ebuild
130 deleted file mode 100644
131 index 5b61cd1c781..00000000000
132 --- a/sys-auth/elogind/elogind-231.4.ebuild
133 +++ /dev/null
134 @@ -1,85 +0,0 @@
135 -# Copyright 1999-2017 Gentoo Foundation
136 -# Distributed under the terms of the GNU General Public License v2
137 -
138 -EAPI=6
139 -
140 -inherit autotools linux-info pam udev
141 -
142 -DESCRIPTION="The systemd project's logind, extracted to a standalone package"
143 -HOMEPAGE="https://github.com/elogind/elogind"
144 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
145 -
146 -LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
147 -SLOT="0"
148 -KEYWORDS="~amd64 ~arm ~x86"
149 -IUSE="acl debug pam policykit selinux"
150 -
151 -RDEPEND="
152 - sys-apps/util-linux
153 - sys-libs/libcap
154 - virtual/libudev:=
155 - acl? ( sys-apps/acl )
156 - pam? ( virtual/pam )
157 - selinux? ( sys-libs/libselinux )
158 - !sys-apps/systemd
159 -"
160 -DEPEND="${RDEPEND}
161 - app-text/docbook-xml-dtd:4.2
162 - app-text/docbook-xml-dtd:4.5
163 - app-text/docbook-xsl-stylesheets
164 - dev-util/gperf
165 - dev-util/intltool
166 - sys-devel/libtool
167 - virtual/pkgconfig
168 -"
169 -PDEPEND="
170 - sys-apps/dbus
171 - policykit? ( sys-auth/polkit )
172 -"
173 -
174 -PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" )
175 -
176 -pkg_setup() {
177 - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK
178 - ~SIGNALFD ~TIMERFD"
179 -
180 - if use kernel_linux; then
181 - linux-info_pkg_setup
182 - fi
183 -}
184 -
185 -src_prepare() {
186 - default
187 - eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch"
188 -}
189 -
190 -src_configure() {
191 - econf \
192 - --with-pamlibdir=$(getpam_mod_dir) \
193 - --with-udevrulesdir="$(get_udevdir)"/rules.d \
194 - --libdir="${EPREFIX}"/usr/$(get_libdir) \
195 - --with-rootlibdir="${EPREFIX}"/$(get_libdir) \
196 - --enable-smack \
197 - --with-cgroup-controller=openrc \
198 - --disable-lto \
199 - $(use_enable debug debug elogind) \
200 - $(use_enable acl) \
201 - $(use_enable pam) \
202 - $(use_enable selinux)
203 -}
204 -
205 -src_install() {
206 - default
207 - find "${D}" -name '*.la' -delete || die
208 -
209 - newinitd "${FILESDIR}"/${PN}.init ${PN}
210 - newconfd "${FILESDIR}"/${PN}.conf ${PN}
211 -}
212 -
213 -pkg_postinst() {
214 - if [ "$(rc-config list boot | grep elogind)" = "" ]; then
215 - ewarn "To enable the elogind daemon, elogind must be"
216 - ewarn "added to the boot runlevel:"
217 - ewarn "# rc-update add elogind boot"
218 - fi
219 -}
220
221 diff --git a/sys-auth/elogind/elogind-232.3.ebuild b/sys-auth/elogind/elogind-232.3.ebuild
222 deleted file mode 100644
223 index 5b61cd1c781..00000000000
224 --- a/sys-auth/elogind/elogind-232.3.ebuild
225 +++ /dev/null
226 @@ -1,85 +0,0 @@
227 -# Copyright 1999-2017 Gentoo Foundation
228 -# Distributed under the terms of the GNU General Public License v2
229 -
230 -EAPI=6
231 -
232 -inherit autotools linux-info pam udev
233 -
234 -DESCRIPTION="The systemd project's logind, extracted to a standalone package"
235 -HOMEPAGE="https://github.com/elogind/elogind"
236 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
237 -
238 -LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
239 -SLOT="0"
240 -KEYWORDS="~amd64 ~arm ~x86"
241 -IUSE="acl debug pam policykit selinux"
242 -
243 -RDEPEND="
244 - sys-apps/util-linux
245 - sys-libs/libcap
246 - virtual/libudev:=
247 - acl? ( sys-apps/acl )
248 - pam? ( virtual/pam )
249 - selinux? ( sys-libs/libselinux )
250 - !sys-apps/systemd
251 -"
252 -DEPEND="${RDEPEND}
253 - app-text/docbook-xml-dtd:4.2
254 - app-text/docbook-xml-dtd:4.5
255 - app-text/docbook-xsl-stylesheets
256 - dev-util/gperf
257 - dev-util/intltool
258 - sys-devel/libtool
259 - virtual/pkgconfig
260 -"
261 -PDEPEND="
262 - sys-apps/dbus
263 - policykit? ( sys-auth/polkit )
264 -"
265 -
266 -PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" )
267 -
268 -pkg_setup() {
269 - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK
270 - ~SIGNALFD ~TIMERFD"
271 -
272 - if use kernel_linux; then
273 - linux-info_pkg_setup
274 - fi
275 -}
276 -
277 -src_prepare() {
278 - default
279 - eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch"
280 -}
281 -
282 -src_configure() {
283 - econf \
284 - --with-pamlibdir=$(getpam_mod_dir) \
285 - --with-udevrulesdir="$(get_udevdir)"/rules.d \
286 - --libdir="${EPREFIX}"/usr/$(get_libdir) \
287 - --with-rootlibdir="${EPREFIX}"/$(get_libdir) \
288 - --enable-smack \
289 - --with-cgroup-controller=openrc \
290 - --disable-lto \
291 - $(use_enable debug debug elogind) \
292 - $(use_enable acl) \
293 - $(use_enable pam) \
294 - $(use_enable selinux)
295 -}
296 -
297 -src_install() {
298 - default
299 - find "${D}" -name '*.la' -delete || die
300 -
301 - newinitd "${FILESDIR}"/${PN}.init ${PN}
302 - newconfd "${FILESDIR}"/${PN}.conf ${PN}
303 -}
304 -
305 -pkg_postinst() {
306 - if [ "$(rc-config list boot | grep elogind)" = "" ]; then
307 - ewarn "To enable the elogind daemon, elogind must be"
308 - ewarn "added to the boot runlevel:"
309 - ewarn "# rc-update add elogind boot"
310 - fi
311 -}
312
313 diff --git a/sys-auth/elogind/elogind-233.6.ebuild b/sys-auth/elogind/elogind-233.6.ebuild
314 deleted file mode 100644
315 index 9f4a48ace40..00000000000
316 --- a/sys-auth/elogind/elogind-233.6.ebuild
317 +++ /dev/null
318 @@ -1,105 +0,0 @@
319 -# Copyright 1999-2017 Gentoo Foundation
320 -# Distributed under the terms of the GNU General Public License v2
321 -
322 -EAPI=6
323 -
324 -inherit autotools linux-info pam udev
325 -
326 -DESCRIPTION="The systemd project's logind, extracted to a standalone package"
327 -HOMEPAGE="https://github.com/elogind/elogind"
328 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
329 -
330 -LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
331 -SLOT="0"
332 -KEYWORDS="~amd64 ~arm ~x86"
333 -IUSE="acl debug pam policykit selinux"
334 -
335 -RDEPEND="
336 - sys-apps/util-linux
337 - sys-libs/libcap
338 - virtual/libudev:=
339 - acl? ( sys-apps/acl )
340 - pam? ( virtual/pam )
341 - selinux? ( sys-libs/libselinux )
342 - !sys-apps/systemd
343 -"
344 -DEPEND="${RDEPEND}
345 - app-text/docbook-xml-dtd:4.2
346 - app-text/docbook-xml-dtd:4.5
347 - app-text/docbook-xsl-stylesheets
348 - dev-util/gperf
349 - dev-util/intltool
350 - sys-devel/libtool
351 - virtual/pkgconfig
352 -"
353 -PDEPEND="
354 - sys-apps/dbus
355 - policykit? ( sys-auth/polkit )
356 -"
357 -
358 -PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" )
359 -
360 -pkg_setup() {
361 - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK
362 - ~SIGNALFD ~TIMERFD"
363 -
364 - if use kernel_linux; then
365 - linux-info_pkg_setup
366 - fi
367 -}
368 -
369 -src_prepare() {
370 - default
371 - eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch"
372 -}
373 -
374 -src_configure() {
375 - econf \
376 - --with-pamlibdir=$(getpam_mod_dir) \
377 - --with-udevrulesdir="$(get_udevdir)"/rules.d \
378 - --libdir="${EPREFIX}"/usr/$(get_libdir) \
379 - --with-rootlibdir="${EPREFIX}"/$(get_libdir) \
380 - --with-rootprefix="${EPREFIX}/" \
381 - --with-rootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind \
382 - --enable-smack \
383 - --with-cgroup-controller=openrc \
384 - --disable-lto \
385 - $(use_enable debug debug elogind) \
386 - $(use_enable acl) \
387 - $(use_enable pam) \
388 - $(use_enable selinux)
389 -}
390 -
391 -src_install() {
392 - default
393 - find "${D}" -name '*.la' -delete || die
394 -
395 - newinitd "${FILESDIR}"/${PN}.init ${PN}
396 -
397 - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die
398 - newconfd ${PN}.conf ${PN}
399 -}
400 -
401 -pkg_postinst() {
402 - if [ "$(rc-config list boot | grep elogind)" != "" ]; then
403 - ewarn "elogind is currently started from boot runlevel."
404 - elif [ "$(rc-config list default | grep elogind)" != "" ]; then
405 - ewarn "elogind is currently started from default runlevel."
406 - ewarn "Please remove elogind from the default runlevel and"
407 - ewarn "add it to the boot runlevel by:"
408 - ewarn "# rc-update del elogind default"
409 - ewarn "# rc-update add elogind boot"
410 - else
411 - ewarn "elogind is currently not started from any runlevel."
412 - ewarn "You may add it to the boot runlevel by:"
413 - ewarn "# rc-update add elogind boot"
414 - fi
415 - ewarn "Alternatively you can leave elogind out of any"
416 - ewarn "runlevel. It will then be started automatically"
417 - if use pam; then
418 - ewarn "when the first service calls it via dbus, or the"
419 - ewarn "first user logs into the system."
420 - else
421 - ewarn "when the first service calls it via dbus."
422 - fi
423 -}
424
425 diff --git a/sys-auth/elogind/elogind-234.3.ebuild b/sys-auth/elogind/elogind-234.3.ebuild
426 deleted file mode 100644
427 index 9f4a48ace40..00000000000
428 --- a/sys-auth/elogind/elogind-234.3.ebuild
429 +++ /dev/null
430 @@ -1,105 +0,0 @@
431 -# Copyright 1999-2017 Gentoo Foundation
432 -# Distributed under the terms of the GNU General Public License v2
433 -
434 -EAPI=6
435 -
436 -inherit autotools linux-info pam udev
437 -
438 -DESCRIPTION="The systemd project's logind, extracted to a standalone package"
439 -HOMEPAGE="https://github.com/elogind/elogind"
440 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
441 -
442 -LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
443 -SLOT="0"
444 -KEYWORDS="~amd64 ~arm ~x86"
445 -IUSE="acl debug pam policykit selinux"
446 -
447 -RDEPEND="
448 - sys-apps/util-linux
449 - sys-libs/libcap
450 - virtual/libudev:=
451 - acl? ( sys-apps/acl )
452 - pam? ( virtual/pam )
453 - selinux? ( sys-libs/libselinux )
454 - !sys-apps/systemd
455 -"
456 -DEPEND="${RDEPEND}
457 - app-text/docbook-xml-dtd:4.2
458 - app-text/docbook-xml-dtd:4.5
459 - app-text/docbook-xsl-stylesheets
460 - dev-util/gperf
461 - dev-util/intltool
462 - sys-devel/libtool
463 - virtual/pkgconfig
464 -"
465 -PDEPEND="
466 - sys-apps/dbus
467 - policykit? ( sys-auth/polkit )
468 -"
469 -
470 -PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" )
471 -
472 -pkg_setup() {
473 - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK
474 - ~SIGNALFD ~TIMERFD"
475 -
476 - if use kernel_linux; then
477 - linux-info_pkg_setup
478 - fi
479 -}
480 -
481 -src_prepare() {
482 - default
483 - eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch"
484 -}
485 -
486 -src_configure() {
487 - econf \
488 - --with-pamlibdir=$(getpam_mod_dir) \
489 - --with-udevrulesdir="$(get_udevdir)"/rules.d \
490 - --libdir="${EPREFIX}"/usr/$(get_libdir) \
491 - --with-rootlibdir="${EPREFIX}"/$(get_libdir) \
492 - --with-rootprefix="${EPREFIX}/" \
493 - --with-rootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind \
494 - --enable-smack \
495 - --with-cgroup-controller=openrc \
496 - --disable-lto \
497 - $(use_enable debug debug elogind) \
498 - $(use_enable acl) \
499 - $(use_enable pam) \
500 - $(use_enable selinux)
501 -}
502 -
503 -src_install() {
504 - default
505 - find "${D}" -name '*.la' -delete || die
506 -
507 - newinitd "${FILESDIR}"/${PN}.init ${PN}
508 -
509 - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die
510 - newconfd ${PN}.conf ${PN}
511 -}
512 -
513 -pkg_postinst() {
514 - if [ "$(rc-config list boot | grep elogind)" != "" ]; then
515 - ewarn "elogind is currently started from boot runlevel."
516 - elif [ "$(rc-config list default | grep elogind)" != "" ]; then
517 - ewarn "elogind is currently started from default runlevel."
518 - ewarn "Please remove elogind from the default runlevel and"
519 - ewarn "add it to the boot runlevel by:"
520 - ewarn "# rc-update del elogind default"
521 - ewarn "# rc-update add elogind boot"
522 - else
523 - ewarn "elogind is currently not started from any runlevel."
524 - ewarn "You may add it to the boot runlevel by:"
525 - ewarn "# rc-update add elogind boot"
526 - fi
527 - ewarn "Alternatively you can leave elogind out of any"
528 - ewarn "runlevel. It will then be started automatically"
529 - if use pam; then
530 - ewarn "when the first service calls it via dbus, or the"
531 - ewarn "first user logs into the system."
532 - else
533 - ewarn "when the first service calls it via dbus."
534 - fi
535 -}
536
537 diff --git a/sys-auth/elogind/files/elogind.conf b/sys-auth/elogind/files/elogind.conf
538 deleted file mode 100644
539 index 73d1336aec9..00000000000
540 --- a/sys-auth/elogind/files/elogind.conf
541 +++ /dev/null
542 @@ -1,7 +0,0 @@
543 -# /etc/conf.d/elogind: config file for /etc/init.d/elogind
544 -
545 -# this is the elogind executable
546 -ELOGIND_EXEC="/usr/libexec/elogind/elogind"
547 -
548 -# this is where elogind will store its pid file
549 -ELOGIND_PIDFILE="/var/run/elogind.pid"