public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
Date: Tue, 29 May 2018 22:25:14 +0000 (UTC)	[thread overview]
Message-ID: <1527632683.d68d4b509ee5e042555cb2accce9d79c54b1e176.asturm@gentoo> (raw)

commit:     d68d4b509ee5e042555cb2accce9d79c54b1e176
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue May 29 21:18:23 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue May 29 22:24:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d68d4b50

sys-auth/elogind: 235.4 version bump

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-auth/elogind/Manifest             |   1 +
 sys-auth/elogind/elogind-235.4.ebuild | 122 ++++++++++++++++++++++++++++++++++
 2 files changed, 123 insertions(+)

diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest
index fb21f216ddf..2000d7a9f85 100644
--- a/sys-auth/elogind/Manifest
+++ b/sys-auth/elogind/Manifest
@@ -1,2 +1,3 @@
 DIST elogind-235.2.tar.gz 975652 BLAKE2B c568b5eec89da14f55211cf4405d96b4bb1ea274d1237739a92c4f3585a6181a3e17dc7ed2af5161c649cae2149b3bd25f4212cf5a304383b254e39d7aa0b378 SHA512 6fa9194e8c21fa3d3caf6f9499f772dbfe38b9d40d8a0fe43ee32ad4b2acd672a78798d00694d1e0d6107625f4f3f06b71e0a5466ed4be446d670f9bcd961313
+DIST elogind-235.4.tar.gz 1019339 BLAKE2B 728e6707f57f43acf9a40e127fe2e53389cbcba1c96b79f96b23dc7d2ffdc3c84efdd55905a22cbeae0442d9278fd1e9371904c2da8aa29c00f79b879522b2c6 SHA512 43a4a25219c234214b1541f17c4aec65847e62ebbeeb223c7890f6648a2ffadc8388e4c526ab49df9ff1f216160810c601c7609098b9b2955bc63142f684b16e
 DIST elogind-236.1.tar.gz 1050387 BLAKE2B d0d295210eb07374cae738f55b472d9410f68c9e7f318dd736b5fcb5c0409c3da144988d8042b1e3b103d34d7a02471b4e316a924c9b1640c605fc73972de3da SHA512 ab4989f4467ef001bb8b837035bee870beaf5ec5fa2389649bdcad2fe7bbf82691bfd3176cf9a3bf3b5c232c77210f431f2d38ebdbfd09f5a7868cd50e476c59

