[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: b723bef43da14a66b5d55f4a4b222c9bb78c2a96 Author: Sam James gentoo org> AuthorDate: Fri Mar 1 22:06:21 2024 + Commit: Sam James gentoo org> CommitDate: Fri Mar 1 22:06:21 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b723bef4 sys-auth/elogind: --buildtype -> -Dbuildtype for meson.eclass changes Since b95ea11330e446d0deb89ca7d78356cb2a7d0d06, we need to do -Dbuildtype, not --buildtype. Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-246.10-r3.ebuild | 4 ++-- sys-auth/elogind/elogind-252.9.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys-auth/elogind/elogind-246.10-r3.ebuild b/sys-auth/elogind/elogind-246.10-r3.ebuild index 532c0142c6d7..6dab1913be28 100644 --- a/sys-auth/elogind/elogind-246.10-r3.ebuild +++ b/sys-auth/elogind/elogind-246.10-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -92,7 +92,7 @@ src_configure() { -Ddefault-kill-user-processes=false -Dacl=$(usex acl true false) -Daudit=$(usex audit true false) - --buildtype $(usex debug debug release) + -Dbuildtype=$(usex debug debug release) -Dhtml=$(usex doc auto false) -Dpam=$(usex pam true false) -Dselinux=$(usex selinux true false) diff --git a/sys-auth/elogind/elogind-252.9.ebuild b/sys-auth/elogind/elogind-252.9.ebuild index 8e772cb2b934..4cb66f04f2f6 100644 --- a/sys-auth/elogind/elogind-252.9.ebuild +++ b/sys-auth/elogind/elogind-252.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -114,7 +114,7 @@ src_configure() { -Ddefault-kill-user-processes=false -Dacl=$(usex acl true false) -Daudit=$(usex audit true false) - --buildtype $(usex debug debug release) + -Dbuildtype=$(usex debug debug release) -Dhtml=$(usex doc auto false) -Dpam=$(usex pam true false) -Dselinux=$(usex selinux true false)
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: a9493368be34618dd792487260228c20add77a38 Author: Violet Purcell inventati org> AuthorDate: Sun Aug 20 01:29:10 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Aug 26 16:04:50 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9493368 sys-auth/elogind: enable py3.12 Signed-off-by: Violet Purcell inventati.org> Closes: https://github.com/gentoo/gentoo/pull/32382 Signed-off-by: Arthur Zamarin gentoo.org> sys-auth/elogind/elogind-252.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-252.9.ebuild b/sys-auth/elogind/elogind-252.9.ebuild index 087f4b7f584b..8e772cb2b934 100644 --- a/sys-auth/elogind/elogind-252.9.ebuild +++ b/sys-auth/elogind/elogind-252.9.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) if [[ ${PV} = ** ]]; then EGIT_BRANCH="v252-stable"
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 4ee748612c5756d4f1356abc1ad33fa5dd127906 Author: Piotr Karbowski gentoo org> AuthorDate: Wed Aug 9 18:11:26 2023 + Commit: Piotr Karbowski gentoo org> CommitDate: Wed Aug 9 18:14:23 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ee74861 sys-auth/elogind: drop myself as maintainer. Signed-off-by: Piotr Karbowski gentoo.org> sys-auth/elogind/metadata.xml | 4 1 file changed, 4 deletions(-) diff --git a/sys-auth/elogind/metadata.xml b/sys-auth/elogind/metadata.xml index fb46725b3a1d..22535f4d8dab 100644 --- a/sys-auth/elogind/metadata.xml +++ b/sys-auth/elogind/metadata.xml @@ -8,10 +8,6 @@ kensing...@gentoo.org Michael Palimaka - - slashbe...@gentoo.org - Piotr Karbowski - Use hybrid cgroup hierarchy (OpenRC's default) instead of unified.
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/files/, sys-auth/elogind/
commit: a5aeb97e314b91c33ae469958588be8bd42b6ed7 Author: Brahmajit Das gmail com> AuthorDate: Mon Jun 12 02:48:18 2023 + Commit: Sam James gentoo org> CommitDate: Mon Jun 12 03:48:14 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5aeb97e sys-auth/elogind: fix build w/ musl-1.2.4 Signed-off-by: Brahmajit Das gmail.com> Closes: https://github.com/gentoo/gentoo/pull/31390 Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-252.9.ebuild | 1 + .../elogind/files/elogind-252.9-musl-lfs.patch | 51 ++ 2 files changed, 52 insertions(+) diff --git a/sys-auth/elogind/elogind-252.9.ebuild b/sys-auth/elogind/elogind-252.9.ebuild index 6303be6caa2b..087f4b7f584b 100644 --- a/sys-auth/elogind/elogind-252.9.ebuild +++ b/sys-auth/elogind/elogind-252.9.ebuild @@ -54,6 +54,7 @@ DOCS=( README.md) PATCHES=( "${FILESDIR}/${P}-nodocs.patch" + "${FILESDIR}/${PN}-252.9-musl-lfs.patch" ) python_check_deps() { diff --git a/sys-auth/elogind/files/elogind-252.9-musl-lfs.patch b/sys-auth/elogind/files/elogind-252.9-musl-lfs.patch new file mode 100644 index ..4faa929c447a --- /dev/null +++ b/sys-auth/elogind/files/elogind-252.9-musl-lfs.patch @@ -0,0 +1,51 @@ +https://github.com/systemd/systemd/pull/27599 + +From d096e05c625ea825eb4d781216ded717b7f71cca Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Wed, 10 May 2023 01:47:13 +0100 +Subject: [PATCH] dirent: conditionalize dirent assert based on dirent64 + existence + +>=musl-1.2.4 doesn't define dirent64 and its LFS friends as its "native" +functions are already LFS-aware. + +Check for dirent64 in meson.build and only assert if it exists. + +Bug: https://bugs.gentoo.org/905900 +Closes: https://github.com/systemd/systemd/pull/25809 +--- a/meson.build b/meson.build +@@ -599,6 +599,7 @@ decl_headers = ''' + # define _GNU_SOURCE 1 + # endif // _GNU_SOURCE + #endif // 1 ++#include + #include + #include + #include +@@ -608,6 +609,7 @@ foreach decl : ['char16_t', + 'char32_t', + 'struct mount_attr', + 'struct statx', ++'struct dirent64', +] + + # We get -1 if the size cannot be determined +--- a/src/basic/dirent-util.h b/src/basic/dirent-util.h +@@ -39,6 +39,7 @@ struct dirent *readdir_no_dot(DIR *dirp); + /* Only if 64bit off_t is enabled struct dirent + struct dirent64 are actually the same. We require this, and + * we want them to be interchangeable to make getdents64() work, hence verify that. */ + assert_cc(_FILE_OFFSET_BITS == 64); ++#if HAVE_STRUCT_DIRENT64 + assert_cc(sizeof(struct dirent) == sizeof(struct dirent64)); + assert_cc(offsetof(struct dirent, d_ino) == offsetof(struct dirent64, d_ino)); + assert_cc(sizeof_field(struct dirent, d_ino) == sizeof_field(struct dirent64, d_ino)); +@@ -50,6 +51,7 @@ assert_cc(offsetof(struct dirent, d_type) == offsetof(struct dirent64, d_type)); + assert_cc(sizeof_field(struct dirent, d_type) == sizeof_field(struct dirent64, d_type)); + assert_cc(offsetof(struct dirent, d_name) == offsetof(struct dirent64, d_name)); + assert_cc(sizeof_field(struct dirent, d_name) == sizeof_field(struct dirent64, d_name)); ++#endif + + #define FOREACH_DIRENT_IN_BUFFER(de, buf, sz) \ + for (void *_end = (uint8_t*) ({ (de) = (buf); }) + (sz);\
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 53ed742ca75cabc7dd90218ca9dba9853afc26f9 Author: Sam James gentoo org> AuthorDate: Sat Jun 10 19:07:58 2023 + Commit: Sam James gentoo org> CommitDate: Sat Jun 10 19:08:02 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53ed742c sys-auth/elogind: fix DoubleEmptyLine Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-252.9.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/sys-auth/elogind/elogind-252.9.ebuild b/sys-auth/elogind/elogind-252.9.ebuild index 9587f15bfea7..6303be6caa2b 100644 --- a/sys-auth/elogind/elogind-252.9.ebuild +++ b/sys-auth/elogind/elogind-252.9.ebuild @@ -56,7 +56,6 @@ PATCHES=( "${FILESDIR}/${P}-nodocs.patch" ) - python_check_deps() { python_has_version "dev-python/jinja[${PYTHON_USEDEP}]" && python_has_version "dev-python/lxml[${PYTHON_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: e57c276c810b9adc2d78e30725f5f139010efa8f Author: Sam James gentoo org> AuthorDate: Sat Jun 10 18:49:23 2023 + Commit: Sam James gentoo org> CommitDate: Sat Jun 10 18:49:39 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e57c276c sys-auth/elogind: update EGIT_BRANCH Not that it really matters as we don't have a live ebuild though. Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-252.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-252.9.ebuild b/sys-auth/elogind/elogind-252.9.ebuild index 93e02ddb45bc..9587f15bfea7 100644 --- a/sys-auth/elogind/elogind-252.9.ebuild +++ b/sys-auth/elogind/elogind-252.9.ebuild @@ -6,7 +6,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} = ** ]]; then - EGIT_BRANCH="v241-stable" + EGIT_BRANCH="v252-stable" EGIT_REPO_URI="https://github.com/elogind/elogind.git; inherit git-r3 else
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 798a7aed75ef3eadd38b08ded34e8c387141893d Author: Sam James gentoo org> AuthorDate: Sat Jun 10 18:49:02 2023 + Commit: Sam James gentoo org> CommitDate: Sat Jun 10 18:49:38 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=798a7aed sys-auth/elogind: add lxml, jinja deps As in systemd. Closes: https://bugs.gentoo.org/908232 Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-252.9.ebuild | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-252.9.ebuild b/sys-auth/elogind/elogind-252.9.ebuild index 56680f91dd18..93e02ddb45bc 100644 --- a/sys-auth/elogind/elogind-252.9.ebuild +++ b/sys-auth/elogind/elogind-252.9.ebuild @@ -3,6 +3,8 @@ EAPI=7 +PYTHON_COMPAT=( python3_{10..11} ) + if [[ ${PV} = ** ]]; then EGIT_BRANCH="v241-stable" EGIT_REPO_URI="https://github.com/elogind/elogind.git; @@ -12,7 +14,7 @@ else KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi -inherit linux-info meson pam udev xdg-utils +inherit linux-info meson pam python-any-r1 udev xdg-utils DESCRIPTION="The systemd project's logind, extracted to a standalone package" HOMEPAGE="https://github.com/elogind/elogind; @@ -28,6 +30,8 @@ BDEPEND=" app-text/docbook-xsl-stylesheets dev-util/gperf virtual/pkgconfig + $(python_gen_any_dep 'dev-python/jinja[${PYTHON_USEDEP}]') + $(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]') " DEPEND=" audit? ( sys-process/audit ) @@ -52,6 +56,12 @@ PATCHES=( "${FILESDIR}/${P}-nodocs.patch" ) + +python_check_deps() { + python_has_version "dev-python/jinja[${PYTHON_USEDEP}]" && + python_has_version "dev-python/lxml[${PYTHON_USEDEP}]" +} + pkg_setup() { local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD" @@ -85,6 +95,8 @@ src_configure() { cgroupmode="unified" fi + python_setup + local emesonargs=( -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html"
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/files/, sys-auth/elogind/
commit: b25dd2a6dc1f1df46bcc98ee7bf80648f1850651 Author: Piotr Karbowski gentoo org> AuthorDate: Sat Jun 10 14:50:36 2023 + Commit: Piotr Karbowski gentoo org> CommitDate: Sat Jun 10 14:54:55 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b25dd2a6 sys-auth/elogind: 252.9 version bump. - Tested build with musl on hardened profile (+selinux). - Tested build, tests and runtime with glibc. - The musl patches sourced out of Alpine Linux. Closes: https://bugs.gentoo.org/907976 Signed-off-by: Piotr Karbowski gentoo.org> sys-auth/elogind/Manifest | 1 + sys-auth/elogind/elogind-252.9.ebuild | 167 + .../files/elogind-252.9-musl-getdents.patch| 35 + .../elogind/files/elogind-252.9-musl-gshadow.patch | 14 ++ .../files/elogind-252.9-musl-more-strerror_r.patch | 44 ++ .../files/elogind-252.9-musl-rlim-max.patch| 13 ++ .../files/elogind-252.9-musl-sigfillset.patch | 12 ++ .../elogind/files/elogind-252.9-musl-statx.patch | 26 .../files/elogind-252.9-musl-strerror_r.patch | 89 +++ sys-auth/elogind/files/elogind-252.9-nodocs.patch | 28 10 files changed, 429 insertions(+) diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index 871cbc88d9f3..3ce9fb1e8ab7 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-252.9.tar.gz 1922777 BLAKE2B dd566125e407b3479a44b007890f97c9c87a325b3fed2d3505499d2163f113affd998e14b1c1fc50b9b86b0d155b51dae344dcc1cddafb6a48c631d0a0f00c9a SHA512 eed620cbc2f03bfeae6a80c9a421c21d3293fa40adffb96c7e4d86508c06712041f6623fb2bac15ecbb85faca4b5674ea6423b3067840809fb27d023fd9e5ffd diff --git a/sys-auth/elogind/elogind-252.9.ebuild b/sys-auth/elogind/elogind-252.9.ebuild new file mode 100644 index ..56680f91dd18 --- /dev/null +++ b/sys-auth/elogind/elogind-252.9.ebuild @@ -0,0 +1,167 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} = ** ]]; 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 ~loong ~mips ~ppc ~ppc64 ~riscv ~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 +cgroup-hybrid debug doc +pam +policykit selinux test" +RESTRICT="!test? ( test )" + +BDEPEND=" + app-text/docbook-xml-dtd:4.2 + app-text/docbook-xml-dtd:4.5 + app-text/docbook-xsl-stylesheets + dev-util/gperf + 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) + +PATCHES=( + "${FILESDIR}/${P}-nodocs.patch" +) + +pkg_setup() { + local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD" + + use kernel_linux && linux-info_pkg_setup +} + +src_prepare() { + if use elibc_musl; then + # Some of musl-specific patches break build on the + # glibc systems (like getdents), therefore those are + # only used when the build is done for musl. + PATCHES+=( + "${FILESDIR}/${P}-musl-sigfillset.patch" + "${FILESDIR}/${P}-musl-statx.patch" + "${FILESDIR}/${P}-musl-rlim-max.patch" + "${FILESDIR}/${P}-musl-getdents.patch" + "${FILESDIR}/${P}-musl-gshadow.patch" + "${FILESDIR}/${P}-musl-strerror_r.patch" + "${FILESDIR}/${P}-musl-more-strerror_r.patch" + ) + fi + + default + xdg_environment_reset +} + +src_configure() { + if use cgroup-hybrid; then + cgroupmode="hybrid" + else + cgroupmode="unified" + fi + + local emesonargs=( + -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" + -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html" +
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/files/, sys-auth/elogind/
commit: 095e98fefa5d6e9072a57f69cd6df53e079effcf Author: Sam James gentoo org> AuthorDate: Wed May 31 00:43:36 2023 + Commit: Sam James gentoo org> CommitDate: Wed May 31 00:43:36 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=095e98fe Revert "sys-auth/elogind: treeclean" This reverts commit 2a23d6073040b491780d4af0f2fb6b6c5ee077c0. Wrong repo!! Signed-off-by: Sam James gentoo.org> sys-auth/elogind/Manifest | 1 + sys-auth/elogind/elogind-246.10-r3.ebuild | 150 + .../elogind/files/elogind-241.4-broken-test.patch | 15 +++ sys-auth/elogind/files/elogind-243.7-nodocs.patch | 29 .../elogind-246.10-clang-undefined-symbol.patch| 20 +++ sys-auth/elogind/files/elogind-246.10-loong.patch | 40 ++ .../files/elogind-246.10-musl-selinux.patch| 99 ++ .../elogind-246.10-revert-polkit-automagic.patch | 38 ++ sys-auth/elogind/files/elogind.conf.in | 7 + sys-auth/elogind/files/elogind.init| 25 sys-auth/elogind/files/elogind.init-r1 | 27 sys-auth/elogind/metadata.xml | 21 +++ 12 files changed, 472 insertions(+) diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest new file mode 100644 index ..871cbc88d9f3 --- /dev/null +++ b/sys-auth/elogind/Manifest @@ -0,0 +1 @@ +DIST elogind-246.10.tar.gz 1559256 BLAKE2B 17a8146ee08c8ccf167f25d89b1d4525050ed0b0baaad0d36924ad3c40ffc820ef1528b33557cf285ad06c9ac9c440137428c5a235a2acf563e56f2f8f07e208 SHA512 9db0f068ed94ec07bab4d764ccb38840af3d05a4b7c9c539721906f5381b509cb9a3cbfb0453a978210d306136368de6162578c600d522416ef2a7ac1b9f348b diff --git a/sys-auth/elogind/elogind-246.10-r3.ebuild b/sys-auth/elogind/elogind-246.10-r3.ebuild new file mode 100644 index ..532c0142c6d7 --- /dev/null +++ b/sys-auth/elogind/elogind-246.10-r3.ebuild @@ -0,0 +1,150 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} = ** ]]; 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 ~loong ~mips ppc ppc64 ~riscv ~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 +cgroup-hybrid debug doc +pam +policykit selinux test" +RESTRICT="!test? ( test )" + +BDEPEND=" + app-text/docbook-xml-dtd:4.2 + app-text/docbook-xml-dtd:4.5 + app-text/docbook-xsl-stylesheets + dev-util/gperf + 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 + "${FILESDIR}/${P}-revert-polkit-automagic.patch" + "${FILESDIR}/${P}-clang-undefined-symbol.patch" + "${FILESDIR}/${P}-loong.patch" + "${FILESDIR}/${P}-musl-selinux.patch" +) + +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() { + if use cgroup-hybrid; then + cgroupmode="hybrid" + else + 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
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/files/, sys-auth/elogind/
commit: 2a23d6073040b491780d4af0f2fb6b6c5ee077c0 Author: Sam James gentoo org> AuthorDate: Wed May 31 00:42:55 2023 + Commit: Sam James gentoo org> CommitDate: Wed May 31 00:42:55 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a23d607 sys-auth/elogind: treeclean Fixed in ::gentoo. Signed-off-by: Sam James gentoo.org> sys-auth/elogind/Manifest | 1 - sys-auth/elogind/elogind-246.10-r3.ebuild | 150 - .../elogind/files/elogind-241.4-broken-test.patch | 15 --- sys-auth/elogind/files/elogind-243.7-nodocs.patch | 29 .../elogind-246.10-clang-undefined-symbol.patch| 20 --- sys-auth/elogind/files/elogind-246.10-loong.patch | 40 -- .../files/elogind-246.10-musl-selinux.patch| 99 -- .../elogind-246.10-revert-polkit-automagic.patch | 38 -- sys-auth/elogind/files/elogind.conf.in | 7 - sys-auth/elogind/files/elogind.init| 25 sys-auth/elogind/files/elogind.init-r1 | 27 sys-auth/elogind/metadata.xml | 21 --- 12 files changed, 472 deletions(-) diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest deleted file mode 100644 index 871cbc88d9f3.. --- a/sys-auth/elogind/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST elogind-246.10.tar.gz 1559256 BLAKE2B 17a8146ee08c8ccf167f25d89b1d4525050ed0b0baaad0d36924ad3c40ffc820ef1528b33557cf285ad06c9ac9c440137428c5a235a2acf563e56f2f8f07e208 SHA512 9db0f068ed94ec07bab4d764ccb38840af3d05a4b7c9c539721906f5381b509cb9a3cbfb0453a978210d306136368de6162578c600d522416ef2a7ac1b9f348b diff --git a/sys-auth/elogind/elogind-246.10-r3.ebuild b/sys-auth/elogind/elogind-246.10-r3.ebuild deleted file mode 100644 index 532c0142c6d7.. --- a/sys-auth/elogind/elogind-246.10-r3.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} = ** ]]; 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 ~loong ~mips ppc ppc64 ~riscv ~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 +cgroup-hybrid debug doc +pam +policykit selinux test" -RESTRICT="!test? ( test )" - -BDEPEND=" - app-text/docbook-xml-dtd:4.2 - app-text/docbook-xml-dtd:4.5 - app-text/docbook-xsl-stylesheets - dev-util/gperf - 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 - "${FILESDIR}/${P}-revert-polkit-automagic.patch" - "${FILESDIR}/${P}-clang-undefined-symbol.patch" - "${FILESDIR}/${P}-loong.patch" - "${FILESDIR}/${P}-musl-selinux.patch" -) - -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() { - if use cgroup-hybrid; then - cgroupmode="hybrid" - else - 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) -
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/files/
commit: 8072c639ff1c84e0ece6be0c375abcb08aef9762 Author: Ben Kohler gentoo org> AuthorDate: Wed May 17 20:43:42 2023 + Commit: Ben Kohler gentoo org> CommitDate: Wed May 17 20:44:14 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8072c639 sys-auth/elogind: fix musl selinux patch Bug: https://bugs.gentoo.org/906643 Signed-off-by: Ben Kohler gentoo.org> sys-auth/elogind/files/elogind-246.10-musl-selinux.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-auth/elogind/files/elogind-246.10-musl-selinux.patch b/sys-auth/elogind/files/elogind-246.10-musl-selinux.patch index 433184edd102..c36861b983e2 100644 --- a/sys-auth/elogind/files/elogind-246.10-musl-selinux.patch +++ b/sys-auth/elogind/files/elogind-246.10-musl-selinux.patch @@ -72,7 +72,7 @@ not otherwise. before_timestamp = now(CLOCK_MONOTONIC); label_hnd = selabel_open(SELABEL_CTX_FILE, NULL, 0); -@@ -95,14 +106,16 @@ int mac_selinux_init(void) { +@@ -95,14 +107,17 @@ int mac_selinux_init(void) { return log_enforcing_errno(errno, "Failed to initialize SELinux labeling handle: %m"); after_timestamp = now(CLOCK_MONOTONIC); @@ -91,6 +91,7 @@ not otherwise. +#else +log_debug("Successfully loaded SELinux database in %s.", + format_timespan(timespan, sizeof(timespan), after_timestamp - before_timestamp, 0)); ++#endif #endif return 0; }
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/files/
commit: 0d01fa27133628b645a5127427d9a66a5654798e Author: Sam James gentoo org> AuthorDate: Wed May 17 02:37:08 2023 + Commit: Sam James gentoo org> CommitDate: Wed May 17 02:37:08 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d01fa27 sys-auth/elogind: fixup musl+selinux patch I was missing a few hunks (which weren't in the rebased version shared) and I should've noticed, oops. Closes: https://bugs.gentoo.org/888912 Fixes: 93f87ff3f4ae7df427ce82b3c95ac89b3f418142 Signed-off-by: Sam James gentoo.org> .../files/elogind-246.10-musl-selinux.patch| 45 +- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/sys-auth/elogind/files/elogind-246.10-musl-selinux.patch b/sys-auth/elogind/files/elogind-246.10-musl-selinux.patch index 508bf037ccf1..433184edd102 100644 --- a/sys-auth/elogind/files/elogind-246.10-musl-selinux.patch +++ b/sys-auth/elogind/files/elogind-246.10-musl-selinux.patch @@ -37,7 +37,7 @@ not otherwise. _Pragma("GCC diagnostic ignored \"-Wformat-nonliteral\"") --- a/src/basic/selinux-util.c +++ b/src/basic/selinux-util.c -@@ -72,6 +72,17 @@ void mac_selinux_retest(void) { +@@ -72,12 +72,21 @@ void mac_selinux_retest(void) { #endif } @@ -49,9 +49,50 @@ not otherwise. +REENABLE_WARNING +} +#else -+# warning "mallinfo() is missing, add mallinfo2() supported instead." ++# warning "mallinfo() is missing, add mallinfo2() support instead." +#endif + int mac_selinux_init(void) { #if HAVE_SELINUX usec_t before_timestamp, after_timestamp; +-struct mallinfo before_mallinfo, after_mallinfo; + char timespan[FORMAT_TIMESPAN_MAX]; +-int l; + + selinux_set_callback(SELINUX_CB_POLICYLOAD, (union selinux_callback) mac_selinux_reload); + +@@ -87,7 +96,9 @@ int mac_selinux_init(void) { + if (!mac_selinux_use()) + return 0; + +-before_mallinfo = mallinfo(); ++#if HAVE_MALLINFO ++struct mallinfo before_mallinfo = mallinfo_nowarn(); ++#endif + before_timestamp = now(CLOCK_MONOTONIC); + + label_hnd = selabel_open(SELABEL_CTX_FILE, NULL, 0); +@@ -95,14 +106,16 @@ int mac_selinux_init(void) { + return log_enforcing_errno(errno, "Failed to initialize SELinux labeling handle: %m"); + + after_timestamp = now(CLOCK_MONOTONIC); +-after_mallinfo = mallinfo(); +- +-l = after_mallinfo.uordblks > before_mallinfo.uordblks ? after_mallinfo.uordblks - before_mallinfo.uordblks : 0; ++#if HAVE_MALLINFO ++struct mallinfo after_mallinfo = mallinfo_nowarn(); ++int l = after_mallinfo.uordblks > before_mallinfo.uordblks ? after_mallinfo.uordblks - before_mallinfo.uordblks : 0; + + log_debug("Successfully loaded SELinux database in %s, size on heap is %iK.", + format_timespan(timespan, sizeof(timespan), after_timestamp - before_timestamp, 0), +- (l+1023)/1024); +- ++ DIV_ROUND_UP(l, 1024)); ++#else ++log_debug("Successfully loaded SELinux database in %s.", ++ format_timespan(timespan, sizeof(timespan), after_timestamp - before_timestamp, 0)); + #endif + return 0; + } +-- +2.40.1
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/files/, sys-auth/elogind/
commit: 93f87ff3f4ae7df427ce82b3c95ac89b3f418142 Author: Sam James gentoo org> AuthorDate: Tue May 16 06:45:23 2023 + Commit: Sam James gentoo org> CommitDate: Tue May 16 06:45:58 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93f87ff3 sys-auth/elogind: fix musl+selinux build Closes: https://bugs.gentoo.org/888912 Thanks-to: Kenton Groombridge gentoo.org> Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-246.10-r3.ebuild | 1 + .../files/elogind-246.10-musl-selinux.patch| 57 ++ 2 files changed, 58 insertions(+) diff --git a/sys-auth/elogind/elogind-246.10-r3.ebuild b/sys-auth/elogind/elogind-246.10-r3.ebuild index d796cea56f11..532c0142c6d7 100644 --- a/sys-auth/elogind/elogind-246.10-r3.ebuild +++ b/sys-auth/elogind/elogind-246.10-r3.ebuild @@ -54,6 +54,7 @@ PATCHES=( "${FILESDIR}/${P}-revert-polkit-automagic.patch" "${FILESDIR}/${P}-clang-undefined-symbol.patch" "${FILESDIR}/${P}-loong.patch" + "${FILESDIR}/${P}-musl-selinux.patch" ) pkg_setup() { diff --git a/sys-auth/elogind/files/elogind-246.10-musl-selinux.patch b/sys-auth/elogind/files/elogind-246.10-musl-selinux.patch new file mode 100644 index ..508bf037ccf1 --- /dev/null +++ b/sys-auth/elogind/files/elogind-246.10-musl-selinux.patch @@ -0,0 +1,57 @@ +https://bugs.gentoo.org/888912 +https://github.com/elogind/elogind/commit/ab72a46f3104f44a32ef7bec7439aa9d3b5f0fdc + +Rebased version to apply to 246.10 by concord@. + +From ab72a46f3104f44a32ef7bec7439aa9d3b5f0fdc Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= +Date: Fri, 9 Oct 2020 16:48:03 +0200 +Subject: [PATCH] basic/selinux: work around mallinfo deprecation + +Latest glibc has deprecated mallinfo(), so it might become unavailable at some point +in the future. There is malloc_info(), but it returns XML, ffs. I think the information +that we get from mallinfo() is quite useful, so let's use mallinfo() if available, and +not otherwise. +--- a/meson.build b/meson.build +@@ -617,6 +617,7 @@ foreach ident : [ + #include + #include + #include '''], ++['mallinfo', '''#include '''], + ] + + have = cc.has_function(ident[0], prefix : ident[1], args : '-D_GNU_SOURCE') +--- a/src/basic/macro.h b/src/basic/macro.h +@@ -93,6 +93,10 @@ + #endif + + /* Temporarily disable some warnings */ ++#define DISABLE_WARNING_DEPRECATED_DECLARATIONS \ ++_Pragma("GCC diagnostic push"); \ ++_Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") ++ + #define DISABLE_WARNING_FORMAT_NONLITERAL \ + _Pragma("GCC diagnostic push"); \ + _Pragma("GCC diagnostic ignored \"-Wformat-nonliteral\"") +--- a/src/basic/selinux-util.c b/src/basic/selinux-util.c +@@ -72,6 +72,17 @@ void mac_selinux_retest(void) { + #endif + } + ++#if HAVE_MALLINFO ++static struct mallinfo mallinfo_nowarn(void) { ++/* glibc has deprecated mallinfo(), but the replacement malloc_info() returns an XML blob ;=[ */ ++DISABLE_WARNING_DEPRECATED_DECLARATIONS ++return mallinfo(); ++REENABLE_WARNING ++} ++#else ++# warning "mallinfo() is missing, add mallinfo2() supported instead." ++#endif ++ + int mac_selinux_init(void) { + #if HAVE_SELINUX + usec_t before_timestamp, after_timestamp;
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 21f2b05a93542853121c03946fd3b3211b40e4cd Author: Sam James gentoo org> AuthorDate: Sat May 6 11:20:19 2023 + Commit: Sam James gentoo org> CommitDate: Sat May 6 11:34:00 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21f2b05a sys-auth/elogind: drop 246.10-r1 Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-246.10-r1.ebuild | 149 -- 1 file changed, 149 deletions(-) diff --git a/sys-auth/elogind/elogind-246.10-r1.ebuild b/sys-auth/elogind/elogind-246.10-r1.ebuild deleted file mode 100644 index 545f56aa84e4.. --- a/sys-auth/elogind/elogind-246.10-r1.ebuild +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} = ** ]]; 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 ~riscv ~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 - "${FILESDIR}/${P}-revert-polkit-automagic.patch" -) - -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)" != "" ]];
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 852a835c5f7672a31aa38cdb601468f9f98fbc17 Author: Sam James gentoo org> AuthorDate: Sat May 6 10:50:33 2023 + Commit: Sam James gentoo org> CommitDate: Sat May 6 11:34:01 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=852a835c sys-auth/elogind: drop stale dev-util/intltool dep Was dropped upstream a long time ago, both in systemd & elogind. Signed-off-by: Sam James gentoo.org> .../elogind/{elogind-246.10-r2.ebuild => elogind-246.10-r3.ebuild} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys-auth/elogind/elogind-246.10-r2.ebuild b/sys-auth/elogind/elogind-246.10-r3.ebuild similarity index 98% rename from sys-auth/elogind/elogind-246.10-r2.ebuild rename to sys-auth/elogind/elogind-246.10-r3.ebuild index 614ab85f2f98..d796cea56f11 100644 --- a/sys-auth/elogind/elogind-246.10-r2.ebuild +++ b/sys-auth/elogind/elogind-246.10-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -27,7 +27,6 @@ BDEPEND=" app-text/docbook-xml-dtd:4.5 app-text/docbook-xsl-stylesheets dev-util/gperf - dev-util/intltool virtual/pkgconfig " DEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 182a9e666336c7aa73715386ec40550fad6c7413 Author: WANG Xuerui gentoo org> AuthorDate: Tue Dec 6 04:26:20 2022 + Commit: WANG Xuerui gentoo org> CommitDate: Tue Dec 6 06:03:11 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=182a9e66 sys-auth/elogind: keyword 246.10-r2 for ~loong Signed-off-by: WANG Xuerui gentoo.org> sys-auth/elogind/elogind-246.10-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.10-r2.ebuild b/sys-auth/elogind/elogind-246.10-r2.ebuild index 598ee6dbdaa5..614ab85f2f98 100644 --- a/sys-auth/elogind/elogind-246.10-r2.ebuild +++ b/sys-auth/elogind/elogind-246.10-r2.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~riscv ~s390 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/files/, sys-auth/elogind/
commit: d87580f303f264b640f4f135877f7f5ebc2f19b6 Author: WANG Xuerui gentoo org> AuthorDate: Tue Dec 6 04:24:57 2022 + Commit: WANG Xuerui gentoo org> CommitDate: Tue Dec 6 06:03:11 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d87580f3 sys-auth/elogind: add minimal loong support patch Signed-off-by: WANG Xuerui gentoo.org> sys-auth/elogind/elogind-246.10-r2.ebuild | 1 + sys-auth/elogind/files/elogind-246.10-loong.patch | 40 +++ 2 files changed, 41 insertions(+) diff --git a/sys-auth/elogind/elogind-246.10-r2.ebuild b/sys-auth/elogind/elogind-246.10-r2.ebuild index 58f402657a19..598ee6dbdaa5 100644 --- a/sys-auth/elogind/elogind-246.10-r2.ebuild +++ b/sys-auth/elogind/elogind-246.10-r2.ebuild @@ -54,6 +54,7 @@ PATCHES=( "${FILESDIR}/${PN}-241.4-broken-test.patch" # bug 699116 "${FILESDIR}/${P}-revert-polkit-automagic.patch" "${FILESDIR}/${P}-clang-undefined-symbol.patch" + "${FILESDIR}/${P}-loong.patch" ) pkg_setup() { diff --git a/sys-auth/elogind/files/elogind-246.10-loong.patch b/sys-auth/elogind/files/elogind-246.10-loong.patch new file mode 100644 index ..f2b418f1384a --- /dev/null +++ b/sys-auth/elogind/files/elogind-246.10-loong.patch @@ -0,0 +1,40 @@ +https://github.com/elogind/elogind/pull/231, but made minimal. +From: Wu Xiaotian +Date: Tue, 1 Sep 2020 12:13:18 +0800 +Subject: [PATCH] architecture: Add support for the LoongArch architecture + +(cherry picked from commit 5c0968a2d14d5e1afb40a36c55d3f89805712904) +[resolved merge conflict for minimal diff, also use __loongarch_lp64 +instead of __loongarch64 -- xen0n] + +basic: update the Arch tuples for LoongArch + +(cherry picked from commit 017228934833d8618774353dcccbc5ec9f78ce98) +--- a/src/basic/architecture.h b/src/basic/architecture.h +@@ -44,6 +44,7 @@ enum { + ARCHITECTURE_RISCV64, + ARCHITECTURE_ARC, + ARCHITECTURE_ARC_BE, ++ARCHITECTURE_LOONGARCH64, + _ARCHITECTURE_MAX, + _ARCHITECTURE_INVALID = -1 + }; +@@ -200,6 +201,17 @@ int uname_architecture(void); + # elif defined(__SH4A__) + #define LIB_ARCH_TUPLE "sh4a-linux-gnu" + # endif ++#elif defined(__loongarch_lp64) ++# define native_architecture() ARCHITECTURE_LOONGARCH64 ++# if defined(__loongarch_double_float) ++#define LIB_ARCH_TUPLE "loongarch64-linux-gnuf64" ++# elif defined(__loongarch_single_float) ++#define LIB_ARCH_TUPLE "loongarch64-linux-gnuf32" ++# elif defined(__loongarch_soft_float) ++#define LIB_ARCH_TUPLE "loongarch64-linux-gnusf" ++# else ++#error "Unrecognized loongarch architecture variant" ++# endif + #elif defined(__m68k__) + # define native_architecture() ARCHITECTURE_M68K + # define LIB_ARCH_TUPLE "m68k-linux-gnu"
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: be3fe57cf41091204ff46706056efacff747420c Author: Arthur Zamarin gentoo org> AuthorDate: Wed Nov 9 19:58:02 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Nov 10 05:02:54 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be3fe57c sys-auth/elogind: fix UnquotedVariable Signed-off-by: Arthur Zamarin gentoo.org> sys-auth/elogind/elogind-246.10-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-auth/elogind/elogind-246.10-r1.ebuild b/sys-auth/elogind/elogind-246.10-r1.ebuild index c6a1f102edac..545f56aa84e4 100644 --- a/sys-auth/elogind/elogind-246.10-r1.ebuild +++ b/sys-auth/elogind/elogind-246.10-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -66,7 +66,7 @@ src_prepare() { } src_configure() { - local rccgroupmode="$(grep rc_cgroup_mode ${EPREFIX}/etc/rc.conf | cut -d '"' -f 2)" + local rccgroupmode="$(grep rc_cgroup_mode "${EPREFIX}"/etc/rc.conf | cut -d '"' -f 2)" local cgroupmode="legacy" if [[ "xhybrid" = "x${rccgroupmode}" ]] ; then
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 948d3b8d4986d04868ee201969f6f8fa4df1eb19 Author: Sam James gentoo org> AuthorDate: Tue May 17 05:28:00 2022 + Commit: Sam James gentoo org> CommitDate: Tue May 17 05:34:02 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=948d3b8d sys-auth/elogind: conditionally build tests Speeds up build a bit. Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-246.10-r2.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.10-r2.ebuild b/sys-auth/elogind/elogind-246.10-r2.ebuild index 55a49fd04edb..58f402657a19 100644 --- a/sys-auth/elogind/elogind-246.10-r2.ebuild +++ b/sys-auth/elogind/elogind-246.10-r2.ebuild @@ -19,7 +19,8 @@ HOMEPAGE="https://github.com/elogind/elogind; LICENSE="CC0-1.0 LGPL-2.1+ public-domain" SLOT="0" -IUSE="+acl audit +cgroup-hybrid debug doc +pam +policykit selinux" +IUSE="+acl audit +cgroup-hybrid debug doc +pam +policykit selinux test" +RESTRICT="!test? ( test )" BDEPEND=" app-text/docbook-xml-dtd:4.2 @@ -94,6 +95,7 @@ src_configure() { -Dhtml=$(usex doc auto false) -Dpam=$(usex pam true false) -Dselinux=$(usex selinux true false) + -Dtests=$(usex test true false) -Dutmp=$(usex elibc_musl false true) )
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 73a77a63312505e81be611cb528cbb51f7f8caf5 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Jan 22 09:47:45 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Jan 22 09:47:45 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73a77a63 sys-auth/elogind: x86 stable wrt bug #831650 Package-Manager: Portage-3.0.28, Repoman-3.0.3 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/elogind/elogind-246.10-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.10-r2.ebuild b/sys-auth/elogind/elogind-246.10-r2.ebuild index 100b89360f42..55a49fd04edb 100644 --- a/sys-auth/elogind/elogind-246.10-r2.ebuild +++ b/sys-auth/elogind/elogind-246.10-r2.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~riscv ~s390 sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: b709202c88a837ca8c4ec7c2b3a9fbf68e7e442e Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Jan 22 09:44:28 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Jan 22 09:44:28 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b709202c sys-auth/elogind: amd64 stable wrt bug #831650 Package-Manager: Portage-3.0.28, Repoman-3.0.3 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/elogind/elogind-246.10-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.10-r2.ebuild b/sys-auth/elogind/elogind-246.10-r2.ebuild index 382c5a20f3a7..100b89360f42 100644 --- a/sys-auth/elogind/elogind-246.10-r2.ebuild +++ b/sys-auth/elogind/elogind-246.10-r2.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~riscv ~s390 sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 5f5634bbc47f7a518ad5a4fafd5838a33ff06614 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jan 21 20:13:21 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jan 21 20:13:21 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f5634bb sys-auth/elogind: Stabilize 246.10-r2 sparc, #831650 Signed-off-by: Arthur Zamarin gentoo.org> sys-auth/elogind/elogind-246.10-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.10-r2.ebuild b/sys-auth/elogind/elogind-246.10-r2.ebuild index 2aa2134d98ab..382c5a20f3a7 100644 --- a/sys-auth/elogind/elogind-246.10-r2.ebuild +++ b/sys-auth/elogind/elogind-246.10-r2.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 0be441606a4f65492ee65bd36b16694c48613c7d Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jan 21 20:13:18 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jan 21 20:13:18 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0be44160 sys-auth/elogind: Stabilize 246.10-r2 ppc64, #831650 Signed-off-by: Arthur Zamarin gentoo.org> sys-auth/elogind/elogind-246.10-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.10-r2.ebuild b/sys-auth/elogind/elogind-246.10-r2.ebuild index e8c56d505880..2aa2134d98ab 100644 --- a/sys-auth/elogind/elogind-246.10-r2.ebuild +++ b/sys-auth/elogind/elogind-246.10-r2.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 82260d69045b04eeaf12eb33262ff09ee619e5af Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jan 21 20:13:14 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jan 21 20:13:14 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82260d69 sys-auth/elogind: Stabilize 246.10-r2 ppc, #831650 Signed-off-by: Arthur Zamarin gentoo.org> sys-auth/elogind/elogind-246.10-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.10-r2.ebuild b/sys-auth/elogind/elogind-246.10-r2.ebuild index 162fc9da9b30..e8c56d505880 100644 --- a/sys-auth/elogind/elogind-246.10-r2.ebuild +++ b/sys-auth/elogind/elogind-246.10-r2.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: d66b930ea2f28fb9f55f5298bbca1b1df0cde5c1 Author: Sam James gentoo org> AuthorDate: Fri Jan 21 12:41:53 2022 + Commit: Sam James gentoo org> CommitDate: Fri Jan 21 12:41:53 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d66b930e sys-auth/elogind: Stabilize 246.10-r2 arm64, #831650 Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-246.10-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.10-r2.ebuild b/sys-auth/elogind/elogind-246.10-r2.ebuild index 5df755ebfdf7..162fc9da9b30 100644 --- a/sys-auth/elogind/elogind-246.10-r2.ebuild +++ b/sys-auth/elogind/elogind-246.10-r2.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 5be98306789106162c4765dc5ef6f6d18bf85e00 Author: Sam James gentoo org> AuthorDate: Fri Jan 21 12:41:02 2022 + Commit: Sam James gentoo org> CommitDate: Fri Jan 21 12:41:02 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5be98306 sys-auth/elogind: Stabilize 246.10-r2 arm, #831650 Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-246.10-r2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-auth/elogind/elogind-246.10-r2.ebuild b/sys-auth/elogind/elogind-246.10-r2.ebuild index e571a7a18750..5df755ebfdf7 100644 --- a/sys-auth/elogind/elogind-246.10-r2.ebuild +++ b/sys-auth/elogind/elogind-246.10-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/files/, sys-auth/elogind/
commit: 7b4b36a420335b233dfa119dab91e536880d69c2 Author: Yang Yang gmail com> AuthorDate: Sat Nov 13 19:36:46 2021 + Commit: Sam James gentoo org> CommitDate: Mon Nov 22 05:56:47 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b4b36a4 sys-auth/elogind: add patch to enable clang-13 compilation The patch is extracted from upstream: https://github.com/elogind/elogind/commit/cd5390335303da11f3aeaa5431dd7a88c5a9b3e9 Bug: https://github.com/elogind/elogind/issues/215 Signed-off-by: Yang Yang gmail.com> Closes: https://github.com/gentoo/gentoo/pull/22938 Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-246.10-r2.ebuild| 1 + .../elogind-246.10-clang-undefined-symbol.patch | 20 2 files changed, 21 insertions(+) diff --git a/sys-auth/elogind/elogind-246.10-r2.ebuild b/sys-auth/elogind/elogind-246.10-r2.ebuild index d4aa96426afb..e571a7a18750 100644 --- a/sys-auth/elogind/elogind-246.10-r2.ebuild +++ b/sys-auth/elogind/elogind-246.10-r2.ebuild @@ -52,6 +52,7 @@ PATCHES=( "${FILESDIR}/${PN}-243.7-nodocs.patch" "${FILESDIR}/${PN}-241.4-broken-test.patch" # bug 699116 "${FILESDIR}/${P}-revert-polkit-automagic.patch" + "${FILESDIR}/${P}-clang-undefined-symbol.patch" ) pkg_setup() { diff --git a/sys-auth/elogind/files/elogind-246.10-clang-undefined-symbol.patch b/sys-auth/elogind/files/elogind-246.10-clang-undefined-symbol.patch new file mode 100644 index ..3a157615884e --- /dev/null +++ b/sys-auth/elogind/files/elogind-246.10-clang-undefined-symbol.patch @@ -0,0 +1,20 @@ +--- a/src/libelogind/sd-bus/bus-error.h b/src/libelogind/sd-bus/bus-error.h +@@ -28,11 +28,17 @@ int bus_error_set_errnofv(sd_bus_error *e, int error, const char *format, va_lis + * the bus error table, and BUS_ERROR_MAP_ELF_USE has to be used at + * least once per compilation unit (i.e. per library), to ensure that + * the error map is really added to the final binary. ++ * ++ * In addition, set the retain attribute so that the section cannot be ++ * discarded by ld --gc-sections -z start-stop-gc. Older compilers would ++ * warn for the unknown attribute, so just disable -Wattributes. + */ + + #define BUS_ERROR_MAP_ELF_REGISTER \ ++_Pragma("GCC diagnostic ignored \"-Wattributes\"") \ + _section_("SYSTEMD_BUS_ERROR_MAP") \ + _used_ \ ++__attribute__((retain)) \ + _alignptr_ \ + _variable_no_sanitize_address_ +
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 2869bb0fcd77e99b4a75630576b8252757c40bfd Author: Piotr Karbowski gentoo org> AuthorDate: Thu Nov 18 23:03:53 2021 + Commit: Piotr Karbowski gentoo org> CommitDate: Thu Nov 18 23:08:27 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2869bb0f sys-auth/elogind: 246.10-r2: introduce cgroup-hybrid. Drop the code that probes for /etc/rc.conf configuration during build time, with a proper solution utilizing USE flag cgroup-hybrid. The new flag matches the one from sys-apps/systemd andapp-emulation/snapd. Closes: https://bugs.gentoo.org/807349 Signed-off-by: Piotr Karbowski gentoo.org> sys-auth/elogind/elogind-246.10-r2.ebuild | 146 ++ sys-auth/elogind/metadata.xml | 3 + 2 files changed, 149 insertions(+) diff --git a/sys-auth/elogind/elogind-246.10-r2.ebuild b/sys-auth/elogind/elogind-246.10-r2.ebuild new file mode 100644 index ..d4aa96426afb --- /dev/null +++ b/sys-auth/elogind/elogind-246.10-r2.ebuild @@ -0,0 +1,146 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} = ** ]]; 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 ~riscv ~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 +cgroup-hybrid 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 + "${FILESDIR}/${P}-revert-polkit-automagic.patch" +) + +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() { + if use cgroup-hybrid; then + cgroupmode="hybrid" + else + 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
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 75078f3c5e41719e40fd6ef851ece516e27be457 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Jun 14 09:04:04 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Jun 14 09:12:48 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75078f3c sys-auth/elogind: Drop 246.9.2 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-auth/elogind/Manifest | 1 - sys-auth/elogind/elogind-246.9.2.ebuild | 148 2 files changed, 149 deletions(-) diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index 4eb0c703684..871cbc88d9f 100644 --- a/sys-auth/elogind/Manifest +++ b/sys-auth/elogind/Manifest @@ -1,2 +1 @@ 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.9.2.ebuild b/sys-auth/elogind/elogind-246.9.2.ebuild deleted file mode 100644 index bb0cc8f4ea3..000 --- a/sys-auth/elogind/elogind-246.9.2.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} = ** ]]; 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
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 9d6af53632371999b318501f9bb6855c19d8aba2 Author: Sam James gentoo org> AuthorDate: Thu Jun 10 18:27:49 2021 + Commit: Sam James gentoo org> CommitDate: Thu Jun 10 18:27:49 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d6af536 sys-auth/elogind: Stabilize 246.10-r1 ppc, #792909 Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-246.10-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.10-r1.ebuild b/sys-auth/elogind/elogind-246.10-r1.ebuild index 3b8faac4eea..c6a1f102eda 100644 --- a/sys-auth/elogind/elogind-246.10-r1.ebuild +++ b/sys-auth/elogind/elogind-246.10-r1.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~riscv ~s390 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 52ddcee62435f766107b6a1c852f026dd941db8e Author: Yixun Lan gentoo org> AuthorDate: Fri Jun 4 21:48:09 2021 + Commit: Yixun Lan gentoo org> CommitDate: Fri Jun 4 21:48:09 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52ddcee6 sys-auth/elogind: fix two lib path issue for RISC-V Bug: https://bugs.gentoo.org/794205 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Yixun Lan gentoo.org> sys-auth/elogind/elogind-246.10-r1.ebuild | 2 +- sys-auth/elogind/elogind-246.9.2.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-auth/elogind/elogind-246.10-r1.ebuild b/sys-auth/elogind/elogind-246.10-r1.ebuild index 91b8f39f39c..3b8faac4eea 100644 --- a/sys-auth/elogind/elogind-246.10-r1.ebuild +++ b/sys-auth/elogind/elogind-246.10-r1.ebuild @@ -109,7 +109,7 @@ src_install() { newinitd "${FILESDIR}"/${PN}.init-r1 ${PN} - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die + sed -e "s|@libdir@|$(get_libdir)|" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die newconfd ${PN}.conf ${PN} } diff --git a/sys-auth/elogind/elogind-246.9.2.ebuild b/sys-auth/elogind/elogind-246.9.2.ebuild index 62753f538d0..bb0cc8f4ea3 100644 --- a/sys-auth/elogind/elogind-246.9.2.ebuild +++ b/sys-auth/elogind/elogind-246.9.2.ebuild @@ -108,7 +108,7 @@ src_install() { newinitd "${FILESDIR}"/${PN}.init-r1 ${PN} - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die + sed -e "s|@libdir@|$(get_libdir)|" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die newconfd ${PN}.conf ${PN} }
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 4a6172769d07b8e23ffa4e9940dde8b16fdb5230 Author: Sam James gentoo org> AuthorDate: Thu Jun 3 16:23:54 2021 + Commit: Sam James gentoo org> CommitDate: Thu Jun 3 16:26:24 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a617276 sys-auth/elogind: Stabilize 246.10-r1 arm64, #792909 Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-246.10-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.10-r1.ebuild b/sys-auth/elogind/elogind-246.10-r1.ebuild index ace259aca9c..91b8f39f39c 100644 --- a/sys-auth/elogind/elogind-246.10-r1.ebuild +++ b/sys-auth/elogind/elogind-246.10-r1.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~riscv ~s390 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: f6e71b026965cd1639c814919870034025414620 Author: Sam James gentoo org> AuthorDate: Wed Jun 2 02:06:11 2021 + Commit: Sam James gentoo org> CommitDate: Wed Jun 2 02:06:11 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6e71b02 sys-auth/elogind: Stabilize 246.10-r1 ppc64, #792909 Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-246.10-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.10-r1.ebuild b/sys-auth/elogind/elogind-246.10-r1.ebuild index b8a856dc438..ace259aca9c 100644 --- a/sys-auth/elogind/elogind-246.10-r1.ebuild +++ b/sys-auth/elogind/elogind-246.10-r1.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~riscv ~s390 sparc x86" + KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 7906058d82d81d159df87869264075aa801f0560 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon May 31 06:11:35 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon May 31 06:11:35 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7906058d sys-auth/elogind: x86 stable wrt bug #792909 Package-Manager: Portage-3.0.13, Repoman-3.0.2 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/elogind/elogind-246.10-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.10-r1.ebuild b/sys-auth/elogind/elogind-246.10-r1.ebuild index f0abdafa93f..d9ba2eff198 100644 --- a/sys-auth/elogind/elogind-246.10-r1.ebuild +++ b/sys-auth/elogind/elogind-246.10-r1.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~riscv ~s390 sparc ~x86" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 1c25c1350a735a0adf27d6651b40daf6f1c91050 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon May 31 06:09:01 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon May 31 06:09:01 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c25c135 sys-auth/elogind: sparc stable wrt bug #792909 Package-Manager: Portage-3.0.13, Repoman-3.0.2 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/elogind/elogind-246.10-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.10-r1.ebuild b/sys-auth/elogind/elogind-246.10-r1.ebuild index 3d3263ddb7f..f0abdafa93f 100644 --- a/sys-auth/elogind/elogind-246.10-r1.ebuild +++ b/sys-auth/elogind/elogind-246.10-r1.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 52e99e231b1db875d113a3a3bb3e93f6a21d5b44 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon May 31 06:02:32 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon May 31 06:02:32 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52e99e23 sys-auth/elogind: amd64 stable wrt bug #792909 Package-Manager: Portage-3.0.13, Repoman-3.0.2 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/elogind/elogind-246.10-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.10-r1.ebuild b/sys-auth/elogind/elogind-246.10-r1.ebuild index 0a496b26e71..3d3263ddb7f 100644 --- a/sys-auth/elogind/elogind-246.10-r1.ebuild +++ b/sys-auth/elogind/elogind-246.10-r1.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/, sys-auth/elogind/files/
commit: 5f6b0a2e892790e3dfdb313fe5bb544753cb1133 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat May 29 20:15:39 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat May 29 21:16:22 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f6b0a2e sys-auth/elogind: Revert polkit automagic Thanks-to: Lars Wendler gentoo.org> Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-auth/elogind/elogind-246.10-r1.ebuild | 149 + .../elogind-246.10-revert-polkit-automagic.patch | 38 ++ 2 files changed, 187 insertions(+) diff --git a/sys-auth/elogind/elogind-246.10-r1.ebuild b/sys-auth/elogind/elogind-246.10-r1.ebuild new file mode 100644 index 000..0a496b26e71 --- /dev/null +++ b/sys-auth/elogind/elogind-246.10-r1.ebuild @@ -0,0 +1,149 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} = ** ]]; 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 ~riscv ~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 + "${FILESDIR}/${P}-revert-polkit-automagic.patch" +) + +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 [[
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 2c8abaf2473fd7424f6f7fee76861daf24d09570 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat May 29 20:16:08 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat May 29 21:16:22 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c8abaf2 sys-auth/elogind: Drop 246.10 (r0) Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-auth/elogind/elogind-246.10.ebuild | 148 - 1 file changed, 148 deletions(-) diff --git a/sys-auth/elogind/elogind-246.10.ebuild b/sys-auth/elogind/elogind-246.10.ebuild deleted file mode 100644 index 8f9df3e3daf..000 --- a/sys-auth/elogind/elogind-246.10.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} = ** ]]; 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 ~riscv ~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
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 618e6309616334177a5054d07418a8ee573bf1f8 Author: Yixun Lan gentoo org> AuthorDate: Wed May 19 15:21:28 2021 + Commit: Yixun Lan gentoo org> CommitDate: Fri May 21 00:49:40 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=618e6309 sys-auth/elogind: add riscv keyword Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Yixun Lan gentoo.org> sys-auth/elogind/elogind-246.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.10.ebuild b/sys-auth/elogind/elogind-246.10.ebuild index 79d70653448..8f9df3e3daf 100644 --- a/sys-auth/elogind/elogind-246.10.ebuild +++ b/sys-auth/elogind/elogind-246.10.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 731f6d23b854903e5b8486021858eb8315b0cfef Author: Piotr Karbowski gentoo org> AuthorDate: Sun Mar 28 12:48:55 2021 + Commit: Piotr Karbowski gentoo org> CommitDate: Sun Mar 28 12:56:43 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=731f6d23 sys-auth/elogind: 246.10 version bump. Signed-off-by: Piotr Karbowski 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 000..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} = ** ]]; 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
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 6959563ad86c574bcb4eac187213f7a7e7a825f1 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Feb 25 11:49:10 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Feb 25 12:50:22 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6959563a sys-auth/elogind: Drop 243.7, 243.7-r1 Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-auth/elogind/Manifest| 1 - sys-auth/elogind/elogind-243.7-r1.ebuild | 148 --- sys-auth/elogind/elogind-243.7.ebuild| 146 -- 3 files changed, 295 deletions(-) diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index 4e4e17be2da..55443c144ea 100644 --- a/sys-auth/elogind/Manifest +++ b/sys-auth/elogind/Manifest @@ -1,2 +1 @@ -DIST elogind-243.7.tar.gz 1338186 BLAKE2B f3efc2af50f56c2cda18d721c18f4d88ca608fb35b2c7e2ebb35c3f3f743124dcf17efcc9db47810a13093397b1c1bc82cb42e017b3db493af5d2bb70bcf0eff SHA512 fd17c5016d083d63805f9ed0326ee32597870f6c48c9c246712cb09a77db775036b0fd0f4258b6557e189a1eceb4b50f4ae2e9e7881f4d9759b87a0b49ce3472 DIST elogind-246.9.2.tar.gz 1534982 BLAKE2B 428def0f577cb92c8167f4400a59093ebf738d14b449e0dc59f1aa59da2c0f781db62bffc4bea2649edbfcc06ff5799ab24243dfb580eaa12c5cf0c41be8fc17 SHA512 b50d319793307a425d7542626e8cf27e56fb5e5c75cca9519cd3f5a1e7c387c4179310b95fa083f8bd8172384f16c0e45e7000b313d2bcf84ed8aba98dc775c1 diff --git a/sys-auth/elogind/elogind-243.7-r1.ebuild b/sys-auth/elogind/elogind-243.7-r1.ebuild deleted file mode 100644 index 727303951d2..000 --- a/sys-auth/elogind/elogind-243.7-r1.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} = ** ]]; 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}/${P}-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+=(
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 82004bce42a0a2aacadbf2070a4a1284b4eea71c Author: Sam James gentoo org> AuthorDate: Fri Feb 19 12:01:17 2021 + Commit: Sam James gentoo org> CommitDate: Fri Feb 19 12:01:17 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82004bce sys-auth/elogind: Stabilize 246.9.2 arm64, #768918 Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-246.9.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.9.2.ebuild b/sys-auth/elogind/elogind-246.9.2.ebuild index 1210d16f9bc..62753f538d0 100644 --- a/sys-auth/elogind/elogind-246.9.2.ebuild +++ b/sys-auth/elogind/elogind-246.9.2.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: b09575b2bb9b1ca7b9894f54cdf860b003f3d479 Author: Sam James gentoo org> AuthorDate: Thu Feb 18 21:47:32 2021 + Commit: Sam James gentoo org> CommitDate: Thu Feb 18 21:47:32 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b09575b2 sys-auth/elogind: Stabilize 246.9.2 x86, #768918 Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-246.9.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.9.2.ebuild b/sys-auth/elogind/elogind-246.9.2.ebuild index 17a97d5603c..1210d16f9bc 100644 --- a/sys-auth/elogind/elogind-246.9.2.ebuild +++ b/sys-auth/elogind/elogind-246.9.2.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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" + KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: bff4964fef6d42d868eff52ff3f8ae275e8797bf Author: Sam James gentoo org> AuthorDate: Thu Feb 18 08:41:05 2021 + Commit: Sam James gentoo org> CommitDate: Thu Feb 18 08:41:05 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff4964f sys-auth/elogind: Stabilize 246.9.2 amd64, #768918 Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-246.9.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.9.2.ebuild b/sys-auth/elogind/elogind-246.9.2.ebuild index f6d9a20e9a8..17a97d5603c 100644 --- a/sys-auth/elogind/elogind-246.9.2.ebuild +++ b/sys-auth/elogind/elogind-246.9.2.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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" + KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: c49926016003d94b50a4e233bcae5af4880bf7af Author: Sam James gentoo org> AuthorDate: Tue Feb 16 12:33:53 2021 + Commit: Sam James gentoo org> CommitDate: Tue Feb 16 12:33:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4992601 sys-auth/elogind: Stabilize 246.9.2 arm, #768918 Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-246.9.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.9.2.ebuild b/sys-auth/elogind/elogind-246.9.2.ebuild index 0ab772f1d26..f6d9a20e9a8 100644 --- a/sys-auth/elogind/elogind-246.9.2.ebuild +++ b/sys-auth/elogind/elogind-246.9.2.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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" + KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: a070569684d25915a9238ad67cfc4a773f0a0242 Author: Sam James gentoo org> AuthorDate: Tue Feb 9 21:31:43 2021 + Commit: Sam James gentoo org> CommitDate: Tue Feb 9 21:31:43 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0705696 sys-auth/elogind: Stabilize 246.9.2 ppc64, #768918 Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-246.9.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.9.2.ebuild b/sys-auth/elogind/elogind-246.9.2.ebuild index fdf89bf976d..a9f8143b0ee 100644 --- a/sys-auth/elogind/elogind-246.9.2.ebuild +++ b/sys-auth/elogind/elogind-246.9.2.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 9877ae5949e3e2ce0f38d6cdac68609740099767 Author: Sam James gentoo org> AuthorDate: Sat Feb 6 19:05:15 2021 + Commit: Sam James gentoo org> CommitDate: Sat Feb 6 19:05:20 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9877ae59 sys-auth/elogind: Stabilize 246.9.2 sparc, #768918 Signed-off-by: Sam James gentoo.org> sys-auth/elogind/elogind-246.9.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.9.2.ebuild b/sys-auth/elogind/elogind-246.9.2.ebuild index 79d70653448..fdf89bf976d 100644 --- a/sys-auth/elogind/elogind-246.9.2.ebuild +++ b/sys-auth/elogind/elogind-246.9.2.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 99560715339a92c3e571406a16e52b57d317e6a4 Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Jan 15 16:49:54 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Jan 15 16:53:31 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99560715 sys-auth/elogind: 246.9.2 version bump See also: https://github.com/elogind/elogind/issues/188 Closes: https://bugs.gentoo.org/764557 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-auth/elogind/Manifest | 1 + sys-auth/elogind/elogind-246.9.2.ebuild | 148 2 files changed, 149 insertions(+) diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index 34beb6717ff..eac7ac74d27 100644 --- a/sys-auth/elogind/Manifest +++ b/sys-auth/elogind/Manifest @@ -1,2 +1,3 @@ DIST elogind-243.7.tar.gz 1338186 BLAKE2B f3efc2af50f56c2cda18d721c18f4d88ca608fb35b2c7e2ebb35c3f3f743124dcf17efcc9db47810a13093397b1c1bc82cb42e017b3db493af5d2bb70bcf0eff SHA512 fd17c5016d083d63805f9ed0326ee32597870f6c48c9c246712cb09a77db775036b0fd0f4258b6557e189a1eceb4b50f4ae2e9e7881f4d9759b87a0b49ce3472 DIST elogind-246.9.1.tar.gz 1534991 BLAKE2B 3360b5a2504156ea3c3b965f11db305bc1a7cb761bd4c2ca73a5dbb62db37dec35d07f7939917bac61e0573a9b6224eb094853001c4d522b0c8bfde54a13 SHA512 b409568630ac20c1e984d9389237533e67ce4ad0fe0e0d47ad3fd943e579971412bcbdb922f2929bc5e9f26198647d3436beadbde0bfed4ae730107611a69e48 +DIST elogind-246.9.2.tar.gz 1534982 BLAKE2B 428def0f577cb92c8167f4400a59093ebf738d14b449e0dc59f1aa59da2c0f781db62bffc4bea2649edbfcc06ff5799ab24243dfb580eaa12c5cf0c41be8fc17 SHA512 b50d319793307a425d7542626e8cf27e56fb5e5c75cca9519cd3f5a1e7c387c4179310b95fa083f8bd8172384f16c0e45e7000b313d2bcf84ed8aba98dc775c1 diff --git a/sys-auth/elogind/elogind-246.9.2.ebuild b/sys-auth/elogind/elogind-246.9.2.ebuild new file mode 100644 index 000..79d70653448 --- /dev/null +++ b/sys-auth/elogind/elogind-246.9.2.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} = ** ]]; 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) +
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 9ba1c50f670f4a156327afc256f67c53fac428b7 Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Jan 15 16:53:10 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Jan 15 16:53:31 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ba1c50f sys-auth/elogind: Drop 246.9.1-r1 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-auth/elogind/Manifest | 1 - sys-auth/elogind/elogind-246.9.1-r1.ebuild | 148 - 2 files changed, 149 deletions(-) diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index eac7ac74d27..4e4e17be2da 100644 --- a/sys-auth/elogind/Manifest +++ b/sys-auth/elogind/Manifest @@ -1,3 +1,2 @@ DIST elogind-243.7.tar.gz 1338186 BLAKE2B f3efc2af50f56c2cda18d721c18f4d88ca608fb35b2c7e2ebb35c3f3f743124dcf17efcc9db47810a13093397b1c1bc82cb42e017b3db493af5d2bb70bcf0eff SHA512 fd17c5016d083d63805f9ed0326ee32597870f6c48c9c246712cb09a77db775036b0fd0f4258b6557e189a1eceb4b50f4ae2e9e7881f4d9759b87a0b49ce3472 -DIST elogind-246.9.1.tar.gz 1534991 BLAKE2B 3360b5a2504156ea3c3b965f11db305bc1a7cb761bd4c2ca73a5dbb62db37dec35d07f7939917bac61e0573a9b6224eb094853001c4d522b0c8bfde54a13 SHA512 b409568630ac20c1e984d9389237533e67ce4ad0fe0e0d47ad3fd943e579971412bcbdb922f2929bc5e9f26198647d3436beadbde0bfed4ae730107611a69e48 DIST elogind-246.9.2.tar.gz 1534982 BLAKE2B 428def0f577cb92c8167f4400a59093ebf738d14b449e0dc59f1aa59da2c0f781db62bffc4bea2649edbfcc06ff5799ab24243dfb580eaa12c5cf0c41be8fc17 SHA512 b50d319793307a425d7542626e8cf27e56fb5e5c75cca9519cd3f5a1e7c387c4179310b95fa083f8bd8172384f16c0e45e7000b313d2bcf84ed8aba98dc775c1 diff --git a/sys-auth/elogind/elogind-246.9.1-r1.ebuild b/sys-auth/elogind/elogind-246.9.1-r1.ebuild deleted file mode 100644 index 1fe129445f4..000 --- a/sys-auth/elogind/elogind-246.9.1-r1.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} = ** ]]; 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
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/files/, sys-auth/elogind/
commit: c6735a700bb0328ca86877e7d5c1882707e70c6d Author: Piotr Karbowski gentoo org> AuthorDate: Sun Jan 10 13:13:20 2021 + Commit: Piotr Karbowski gentoo org> CommitDate: Sun Jan 10 13:14:56 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6735a70 sys-auth/elogind: 246.9.1 rev bump with updated init script (use logger). Forked out the init script so it won't affect older releases, although it's harmless, revbump should be done anyway to update it. Signed-off-by: Piotr Karbowski gentoo.org> ...nd-246.9.1.ebuild => elogind-246.9.1-r1.ebuild} | 2 +- sys-auth/elogind/files/elogind.init-r1 | 27 ++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-246.9.1.ebuild b/sys-auth/elogind/elogind-246.9.1-r1.ebuild similarity index 98% rename from sys-auth/elogind/elogind-246.9.1.ebuild rename to sys-auth/elogind/elogind-246.9.1-r1.ebuild index afcc828ef59..1fe129445f4 100644 --- a/sys-auth/elogind/elogind-246.9.1.ebuild +++ b/sys-auth/elogind/elogind-246.9.1-r1.ebuild @@ -106,7 +106,7 @@ src_install() { meson_src_install - newinitd "${FILESDIR}"/${PN}.init ${PN} + newinitd "${FILESDIR}"/${PN}.init-r1 ${PN} sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die newconfd ${PN}.conf ${PN} diff --git a/sys-auth/elogind/files/elogind.init-r1 b/sys-auth/elogind/files/elogind.init-r1 new file mode 100644 index 000..1cb5071c621 --- /dev/null +++ b/sys-auth/elogind/files/elogind.init-r1 @@ -0,0 +1,27 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need dbus + + # Make sure elogind is up before xdm starts any dm + before xdm + + use logger +} + +start() { + ebegin "Starting elogind" + + start-stop-daemon --start --quiet \ + --pidfile "${ELOGIND_PIDFILE}" \ + --exec "${ELOGIND_EXEC}" -- --daemon + eend $? +} + +stop() { + ebegin "Stopping elogind" + start-stop-daemon --stop --quiet --pidfile "${ELOGIND_PIDFILE}" + eend $? +}
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: caef19e1c62167699464cff6a4c65fd4ba780745 Author: Piotr Karbowski gentoo org> AuthorDate: Wed Jan 6 15:42:59 2021 + Commit: Piotr Karbowski gentoo org> CommitDate: Wed Jan 6 15:43:26 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caef19e1 sys-auth/elogind: 246.9.1 bump Signed-off-by: Piotr Karbowski gentoo.org> sys-auth/elogind/Manifest | 1 + sys-auth/elogind/elogind-246.9.1.ebuild | 148 2 files changed, 149 insertions(+) diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index 8bb9d4b5ee2..34beb6717ff 100644 --- a/sys-auth/elogind/Manifest +++ b/sys-auth/elogind/Manifest @@ -1 +1,2 @@ DIST elogind-243.7.tar.gz 1338186 BLAKE2B f3efc2af50f56c2cda18d721c18f4d88ca608fb35b2c7e2ebb35c3f3f743124dcf17efcc9db47810a13093397b1c1bc82cb42e017b3db493af5d2bb70bcf0eff SHA512 fd17c5016d083d63805f9ed0326ee32597870f6c48c9c246712cb09a77db775036b0fd0f4258b6557e189a1eceb4b50f4ae2e9e7881f4d9759b87a0b49ce3472 +DIST elogind-246.9.1.tar.gz 1534991 BLAKE2B 3360b5a2504156ea3c3b965f11db305bc1a7cb761bd4c2ca73a5dbb62db37dec35d07f7939917bac61e0573a9b6224eb094853001c4d522b0c8bfde54a13 SHA512 b409568630ac20c1e984d9389237533e67ce4ad0fe0e0d47ad3fd943e579971412bcbdb922f2929bc5e9f26198647d3436beadbde0bfed4ae730107611a69e48 diff --git a/sys-auth/elogind/elogind-246.9.1.ebuild b/sys-auth/elogind/elogind-246.9.1.ebuild new file mode 100644 index 000..afcc828ef59 --- /dev/null +++ b/sys-auth/elogind/elogind-246.9.1.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} = ** ]]; 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 ${PN} + + sed -e
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 4453b6b6a0e1eb79ecbcb594973626d1b830fe42 Author: Piotr Karbowski gentoo org> AuthorDate: Wed Nov 11 17:14:42 2020 + Commit: Piotr Karbowski gentoo org> CommitDate: Wed Nov 11 17:16:17 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4453b6b6 sys-auth/elogind: 243.7-r1: interface audit dependency. Closes: https://bugs.gentoo.org/753970 Signed-off-by: Piotr Karbowski gentoo.org> sys-auth/elogind/elogind-243.7-r1.ebuild | 148 +++ 1 file changed, 148 insertions(+) diff --git a/sys-auth/elogind/elogind-243.7-r1.ebuild b/sys-auth/elogind/elogind-243.7-r1.ebuild new file mode 100644 index 000..727303951d2 --- /dev/null +++ b/sys-auth/elogind/elogind-243.7-r1.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} = ** ]]; 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}/${P}-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 ${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)" != ""
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 411e3c3c235baa8c2029b3b5dc005b18d0e54e3a Author: Piotr Karbowski gentoo org> AuthorDate: Sun Jul 26 19:24:03 2020 + Commit: Piotr Karbowski gentoo org> CommitDate: Sun Jul 26 19:24:03 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=411e3c3c sys-auth/elogind: joining. Signed-off-by: Piotr Karbowski gentoo.org> sys-auth/elogind/metadata.xml | 4 1 file changed, 4 insertions(+) diff --git a/sys-auth/elogind/metadata.xml b/sys-auth/elogind/metadata.xml index c28bf0a0e66..5d3ca4b35f1 100644 --- a/sys-auth/elogind/metadata.xml +++ b/sys-auth/elogind/metadata.xml @@ -7,6 +7,10 @@ kensing...@gentoo.org + + slashbe...@gentoo.org + Piotr Karbowski + elogind/elogind
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: abc937f7b15699598c9197fc12073ff6411c05a2 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jul 12 18:00:03 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jul 12 23:07:42 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abc937f7 sys-auth/elogind: Add a warning about IUSE="-pam" in postinst Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-auth/elogind/elogind-243.7.ebuild | 5 + 1 file changed, 5 insertions(+) diff --git a/sys-auth/elogind/elogind-243.7.ebuild b/sys-auth/elogind/elogind-243.7.ebuild index 3354180300c..43b02dab0c6 100644 --- a/sys-auth/elogind/elogind-243.7.ebuild +++ b/sys-auth/elogind/elogind-243.7.ebuild @@ -111,6 +111,11 @@ src_install() { } 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 [[ "$(rc-config list boot | grep elogind)" != "" ]]; then elog "elogind is currently started from boot runlevel." elif [[ "$(rc-config list default | grep elogind)" != "" ]]; then
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 1be55335097607bb9e1aa5226597bc51f8954b52 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jul 12 18:31:38 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jul 12 23:07:42 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1be55335 sys-auth/elogind: Add a warning about IUSE="-policykit" in postinst Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-auth/elogind/elogind-243.7.ebuild | 5 + 1 file changed, 5 insertions(+) diff --git a/sys-auth/elogind/elogind-243.7.ebuild b/sys-auth/elogind/elogind-243.7.ebuild index 43b02dab0c6..b8d79dc5563 100644 --- a/sys-auth/elogind/elogind-243.7.ebuild +++ b/sys-auth/elogind/elogind-243.7.ebuild @@ -116,6 +116,11 @@ pkg_postinst() { 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
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/, sys-auth/elogind/files/
commit: 4f97d509bba291616d5df50add0d4c486d1f1f56 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue May 26 12:20:52 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue May 26 14:32:26 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f97d509 sys-auth/elogind: Drop 243.4 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-auth/elogind/Manifest | 1 - sys-auth/elogind/elogind-243.4.ebuild | 137 - sys-auth/elogind/files/elogind-243.4-nodocs.patch | 29 - .../elogind-243.4-selinux-missing-headers.patch| 36 -- 4 files changed, 203 deletions(-) diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index 8fca8b1be19..8bb9d4b5ee2 100644 --- a/sys-auth/elogind/Manifest +++ b/sys-auth/elogind/Manifest @@ -1,2 +1 @@ -DIST elogind-243.4.tar.gz 1335747 BLAKE2B 37c4eb1c476f97948aed44901fbd61ee1b1b8215d3167b368be00c542c64cdcb8b1e8e2725515820df4542d800079810e95f59469e3c6f5229932e55de4a3c1f SHA512 9751a3d0ed65dd73d9363097ee1752d437d5636db2a4137395596e0c81e04d4715f314568d1d7c6f367f1ecbda011086cb165bd4dc207302626b16e693cd0a02 DIST elogind-243.7.tar.gz 1338186 BLAKE2B f3efc2af50f56c2cda18d721c18f4d88ca608fb35b2c7e2ebb35c3f3f743124dcf17efcc9db47810a13093397b1c1bc82cb42e017b3db493af5d2bb70bcf0eff SHA512 fd17c5016d083d63805f9ed0326ee32597870f6c48c9c246712cb09a77db775036b0fd0f4258b6557e189a1eceb4b50f4ae2e9e7881f4d9759b87a0b49ce3472 diff --git a/sys-auth/elogind/elogind-243.4.ebuild b/sys-auth/elogind/elogind-243.4.ebuild deleted file mode 100644 index 9b5b3ebd4f3..000 --- a/sys-auth/elogind/elogind-243.4.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} = ** ]]; 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 ppc ppc64 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 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=" - 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}/${P}-nodocs.patch" - "${FILESDIR}/${PN}-241.4-broken-test.patch" # bug 699116 - "${FILESDIR}/${P}-selinux-missing-headers.patch" # bug 711432 -) - -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) - --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+=(
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: da81e283f0809446026dbaceffeb23ece87f5828 Author: Sam James (sam_c) cmpct info> AuthorDate: Sat Apr 18 18:59:50 2020 + Commit: Mart Raudsepp gentoo org> CommitDate: Sun Apr 19 11:34:28 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da81e283 sys-auth/elogind: arm64 stable (bug #716826) Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sam James (sam_c) cmpct.info> Signed-off-by: Mart Raudsepp gentoo.org> sys-auth/elogind/elogind-243.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-243.7.ebuild b/sys-auth/elogind/elogind-243.7.ebuild index e829a7c3bfe..3354180300c 100644 --- a/sys-auth/elogind/elogind-243.7.ebuild +++ b/sys-auth/elogind/elogind-243.7.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 41c8e5d4ba9aad9165b33e0f8f497d6e7a98a5d5 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Apr 15 12:10:09 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Apr 15 12:10:09 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41c8e5d4 sys-auth/elogind: arm stable wrt bug #716826 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="arm" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/elogind/elogind-243.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-243.7.ebuild b/sys-auth/elogind/elogind-243.7.ebuild index f0c5a62416d..e829a7c3bfe 100644 --- a/sys-auth/elogind/elogind-243.7.ebuild +++ b/sys-auth/elogind/elogind-243.7.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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" + KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: a964b42a5629991cce01279cc513c46ab90b16ab Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Apr 15 08:26:37 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Apr 15 08:26:37 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a964b42a sys-auth/elogind: sparc stable wrt bug #716826 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/elogind/elogind-243.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-243.7.ebuild b/sys-auth/elogind/elogind-243.7.ebuild index e1a97a3dad0..f0c5a62416d 100644 --- a/sys-auth/elogind/elogind-243.7.ebuild +++ b/sys-auth/elogind/elogind-243.7.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 4949a932203cc672ee0ab6c2e8ab6101e288809e Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Apr 14 16:45:23 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Apr 14 16:45:23 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4949a932 sys-auth/elogind: x86 stable wrt bug #716826 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/elogind/elogind-243.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-243.7.ebuild b/sys-auth/elogind/elogind-243.7.ebuild index 4af55e68cd8..e1a97a3dad0 100644 --- a/sys-auth/elogind/elogind-243.7.ebuild +++ b/sys-auth/elogind/elogind-243.7.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 95653929bd02ccbba8787cb7e69f4ff04886d057 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Apr 14 16:44:55 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Apr 14 16:44:55 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95653929 sys-auth/elogind: ppc64 stable wrt bug #716826 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/elogind/elogind-243.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-243.7.ebuild b/sys-auth/elogind/elogind-243.7.ebuild index 05f630f0269..4af55e68cd8 100644 --- a/sys-auth/elogind/elogind-243.7.ebuild +++ b/sys-auth/elogind/elogind-243.7.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 9ad13860a3d80b33d519775fd290cae4835c7a08 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Apr 14 16:44:25 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Apr 14 16:44:25 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ad13860 sys-auth/elogind: ppc stable wrt bug #716826 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/elogind/elogind-243.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-243.7.ebuild b/sys-auth/elogind/elogind-243.7.ebuild index 32a4e4f1c39..05f630f0269 100644 --- a/sys-auth/elogind/elogind-243.7.ebuild +++ b/sys-auth/elogind/elogind-243.7.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: a3def9059a70bf9d2d9b366e5f8613c1abbd0871 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Apr 14 16:43:31 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Apr 14 16:43:31 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3def905 sys-auth/elogind: amd64 stable wrt bug #716826 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/elogind/elogind-243.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-243.7.ebuild b/sys-auth/elogind/elogind-243.7.ebuild index 9a2819e1b70..32a4e4f1c39 100644 --- a/sys-auth/elogind/elogind-243.7.ebuild +++ b/sys-auth/elogind/elogind-243.7.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 56998f9d10d70c32f50963aa7c1625159feb7c49 Author: Matt Turner gentoo org> AuthorDate: Tue Apr 7 22:25:04 2020 + Commit: Matt Turner gentoo org> CommitDate: Tue Apr 7 22:25:04 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56998f9d sys-auth/elogind-243.7: add ~s390, bug 681200 Signed-off-by: Matt Turner gentoo.org> sys-auth/elogind/elogind-243.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-243.7.ebuild b/sys-auth/elogind/elogind-243.7.ebuild index d8f6b12129c..9a2819e1b70 100644 --- a/sys-auth/elogind/elogind-243.7.ebuild +++ b/sys-auth/elogind/elogind-243.7.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: a9821cadeab0e89dc4fc7ae98396cf26ffd7bad8 Author: Matt Turner gentoo org> AuthorDate: Tue Apr 7 22:25:02 2020 + Commit: Matt Turner gentoo org> CommitDate: Tue Apr 7 22:25:02 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9821cad sys-auth/elogind-243.7: add ~mips, bug 681200 Signed-off-by: Matt Turner gentoo.org> sys-auth/elogind/elogind-243.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-243.7.ebuild b/sys-auth/elogind/elogind-243.7.ebuild index ec495cedb70..d8f6b12129c 100644 --- a/sys-auth/elogind/elogind-243.7.ebuild +++ b/sys-auth/elogind/elogind-243.7.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~ppc ~ppc64 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/files/, sys-auth/elogind/
commit: d784dc44017d98735e33291232aa5fe16839e3d3 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Apr 4 09:30:25 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Apr 4 09:30:25 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d784dc44 sys-auth/elogind: Drop 241.4 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-auth/elogind/Manifest | 1 - sys-auth/elogind/elogind-241.4.ebuild | 137 -- sys-auth/elogind/files/elogind-241.4-nodocs.patch | 29 - 3 files changed, 167 deletions(-) diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index 4f851a93326..8fca8b1be19 100644 --- a/sys-auth/elogind/Manifest +++ b/sys-auth/elogind/Manifest @@ -1,3 +1,2 @@ -DIST elogind-241.4.tar.gz 1400769 BLAKE2B f1ddf87a6a4e3d06c184ae004d99acbfc1a753d0e5c6d18ff4c10a51b350cee0c14f833aba6f2a2a0f4891ad323868b9a94a3acb8b9eec2e30405b9fa4a09425 SHA512 e1685ac81028eab4a4cf63c7b962ae85f07bc0e39b2562934f863bfdf39417445c432fab5454e7c64b337ab62d95fb69abbe1139464a059a86fb485ed0534ad8 DIST elogind-243.4.tar.gz 1335747 BLAKE2B 37c4eb1c476f97948aed44901fbd61ee1b1b8215d3167b368be00c542c64cdcb8b1e8e2725515820df4542d800079810e95f59469e3c6f5229932e55de4a3c1f SHA512 9751a3d0ed65dd73d9363097ee1752d437d5636db2a4137395596e0c81e04d4715f314568d1d7c6f367f1ecbda011086cb165bd4dc207302626b16e693cd0a02 DIST elogind-243.7.tar.gz 1338186 BLAKE2B f3efc2af50f56c2cda18d721c18f4d88ca608fb35b2c7e2ebb35c3f3f743124dcf17efcc9db47810a13093397b1c1bc82cb42e017b3db493af5d2bb70bcf0eff SHA512 fd17c5016d083d63805f9ed0326ee32597870f6c48c9c246712cb09a77db775036b0fd0f4258b6557e189a1eceb4b50f4ae2e9e7881f4d9759b87a0b49ce3472 diff --git a/sys-auth/elogind/elogind-241.4.ebuild b/sys-auth/elogind/elogind-241.4.ebuild deleted file mode 100644 index 4ebceb5224b..000 --- a/sys-auth/elogind/elogind-241.4.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} = ** ]]; 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 ppc ppc64 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 debug doc +pam +policykit selinux" - -COMMON_DEPEND=" - sys-apps/util-linux - sys-libs/libcap - virtual/libudev:= - acl? ( sys-apps/acl ) - pam? ( sys-libs/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 ) -" - -DOCS=( NEWS README.md src/libelogind/sd-bus/GVARIANT-SERIALIZATION ) - -PATCHES=( - "${FILESDIR}/${P}-nodocs.patch" - "${FILESDIR}/${P}-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) - --buildtype $(usex debug debug release) - -Dhtml=$(usex doc auto false) -
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 2703149eb7c79bb87321a40b151a851bbc42a686 Author: Sam James (sam_c) cmpct info> AuthorDate: Sat Apr 4 08:20:46 2020 + Commit: Mart Raudsepp gentoo org> CommitDate: Sat Apr 4 09:22:26 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2703149e sys-auth/elogind: arm64 stable (bug #711230) Signed-off-by: Sam James (sam_c) cmpct.info> Signed-off-by: Mart Raudsepp gentoo.org> sys-auth/elogind/elogind-243.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-243.4.ebuild b/sys-auth/elogind/elogind-243.4.ebuild index 90046a2fd9b..9b5b3ebd4f3 100644 --- a/sys-auth/elogind/elogind-243.4.ebuild +++ b/sys-auth/elogind/elogind-243.4.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ppc ppc64 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/, sys-auth/elogind/files/
commit: 371dc9ce984070411a16f5f121e84b0f98498605 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Mar 12 21:54:32 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Mar 12 22:15:26 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=371dc9ce sys-auth/elogind: 243.7 version bump Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-auth/elogind/Manifest | 1 + sys-auth/elogind/elogind-243.7.ebuild | 136 ++ sys-auth/elogind/files/elogind-243.7-nodocs.patch | 29 + 3 files changed, 166 insertions(+) diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index c56e12bdaad..4f851a93326 100644 --- a/sys-auth/elogind/Manifest +++ b/sys-auth/elogind/Manifest @@ -1,2 +1,3 @@ DIST elogind-241.4.tar.gz 1400769 BLAKE2B f1ddf87a6a4e3d06c184ae004d99acbfc1a753d0e5c6d18ff4c10a51b350cee0c14f833aba6f2a2a0f4891ad323868b9a94a3acb8b9eec2e30405b9fa4a09425 SHA512 e1685ac81028eab4a4cf63c7b962ae85f07bc0e39b2562934f863bfdf39417445c432fab5454e7c64b337ab62d95fb69abbe1139464a059a86fb485ed0534ad8 DIST elogind-243.4.tar.gz 1335747 BLAKE2B 37c4eb1c476f97948aed44901fbd61ee1b1b8215d3167b368be00c542c64cdcb8b1e8e2725515820df4542d800079810e95f59469e3c6f5229932e55de4a3c1f SHA512 9751a3d0ed65dd73d9363097ee1752d437d5636db2a4137395596e0c81e04d4715f314568d1d7c6f367f1ecbda011086cb165bd4dc207302626b16e693cd0a02 +DIST elogind-243.7.tar.gz 1338186 BLAKE2B f3efc2af50f56c2cda18d721c18f4d88ca608fb35b2c7e2ebb35c3f3f743124dcf17efcc9db47810a13093397b1c1bc82cb42e017b3db493af5d2bb70bcf0eff SHA512 fd17c5016d083d63805f9ed0326ee32597870f6c48c9c246712cb09a77db775036b0fd0f4258b6557e189a1eceb4b50f4ae2e9e7881f4d9759b87a0b49ce3472 diff --git a/sys-auth/elogind/elogind-243.7.ebuild b/sys-auth/elogind/elogind-243.7.ebuild new file mode 100644 index 000..ec495cedb70 --- /dev/null +++ b/sys-auth/elogind/elogind-243.7.ebuild @@ -0,0 +1,136 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} = ** ]]; 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 ~ppc ~ppc64 ~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 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=" + 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}/${P}-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) + --buildtype $(usex debug debug release) + -Dhtml=$(usex doc auto false) + -Dpam=$(usex pam true false) +
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/files/, sys-auth/elogind/
commit: 61b4a84845969c957dbf59135178f2a801ce9ff8 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Mar 12 21:42:17 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Mar 12 22:15:26 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61b4a848 sys-auth/elogind: Fix build with +selinux Closes: https://bugs.gentoo.org/711432 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-auth/elogind/elogind-243.4.ebuild | 1 + .../elogind-243.4-selinux-missing-headers.patch| 36 ++ 2 files changed, 37 insertions(+) diff --git a/sys-auth/elogind/elogind-243.4.ebuild b/sys-auth/elogind/elogind-243.4.ebuild index 1817a25b51c..0a185cec612 100644 --- a/sys-auth/elogind/elogind-243.4.ebuild +++ b/sys-auth/elogind/elogind-243.4.ebuild @@ -50,6 +50,7 @@ DOCS=( README.md src/libelogind/sd-bus/GVARIANT-SERIALIZATION ) PATCHES=( "${FILESDIR}/${P}-nodocs.patch" "${FILESDIR}/${PN}-241.4-broken-test.patch" # bug 699116 + "${FILESDIR}/${P}-selinux-missing-headers.patch" # bug 711432 ) pkg_setup() { diff --git a/sys-auth/elogind/files/elogind-243.4-selinux-missing-headers.patch b/sys-auth/elogind/files/elogind-243.4-selinux-missing-headers.patch new file mode 100644 index 000..7cc46fd05eb --- /dev/null +++ b/sys-auth/elogind/files/elogind-243.4-selinux-missing-headers.patch @@ -0,0 +1,36 @@ +From 1cd3fe4083eb8784fa2a125e4af0edb80e6928b5 Mon Sep 17 00:00:00 2001 +From: Sven Eden +Date: Thu, 12 Mar 2020 20:31:00 +0100 +Subject: [PATCH] basic/selinux-util.c : Uncomment missing includes (#157) + +Compiling on Debian unstable failed using gcc 9.2.1 and libc6 2.29. +Uncommenting the two commented includes in basic/selinux-util.c +fixes the compilation issues. + +Bug: #157 +Closes: #157 +Signed-off-by: Sven Eden +--- + src/basic/selinux-util.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/basic/selinux-util.c b/src/basic/selinux-util.c +index 40a85feec..3be9f2c0d 100644 +--- a/src/basic/selinux-util.c b/src/basic/selinux-util.c +@@ -1,13 +1,13 @@ + /* SPDX-License-Identifier: LGPL-2.1+ */ + + #include +-//#include ++#include + #include + #include + #include + #include + #include +-//#include ++#include + #include + #include +
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 99b38b62910e00e63e906db775c8a8866e57e236 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Mar 2 15:22:32 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Mar 2 15:22:32 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99b38b62 sys-auth/elogind: ppc stable wrt bug #711230 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/elogind/elogind-243.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-243.4.ebuild b/sys-auth/elogind/elogind-243.4.ebuild index d17dd531fc8..1817a25b51c 100644 --- a/sys-auth/elogind/elogind-243.4.ebuild +++ b/sys-auth/elogind/elogind-243.4.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~ppc ppc64 sparc x86" + KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 9b2caa354c70f93a88b57878f124c2b79e845968 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Mar 2 12:39:13 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Mar 2 12:39:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b2caa35 sys-auth/elogind: ppc64 stable wrt bug #711230 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/elogind/elogind-243.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-243.4.ebuild b/sys-auth/elogind/elogind-243.4.ebuild index a44c38c5aef..d17dd531fc8 100644 --- a/sys-auth/elogind/elogind-243.4.ebuild +++ b/sys-auth/elogind/elogind-243.4.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~ppc ~ppc64 sparc x86" + KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ppc64 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 12ea8b0962bffca6a41d15885631140371a1ff09 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Mar 2 12:37:59 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Mar 2 12:37:59 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12ea8b09 sys-auth/elogind: ia64 stable wrt bug #711230 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="ia64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/elogind/elogind-243.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-243.4.ebuild b/sys-auth/elogind/elogind-243.4.ebuild index 6bffae263f5..a44c38c5aef 100644 --- a/sys-auth/elogind/elogind-243.4.ebuild +++ b/sys-auth/elogind/elogind-243.4.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~ppc ~ppc64 sparc x86" + KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: d350d2de2e6f15c16fd8215c9a4bf248259beaa2 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Mar 2 12:31:04 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Mar 2 12:31:55 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d350d2de sys-auth/elogind: x86 stable wrt bug #711230 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/elogind/elogind-243.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-243.4.ebuild b/sys-auth/elogind/elogind-243.4.ebuild index 32a3eca2d36..6bffae263f5 100644 --- a/sys-auth/elogind/elogind-243.4.ebuild +++ b/sys-auth/elogind/elogind-243.4.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~ppc ~ppc64 sparc ~x86" + KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: ab8099e43a49158976b1ae57f54db30f5a1e1df1 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Mar 2 12:29:45 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Mar 2 12:29:45 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab8099e4 sys-auth/elogind: sparc stable wrt bug #711230 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/elogind/elogind-243.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-243.4.ebuild b/sys-auth/elogind/elogind-243.4.ebuild index 36503ee8781..32a3eca2d36 100644 --- a/sys-auth/elogind/elogind-243.4.ebuild +++ b/sys-auth/elogind/elogind-243.4.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~ppc ~ppc64 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: b6221f6f3f37592ec0bf037fdcd664056c777860 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Mar 2 12:28:15 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Mar 2 12:28:15 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6221f6f sys-auth/elogind: arm stable wrt bug #711230 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="arm" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/elogind/elogind-243.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-243.4.ebuild b/sys-auth/elogind/elogind-243.4.ebuild index 1edd947fd49..36503ee8781 100644 --- a/sys-auth/elogind/elogind-243.4.ebuild +++ b/sys-auth/elogind/elogind-243.4.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~ppc ~ppc64 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 0cfe6049150921c9b119109515fc110312e7623d Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Mar 1 21:44:34 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Mar 1 21:44:34 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cfe6049 sys-auth/elogind: amd64 stable wrt bug #711230 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/elogind/elogind-243.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-243.4.ebuild b/sys-auth/elogind/elogind-243.4.ebuild index ec495cedb70..1edd947fd49 100644 --- a/sys-auth/elogind/elogind-243.4.ebuild +++ b/sys-auth/elogind/elogind-243.4.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then 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 ~ppc ~ppc64 ~sparc ~x86" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/files/, sys-auth/elogind/
commit: d7c361c638b077e177be88f4f70f638ee1fdc570 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Feb 2 15:20:14 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Feb 2 16:19:34 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7c361c6 sys-auth/elogind: 243.4 version bump Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-auth/elogind/Manifest | 1 + sys-auth/elogind/elogind-243.4.ebuild | 136 ++ sys-auth/elogind/files/elogind-243.4-nodocs.patch | 29 + 3 files changed, 166 insertions(+) diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index 185a64c4086..c56e12bdaad 100644 --- a/sys-auth/elogind/Manifest +++ b/sys-auth/elogind/Manifest @@ -1 +1,2 @@ DIST elogind-241.4.tar.gz 1400769 BLAKE2B f1ddf87a6a4e3d06c184ae004d99acbfc1a753d0e5c6d18ff4c10a51b350cee0c14f833aba6f2a2a0f4891ad323868b9a94a3acb8b9eec2e30405b9fa4a09425 SHA512 e1685ac81028eab4a4cf63c7b962ae85f07bc0e39b2562934f863bfdf39417445c432fab5454e7c64b337ab62d95fb69abbe1139464a059a86fb485ed0534ad8 +DIST elogind-243.4.tar.gz 1335747 BLAKE2B 37c4eb1c476f97948aed44901fbd61ee1b1b8215d3167b368be00c542c64cdcb8b1e8e2725515820df4542d800079810e95f59469e3c6f5229932e55de4a3c1f SHA512 9751a3d0ed65dd73d9363097ee1752d437d5636db2a4137395596e0c81e04d4715f314568d1d7c6f367f1ecbda011086cb165bd4dc207302626b16e693cd0a02 diff --git a/sys-auth/elogind/elogind-243.4.ebuild b/sys-auth/elogind/elogind-243.4.ebuild new file mode 100644 index 000..ec495cedb70 --- /dev/null +++ b/sys-auth/elogind/elogind-243.4.ebuild @@ -0,0 +1,136 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} = ** ]]; 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 ~ppc ~ppc64 ~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 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=" + 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}/${P}-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) + --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 ${PN} + + sed
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/, sys-auth/elogind/files/
commit: ec5ba84f11e5158f09273192d83ecc5e3ff579ab Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Dec 8 10:45:39 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Dec 8 12:04:03 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec5ba84f sys-auth/elogind: Drop 241.3 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-auth/elogind/Manifest | 1 - sys-auth/elogind/elogind-241.3.ebuild | 127 sys-auth/elogind/files/elogind-241.1-docs.patch | 24 - 3 files changed, 152 deletions(-) diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index a0e5f088472..185a64c4086 100644 --- a/sys-auth/elogind/Manifest +++ b/sys-auth/elogind/Manifest @@ -1,2 +1 @@ -DIST elogind-241.3.tar.gz 1401391 BLAKE2B 90bc10af1b6d66bc6b6e15314cbc7005f270ebd04767a88d93605d81b199758c7f5423ea85f9810f8dfcde82c6c2b8094e2237cf2ca70a9dfc45a4a8e20b0439 SHA512 b33c0ed85c4a97216f8d56441207510be180258d4f4e5ff9dea07d59d53b84b03c27f5397f09214ce9fc880f38865e20d7c05b41255d4b762c33099b7ebb53eb DIST elogind-241.4.tar.gz 1400769 BLAKE2B f1ddf87a6a4e3d06c184ae004d99acbfc1a753d0e5c6d18ff4c10a51b350cee0c14f833aba6f2a2a0f4891ad323868b9a94a3acb8b9eec2e30405b9fa4a09425 SHA512 e1685ac81028eab4a4cf63c7b962ae85f07bc0e39b2562934f863bfdf39417445c432fab5454e7c64b337ab62d95fb69abbe1139464a059a86fb485ed0534ad8 diff --git a/sys-auth/elogind/elogind-241.3.ebuild b/sys-auth/elogind/elogind-241.3.ebuild deleted file mode 100644 index 19a48e4a725..000 --- a/sys-auth/elogind/elogind-241.3.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86" -IUSE="+acl debug doc +pam +policykit selinux" - -COMMON_DEPEND=" - sys-apps/util-linux - sys-libs/libcap - virtual/libudev:= - acl? ( sys-apps/acl ) - pam? ( sys-libs/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 ) -" - -DOCS=( src/libelogind/sd-bus/GVARIANT-SERIALIZATION ) - -PATCHES=( "${FILESDIR}/${PN}-241.1-docs.patch" ) - -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) - --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 ${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 -
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 5b7c180fb935eceece0e5682066ed4503a5342aa Author: Rolf Eike Beer sf-mail de> AuthorDate: Sun Dec 8 09:37:37 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Dec 8 10:58:51 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b7c180f sys-auth/elogind: keyworded 241.4 for hppa, bug #681200 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> sys-auth/elogind/elogind-241.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-241.4.ebuild b/sys-auth/elogind/elogind-241.4.ebuild index 65e5ecabe57..a29850c71f5 100644 --- a/sys-auth/elogind/elogind-241.4.ebuild +++ b/sys-auth/elogind/elogind-241.4.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then inherit git-r3 else SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="alpha amd64 arm arm64 ia64 ppc ppc64 sparc x86" + KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ppc ppc64 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 3ae25ded660a7432577ffe197286e86ae65efedd Author: Matt Turner gentoo org> AuthorDate: Thu Dec 5 01:09:02 2019 + Commit: Matt Turner gentoo org> CommitDate: Thu Dec 5 01:09:48 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ae25ded sys-auth/elogind-241.4: alpha stable, bug 685748 Signed-off-by: Matt Turner gentoo.org> sys-auth/elogind/elogind-241.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-241.4.ebuild b/sys-auth/elogind/elogind-241.4.ebuild index b981bff446f..65e5ecabe57 100644 --- a/sys-auth/elogind/elogind-241.4.ebuild +++ b/sys-auth/elogind/elogind-241.4.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then inherit git-r3 else SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ia64 ppc ppc64 sparc x86" + KEYWORDS="alpha amd64 arm arm64 ia64 ppc ppc64 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 3c75b0abf007a80a855f333b3d68c8c32068dc60 Author: Matt Turner gentoo org> AuthorDate: Wed Dec 4 23:07:22 2019 + Commit: Matt Turner gentoo org> CommitDate: Wed Dec 4 23:09:07 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c75b0ab sys-auth/elogind-241.4: ppc64 stable, bug 685748 Signed-off-by: Matt Turner gentoo.org> sys-auth/elogind/elogind-241.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-241.4.ebuild b/sys-auth/elogind/elogind-241.4.ebuild index 87d5a810be1..b981bff446f 100644 --- a/sys-auth/elogind/elogind-241.4.ebuild +++ b/sys-auth/elogind/elogind-241.4.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then inherit git-r3 else SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ia64 ppc ~ppc64 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ia64 ppc ppc64 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 1c9e784c455b16b84b9da41de3b9a9b79a3c8d99 Author: Matt Turner gentoo org> AuthorDate: Wed Dec 4 23:07:22 2019 + Commit: Matt Turner gentoo org> CommitDate: Wed Dec 4 23:09:07 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c9e784c sys-auth/elogind-241.4: ppc stable, bug 685748 Signed-off-by: Matt Turner gentoo.org> sys-auth/elogind/elogind-241.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-241.4.ebuild b/sys-auth/elogind/elogind-241.4.ebuild index 10a1bfbc4d9..87d5a810be1 100644 --- a/sys-auth/elogind/elogind-241.4.ebuild +++ b/sys-auth/elogind/elogind-241.4.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then inherit git-r3 else SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ia64 ~ppc ~ppc64 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ia64 ppc ~ppc64 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 68ade8976db0291d1a3595d60ce37a5511cd44cb Author: Matt Turner gentoo org> AuthorDate: Wed Dec 4 22:43:12 2019 + Commit: Matt Turner gentoo org> CommitDate: Wed Dec 4 22:43:21 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ade897 sys-auth/elogind-241.4: ia64 stable, bug 685748 Signed-off-by: Matt Turner gentoo.org> sys-auth/elogind/elogind-241.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-241.4.ebuild b/sys-auth/elogind/elogind-241.4.ebuild index c963ceb20d5..10a1bfbc4d9 100644 --- a/sys-auth/elogind/elogind-241.4.ebuild +++ b/sys-auth/elogind/elogind-241.4.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then inherit git-r3 else SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~ppc ~ppc64 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ia64 ~ppc ~ppc64 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 8d911a0cb2b0cc5e52824fa07737a873d6cf80ba Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Dec 3 20:00:53 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Dec 4 19:43:18 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d911a0c sys-auth/elogind: stable 241.4 for sparc, bug #685748 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> sys-auth/elogind/elogind-241.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-241.4.ebuild b/sys-auth/elogind/elogind-241.4.ebuild index 5ebb0b8c4cc..c963ceb20d5 100644 --- a/sys-auth/elogind/elogind-241.4.ebuild +++ b/sys-auth/elogind/elogind-241.4.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then inherit git-r3 else SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~ppc ~ppc64 sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 538fa7ee596fcb2ee5ca8a239b50a7d54efa5376 Author: Mikle Kolyada gentoo org> AuthorDate: Mon Dec 2 10:51:01 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Mon Dec 2 10:51:01 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=538fa7ee sys-auth/elogind: arm stable wrt bug #685748 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="arm" Signed-off-by: Mikle Kolyada gentoo.org> sys-auth/elogind/elogind-241.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-241.4.ebuild b/sys-auth/elogind/elogind-241.4.ebuild index 92e7f7a4c11..5ebb0b8c4cc 100644 --- a/sys-auth/elogind/elogind-241.4.ebuild +++ b/sys-auth/elogind/elogind-241.4.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then inherit git-r3 else SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/files/, sys-auth/elogind/
commit: c8dd6231490e0c68e2b918b792548de96ca518df Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Nov 30 12:01:51 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Nov 30 12:07:55 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8dd6231 sys-auth/elogind: Disable broken test Bug: https://bugs.gentoo.org/699116 Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-auth/elogind/elogind-241.4.ebuild | 5 - sys-auth/elogind/files/elogind-241.4-broken-test.patch | 15 +++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-241.4.ebuild b/sys-auth/elogind/elogind-241.4.ebuild index cddbbf19bea..92e7f7a4c11 100644 --- a/sys-auth/elogind/elogind-241.4.ebuild +++ b/sys-auth/elogind/elogind-241.4.ebuild @@ -48,7 +48,10 @@ PDEPEND=" DOCS=( NEWS README.md src/libelogind/sd-bus/GVARIANT-SERIALIZATION ) -PATCHES=( "${FILESDIR}/${P}-nodocs.patch" ) +PATCHES=( + "${FILESDIR}/${P}-nodocs.patch" + "${FILESDIR}/${P}-broken-test.patch" # bug 699116 +) pkg_setup() { local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD" diff --git a/sys-auth/elogind/files/elogind-241.4-broken-test.patch b/sys-auth/elogind/files/elogind-241.4-broken-test.patch new file mode 100644 index 000..d2735825900 --- /dev/null +++ b/sys-auth/elogind/files/elogind-241.4-broken-test.patch @@ -0,0 +1,15 @@ +--- a/src/test/meson.build 2019-11-15 08:59:47.0 +0100 b/src/test/meson.build 2019-11-30 13:04:45.051316140 +0100 +@@ -1014,9 +1014,9 @@ + # '', 'timeout=120'], + #endif // 0 + +-[['src/libelogind/sd-login/test-login.c'], +- [], +- []], ++# [['src/libelogind/sd-login/test-login.c'], ++# [], ++# []], + + [['src/libelogind/sd-device/test-sd-device.c'], + [],
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 52dc16991fe85551400be36fb696bb678fff49fc Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Nov 26 12:22:37 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Nov 26 12:22:37 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52dc1699 sys-auth/elogind: amd64 stable wrt bug #685748 Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-auth/elogind/elogind-241.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-241.4.ebuild b/sys-auth/elogind/elogind-241.4.ebuild index ef345ec28a4..cddbbf19bea 100644 --- a/sys-auth/elogind/elogind-241.4.ebuild +++ b/sys-auth/elogind/elogind-241.4.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then inherit git-r3 else SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" + KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: ea189b1139d26613a876855f531d8aca20561b83 Author: Aaron Bauman gentoo org> AuthorDate: Sun Nov 24 21:48:48 2019 + Commit: Aaron Bauman gentoo org> CommitDate: Sun Nov 24 21:48:48 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea189b11 sys-auth/elogind: arm64 stable (bug #685748) Signed-off-by: Aaron Bauman gentoo.org> Package-Manager: Portage-2.3.79, Repoman-2.3.18 sys-auth/elogind/elogind-241.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-241.4.ebuild b/sys-auth/elogind/elogind-241.4.ebuild index 1ea75923793..2f854f75368 100644 --- a/sys-auth/elogind/elogind-241.4.ebuild +++ b/sys-auth/elogind/elogind-241.4.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = ** ]]; then inherit git-r3 else SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" fi inherit linux-info meson pam udev xdg-utils
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/files/, sys-auth/elogind/
commit: 7402aa2a4fc7ba4243043529784bddfb93cdaecd Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Nov 15 14:28:32 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Nov 15 17:37:40 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7402aa2a sys-auth/elogind: 241.4 version bump Package-Manager: Portage-2.3.79, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-auth/elogind/Manifest | 1 + sys-auth/elogind/elogind-241.4.ebuild | 134 ++ sys-auth/elogind/files/elogind-241.4-nodocs.patch | 29 + 3 files changed, 164 insertions(+) diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index ff7b0c59822..a0e5f088472 100644 --- a/sys-auth/elogind/Manifest +++ b/sys-auth/elogind/Manifest @@ -1 +1,2 @@ DIST elogind-241.3.tar.gz 1401391 BLAKE2B 90bc10af1b6d66bc6b6e15314cbc7005f270ebd04767a88d93605d81b199758c7f5423ea85f9810f8dfcde82c6c2b8094e2237cf2ca70a9dfc45a4a8e20b0439 SHA512 b33c0ed85c4a97216f8d56441207510be180258d4f4e5ff9dea07d59d53b84b03c27f5397f09214ce9fc880f38865e20d7c05b41255d4b762c33099b7ebb53eb +DIST elogind-241.4.tar.gz 1400769 BLAKE2B f1ddf87a6a4e3d06c184ae004d99acbfc1a753d0e5c6d18ff4c10a51b350cee0c14f833aba6f2a2a0f4891ad323868b9a94a3acb8b9eec2e30405b9fa4a09425 SHA512 e1685ac81028eab4a4cf63c7b962ae85f07bc0e39b2562934f863bfdf39417445c432fab5454e7c64b337ab62d95fb69abbe1139464a059a86fb485ed0534ad8 diff --git a/sys-auth/elogind/elogind-241.4.ebuild b/sys-auth/elogind/elogind-241.4.ebuild new file mode 100644 index 000..1ea75923793 --- /dev/null +++ b/sys-auth/elogind/elogind-241.4.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} = ** ]]; 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 ~ia64 ~ppc ~ppc64 ~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 debug doc +pam +policykit selinux" + +COMMON_DEPEND=" + sys-apps/util-linux + sys-libs/libcap + virtual/libudev:= + acl? ( sys-apps/acl ) + pam? ( sys-libs/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 ) +" + +DOCS=( NEWS README.md src/libelogind/sd-bus/GVARIANT-SERIALIZATION ) + +PATCHES=( "${FILESDIR}/${P}-nodocs.patch" ) + +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) + --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 ${PN} + + sed -e
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 26117db0a29d29f632f5c88b52431e74f43d164e Author: Matt Turner gentoo org> AuthorDate: Sat Oct 12 23:43:40 2019 + Commit: Matt Turner gentoo org> CommitDate: Sat Oct 12 23:43:40 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26117db0 sys-auth/elogind-241.3: ppc stable, bug 685748 Signed-off-by: Matt Turner gentoo.org> sys-auth/elogind/elogind-241.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-241.3.ebuild b/sys-auth/elogind/elogind-241.3.ebuild index 2a27353154b..3e405adec95 100644 --- a/sys-auth/elogind/elogind-241.3.ebuild +++ b/sys-auth/elogind/elogind-241.3.ebuild @@ -11,7 +11,7 @@ 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="~alpha amd64 arm arm64 ~ia64 ~ppc ~ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ~ppc64 sparc x86" IUSE="+acl debug doc +pam +policykit selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: c45cdac8ff27af65f8a3f1a20754cc229f5bd6f6 Author: Matt Turner gentoo org> AuthorDate: Sat Oct 12 23:43:44 2019 + Commit: Matt Turner gentoo org> CommitDate: Sat Oct 12 23:43:44 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c45cdac8 sys-auth/elogind-241.3: ppc64 stable, bug 685748 Signed-off-by: Matt Turner gentoo.org> sys-auth/elogind/elogind-241.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-241.3.ebuild b/sys-auth/elogind/elogind-241.3.ebuild index 3e405adec95..19a48e4a725 100644 --- a/sys-auth/elogind/elogind-241.3.ebuild +++ b/sys-auth/elogind/elogind-241.3.ebuild @@ -11,7 +11,7 @@ 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="~alpha amd64 arm arm64 ~ia64 ppc ~ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86" IUSE="+acl debug doc +pam +policykit selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 5ec5e945c7e74a2cf3d1acf6d5bd7d07a7a97dae Author: Mikle Kolyada gentoo org> AuthorDate: Sat Oct 12 19:07:36 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Oct 12 19:07:36 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ec5e945 sys-auth/elogind: migrate to sys-libs/pam Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Mikle Kolyada gentoo.org> sys-auth/elogind/elogind-241.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-241.3.ebuild b/sys-auth/elogind/elogind-241.3.ebuild index fe13b191df3..2a27353154b 100644 --- a/sys-auth/elogind/elogind-241.3.ebuild +++ b/sys-auth/elogind/elogind-241.3.ebuild @@ -19,7 +19,7 @@ COMMON_DEPEND=" sys-libs/libcap virtual/libudev:= acl? ( sys-apps/acl ) - pam? ( virtual/pam ) + pam? ( sys-libs/pam ) selinux? ( sys-libs/libselinux ) " DEPEND="${COMMON_DEPEND}
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 964c81f0f7668d709fc325f5f29eefc567241929 Author: Guilherme Amadio gentoo org> AuthorDate: Thu Aug 1 09:42:41 2019 + Commit: Guilherme Amadio gentoo org> CommitDate: Mon Aug 5 13:16:47 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=964c81f0 sys-auth/elogind: prefix support get_udevdir returns unprefixed directory, need to prepend EPREFIX. Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Guilherme Amadio gentoo.org> Acked-by: Andreas Sturmlechner gentoo.org> sys-auth/elogind/elogind-241.3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-auth/elogind/elogind-241.3.ebuild b/sys-auth/elogind/elogind-241.3.ebuild index b0298319602..fe13b191df3 100644 --- a/sys-auth/elogind/elogind-241.3.ebuild +++ b/sys-auth/elogind/elogind-241.3.ebuild @@ -55,7 +55,7 @@ src_prepare() { } src_configure() { - local rccgroupmode="$(grep rc_cgroup_mode /etc/rc.conf | cut -d '"' -f 2)" + local rccgroupmode="$(grep rc_cgroup_mode \"${EPREFIX}/etc/rc.conf\" | cut -d '"' -f 2)" local cgroupmode="legacy" if [[ "xhybrid" = "x${rccgroupmode}" ]] ; then @@ -68,7 +68,7 @@ src_configure() { -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html" -Dpamlibdir=$(getpam_mod_dir) - -Dudevrulesdir="$(get_udevdir)"/rules.d + -Dudevrulesdir="${EPREFIX}$(get_udevdir)"/rules.d --libdir="${EPREFIX}"/usr/$(get_libdir) -Drootlibdir="${EPREFIX}"/$(get_libdir) -Drootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 770e0496890b376d84397f0ed02326711d4f6bd7 Author: Rolf Eike Beer sf-mail de> AuthorDate: Thu Jul 18 20:57:46 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Jul 18 21:07:47 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=770e0496 sys-auth/elogind: stable 241.3 for sparc, bug #685748 Signed-off-by: Rolf Eike Beer sf-mail.de> Package-Manager: Portage-2.3.66, Repoman-2.3.11 RepoMan-Options: --include-arches="sparc" Signed-off-by: Sergei Trofimovich gentoo.org> sys-auth/elogind/elogind-241.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-241.3.ebuild b/sys-auth/elogind/elogind-241.3.ebuild index 1ee5748a7b4..b0298319602 100644 --- a/sys-auth/elogind/elogind-241.3.ebuild +++ b/sys-auth/elogind/elogind-241.3.ebuild @@ -11,7 +11,7 @@ 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="~alpha amd64 arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~ppc ~ppc64 sparc x86" IUSE="+acl debug doc +pam +policykit selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: ca91ab943baedda0d6524b2f0bc8ca66ca77471b Author: Matt Turner gentoo org> AuthorDate: Wed Jul 17 19:16:07 2019 + Commit: Matt Turner gentoo org> CommitDate: Wed Jul 17 19:16:07 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca91ab94 sys-auth/elogind-241.3: added ~alpha, bug 681200 Signed-off-by: Matt Turner gentoo.org> sys-auth/elogind/elogind-241.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-241.3.ebuild b/sys-auth/elogind/elogind-241.3.ebuild index 07ba63a1326..1ee5748a7b4 100644 --- a/sys-auth/elogind/elogind-241.3.ebuild +++ b/sys-auth/elogind/elogind-241.3.ebuild @@ -11,7 +11,7 @@ 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 arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" IUSE="+acl debug doc +pam +policykit selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/, sys-auth/elogind/files/
commit: d816d3be80d89febc53d32c8b240a4705ef1a6d6 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Jun 20 09:42:39 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Jun 20 09:42:39 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d816d3be sys-auth/elogind: Drop 239.4 Package-Manager: Portage-2.3.67, Repoman-2.3.15 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-auth/elogind/Manifest | 1 - sys-auth/elogind/elogind-239.4.ebuild | 129 - sys-auth/elogind/files/elogind-238.1-docs.patch| 23 .../elogind/files/elogind-239.3-broken-test.patch | 23 4 files changed, 176 deletions(-) diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index 8330d99e94a..ff7b0c59822 100644 --- a/sys-auth/elogind/Manifest +++ b/sys-auth/elogind/Manifest @@ -1,2 +1 @@ -DIST elogind-239.4.tar.gz 1183999 BLAKE2B 3a0aa216ee565ae8f3311b16af9752a99519254ac8737de2a44821e95d05b3e2d8b82af3d397367e8804d7bc45cb942859516f195848ba0317aa73891d77903b SHA512 84e9765d7c3039478b06a683870b37ec718724f1185b56c1b74885133283ad1678f3ca8a73510cb4b0777d099c54f59e927caaae7ae988abda803150b84cf8fc DIST elogind-241.3.tar.gz 1401391 BLAKE2B 90bc10af1b6d66bc6b6e15314cbc7005f270ebd04767a88d93605d81b199758c7f5423ea85f9810f8dfcde82c6c2b8094e2237cf2ca70a9dfc45a4a8e20b0439 SHA512 b33c0ed85c4a97216f8d56441207510be180258d4f4e5ff9dea07d59d53b84b03c27f5397f09214ce9fc880f38865e20d7c05b41255d4b762c33099b7ebb53eb diff --git a/sys-auth/elogind/elogind-239.4.ebuild b/sys-auth/elogind/elogind-239.4.ebuild deleted file mode 100644 index e2f9b8f930b..000 --- a/sys-auth/elogind/elogind-239.4.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# 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 arm64 ~ia64 ~ppc ~ppc64 ~sparc 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 ) -" - -DOCS=( src/libelogind/sd-bus/GVARIANT-SERIALIZATION ) - -PATCHES=( - "${FILESDIR}/${PN}-238.1-docs.patch" - "${FILESDIR}/${PN}-239.3-broken-test.patch" # bug 669862 -) - -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 /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" - -Dman=auto - -Dsmack=true - -Dcgroup-controller=openrc - -Ddefault-hierarchy=${cgroupmode} - -Ddefault-kill-user-processes=false - -Dacl=$(usex acl true 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 [[
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: b2bee94a067ccf6b118e19968768b40afb6e4340 Author: Mikle Kolyada gentoo org> AuthorDate: Thu Jun 20 09:09:46 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Thu Jun 20 09:09:46 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2bee94a sys-auth/elogind: arm stable wrt bug #685748 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 RepoMan-Options: --include-arches="arm" sys-auth/elogind/elogind-241.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-241.3.ebuild b/sys-auth/elogind/elogind-241.3.ebuild index 8ee99a8405f..07ba63a1326 100644 --- a/sys-auth/elogind/elogind-241.3.ebuild +++ b/sys-auth/elogind/elogind-241.3.ebuild @@ -11,7 +11,7 @@ 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 arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" IUSE="+acl debug doc +pam +policykit selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/files/, sys-auth/elogind/
commit: 86c5e7c2317030633642c15a88761fe766e8 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed May 15 09:35:34 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed May 15 10:37:52 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86c5e7c2 sys-auth/elogind: Drop 241.2 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-auth/elogind/Manifest | 1 - sys-auth/elogind/elogind-241.2.ebuild | 130 - .../elogind/files/elogind-241.2-unbreak-musl.patch | 41 --- 3 files changed, 172 deletions(-) diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index d69f01804a3..8330d99e94a 100644 --- a/sys-auth/elogind/Manifest +++ b/sys-auth/elogind/Manifest @@ -1,3 +1,2 @@ DIST elogind-239.4.tar.gz 1183999 BLAKE2B 3a0aa216ee565ae8f3311b16af9752a99519254ac8737de2a44821e95d05b3e2d8b82af3d397367e8804d7bc45cb942859516f195848ba0317aa73891d77903b SHA512 84e9765d7c3039478b06a683870b37ec718724f1185b56c1b74885133283ad1678f3ca8a73510cb4b0777d099c54f59e927caaae7ae988abda803150b84cf8fc -DIST elogind-241.2.tar.gz 1399508 BLAKE2B 4f4104785c629b1d7378439ab03e2bead800bbe2403120b9337e747aee5b5d0486cc893b49ddc972c833b2201c7eeef3b60e34b4f5c9cf1d6a89e9a487888a8a SHA512 7f4a822682856547d430f893bb55a9bf5fc2680aff1b31bb3f120f92ccb1d69b848cbba7f59edd3376d083b641d570bf9c56e62a789090e76e4b37dfb375995a DIST elogind-241.3.tar.gz 1401391 BLAKE2B 90bc10af1b6d66bc6b6e15314cbc7005f270ebd04767a88d93605d81b199758c7f5423ea85f9810f8dfcde82c6c2b8094e2237cf2ca70a9dfc45a4a8e20b0439 SHA512 b33c0ed85c4a97216f8d56441207510be180258d4f4e5ff9dea07d59d53b84b03c27f5397f09214ce9fc880f38865e20d7c05b41255d4b762c33099b7ebb53eb diff --git a/sys-auth/elogind/elogind-241.2.ebuild b/sys-auth/elogind/elogind-241.2.ebuild deleted file mode 100644 index 9e90bc76496..000 --- a/sys-auth/elogind/elogind-241.2.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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 arm64 ~ppc ~ppc64 ~sparc ~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 ) -" - -DOCS=( src/libelogind/sd-bus/GVARIANT-SERIALIZATION ) - -PATCHES=( - "${FILESDIR}/${PN}-241.2-unbreak-musl.patch" - "${FILESDIR}/${PN}-241.1-docs.patch" -) - -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 /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" - -Dman=auto - -Dsmack=true - -Dcgroup-controller=openrc - -Ddefault-hierarchy=${cgroupmode} - -Ddefault-kill-user-processes=false - -Dacl=$(usex acl 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+=(
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: 154fd0b8294a93491ff13058cc274c48a3b27131 Author: Mikle Kolyada gentoo org> AuthorDate: Mon May 13 09:37:29 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Mon May 13 09:37:29 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=154fd0b8 sys-auth/elogind: amd64 stable wrt bug #685748 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 RepoMan-Options: --include-arches="amd64" sys-auth/elogind/elogind-241.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-241.3.ebuild b/sys-auth/elogind/elogind-241.3.ebuild index 2106569fc21..8ee99a8405f 100644 --- a/sys-auth/elogind/elogind-241.3.ebuild +++ b/sys-auth/elogind/elogind-241.3.ebuild @@ -11,7 +11,7 @@ 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 arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" +KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" IUSE="+acl debug doc +pam +policykit selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/
commit: eed55405d20d702b6b15a95bd99e48462ea158dd Author: Aaron Bauman gentoo org> AuthorDate: Mon May 13 04:45:51 2019 + Commit: Aaron Bauman gentoo org> CommitDate: Mon May 13 04:45:51 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eed55405 sys-auth/elogind: arm64 stable wrt bug #685748 Signed-off-by: Aaron Bauman gentoo.org> sys-auth/elogind/elogind-241.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-auth/elogind/elogind-241.3.ebuild b/sys-auth/elogind/elogind-241.3.ebuild index f3a53cb4b0b..2106569fc21 100644 --- a/sys-auth/elogind/elogind-241.3.ebuild +++ b/sys-auth/elogind/elogind-241.3.ebuild @@ -11,7 +11,7 @@ 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 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" +KEYWORDS="~amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" IUSE="+acl debug doc +pam +policykit selinux" COMMON_DEPEND="