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: Mon, 15 Jan 2018 23:45:54 +0000 (UTC)	[thread overview]
Message-ID: <1516059923.8d87d4e32d1b7e805752b76ee6ed86bfd5e8bace.asturm@gentoo> (raw)

commit:     8d87d4e32d1b7e805752b76ee6ed86bfd5e8bace
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 15 23:37:32 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jan 15 23:45:23 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d87d4e3

sys-auth/elogind: 235.2 version bump

Closes: https://bugs.gentoo.org/644684
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-auth/elogind/Manifest             |   1 +
 sys-auth/elogind/elogind-235.2.ebuild | 125 ++++++++++++++++++++++++++++++++++
 2 files changed, 126 insertions(+)

diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest
index 9466285a938..b20a67b5a25 100644
--- a/sys-auth/elogind/Manifest
+++ b/sys-auth/elogind/Manifest
@@ -1,2 +1,3 @@
 DIST elogind-234.4.tar.gz 973370 BLAKE2B 4fe00d2e22e3f94dfb6385fe61825be72ad2200f1368807ea816a971104cf384e3508ecf2877fa08394c6d0259874b2ceb7c4014f9e861dcd3b19c01bcd04602 SHA512 2df4fa318074d4f5e5dbba353cf817068a2703ffed40cdeae4cba2dea4ee143d1c5fc076b19419f1c4299392088c2c14b430d8aa1ded03b62117311802305d5e
 DIST elogind-235.1.tar.gz 975726 BLAKE2B 2497be9bfc89e8d7eef1cc0a0880b5801940df282ba1c8e62031dcf888bcc107d071fe6d61f0e383a779829eafb060f421140d8c3c998937eec1c333ed7d0d13 SHA512 96442d073f4437c4432419cfaed3dc6f0323fc6967ae01b64ee07ae9a91d99084ba0066825a723a8a58ffff4c0a47150d64d40ff4dcc15a6250423dd5c358c38
+DIST elogind-235.2.tar.gz 975652 BLAKE2B c568b5eec89da14f55211cf4405d96b4bb1ea274d1237739a92c4f3585a6181a3e17dc7ed2af5161c649cae2149b3bd25f4212cf5a304383b254e39d7aa0b378 SHA512 6fa9194e8c21fa3d3caf6f9499f772dbfe38b9d40d8a0fe43ee32ad4b2acd672a78798d00694d1e0d6107625f4f3f06b71e0a5466ed4be446d670f9bcd961313

diff --git a/sys-auth/elogind/elogind-235.2.ebuild b/sys-auth/elogind/elogind-235.2.ebuild
new file mode 100644
index 00000000000..d6c31d67e03
--- /dev/null
+++ b/sys-auth/elogind/elogind-235.2.ebuild
@@ -0,0 +1,125 @@
+# 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.1-docs.patch" )
+
+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 emesonargs cgroupmode rccgroupmode
+
+	rccgroupmode="$(grep rc_cgroup_mode /etc/rc.conf | cut -d '"' -f 2)"
+	cgroupmode="legacy"
+
+	if [ "xhybrid" = "x${rccgroupmode}" ] ; then
+		cgroupmode="hybrid"
+	elif [ "xunified" = "x${rccgroupmode}" ] ; then
+		cgroupmode="unified"
+	fi
+
+	emesonargs=(
+		-Ddocdir="${EPREFIX}/usr/share/doc/${P}" \
+		-Dhtmldir="${EPREFIX}/usr/share/doc/${P}/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}/" \
+		-Dsmack=true \
+		-Dman=auto \
+		-Dhtml=$(usex doc auto false) \
+		-Dcgroup-controller=openrc \
+		-Ddefault-hierarchy=${cgroupmode} \
+		-Ddebug=$(usex debug elogind false) \
+		--buildtype $(usex debug debug release) \
+		-Dacl=$(usex acl true false) \
+		-Dpam=$(usex pam true false) \
+		-Dselinux=$(usex selinux true false)
+		-Dbashcompletiondir="${EPREFIX}/usr/share/bash-completion/completions" \
+		-Dzsh-completion="${EPREFIX}/usr/share/zsh/site-functions" \
+	)
+	meson_src_configure
+}
+
+src_install() {
+	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
+		ewarn "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
+	ewarn "Alternatively you can leave elogind out of any"
+	ewarn "runlevel. It will then be started automatically"
+	if use pam; then
+		ewarn "when the first service calls it via dbus, or the"
+		ewarn "first user logs into the system."
+	else
+		ewarn "when the first service calls it via dbus."
+	fi
+}


             reply	other threads:[~2018-01-15 23:46 UTC|newest]

Thread overview: 175+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-15 23:45 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-13  4:35 [gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/ Sam James
2025-07-13  4:35 Sam James
2025-07-13  4:35 Sam James
2025-07-13  4:35 Sam James
2025-07-13  4:35 Sam James
2025-07-13  4:35 Sam James
2025-07-13  4:35 Sam James
2025-04-18  1:37 Ionen Wolkens
2025-02-17  7:20 Ulrich Müller
2025-01-28 17:28 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-05-29 22:25 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-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=1516059923.8d87d4e32d1b7e805752b76ee6ed86bfd5e8bace.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