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, 17 Nov 2018 07:24:46
Message-Id: 1542439469.beb99ec9685f77e1b1881ef4e2f6f1d7d9948456.kensington@gentoo
1 commit: beb99ec9685f77e1b1881ef4e2f6f1d7d9948456
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 17 07:24:16 2018 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 17 07:24:29 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beb99ec9
7
8 sys-auth/elogind: remove 238.1
9
10 Package-Manager: Portage-2.3.51, 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.1.ebuild | 132 ---------------------
15 .../elogind/files/elogind-238.1-meson-0.48.patch | 46 -------
16 3 files changed, 179 deletions(-)
17
18 diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest
19 index bd472106483..c1c421f1fa8 100644
20 --- a/sys-auth/elogind/Manifest
21 +++ b/sys-auth/elogind/Manifest
22 @@ -1,3 +1,2 @@
23 -DIST elogind-238.1.tar.gz 1074179 BLAKE2B 3041e9cfa0d454f653db164db8e59af4db5f3821bbb65cb5482d83f63e410612e121791f7ef3e08c9ac3940c7b6c7931df2b072ba452d2073c3e424e4dfe10c3 SHA512 ba0a74e9b9168b08a54b13ed500e9c713c48bb1648aa6064dbe666a96fa3fbd5b69447c35f686db3a1813476a5585be34b1ae13e3c9017eac8171b73f6311c4c
24 DIST elogind-238.2.tar.gz 1075847 BLAKE2B 17e4d8ffabb65a210f34076223e502c9019a7fa639f6cc12b1c8a0e186d8a6e97f115cd68487c86470915a8208dead6830577d2da3ffd85ed2e12c3a699ef2c5 SHA512 c66dd514d7c708a1d1c52ac9f25f34af839c4d4ff452302b40eb95c040c1d3d8d238b4e35c33d81af71f6aac22c8793951d91d005e6595e02124edb976baf640
25 DIST elogind-239.1.tar.gz 1123754 BLAKE2B e75a48c28ff17e946e3ac4b7d3d19f1798fd1812da6c1d1f2ac8917865331563ea3bce73bbe4d7591bd7caddaf11e4272b3c1a82b6128e99e8dfe2528a2e8e38 SHA512 282a5d9a809ce55a03f650dd235529c24254a20495c61e33f802390787486d9b303da8983fd7e28beaf3cdd2fed9497bd897c202d38ef0182d4b4c632d4d2f62
26
27 diff --git a/sys-auth/elogind/elogind-238.1.ebuild b/sys-auth/elogind/elogind-238.1.ebuild
28 deleted file mode 100644
29 index 176b4b39bba..00000000000
30 --- a/sys-auth/elogind/elogind-238.1.ebuild
31 +++ /dev/null
32 @@ -1,132 +0,0 @@
33 -# Copyright 1999-2018 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -inherit linux-info meson pam udev xdg-utils
39 -
40 -DESCRIPTION="The systemd project's logind, extracted to a standalone package"
41 -HOMEPAGE="https://github.com/elogind/elogind"
42 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 -
44 -LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
45 -SLOT="0"
46 -KEYWORDS="amd64 ~arm x86"
47 -IUSE="+acl debug doc +pam +policykit selinux"
48 -
49 -COMMON_DEPEND="
50 - sys-apps/util-linux
51 - sys-libs/libcap
52 - virtual/libudev:=
53 - acl? ( sys-apps/acl )
54 - pam? ( virtual/pam )
55 - selinux? ( sys-libs/libselinux )
56 -"
57 -DEPEND="${COMMON_DEPEND}
58 - app-text/docbook-xml-dtd:4.2
59 - app-text/docbook-xml-dtd:4.5
60 - app-text/docbook-xsl-stylesheets
61 - dev-util/gperf
62 - dev-util/intltool
63 - sys-devel/libtool
64 - virtual/pkgconfig
65 -"
66 -RDEPEND="${COMMON_DEPEND}
67 - !sys-apps/systemd
68 -"
69 -PDEPEND="
70 - sys-apps/dbus
71 - policykit? ( sys-auth/polkit )
72 -"
73 -
74 -DOCS=( src/libelogind/sd-bus/GVARIANT-SERIALIZATION )
75 -
76 -PATCHES=(
77 - "${FILESDIR}/${P}-docs.patch"
78 - "${FILESDIR}/${P}-meson-0.48.patch"
79 -)
80 -
81 -pkg_setup() {
82 - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD"
83 -
84 - if use kernel_linux; then
85 - linux-info_pkg_setup
86 - fi
87 -}
88 -
89 -src_prepare() {
90 - default
91 - xdg_environment_reset
92 -}
93 -
94 -src_configure() {
95 - local rccgroupmode="$(grep rc_cgroup_mode /etc/rc.conf | cut -d '"' -f 2)"
96 - local cgroupmode="legacy"
97 -
98 - if [[ "xhybrid" = "x${rccgroupmode}" ]] ; then
99 - cgroupmode="hybrid"
100 - elif [[ "xunified" = "x${rccgroupmode}" ]] ; then
101 - cgroupmode="unified"
102 - fi
103 -
104 - local emesonargs=(
105 - -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
106 - -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html"
107 - -Dpamlibdir=$(getpam_mod_dir)
108 - -Dudevrulesdir="$(get_udevdir)"/rules.d
109 - --libdir="${EPREFIX}"/usr/$(get_libdir)
110 - -Drootlibdir="${EPREFIX}"/$(get_libdir)
111 - -Drootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind
112 - -Drootprefix="${EPREFIX}/"
113 - -Dbashcompletiondir="${EPREFIX}/usr/share/bash-completion/completions"
114 - -Dman=auto
115 - -Dsmack=true
116 - -Dcgroup-controller=openrc
117 - -Ddefault-hierarchy=${cgroupmode}
118 - -Ddefault-kill-user-processes=false
119 - -Dacl=$(usex acl true false)
120 - -Ddebug=$(usex debug elogind false)
121 - --buildtype $(usex debug debug release)
122 - -Dhtml=$(usex doc auto false)
123 - -Dpam=$(usex pam true false)
124 - -Dselinux=$(usex selinux true false)
125 - )
126 -
127 - meson_src_configure
128 -}
129 -
130 -src_install() {
131 - DOCS+=( src/libelogind/sd-bus/GVARIANT-SERIALIZATION )
132 -
133 - meson_src_install
134 -
135 - newinitd "${FILESDIR}"/${PN}.init ${PN}
136 -
137 - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die
138 - newconfd ${PN}.conf ${PN}
139 -}
140 -
141 -pkg_postinst() {
142 - if [[ "$(rc-config list boot | grep elogind)" != "" ]]; then
143 - elog "elogind is currently started from boot runlevel."
144 - elif [[ "$(rc-config list default | grep elogind)" != "" ]]; then
145 - ewarn "elogind is currently started from default runlevel."
146 - ewarn "Please remove elogind from the default runlevel and"
147 - ewarn "add it to the boot runlevel by:"
148 - ewarn "# rc-update del elogind default"
149 - ewarn "# rc-update add elogind boot"
150 - else
151 - elog "elogind is currently not started from any runlevel."
152 - elog "You may add it to the boot runlevel by:"
153 - elog "# rc-update add elogind boot"
154 - elog
155 - elog "Alternatively, you can leave elogind out of any"
156 - elog "runlevel. It will then be started automatically"
157 - if use pam; then
158 - elog "when the first service calls it via dbus, or"
159 - elog "the first user logs into the system."
160 - else
161 - elog "when the first service calls it via dbus."
162 - fi
163 - fi
164 -}
165
166 diff --git a/sys-auth/elogind/files/elogind-238.1-meson-0.48.patch b/sys-auth/elogind/files/elogind-238.1-meson-0.48.patch
167 deleted file mode 100644
168 index ea4ce0f8f93..00000000000
169 --- a/sys-auth/elogind/files/elogind-238.1-meson-0.48.patch
170 +++ /dev/null
171 @@ -1,46 +0,0 @@
172 -From 63c4b947c4fddbefd8d35acf6dffdaf34d6077ee Mon Sep 17 00:00:00 2001
173 -From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@××××××.pl>
174 -Date: Sun, 19 Aug 2018 19:11:30 +0200
175 -Subject: [PATCH] meson: rename -Ddebug to -Ddebug-extra
176 -
177 -Meson added -Doptimization and -Ddebug options, which obviously causes
178 -a conflict with our -Ddebug options. Let's rename it.
179 -
180 -Fixes #76.
181 ----
182 - meson.build | 2 +-
183 - meson_options.txt | 4 ++--
184 - 2 files changed, 3 insertions(+), 3 deletions(-)
185 -
186 -diff --git a/meson.build b/meson.build
187 -index 05a257d1f..117af9e5e 100644
188 ---- a/meson.build
189 -+++ b/meson.build
190 -@@ -936,7 +936,7 @@ conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
191 - # substs.set('DEBUGTTY', get_option('debug-tty'))
192 - #endif // 0
193 -
194 --debug = get_option('debug')
195 -+debug = get_option('debug-extra')
196 - enable_debug_hashmap = false
197 - enable_debug_mmap_cache = false
198 - #if 1 /// additional elogind debug mode
199 -diff --git a/meson_options.txt b/meson_options.txt
200 -index 84100b629..f12b542e5 100644
201 ---- a/meson_options.txt
202 -+++ b/meson_options.txt
203 -@@ -77,12 +77,12 @@ option('kexec-path', type : 'string', description : 'path to kexec')
204 - # description : 'path to debug shell binary')
205 - # option('debug-tty', type : 'string', value : '/dev/tty9',
206 - # description : 'specify the tty device for debug shell')
207 --# option('debug', type : 'string',
208 -+# option('debug-extra', type : 'string',
209 - # description : 'enable extra debugging (hashmap,mmap-cache)')
210 - # option('memory-accounting-default', type : 'boolean',
211 - # description : 'enable MemoryAccounting= by default')
212 - #else
213 --option('debug', type : 'string',
214 -+option('debug-extra', type : 'string',
215 - description : 'enable extra debugging (elogind,hashmap,mmap-cache)')
216 - #endif // 0
217 -
218 \ No newline at end of file