diff --git a/sys-auth/elogind/elogind-235.4.ebuild b/sys-auth/elogind/elogind-235.4.ebuild
new file mode 100644
index 00000000000..c2dbf0ad027
--- /dev/null
+++ b/sys-auth/elogind/elogind-235.4.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit linux-info meson pam udev xdg-utils
+
+DESCRIPTION="The systemd project's logind, extracted to a standalone package"
+HOMEPAGE="https://github.com/elogind/elogind"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+acl debug doc +pam +policykit selinux"
+
+COMMON_DEPEND="
+	sys-apps/util-linux
+	sys-libs/libcap
+	virtual/libudev:=
+	acl? ( sys-apps/acl )
+	pam? ( virtual/pam )
+	selinux? ( sys-libs/libselinux )
+"
+DEPEND="${COMMON_DEPEND}
+	app-text/docbook-xml-dtd:4.2
+	app-text/docbook-xml-dtd:4.5
+	app-text/docbook-xsl-stylesheets
+	dev-util/gperf
+	dev-util/intltool
+	sys-devel/libtool
+	virtual/pkgconfig
+"
+RDEPEND="${COMMON_DEPEND}
+	!sys-apps/systemd
+"
+PDEPEND="
+	sys-apps/dbus
+	policykit? ( sys-auth/polkit )
+"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-235.2-docs.patch"
+	"${FILESDIR}/${PN}-235.2-drop-logintest.patch" # bug 645156
+)
+
+pkg_setup() {
+	local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD"
+
+	if use kernel_linux; then
+		linux-info_pkg_setup
+	fi
+}
+
+src_prepare() {
+	default
+	xdg_environment_reset
+}
+
+src_configure() {
+	local rccgroupmode="$(grep rc_cgroup_mode /etc/rc.conf | cut -d '"' -f 2)"
+	local cgroupmode="legacy"
+
+	if [[ "xhybrid" = "x${rccgroupmode}" ]] ; then
+		cgroupmode="hybrid"
+	elif [[ "xunified" = "x${rccgroupmode}" ]] ; then
+		cgroupmode="unified"
+	fi
+
+	local emesonargs=(
+		-Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
+		-Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html"
+		-Dpamlibdir=$(getpam_mod_dir)
+		-Dudevrulesdir="$(get_udevdir)"/rules.d
+		--libdir="${EPREFIX}"/usr/$(get_libdir)
+		-Drootlibdir="${EPREFIX}"/$(get_libdir)
+		-Drootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind
+		-Drootprefix="${EPREFIX}/"
+		-Dbashcompletiondir="${EPREFIX}/usr/share/bash-completion/completions"
+		-Dzshcompletiondir="${EPREFIX}/usr/share/zsh/site-functions"
+		-Dman=auto
+		-Dsmack=true
+		-Dcgroup-controller=openrc
+		-Ddefault-hierarchy=${cgroupmode}
+		-Ddefault-kill-user-processes=false
+		-Dacl=$(usex acl true false)
+		-Ddebug=$(usex debug elogind false)
+		--buildtype $(usex debug debug release)
+		-Dhtml=$(usex doc auto false)
+		-Dpam=$(usex pam true false)
+		-Dselinux=$(usex selinux true false)
+	)
+
+	meson_src_configure
+}
+
+src_install() {
+	DOCS+=( src/libelogind/sd-bus/GVARIANT-SERIALIZATION )
+
+	meson_src_install
+
+	newinitd "${FILESDIR}"/${PN}.init ${PN}
+
+	sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die
+	newconfd ${PN}.conf ${PN}
+}
+
+pkg_postinst() {
+	if [[ "$(rc-config list boot | grep elogind)" != "" ]]; then
+		elog "elogind is currently started from boot runlevel."
+	elif [[ "$(rc-config list default | grep elogind)" != "" ]]; then
+		ewarn "elogind is currently started from default runlevel."
+		ewarn "Please remove elogind from the default runlevel and"
+		ewarn "add it to the boot runlevel by:"
+		ewarn "# rc-update del elogind default"
+		ewarn "# rc-update add elogind boot"
+	else
+		ewarn "elogind is currently not started from any runlevel."
+		ewarn "You may add it to the boot runlevel by:"
+		ewarn "# rc-update add elogind boot"
+	fi
+}


             reply	other threads:[~2018-05-29 22:25 UTC|newest]

