From: "Piotr Karbowski" <slashbeast@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
Date: Sun, 28 Mar 2021 12:56:46 +0000 (UTC) [thread overview]
Message-ID: <1616936203.731f6d23b854903e5b8486021858eb8315b0cfef.slashbeast@gentoo> (raw)
commit: 731f6d23b854903e5b8486021858eb8315b0cfef
Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 28 12:48:55 2021 +0000
Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Sun Mar 28 12:56:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=731f6d23
sys-auth/elogind: 246.10 version bump.
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
sys-auth/elogind/Manifest | 1 +
sys-auth/elogind/elogind-246.10.ebuild | 148 +++++++++++++++++++++++++++++++++
2 files changed, 149 insertions(+)
diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest
index 55443c144ea..4eb0c703684 100644
--- a/sys-auth/elogind/Manifest
+++ b/sys-auth/elogind/Manifest
@@ -1 +1,2 @@
+DIST elogind-246.10.tar.gz 1559256 BLAKE2B 17a8146ee08c8ccf167f25d89b1d4525050ed0b0baaad0d36924ad3c40ffc820ef1528b33557cf285ad06c9ac9c440137428c5a235a2acf563e56f2f8f07e208 SHA512 9db0f068ed94ec07bab4d764ccb38840af3d05a4b7c9c539721906f5381b509cb9a3cbfb0453a978210d306136368de6162578c600d522416ef2a7ac1b9f348b
DIST elogind-246.9.2.tar.gz 1534982 BLAKE2B 428def0f577cb92c8167f4400a59093ebf738d14b449e0dc59f1aa59da2c0f781db62bffc4bea2649edbfcc06ff5799ab24243dfb580eaa12c5cf0c41be8fc17 SHA512 b50d319793307a425d7542626e8cf27e56fb5e5c75cca9519cd3f5a1e7c387c4179310b95fa083f8bd8172384f16c0e45e7000b313d2bcf84ed8aba98dc775c1
diff --git a/sys-auth/elogind/elogind-246.10.ebuild b/sys-auth/elogind/elogind-246.10.ebuild
new file mode 100644
index 00000000000..79d70653448
--- /dev/null
+++ b/sys-auth/elogind/elogind-246.10.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} = *9999* ]]; then
+ EGIT_BRANCH="v241-stable"
+ EGIT_REPO_URI="https://github.com/elogind/elogind.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+fi
+
+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"
+
+LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
+SLOT="0"
+IUSE="+acl audit debug doc +pam +policykit selinux"
+
+BDEPEND="
+ 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
+ virtual/pkgconfig
+"
+DEPEND="
+ audit? ( sys-process/audit )
+ sys-apps/util-linux
+ sys-libs/libcap
+ virtual/libudev:=
+ acl? ( sys-apps/acl )
+ pam? ( sys-libs/pam )
+ selinux? ( sys-libs/libselinux )
+"
+RDEPEND="${DEPEND}
+ !sys-apps/systemd
+"
+PDEPEND="
+ sys-apps/dbus
+ policykit? ( sys-auth/polkit )
+"
+
+DOCS=( README.md src/libelogind/sd-bus/GVARIANT-SERIALIZATION )
+
+PATCHES=(
+ "${FILESDIR}/${PN}-243.7-nodocs.patch"
+ "${FILESDIR}/${PN}-241.4-broken-test.patch" # bug 699116
+)
+
+pkg_setup() {
+ local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD"
+
+ use kernel_linux && linux-info_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+}
+
+src_configure() {
+ local rccgroupmode="$(grep rc_cgroup_mode ${EPREFIX}/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="${EPREFIX}$(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"
+ -Dman=auto
+ -Dsmack=true
+ -Dcgroup-controller=openrc
+ -Ddefault-hierarchy=${cgroupmode}
+ -Ddefault-kill-user-processes=false
+ -Dacl=$(usex acl true false)
+ -Daudit=$(usex audit true false)
+ --buildtype $(usex debug debug release)
+ -Dhtml=$(usex doc auto false)
+ -Dpam=$(usex pam true false)
+ -Dselinux=$(usex selinux true false)
+ -Dutmp=$(usex elibc_musl false true)
+ )
+
+ meson_src_configure
+}
+
+src_install() {
+ DOCS+=( src/libelogind/sd-bus/GVARIANT-SERIALIZATION )
+
+ meson_src_install
+
+ newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
+
+ sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die
+ newconfd ${PN}.conf ${PN}
+}
+
+pkg_postinst() {
+ if ! use pam; then
+ ewarn "${PN} will not be managing user logins/seats without USE=\"pam\"!"
+ ewarn "In other words, it will be useless for most applications."
+ ewarn
+ fi
+ if ! use policykit; then
+ ewarn "loginctl will not be able to perform privileged operations without"
+ ewarn "USE=\"policykit\"! That means e.g. no suspend or hibernate."
+ ewarn
+ fi
+ 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
+ elog "elogind is currently not started from any runlevel."
+ elog "You may add it to the boot runlevel by:"
+ elog "# rc-update add elogind boot"
+ elog
+ elog "Alternatively, you can leave elogind out of any"
+ elog "runlevel. It will then be started automatically"
+ if use pam; then
+ elog "when the first service calls it via dbus, or"
+ elog "the first user logs into the system."
+ else
+ elog "when the first service calls it via dbus."
+ fi
+ fi
+}
next reply other threads:[~2021-03-28 12:56 UTC|newest]
Thread overview: 175+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-28 12:56 Piotr Karbowski [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-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-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=1616936203.731f6d23b854903e5b8486021858eb8315b0cfef.slashbeast@gentoo \
--to=slashbeast@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