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/
Date: Tue, 26 Sep 2017 12:43:22
Message-Id: 1506429788.b603358fc92132c77530c1a9f3b0191fc71c0124.kensington@gentoo
1 commit: b603358fc92132c77530c1a9f3b0191fc71c0124
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 26 12:37:12 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 26 12:43:08 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b603358f
7
8 sys-auth/elogind: version bump 233.7 and 234.4
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 sys-auth/elogind/Manifest | 2 +
13 sys-auth/elogind/elogind-233.7.ebuild | 105 ++++++++++++++++++++++++++++++++++
14 sys-auth/elogind/elogind-234.4.ebuild | 105 ++++++++++++++++++++++++++++++++++
15 3 files changed, 212 insertions(+)
16
17 diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest
18 index 3d9a5d94367..773cbad5699 100644
19 --- a/sys-auth/elogind/Manifest
20 +++ b/sys-auth/elogind/Manifest
21 @@ -5,4 +5,6 @@ DIST elogind-231.6.tar.gz 813666 SHA256 d57ab2f488284e5bc01c6b8d60bf3037e9b43abf
22 DIST elogind-232.3.tar.gz 834210 SHA256 6e1064fdc648e7ebe0aadbcc3c2b4e41f85fec08713dbca3faa5c156f8c76bbc SHA512 359949408549e102923954447c213ed060842846edd126ff233118405521ee553909efaa6ab8ed20c96786534e11b1f3b700e6db18232b7e69691d4712cf014d WHIRLPOOL 36eba13ce1891b40fc85f244b0cb2ca5ba1efbd1bd23fbc07220682706d4071ec15fcaa75ffce2241fd1da040dd207ef9655550cc5ade2962638223a9d126e29
23 DIST elogind-232.5.tar.gz 835373 SHA256 b8707534873c1a6198f865ef5d9450627c31f70685c97ffbb18c248ef96c9200 SHA512 40a717dd4ce581e08ce501384c7fbfb1a4830504931f0380fec048594fb6308bf3453806713c137f809538c506a9965ea8f35a2a858f27121b8342bb37745b2a WHIRLPOOL d94d0fdf1db70e72a13a710a7b4d5dce24df9ab2c40cbc1a90756cb4ca59bbec2329b3a92678bf6cabbb1b47ffaeda03110bf2ceeac459e8b851475d4ed3890a
24 DIST elogind-233.6.tar.gz 902277 SHA256 0efa2c6eb685000c9e0f29a8d7ee7b269c756f013ae83522568a25f6b249822d SHA512 390950893c37d90ee59438822261383a5d0913f5e4cfc82286c505f6db89b06b3d161c209c6ac5bb95e084402352299b7bdbd9c0faa573bb6f8a45309fc872f4 WHIRLPOOL 0b0534f061e319050fafd6450cf3a4a9ab5119069dff52e91c0f8b555bf630701c014d3990235a2cf1b4d224fa70bf934fab6525add63e13c9732f28fed31dfe
25 +DIST elogind-233.7.tar.gz 957308 SHA256 8854f29a53d1305dc1c264635b1e970cfcbcc32507af8ef35de4a9b447f79e0b SHA512 c4ca84d45c289131f2b9d698d0e010fb368da39e80a9a972822148509644727a5e420ec2c68dc896bd250e81bdb125b4d760b0a65a4444365c81af2da9555a78 WHIRLPOOL 597f43c47ff630ec408f99c3d7e88622fc179f542772d800af09691734882bede81ab2d54ea51de21de08be568500477e2688579f9d244ddc11bd282a6678fce
26 DIST elogind-234.3.tar.gz 970679 SHA256 d3a3f272256da3946b0ab2508b6d5a95ad71f0b9b57e509a2264551bb1a4484d SHA512 3aeb33a2c7ba8c75af29cc7844ad7a6fe51edb96a09e364798de62332b04bcb94cb36cd55986cbf517bcf61660b3265b18d5819102f8ab5ecea26738154e21cb WHIRLPOOL 758650da0ba3c6800cf8a81426e2c8f8148cff9d185e0bb7d61e04a227b9eca05a2c32538c1ec7573c0f4ba28fe85a32a374b958ecf547a78667c97c25bbc6df
27 +DIST elogind-234.4.tar.gz 973370 SHA256 ffb465a62c4281c19b07eb7fbb9ad0987f3b726ae1a868a92a3144d7714542f3 SHA512 2df4fa318074d4f5e5dbba353cf817068a2703ffed40cdeae4cba2dea4ee143d1c5fc076b19419f1c4299392088c2c14b430d8aa1ded03b62117311802305d5e WHIRLPOOL 1b735338cb02ef8cffb5837a0702110117ae1d677a4cbf106180c549485f7fb0604f3134e6ff5e14b23485ddfe4d4415a41e69d93b8f099cee41a220d0ea4a69
28
29 diff --git a/sys-auth/elogind/elogind-233.7.ebuild b/sys-auth/elogind/elogind-233.7.ebuild
30 new file mode 100644
31 index 00000000000..9f4a48ace40
32 --- /dev/null
33 +++ b/sys-auth/elogind/elogind-233.7.ebuild
34 @@ -0,0 +1,105 @@
35 +# Copyright 1999-2017 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=6
39 +
40 +inherit autotools linux-info pam udev
41 +
42 +DESCRIPTION="The systemd project's logind, extracted to a standalone package"
43 +HOMEPAGE="https://github.com/elogind/elogind"
44 +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm ~x86"
49 +IUSE="acl debug pam policykit selinux"
50 +
51 +RDEPEND="
52 + sys-apps/util-linux
53 + sys-libs/libcap
54 + virtual/libudev:=
55 + acl? ( sys-apps/acl )
56 + pam? ( virtual/pam )
57 + selinux? ( sys-libs/libselinux )
58 + !sys-apps/systemd
59 +"
60 +DEPEND="${RDEPEND}
61 + app-text/docbook-xml-dtd:4.2
62 + app-text/docbook-xml-dtd:4.5
63 + app-text/docbook-xsl-stylesheets
64 + dev-util/gperf
65 + dev-util/intltool
66 + sys-devel/libtool
67 + virtual/pkgconfig
68 +"
69 +PDEPEND="
70 + sys-apps/dbus
71 + policykit? ( sys-auth/polkit )
72 +"
73 +
74 +PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" )
75 +
76 +pkg_setup() {
77 + local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK
78 + ~SIGNALFD ~TIMERFD"
79 +
80 + if use kernel_linux; then
81 + linux-info_pkg_setup
82 + fi
83 +}
84 +
85 +src_prepare() {
86 + default
87 + eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch"
88 +}
89 +
90 +src_configure() {
91 + econf \
92 + --with-pamlibdir=$(getpam_mod_dir) \
93 + --with-udevrulesdir="$(get_udevdir)"/rules.d \
94 + --libdir="${EPREFIX}"/usr/$(get_libdir) \
95 + --with-rootlibdir="${EPREFIX}"/$(get_libdir) \
96 + --with-rootprefix="${EPREFIX}/" \
97 + --with-rootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind \
98 + --enable-smack \
99 + --with-cgroup-controller=openrc \
100 + --disable-lto \
101 + $(use_enable debug debug elogind) \
102 + $(use_enable acl) \
103 + $(use_enable pam) \
104 + $(use_enable selinux)
105 +}
106 +
107 +src_install() {
108 + default
109 + find "${D}" -name '*.la' -delete || die
110 +
111 + newinitd "${FILESDIR}"/${PN}.init ${PN}
112 +
113 + sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die
114 + newconfd ${PN}.conf ${PN}
115 +}
116 +
117 +pkg_postinst() {
118 + if [ "$(rc-config list boot | grep elogind)" != "" ]; then
119 + ewarn "elogind is currently started from boot runlevel."
120 + elif [ "$(rc-config list default | grep elogind)" != "" ]; then
121 + ewarn "elogind is currently started from default runlevel."
122 + ewarn "Please remove elogind from the default runlevel and"
123 + ewarn "add it to the boot runlevel by:"
124 + ewarn "# rc-update del elogind default"
125 + ewarn "# rc-update add elogind boot"
126 + else
127 + ewarn "elogind is currently not started from any runlevel."
128 + ewarn "You may add it to the boot runlevel by:"
129 + ewarn "# rc-update add elogind boot"
130 + fi
131 + ewarn "Alternatively you can leave elogind out of any"
132 + ewarn "runlevel. It will then be started automatically"
133 + if use pam; then
134 + ewarn "when the first service calls it via dbus, or the"
135 + ewarn "first user logs into the system."
136 + else
137 + ewarn "when the first service calls it via dbus."
138 + fi
139 +}
140
141 diff --git a/sys-auth/elogind/elogind-234.4.ebuild b/sys-auth/elogind/elogind-234.4.ebuild
142 new file mode 100644
143 index 00000000000..9f4a48ace40
144 --- /dev/null
145 +++ b/sys-auth/elogind/elogind-234.4.ebuild
146 @@ -0,0 +1,105 @@
147 +# Copyright 1999-2017 Gentoo Foundation
148 +# Distributed under the terms of the GNU General Public License v2
149 +
150 +EAPI=6
151 +
152 +inherit autotools linux-info pam udev
153 +
154 +DESCRIPTION="The systemd project's logind, extracted to a standalone package"
155 +HOMEPAGE="https://github.com/elogind/elogind"
156 +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
157 +
158 +LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
159 +SLOT="0"
160 +KEYWORDS="~amd64 ~arm ~x86"
161 +IUSE="acl debug pam policykit selinux"
162 +
163 +RDEPEND="
164 + sys-apps/util-linux
165 + sys-libs/libcap
166 + virtual/libudev:=
167 + acl? ( sys-apps/acl )
168 + pam? ( virtual/pam )
169 + selinux? ( sys-libs/libselinux )
170 + !sys-apps/systemd
171 +"
172 +DEPEND="${RDEPEND}
173 + app-text/docbook-xml-dtd:4.2
174 + app-text/docbook-xml-dtd:4.5
175 + app-text/docbook-xsl-stylesheets
176 + dev-util/gperf
177 + dev-util/intltool
178 + sys-devel/libtool
179 + virtual/pkgconfig
180 +"
181 +PDEPEND="
182 + sys-apps/dbus
183 + policykit? ( sys-auth/polkit )
184 +"
185 +
186 +PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" )
187 +
188 +pkg_setup() {
189 + local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK
190 + ~SIGNALFD ~TIMERFD"
191 +
192 + if use kernel_linux; then
193 + linux-info_pkg_setup
194 + fi
195 +}
196 +
197 +src_prepare() {
198 + default
199 + eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch"
200 +}
201 +
202 +src_configure() {
203 + econf \
204 + --with-pamlibdir=$(getpam_mod_dir) \
205 + --with-udevrulesdir="$(get_udevdir)"/rules.d \
206 + --libdir="${EPREFIX}"/usr/$(get_libdir) \
207 + --with-rootlibdir="${EPREFIX}"/$(get_libdir) \
208 + --with-rootprefix="${EPREFIX}/" \
209 + --with-rootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind \
210 + --enable-smack \
211 + --with-cgroup-controller=openrc \
212 + --disable-lto \
213 + $(use_enable debug debug elogind) \
214 + $(use_enable acl) \
215 + $(use_enable pam) \
216 + $(use_enable selinux)
217 +}
218 +
219 +src_install() {
220 + default
221 + find "${D}" -name '*.la' -delete || die
222 +
223 + newinitd "${FILESDIR}"/${PN}.init ${PN}
224 +
225 + sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die
226 + newconfd ${PN}.conf ${PN}
227 +}
228 +
229 +pkg_postinst() {
230 + if [ "$(rc-config list boot | grep elogind)" != "" ]; then
231 + ewarn "elogind is currently started from boot runlevel."
232 + elif [ "$(rc-config list default | grep elogind)" != "" ]; then
233 + ewarn "elogind is currently started from default runlevel."
234 + ewarn "Please remove elogind from the default runlevel and"
235 + ewarn "add it to the boot runlevel by:"
236 + ewarn "# rc-update del elogind default"
237 + ewarn "# rc-update add elogind boot"
238 + else
239 + ewarn "elogind is currently not started from any runlevel."
240 + ewarn "You may add it to the boot runlevel by:"
241 + ewarn "# rc-update add elogind boot"
242 + fi
243 + ewarn "Alternatively you can leave elogind out of any"
244 + ewarn "runlevel. It will then be started automatically"
245 + if use pam; then
246 + ewarn "when the first service calls it via dbus, or the"
247 + ewarn "first user logs into the system."
248 + else
249 + ewarn "when the first service calls it via dbus."
250 + fi
251 +}