Thread overview: 166+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-29 22:25 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-28 17:28 [gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/ Mike Gilbert
2025-01-28 17:26 Mike Gilbert
2025-01-28 16:53 Mike Gilbert
2024-12-28 13:09 Arthur Zamarin
2024-12-28 10:55 Arthur Zamarin
2024-12-28 10:55 Arthur Zamarin
2024-12-28 10:55 Arthur Zamarin
2024-12-28 10:55 Arthur Zamarin
2024-12-28 10:55 Arthur Zamarin
2024-12-28 10:55 Arthur Zamarin
2024-11-24 10:24 Andreas Sturmlechner
2024-09-21 13:10 Arthur Zamarin
2024-09-21 13:10 Arthur Zamarin
2024-09-21 13:10 Arthur Zamarin
2024-09-21 13:10 Arthur Zamarin
2024-09-21 13:10 Arthur Zamarin
2024-09-21 13:10 Arthur Zamarin
2024-09-21 13:10 Arthur Zamarin
2024-09-02 18:21 Andreas Sturmlechner
2024-08-28 10:33 Andreas Sturmlechner
2024-08-28  7:59 Andreas Sturmlechner
2024-06-21 14:58 Sam James
2024-06-12 18:43 Mike Gilbert
2024-03-01 22:07 Sam James
2023-08-26 16:04 Arthur Zamarin
2023-08-09 18:14 Piotr Karbowski
2023-06-10 19:08 Sam James
2023-06-10 18:49 Sam James
2023-06-10 18:49 Sam James
2023-05-06 11:34 Sam James
2023-05-06 11:34 Sam James
2022-12-06  6:18 WANG Xuerui
2022-11-10  5:06 Arthur Zamarin
2022-05-17  5:34 Sam James
2022-01-22  9:48 Agostino Sarubbo
2022-01-22  9:45 Agostino Sarubbo
2022-01-21 20:13 Arthur Zamarin
2022-01-21 20:13 Arthur Zamarin
2022-01-21 20:13 Arthur Zamarin
2022-01-21 12:42 Sam James
2022-01-21 12:42 Sam James
2021-11-18 23:08 Piotr Karbowski
2021-06-14  9:12 Andreas Sturmlechner
2021-06-10 18:28 Sam James
2021-06-04 21:49 Yixun Lan
2021-06-03 16:26 Sam James
2021-06-02 10:39 Sam James
2021-05-31  6:11 Agostino Sarubbo
2021-05-31  6:09 Agostino Sarubbo
2021-05-31  6:03 Agostino Sarubbo
2021-05-29 21:19 Andreas Sturmlechner
2021-05-21  0:51 Yixun Lan
2021-03-28 12:56 Piotr Karbowski
2021-02-25 12:50 Andreas Sturmlechner
2021-02-19 12:02 Sam James
2021-02-18 21:47 Sam James
2021-02-18  8:41 Sam James
2021-02-16 12:34 Sam James
2021-02-09 21:31 Sam James
2021-02-06 19:05 Sam James
2021-01-15 16:53 Andreas Sturmlechner
2021-01-15 16:53 Andreas Sturmlechner
2021-01-06 15:43 Piotr Karbowski
2020-11-11 17:16 Piotr Karbowski
2020-07-26 19:24 Piotr Karbowski
2020-07-12 23:07 Andreas Sturmlechner
2020-07-12 23:07 Andreas Sturmlechner
2020-04-19 11:35 Mart Raudsepp
2020-04-15 12:10 Agostino Sarubbo
2020-04-15  8:26 Agostino Sarubbo
2020-04-14 16:45 Agostino Sarubbo
2020-04-14 16:44 Agostino Sarubbo
2020-04-14 16:44 Agostino Sarubbo
2020-04-14 16:43 Agostino Sarubbo
2020-04-07 22:25 Matt Turner
2020-04-07 22:25 Matt Turner
2020-04-04  9:24 Mart Raudsepp
2020-03-02 15:22 Agostino Sarubbo
2020-03-02 12:39 Agostino Sarubbo
2020-03-02 12:38 Agostino Sarubbo
2020-03-02 12:32 Agostino Sarubbo
2020-03-02 12:29 Agostino Sarubbo
2020-03-02 12:28 Agostino Sarubbo
2020-03-01 21:44 Agostino Sarubbo
2019-12-08 10:58 Sergei Trofimovich
2019-12-05  1:09 Matt Turner
2019-12-04 23:09 Matt Turner
2019-12-04 23:09 Matt Turner
2019-12-04 22:43 Matt Turner
2019-12-04 19:44 Sergei Trofimovich
2019-12-02 10:51 Mikle Kolyada
2019-11-26 12:27 Agostino Sarubbo
2019-11-24 21:49 Aaron Bauman
2019-10-12 23:44 Matt Turner
2019-10-12 23:44 Matt Turner
2019-10-12 19:07 Mikle Kolyada
2019-08-05 13:18 Guilherme Amadio
2019-07-18 21:08 Sergei Trofimovich
2019-07-17 19:19 Matt Turner
2019-06-20  9:10 Mikle Kolyada
2019-05-13  9:38 Mikle Kolyada
2019-05-13  4:47 Aaron Bauman
2019-05-13  1:41 Thomas Deutschmann
2019-04-29  8:17 Sergei Trofimovich
2019-04-29  8:17 Sergei Trofimovich
2019-04-26 20:50 Jory Pratt
2019-04-26 20:19 Jory Pratt
2019-04-20 19:09 Aaron Bauman
2019-04-20 18:45 Mikle Kolyada
2019-04-08 22:07 Sergei Trofimovich
2019-04-08 22:07 Sergei Trofimovich
2019-04-03  8:55 Jory Pratt
2019-04-01 21:45 Andreas Sturmlechner
2019-04-01 19:33 Andreas Sturmlechner
2019-04-01 19:33 Andreas Sturmlechner
2019-03-31 20:03 Matt Turner
2019-03-31 20:03 Matt Turner
2019-03-31 20:03 Matt Turner
2019-03-31 20:03 Matt Turner
2019-03-27  8:23 Mikle Kolyada
2019-03-16  5:26 Michael Palimaka
2019-02-15 12:53 Andreas Sturmlechner
2019-01-28  7:20 Mikle Kolyada
2018-12-16 19:30 Andreas Sturmlechner
2018-11-25 23:41 Andreas Sturmlechner
2018-11-25 23:41 Andreas Sturmlechner
2018-11-17  7:24 Michael Palimaka
2018-11-11  0:44 Andreas Sturmlechner
2018-11-10 23:07 Mikle Kolyada
2018-10-23 12:11 Andreas Sturmlechner
2018-08-11 16:44 Andreas Sturmlechner
2018-08-09 12:46 Mikle Kolyada
2018-08-09 12:46 Mikle Kolyada
2018-06-30 20:47 Andreas Sturmlechner
2018-06-30 20:47 Andreas Sturmlechner
2018-03-05 22:14 Andreas Sturmlechner
2018-03-05 22:14 Andreas Sturmlechner
2018-03-04 10:06 Andreas Sturmlechner
2018-03-04 10:06 Andreas Sturmlechner
2018-02-01 21:55 Andreas Sturmlechner
2018-02-01 20:37 Thomas Deutschmann
2018-01-31 10:22 Andreas Sturmlechner
2018-01-22 19:53 Andreas Sturmlechner
2018-01-15 23:45 Andreas Sturmlechner
2018-01-15 23:45 Andreas Sturmlechner
2018-01-10 10:00 Andreas Sturmlechner
2017-12-02 22:56 Andreas Sturmlechner
2017-12-02 22:56 Andreas Sturmlechner
2017-11-23 23:26 Andreas Sturmlechner
2017-11-23 23:26 Andreas Sturmlechner
2017-09-26 12:43 Michael Palimaka
2017-07-21  2:41 Mike Gilbert
2017-07-21  2:37 Mike Gilbert
2017-07-17 12:40 Michael Palimaka
2017-07-03 13:29 Michael Palimaka
2017-06-29 13:32 Michael Palimaka
2017-06-25  8:52 Michael Palimaka
2017-06-16 12:32 Michael Palimaka
2017-06-13 11:25 Michael Palimaka
2017-06-06 12:53 Michael Palimaka
2017-05-28  5:37 Michael Palimaka
2017-05-27  7:53 Andreas Sturmlechner
2017-03-21 10:34 Andreas Sturmlechner
2017-02-12  0:59 Andreas Sturmlechner
2017-02-11 11:29 Andreas Sturmlechner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1527632683.d68d4b509ee5e042555cb2accce9d79c54b1e176.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox