Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/files/, sys-auth/elogind/
Date: Sat, 16 Mar 2019 05:27:04
Message-Id: 1552714004.c789b291decb8bbe525c08839d796f8df81bf57c.kensington@gentoo
1 commit: c789b291decb8bbe525c08839d796f8df81bf57c
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 16 05:05:09 2019 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 16 05:26:44 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c789b291
7
8 sys-auth/elogind: remove 238.2
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org>
12
13 sys-auth/elogind/Manifest | 1 -
14 sys-auth/elogind/elogind-238.2.ebuild | 127 ---------------------
15 .../elogind/files/elogind-239.3-broken-test.patch | 23 ----
16 3 files changed, 151 deletions(-)
17
18 diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest
19 index d42ef2e28f3..77f0818a40b 100644
20 --- a/sys-auth/elogind/Manifest
21 +++ b/sys-auth/elogind/Manifest
22 @@ -1,2 +1 @@
23 -DIST elogind-238.2.tar.gz 1075847 BLAKE2B 17e4d8ffabb65a210f34076223e502c9019a7fa639f6cc12b1c8a0e186d8a6e97f115cd68487c86470915a8208dead6830577d2da3ffd85ed2e12c3a699ef2c5 SHA512 c66dd514d7c708a1d1c52ac9f25f34af839c4d4ff452302b40eb95c040c1d3d8d238b4e35c33d81af71f6aac22c8793951d91d005e6595e02124edb976baf640
24 DIST elogind-239.3.tar.gz 1171080 BLAKE2B 95d158a861641415f2c6ea3648bafd32ee3da80b0258e33fb7b88cf834f42c4d76b634af055f81dfba7c6477423edf73ad7c0d79e5e3608938e90a713bdff00e SHA512 61399f82d6a93d77e0984dc67b9c7ebdda27ba2254810be9725a09f91fde41c66adb53a5fe7989f53d6b156b70f147471c89fa64a432bccc482e8057a0cddf84
25
26 diff --git a/sys-auth/elogind/elogind-238.2.ebuild b/sys-auth/elogind/elogind-238.2.ebuild
27 deleted file mode 100644
28 index 8717f7ddfe8..00000000000
29 --- a/sys-auth/elogind/elogind-238.2.ebuild
30 +++ /dev/null
31 @@ -1,127 +0,0 @@
32 -# Copyright 1999-2018 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -inherit linux-info meson pam udev xdg-utils
38 -
39 -DESCRIPTION="The systemd project's logind, extracted to a standalone package"
40 -HOMEPAGE="https://github.com/elogind/elogind"
41 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 -
43 -LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
44 -SLOT="0"
45 -KEYWORDS="amd64 ~arm x86"
46 -IUSE="+acl debug doc +pam +policykit selinux"
47 -
48 -COMMON_DEPEND="
49 - sys-apps/util-linux
50 - sys-libs/libcap
51 - virtual/libudev:=
52 - acl? ( sys-apps/acl )
53 - pam? ( virtual/pam )
54 - selinux? ( sys-libs/libselinux )
55 -"
56 -DEPEND="${COMMON_DEPEND}
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 - sys-devel/libtool
63 - virtual/pkgconfig
64 -"
65 -RDEPEND="${COMMON_DEPEND}
66 - !sys-apps/systemd
67 -"
68 -PDEPEND="
69 - sys-apps/dbus
70 - policykit? ( sys-auth/polkit )
71 -"
72 -
73 -DOCS=( src/libelogind/sd-bus/GVARIANT-SERIALIZATION )
74 -
75 -PATCHES=( "${FILESDIR}/${PN}-238.1-docs.patch" )
76 -
77 -pkg_setup() {
78 - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD"
79 -
80 - use kernel_linux && linux-info_pkg_setup
81 -}
82 -
83 -src_prepare() {
84 - default
85 - xdg_environment_reset
86 -}
87 -
88 -src_configure() {
89 - local rccgroupmode="$(grep rc_cgroup_mode /etc/rc.conf | cut -d '"' -f 2)"
90 - local cgroupmode="legacy"
91 -
92 - if [[ "xhybrid" = "x${rccgroupmode}" ]] ; then
93 - cgroupmode="hybrid"
94 - elif [[ "xunified" = "x${rccgroupmode}" ]] ; then
95 - cgroupmode="unified"
96 - fi
97 -
98 - local emesonargs=(
99 - -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
100 - -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html"
101 - -Dpamlibdir=$(getpam_mod_dir)
102 - -Dudevrulesdir="$(get_udevdir)"/rules.d
103 - --libdir="${EPREFIX}"/usr/$(get_libdir)
104 - -Drootlibdir="${EPREFIX}"/$(get_libdir)
105 - -Drootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind
106 - -Drootprefix="${EPREFIX}/"
107 - -Dbashcompletiondir="${EPREFIX}/usr/share/bash-completion/completions"
108 - -Dman=auto
109 - -Dsmack=true
110 - -Dcgroup-controller=openrc
111 - -Ddefault-hierarchy=${cgroupmode}
112 - -Ddefault-kill-user-processes=false
113 - -Dacl=$(usex acl true false)
114 - -Ddebug-extra=$(usex debug elogind false)
115 - --buildtype $(usex debug debug release)
116 - -Dhtml=$(usex doc auto false)
117 - -Dpam=$(usex pam true false)
118 - -Dselinux=$(usex selinux true false)
119 - )
120 -
121 - meson_src_configure
122 -}
123 -
124 -src_install() {
125 - DOCS+=( src/libelogind/sd-bus/GVARIANT-SERIALIZATION )
126 -
127 - meson_src_install
128 -
129 - newinitd "${FILESDIR}"/${PN}.init ${PN}
130 -
131 - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die
132 - newconfd ${PN}.conf ${PN}
133 -}
134 -
135 -pkg_postinst() {
136 - if [[ "$(rc-config list boot | grep elogind)" != "" ]]; then
137 - elog "elogind is currently started from boot runlevel."
138 - elif [[ "$(rc-config list default | grep elogind)" != "" ]]; then
139 - ewarn "elogind is currently started from default runlevel."
140 - ewarn "Please remove elogind from the default runlevel and"
141 - ewarn "add it to the boot runlevel by:"
142 - ewarn "# rc-update del elogind default"
143 - ewarn "# rc-update add elogind boot"
144 - else
145 - elog "elogind is currently not started from any runlevel."
146 - elog "You may add it to the boot runlevel by:"
147 - elog "# rc-update add elogind boot"
148 - elog
149 - elog "Alternatively, you can leave elogind out of any"
150 - elog "runlevel. It will then be started automatically"
151 - if use pam; then
152 - elog "when the first service calls it via dbus, or"
153 - elog "the first user logs into the system."
154 - else
155 - elog "when the first service calls it via dbus."
156 - fi
157 - fi
158 -}
159
160 diff --git a/sys-auth/elogind/files/elogind-239.3-broken-test.patch b/sys-auth/elogind/files/elogind-239.3-broken-test.patch
161 deleted file mode 100644
162 index 601d1cb964f..00000000000
163 --- a/sys-auth/elogind/files/elogind-239.3-broken-test.patch
164 +++ /dev/null
165 @@ -1,23 +0,0 @@
166 ---- a/src/test/meson.build 2018-12-07 07:36:50.000000000 +0100
167 -+++ b/src/test/meson.build 2019-02-15 00:50:23.254064681 +0100
168 -@@ -947,13 +947,13 @@
169 - # [['src/libsystemd/sd-resolve/test-resolve.c'],
170 - # [],
171 - # [threads]],
172 --#endif // 0
173 --
174 -- [['src/libelogind/sd-login/test-login.c'],
175 -- [],
176 -- []],
177 --
178 --#if 0 /// UNNEEDED in elogind
179 -+#
180 -+#
181 -+# [['src/libelogind/sd-login/test-login.c'],
182 -+# [],
183 -+# []],
184 -+#
185 -+#
186 - # [['src/libsystemd/sd-device/test-udev-device-thread.c'],
187 - # [libbasic,
188 - # libshared_static,