diff options
author | Sven Eden <sven.eden@gmx.de> | 2018-01-14 19:09:04 +0100 |
---|---|---|
committer | Sven Eden <sven.eden@gmx.de> | 2018-01-14 19:09:04 +0100 |
commit | 51819e795e7c509727147995787f5de909842793 (patch) | |
tree | a2855870ffc874f29d0ecb48af396c2e9dc2cc36 /sys-auth/elogind | |
parent | dev-util/codeblocks-9999-r1: Use x11-libs/wxGTK:3.0-gtk3 instead of x11-libs/... (diff) | |
download | seden-51819e795e7c509727147995787f5de909842793.tar.gz seden-51819e795e7c509727147995787f5de909842793.tar.bz2 seden-51819e795e7c509727147995787f5de909842793.zip |
sys-auth/elogind: Bump to 233.7 and 235.1 - Cleaned up the rest
Diffstat (limited to 'sys-auth/elogind')
-rw-r--r-- | sys-auth/elogind/Manifest | 7 | ||||
-rw-r--r-- | sys-auth/elogind/elogind-229.9999.ebuild | 106 | ||||
-rw-r--r-- | sys-auth/elogind/elogind-231.6.ebuild | 105 | ||||
-rw-r--r-- | sys-auth/elogind/elogind-231.9999.ebuild | 106 | ||||
-rw-r--r-- | sys-auth/elogind/elogind-232.5.ebuild | 105 | ||||
-rw-r--r-- | sys-auth/elogind/elogind-232.9999.ebuild | 106 | ||||
-rw-r--r-- | sys-auth/elogind/elogind-233.6.ebuild | 105 | ||||
-rw-r--r-- | sys-auth/elogind/elogind-233.7.ebuild (renamed from sys-auth/elogind/elogind-234.3.ebuild) | 17 | ||||
-rw-r--r-- | sys-auth/elogind/elogind-233.9999.ebuild | 106 | ||||
-rw-r--r-- | sys-auth/elogind/elogind-234.9999.ebuild | 106 | ||||
-rw-r--r-- | sys-auth/elogind/elogind-235.1.ebuild (renamed from sys-auth/elogind/elogind-229.8.ebuild) | 70 | ||||
-rw-r--r-- | sys-auth/elogind/elogind-9999.ebuild | 31 | ||||
-rw-r--r-- | sys-auth/elogind/files/elogind-235.1-docs.patch | 20 |
13 files changed, 102 insertions, 888 deletions
diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index 783ed10..65ca350 100644 --- a/sys-auth/elogind/Manifest +++ b/sys-auth/elogind/Manifest @@ -1,5 +1,2 @@ -DIST elogind-229.8.tar.gz 767750 SHA256 5b9af5dc1e2d2dcd4e4008ba0ff07581fdd6aa1a11e3ebee345ef1b16b491184 SHA512 bc30b9ed604aba4da1d7e743ab4d00bf26845a8febd78e1cf7031e609c1ab4d14d7460ccf0a3782bffcc1a887fc9a6f66cddc21820525a5b209f132e84747c87 WHIRLPOOL 90ae05602969259bbc41b548dd21022dcf70b53c22afcd812bb17d5578b888add90d6fe528f4fe30c045981922fd4285d35814056d9e3b9f600e2d4fe4d80c4e -DIST elogind-231.6.tar.gz 813666 SHA256 d57ab2f488284e5bc01c6b8d60bf3037e9b43abfc647daacbeb2501352cf0d14 SHA512 cf4c06b930f72fbc93ec253a1f0ba86ae67dc4b1e974a5c7fef3e3985b78cd3cf86b0e7c33261bf27acb347d551c05ab363455c963d5ce817cc5fcee4ad09629 WHIRLPOOL 81291aca139a0316ab200dc000846ab78f4ec262337840c65a8ecd7653e1f6c7a399c3fae335604148fc0c71e48644466b83919d68da364dbfd2023a7138a9f7 -DIST elogind-232.5.tar.gz 835373 SHA256 b8707534873c1a6198f865ef5d9450627c31f70685c97ffbb18c248ef96c9200 SHA512 40a717dd4ce581e08ce501384c7fbfb1a4830504931f0380fec048594fb6308bf3453806713c137f809538c506a9965ea8f35a2a858f27121b8342bb37745b2a WHIRLPOOL d94d0fdf1db70e72a13a710a7b4d5dce24df9ab2c40cbc1a90756cb4ca59bbec2329b3a92678bf6cabbb1b47ffaeda03110bf2ceeac459e8b851475d4ed3890a -DIST elogind-233.6.tar.gz 902277 SHA256 0efa2c6eb685000c9e0f29a8d7ee7b269c756f013ae83522568a25f6b249822d SHA512 390950893c37d90ee59438822261383a5d0913f5e4cfc82286c505f6db89b06b3d161c209c6ac5bb95e084402352299b7bdbd9c0faa573bb6f8a45309fc872f4 WHIRLPOOL 0b0534f061e319050fafd6450cf3a4a9ab5119069dff52e91c0f8b555bf630701c014d3990235a2cf1b4d224fa70bf934fab6525add63e13c9732f28fed31dfe -DIST elogind-234.3.tar.gz 970679 SHA256 d3a3f272256da3946b0ab2508b6d5a95ad71f0b9b57e509a2264551bb1a4484d SHA512 3aeb33a2c7ba8c75af29cc7844ad7a6fe51edb96a09e364798de62332b04bcb94cb36cd55986cbf517bcf61660b3265b18d5819102f8ab5ecea26738154e21cb WHIRLPOOL 758650da0ba3c6800cf8a81426e2c8f8148cff9d185e0bb7d61e04a227b9eca05a2c32538c1ec7573c0f4ba28fe85a32a374b958ecf547a78667c97c25bbc6df +DIST elogind-233.7.tar.gz 957308 SHA256 8854f29a53d1305dc1c264635b1e970cfcbcc32507af8ef35de4a9b447f79e0b SHA512 c4ca84d45c289131f2b9d698d0e010fb368da39e80a9a972822148509644727a5e420ec2c68dc896bd250e81bdb125b4d760b0a65a4444365c81af2da9555a78 WHIRLPOOL 597f43c47ff630ec408f99c3d7e88622fc179f542772d800af09691734882bede81ab2d54ea51de21de08be568500477e2688579f9d244ddc11bd282a6678fce +DIST elogind-235.1.tar.gz 975726 SHA256 75279a1c55c896a2fb4860aa186265030dbf1e058131505d4a663bbd17fa1d25 SHA512 96442d073f4437c4432419cfaed3dc6f0323fc6967ae01b64ee07ae9a91d99084ba0066825a723a8a58ffff4c0a47150d64d40ff4dcc15a6250423dd5c358c38 WHIRLPOOL f7080c47eba89911715f40866328245716895a30ef703bd5c0c74011765b410039e5f5516c9ece4bbf89479dbdffc788b58905e2d3cc9466bbeaae237a5a7e39 diff --git a/sys-auth/elogind/elogind-229.9999.ebuild b/sys-auth/elogind/elogind-229.9999.ebuild deleted file mode 100644 index a6a8498..0000000 --- a/sys-auth/elogind/elogind-229.9999.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools git-r3 linux-info pam udev - -DESCRIPTION="The systemd project's logind, extracted to a standalone package" -HOMEPAGE="https://github.com/elogind/elogind" -EGIT_REPO_URI="https://github.com/elogind/elogind.git" -EGIT_BRANCH="v229-stable" - -LICENSE="CC0-1.0 LGPL-2.1+ public-domain" -SLOT="0" -KEYWORDS="" -IUSE="acl debug pam policykit selinux" - -RDEPEND=" - sys-apps/util-linux - sys-libs/libcap - virtual/libudev:= - acl? ( sys-apps/acl ) - pam? ( virtual/pam ) - selinux? ( sys-libs/libselinux ) - !sys-apps/systemd -" -DEPEND="${RDEPEND} - 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 -" -PDEPEND=" - sys-apps/dbus - policykit? ( sys-auth/polkit ) -" - -PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" ) - -pkg_setup() { - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK - ~SIGNALFD ~TIMERFD" - - if use kernel_linux; then - linux-info_pkg_setup - fi -} - -src_prepare() { - default - eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch" -} - -src_configure() { - econf \ - --with-pamlibdir=$(getpam_mod_dir) \ - --with-udevrulesdir="$(get_udevdir)"/rules.d \ - --libdir="${EPREFIX}"/usr/$(get_libdir) \ - --with-rootlibdir="${EPREFIX}"/$(get_libdir) \ - --with-rootprefix="${EPREFIX}/" \ - --with-rootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind \ - --enable-smack \ - --disable-kdbus \ - --disable-lto \ - $(use_enable debug debug elogind) \ - $(use_enable acl) \ - $(use_enable pam) \ - $(use_enable selinux) -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die - - newinitd "${FILESDIR}"/${PN}.init ${PN} - - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die - newconfd ${PN}.conf ${PN} -} - -pkg_postinst() { - if [ "$(rc-config list boot | grep elogind)" != "" ]; then - ewarn "elogind is currently started from boot runlevel." - elif [ "$(rc-config list default | grep elogind)" != "" ]; then - ewarn "elogind is currently started from default runlevel." - ewarn "Please remove elogind from the default runlevel and" - ewarn "add it to the boot runlevel by:" - ewarn "# rc-update del elogind default" - ewarn "# rc-update add elogind boot" - else - ewarn "elogind is currently not started from any runlevel." - ewarn "You may add it to the boot runlevel by:" - ewarn "# rc-update add elogind boot" - fi - ewarn "Alternatively you can leave elogind out of any" - ewarn "runlevel. It will then be started automatically" - if use pam; then - ewarn "when the first service calls it via dbus, or the" - ewarn "first user logs into the system." - else - ewarn "when the first service calls it via dbus." - fi -} diff --git a/sys-auth/elogind/elogind-231.6.ebuild b/sys-auth/elogind/elogind-231.6.ebuild deleted file mode 100644 index 9f4a48a..0000000 --- a/sys-auth/elogind/elogind-231.6.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools linux-info pam udev - -DESCRIPTION="The systemd project's logind, extracted to a standalone package" -HOMEPAGE="https://github.com/elogind/elogind" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="CC0-1.0 LGPL-2.1+ public-domain" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="acl debug pam policykit selinux" - -RDEPEND=" - sys-apps/util-linux - sys-libs/libcap - virtual/libudev:= - acl? ( sys-apps/acl ) - pam? ( virtual/pam ) - selinux? ( sys-libs/libselinux ) - !sys-apps/systemd -" -DEPEND="${RDEPEND} - 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 -" -PDEPEND=" - sys-apps/dbus - policykit? ( sys-auth/polkit ) -" - -PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" ) - -pkg_setup() { - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK - ~SIGNALFD ~TIMERFD" - - if use kernel_linux; then - linux-info_pkg_setup - fi -} - -src_prepare() { - default - eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch" -} - -src_configure() { - econf \ - --with-pamlibdir=$(getpam_mod_dir) \ - --with-udevrulesdir="$(get_udevdir)"/rules.d \ - --libdir="${EPREFIX}"/usr/$(get_libdir) \ - --with-rootlibdir="${EPREFIX}"/$(get_libdir) \ - --with-rootprefix="${EPREFIX}/" \ - --with-rootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind \ - --enable-smack \ - --with-cgroup-controller=openrc \ - --disable-lto \ - $(use_enable debug debug elogind) \ - $(use_enable acl) \ - $(use_enable pam) \ - $(use_enable selinux) -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die - - newinitd "${FILESDIR}"/${PN}.init ${PN} - - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die - newconfd ${PN}.conf ${PN} -} - -pkg_postinst() { - if [ "$(rc-config list boot | grep elogind)" != "" ]; then - ewarn "elogind is currently started from boot runlevel." - elif [ "$(rc-config list default | grep elogind)" != "" ]; then - ewarn "elogind is currently started from default runlevel." - ewarn "Please remove elogind from the default runlevel and" - ewarn "add it to the boot runlevel by:" - ewarn "# rc-update del elogind default" - ewarn "# rc-update add elogind boot" - else - ewarn "elogind is currently not started from any runlevel." - ewarn "You may add it to the boot runlevel by:" - ewarn "# rc-update add elogind boot" - fi - ewarn "Alternatively you can leave elogind out of any" - ewarn "runlevel. It will then be started automatically" - if use pam; then - ewarn "when the first service calls it via dbus, or the" - ewarn "first user logs into the system." - else - ewarn "when the first service calls it via dbus." - fi -} diff --git a/sys-auth/elogind/elogind-231.9999.ebuild b/sys-auth/elogind/elogind-231.9999.ebuild deleted file mode 100644 index 7241cf8..0000000 --- a/sys-auth/elogind/elogind-231.9999.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools git-r3 linux-info pam udev - -DESCRIPTION="The systemd project's logind, extracted to a standalone package" -HOMEPAGE="https://github.com/elogind/elogind" -EGIT_REPO_URI="https://github.com/elogind/elogind.git" -EGIT_BRANCH="v231-stable" - -LICENSE="CC0-1.0 LGPL-2.1+ public-domain" -SLOT="0" -KEYWORDS="" -IUSE="acl debug pam policykit selinux" - -RDEPEND=" - sys-apps/util-linux - sys-libs/libcap - virtual/libudev:= - acl? ( sys-apps/acl ) - pam? ( virtual/pam ) - selinux? ( sys-libs/libselinux ) - !sys-apps/systemd -" -DEPEND="${RDEPEND} - 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 -" -PDEPEND=" - sys-apps/dbus - policykit? ( sys-auth/polkit ) -" - -PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" ) - -pkg_setup() { - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK - ~SIGNALFD ~TIMERFD" - - if use kernel_linux; then - linux-info_pkg_setup - fi -} - -src_prepare() { - default - eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch" -} - -src_configure() { - econf \ - --with-pamlibdir=$(getpam_mod_dir) \ - --with-udevrulesdir="$(get_udevdir)"/rules.d \ - --libdir="${EPREFIX}"/usr/$(get_libdir) \ - --with-rootlibdir="${EPREFIX}"/$(get_libdir) \ - --with-rootprefix="${EPREFIX}/" \ - --with-rootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind \ - --enable-smack \ - --with-cgroup-controller=openrc \ - --disable-lto \ - $(use_enable debug debug elogind) \ - $(use_enable acl) \ - $(use_enable pam) \ - $(use_enable selinux) -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die - - newinitd "${FILESDIR}"/${PN}.init ${PN} - - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die - newconfd ${PN}.conf ${PN} -} - -pkg_postinst() { - if [ "$(rc-config list boot | grep elogind)" != "" ]; then - ewarn "elogind is currently started from boot runlevel." - elif [ "$(rc-config list default | grep elogind)" != "" ]; then - ewarn "elogind is currently started from default runlevel." - ewarn "Please remove elogind from the default runlevel and" - ewarn "add it to the boot runlevel by:" - ewarn "# rc-update del elogind default" - ewarn "# rc-update add elogind boot" - else - ewarn "elogind is currently not started from any runlevel." - ewarn "You may add it to the boot runlevel by:" - ewarn "# rc-update add elogind boot" - fi - ewarn "Alternatively you can leave elogind out of any" - ewarn "runlevel. It will then be started automatically" - if use pam; then - ewarn "when the first service calls it via dbus, or the" - ewarn "first user logs into the system." - else - ewarn "when the first service calls it via dbus." - fi -} diff --git a/sys-auth/elogind/elogind-232.5.ebuild b/sys-auth/elogind/elogind-232.5.ebuild deleted file mode 100644 index 9f4a48a..0000000 --- a/sys-auth/elogind/elogind-232.5.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools linux-info pam udev - -DESCRIPTION="The systemd project's logind, extracted to a standalone package" -HOMEPAGE="https://github.com/elogind/elogind" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="CC0-1.0 LGPL-2.1+ public-domain" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="acl debug pam policykit selinux" - -RDEPEND=" - sys-apps/util-linux - sys-libs/libcap - virtual/libudev:= - acl? ( sys-apps/acl ) - pam? ( virtual/pam ) - selinux? ( sys-libs/libselinux ) - !sys-apps/systemd -" -DEPEND="${RDEPEND} - 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 -" -PDEPEND=" - sys-apps/dbus - policykit? ( sys-auth/polkit ) -" - -PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" ) - -pkg_setup() { - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK - ~SIGNALFD ~TIMERFD" - - if use kernel_linux; then - linux-info_pkg_setup - fi -} - -src_prepare() { - default - eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch" -} - -src_configure() { - econf \ - --with-pamlibdir=$(getpam_mod_dir) \ - --with-udevrulesdir="$(get_udevdir)"/rules.d \ - --libdir="${EPREFIX}"/usr/$(get_libdir) \ - --with-rootlibdir="${EPREFIX}"/$(get_libdir) \ - --with-rootprefix="${EPREFIX}/" \ - --with-rootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind \ - --enable-smack \ - --with-cgroup-controller=openrc \ - --disable-lto \ - $(use_enable debug debug elogind) \ - $(use_enable acl) \ - $(use_enable pam) \ - $(use_enable selinux) -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die - - newinitd "${FILESDIR}"/${PN}.init ${PN} - - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die - newconfd ${PN}.conf ${PN} -} - -pkg_postinst() { - if [ "$(rc-config list boot | grep elogind)" != "" ]; then - ewarn "elogind is currently started from boot runlevel." - elif [ "$(rc-config list default | grep elogind)" != "" ]; then - ewarn "elogind is currently started from default runlevel." - ewarn "Please remove elogind from the default runlevel and" - ewarn "add it to the boot runlevel by:" - ewarn "# rc-update del elogind default" - ewarn "# rc-update add elogind boot" - else - ewarn "elogind is currently not started from any runlevel." - ewarn "You may add it to the boot runlevel by:" - ewarn "# rc-update add elogind boot" - fi - ewarn "Alternatively you can leave elogind out of any" - ewarn "runlevel. It will then be started automatically" - if use pam; then - ewarn "when the first service calls it via dbus, or the" - ewarn "first user logs into the system." - else - ewarn "when the first service calls it via dbus." - fi -} diff --git a/sys-auth/elogind/elogind-232.9999.ebuild b/sys-auth/elogind/elogind-232.9999.ebuild deleted file mode 100644 index e279967..0000000 --- a/sys-auth/elogind/elogind-232.9999.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools git-r3 linux-info pam udev - -DESCRIPTION="The systemd project's logind, extracted to a standalone package" -HOMEPAGE="https://github.com/elogind/elogind" -EGIT_REPO_URI="https://github.com/elogind/elogind.git" -EGIT_BRANCH="v232-stable" - -LICENSE="CC0-1.0 LGPL-2.1+ public-domain" -SLOT="0" -KEYWORDS="" -IUSE="acl debug pam policykit selinux" - -RDEPEND=" - sys-apps/util-linux - sys-libs/libcap - virtual/libudev:= - acl? ( sys-apps/acl ) - pam? ( virtual/pam ) - selinux? ( sys-libs/libselinux ) - !sys-apps/systemd -" -DEPEND="${RDEPEND} - 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 -" -PDEPEND=" - sys-apps/dbus - policykit? ( sys-auth/polkit ) -" - -PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" ) - -pkg_setup() { - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK - ~SIGNALFD ~TIMERFD" - - if use kernel_linux; then - linux-info_pkg_setup - fi -} - -src_prepare() { - default - eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch" -} - -src_configure() { - econf \ - --with-pamlibdir=$(getpam_mod_dir) \ - --with-udevrulesdir="$(get_udevdir)"/rules.d \ - --libdir="${EPREFIX}"/usr/$(get_libdir) \ - --with-rootlibdir="${EPREFIX}"/$(get_libdir) \ - --with-rootprefix="${EPREFIX}/" \ - --with-rootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind \ - --enable-smack \ - --with-cgroup-controller=openrc \ - --disable-lto \ - $(use_enable debug debug elogind) \ - $(use_enable acl) \ - $(use_enable pam) \ - $(use_enable selinux) -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die - - newinitd "${FILESDIR}"/${PN}.init ${PN} - - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die - newconfd ${PN}.conf ${PN} -} - -pkg_postinst() { - if [ "$(rc-config list boot | grep elogind)" != "" ]; then - ewarn "elogind is currently started from boot runlevel." - elif [ "$(rc-config list default | grep elogind)" != "" ]; then - ewarn "elogind is currently started from default runlevel." - ewarn "Please remove elogind from the default runlevel and" - ewarn "add it to the boot runlevel by:" - ewarn "# rc-update del elogind default" - ewarn "# rc-update add elogind boot" - else - ewarn "elogind is currently not started from any runlevel." - ewarn "You may add it to the boot runlevel by:" - ewarn "# rc-update add elogind boot" - fi - ewarn "Alternatively you can leave elogind out of any" - ewarn "runlevel. It will then be started automatically" - if use pam; then - ewarn "when the first service calls it via dbus, or the" - ewarn "first user logs into the system." - else - ewarn "when the first service calls it via dbus." - fi -} diff --git a/sys-auth/elogind/elogind-233.6.ebuild b/sys-auth/elogind/elogind-233.6.ebuild deleted file mode 100644 index 9f4a48a..0000000 --- a/sys-auth/elogind/elogind-233.6.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools linux-info pam udev - -DESCRIPTION="The systemd project's logind, extracted to a standalone package" -HOMEPAGE="https://github.com/elogind/elogind" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="CC0-1.0 LGPL-2.1+ public-domain" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="acl debug pam policykit selinux" - -RDEPEND=" - sys-apps/util-linux - sys-libs/libcap - virtual/libudev:= - acl? ( sys-apps/acl ) - pam? ( virtual/pam ) - selinux? ( sys-libs/libselinux ) - !sys-apps/systemd -" -DEPEND="${RDEPEND} - 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 -" -PDEPEND=" - sys-apps/dbus - policykit? ( sys-auth/polkit ) -" - -PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" ) - -pkg_setup() { - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK - ~SIGNALFD ~TIMERFD" - - if use kernel_linux; then - linux-info_pkg_setup - fi -} - -src_prepare() { - default - eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch" -} - -src_configure() { - econf \ - --with-pamlibdir=$(getpam_mod_dir) \ - --with-udevrulesdir="$(get_udevdir)"/rules.d \ - --libdir="${EPREFIX}"/usr/$(get_libdir) \ - --with-rootlibdir="${EPREFIX}"/$(get_libdir) \ - --with-rootprefix="${EPREFIX}/" \ - --with-rootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind \ - --enable-smack \ - --with-cgroup-controller=openrc \ - --disable-lto \ - $(use_enable debug debug elogind) \ - $(use_enable acl) \ - $(use_enable pam) \ - $(use_enable selinux) -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die - - newinitd "${FILESDIR}"/${PN}.init ${PN} - - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die - newconfd ${PN}.conf ${PN} -} - -pkg_postinst() { - if [ "$(rc-config list boot | grep elogind)" != "" ]; then - ewarn "elogind is currently started from boot runlevel." - elif [ "$(rc-config list default | grep elogind)" != "" ]; then - ewarn "elogind is currently started from default runlevel." - ewarn "Please remove elogind from the default runlevel and" - ewarn "add it to the boot runlevel by:" - ewarn "# rc-update del elogind default" - ewarn "# rc-update add elogind boot" - else - ewarn "elogind is currently not started from any runlevel." - ewarn "You may add it to the boot runlevel by:" - ewarn "# rc-update add elogind boot" - fi - ewarn "Alternatively you can leave elogind out of any" - ewarn "runlevel. It will then be started automatically" - if use pam; then - ewarn "when the first service calls it via dbus, or the" - ewarn "first user logs into the system." - else - ewarn "when the first service calls it via dbus." - fi -} diff --git a/sys-auth/elogind/elogind-234.3.ebuild b/sys-auth/elogind/elogind-233.7.ebuild index 9f4a48a..c56a536 100644 --- a/sys-auth/elogind/elogind-234.3.ebuild +++ b/sys-auth/elogind/elogind-233.7.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit autotools linux-info pam udev +inherit autotools linux-info pam udev xdg-utils DESCRIPTION="The systemd project's logind, extracted to a standalone package" HOMEPAGE="https://github.com/elogind/elogind" @@ -14,16 +14,15 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~x86" IUSE="acl debug pam policykit selinux" -RDEPEND=" +COMMON_DEPEND=" sys-apps/util-linux sys-libs/libcap virtual/libudev:= acl? ( sys-apps/acl ) pam? ( virtual/pam ) selinux? ( sys-libs/libselinux ) - !sys-apps/systemd " -DEPEND="${RDEPEND} +DEPEND="${COMMON_DEPEND} app-text/docbook-xml-dtd:4.2 app-text/docbook-xml-dtd:4.5 app-text/docbook-xsl-stylesheets @@ -32,6 +31,9 @@ DEPEND="${RDEPEND} sys-devel/libtool virtual/pkgconfig " +RDEPEND="${COMMON_DEPEND} + !sys-apps/systemd +" PDEPEND=" sys-apps/dbus policykit? ( sys-auth/polkit ) @@ -40,8 +42,7 @@ PDEPEND=" PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" ) pkg_setup() { - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK - ~SIGNALFD ~TIMERFD" + local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD" if use kernel_linux; then linux-info_pkg_setup @@ -51,6 +52,7 @@ pkg_setup() { src_prepare() { default eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch" + xdg_environment_reset } src_configure() { @@ -64,6 +66,7 @@ src_configure() { --enable-smack \ --with-cgroup-controller=openrc \ --disable-lto \ + --without-kill-user-processes \ $(use_enable debug debug elogind) \ $(use_enable acl) \ $(use_enable pam) \ diff --git a/sys-auth/elogind/elogind-233.9999.ebuild b/sys-auth/elogind/elogind-233.9999.ebuild deleted file mode 100644 index c126448..0000000 --- a/sys-auth/elogind/elogind-233.9999.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools git-r3 linux-info pam udev - -DESCRIPTION="The systemd project's logind, extracted to a standalone package" -HOMEPAGE="https://github.com/elogind/elogind" -EGIT_REPO_URI="https://github.com/elogind/elogind.git" -EGIT_BRANCH="v233-stable" - -LICENSE="CC0-1.0 LGPL-2.1+ public-domain" -SLOT="0" -KEYWORDS="" -IUSE="acl debug pam policykit selinux" - -RDEPEND=" - sys-apps/util-linux - sys-libs/libcap - virtual/libudev:= - acl? ( sys-apps/acl ) - pam? ( virtual/pam ) - selinux? ( sys-libs/libselinux ) - !sys-apps/systemd -" -DEPEND="${RDEPEND} - 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 -" -PDEPEND=" - sys-apps/dbus - policykit? ( sys-auth/polkit ) -" - -PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" ) - -pkg_setup() { - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK - ~SIGNALFD ~TIMERFD" - - if use kernel_linux; then - linux-info_pkg_setup - fi -} - -src_prepare() { - default - eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch" -} - -src_configure() { - econf \ - --with-pamlibdir=$(getpam_mod_dir) \ - --with-udevrulesdir="$(get_udevdir)"/rules.d \ - --libdir="${EPREFIX}"/usr/$(get_libdir) \ - --with-rootlibdir="${EPREFIX}"/$(get_libdir) \ - --with-rootprefix="${EPREFIX}/" \ - --with-rootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind \ - --enable-smack \ - --with-cgroup-controller=openrc \ - --disable-lto \ - $(use_enable debug debug elogind) \ - $(use_enable acl) \ - $(use_enable pam) \ - $(use_enable selinux) -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die - - newinitd "${FILESDIR}"/${PN}.init ${PN} - - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die - newconfd ${PN}.conf ${PN} -} - -pkg_postinst() { - if [ "$(rc-config list boot | grep elogind)" != "" ]; then - ewarn "elogind is currently started from boot runlevel." - elif [ "$(rc-config list default | grep elogind)" != "" ]; then - ewarn "elogind is currently started from default runlevel." - ewarn "Please remove elogind from the default runlevel and" - ewarn "add it to the boot runlevel by:" - ewarn "# rc-update del elogind default" - ewarn "# rc-update add elogind boot" - else - ewarn "elogind is currently not started from any runlevel." - ewarn "You may add it to the boot runlevel by:" - ewarn "# rc-update add elogind boot" - fi - ewarn "Alternatively you can leave elogind out of any" - ewarn "runlevel. It will then be started automatically" - if use pam; then - ewarn "when the first service calls it via dbus, or the" - ewarn "first user logs into the system." - else - ewarn "when the first service calls it via dbus." - fi -} diff --git a/sys-auth/elogind/elogind-234.9999.ebuild b/sys-auth/elogind/elogind-234.9999.ebuild deleted file mode 100644 index d6168d6..0000000 --- a/sys-auth/elogind/elogind-234.9999.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools git-r3 linux-info pam udev - -DESCRIPTION="The systemd project's logind, extracted to a standalone package" -HOMEPAGE="https://github.com/elogind/elogind" -EGIT_REPO_URI="https://github.com/elogind/elogind.git" -EGIT_BRANCH="v234-stable" - -LICENSE="CC0-1.0 LGPL-2.1+ public-domain" -SLOT="0" -KEYWORDS="" -IUSE="acl debug pam policykit selinux" - -RDEPEND=" - sys-apps/util-linux - sys-libs/libcap - virtual/libudev:= - acl? ( sys-apps/acl ) - pam? ( virtual/pam ) - selinux? ( sys-libs/libselinux ) - !sys-apps/systemd -" -DEPEND="${RDEPEND} - 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 -" -PDEPEND=" - sys-apps/dbus - policykit? ( sys-auth/polkit ) -" - -PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" ) - -pkg_setup() { - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK - ~SIGNALFD ~TIMERFD" - - if use kernel_linux; then - linux-info_pkg_setup - fi -} - -src_prepare() { - default - eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch" -} - -src_configure() { - econf \ - --with-pamlibdir=$(getpam_mod_dir) \ - --with-udevrulesdir="$(get_udevdir)"/rules.d \ - --libdir="${EPREFIX}"/usr/$(get_libdir) \ - --with-rootlibdir="${EPREFIX}"/$(get_libdir) \ - --with-rootprefix="${EPREFIX}/" \ - --with-rootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind \ - --enable-smack \ - --with-cgroup-controller=openrc \ - --disable-lto \ - $(use_enable debug debug elogind) \ - $(use_enable acl) \ - $(use_enable pam) \ - $(use_enable selinux) -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die - - newinitd "${FILESDIR}"/${PN}.init ${PN} - - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die - newconfd ${PN}.conf ${PN} -} - -pkg_postinst() { - if [ "$(rc-config list boot | grep elogind)" != "" ]; then - ewarn "elogind is currently started from boot runlevel." - elif [ "$(rc-config list default | grep elogind)" != "" ]; then - ewarn "elogind is currently started from default runlevel." - ewarn "Please remove elogind from the default runlevel and" - ewarn "add it to the boot runlevel by:" - ewarn "# rc-update del elogind default" - ewarn "# rc-update add elogind boot" - else - ewarn "elogind is currently not started from any runlevel." - ewarn "You may add it to the boot runlevel by:" - ewarn "# rc-update add elogind boot" - fi - ewarn "Alternatively you can leave elogind out of any" - ewarn "runlevel. It will then be started automatically" - if use pam; then - ewarn "when the first service calls it via dbus, or the" - ewarn "first user logs into the system." - else - ewarn "when the first service calls it via dbus." - fi -} diff --git a/sys-auth/elogind/elogind-229.8.ebuild b/sys-auth/elogind/elogind-235.1.ebuild index 87ccf72..d6c31d6 100644 --- a/sys-auth/elogind/elogind-229.8.ebuild +++ b/sys-auth/elogind/elogind-235.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit autotools linux-info pam udev +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" @@ -12,18 +12,17 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="CC0-1.0 LGPL-2.1+ public-domain" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" -IUSE="acl debug pam policykit selinux" +IUSE="+acl debug doc +pam +policykit selinux" -RDEPEND=" +COMMON_DEPEND=" sys-apps/util-linux sys-libs/libcap virtual/libudev:= acl? ( sys-apps/acl ) pam? ( virtual/pam ) selinux? ( sys-libs/libselinux ) - !sys-apps/systemd " -DEPEND="${RDEPEND} +DEPEND="${COMMON_DEPEND} app-text/docbook-xml-dtd:4.2 app-text/docbook-xml-dtd:4.5 app-text/docbook-xsl-stylesheets @@ -32,16 +31,18 @@ DEPEND="${RDEPEND} sys-devel/libtool virtual/pkgconfig " +RDEPEND="${COMMON_DEPEND} + !sys-apps/systemd +" PDEPEND=" sys-apps/dbus policykit? ( sys-auth/polkit ) " -PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" ) +PATCHES=( "${FILESDIR}/${PN}-235.1-docs.patch" ) pkg_setup() { - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK - ~SIGNALFD ~TIMERFD" + local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD" if use kernel_linux; then linux-info_pkg_setup @@ -50,29 +51,48 @@ pkg_setup() { src_prepare() { default - eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch" + xdg_environment_reset } src_configure() { - econf \ - --with-pamlibdir=$(getpam_mod_dir) \ - --with-udevrulesdir="$(get_udevdir)"/rules.d \ + local emesonargs cgroupmode rccgroupmode + + rccgroupmode="$(grep rc_cgroup_mode /etc/rc.conf | cut -d '"' -f 2)" + cgroupmode="legacy" + + if [ "xhybrid" = "x${rccgroupmode}" ] ; then + cgroupmode="hybrid" + elif [ "xunified" = "x${rccgroupmode}" ] ; then + cgroupmode="unified" + fi + + emesonargs=( + -Ddocdir="${EPREFIX}/usr/share/doc/${P}" \ + -Dhtmldir="${EPREFIX}/usr/share/doc/${P}/html" \ + -Dpamlibdir=$(getpam_mod_dir) \ + -Dudevrulesdir="$(get_udevdir)"/rules.d \ --libdir="${EPREFIX}"/usr/$(get_libdir) \ - --with-rootlibdir="${EPREFIX}"/$(get_libdir) \ - --with-rootprefix="${EPREFIX}/" \ - --with-rootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind \ - --enable-smack \ - --disable-kdbus \ - --disable-lto \ - $(use_enable debug debug elogind) \ - $(use_enable acl) \ - $(use_enable pam) \ - $(use_enable selinux) + -Drootlibdir="${EPREFIX}"/$(get_libdir) \ + -Drootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind \ + -Drootprefix="${EPREFIX}/" \ + -Dsmack=true \ + -Dman=auto \ + -Dhtml=$(usex doc auto false) \ + -Dcgroup-controller=openrc \ + -Ddefault-hierarchy=${cgroupmode} \ + -Ddebug=$(usex debug elogind false) \ + --buildtype $(usex debug debug release) \ + -Dacl=$(usex acl true false) \ + -Dpam=$(usex pam true false) \ + -Dselinux=$(usex selinux true false) + -Dbashcompletiondir="${EPREFIX}/usr/share/bash-completion/completions" \ + -Dzsh-completion="${EPREFIX}/usr/share/zsh/site-functions" \ + ) + meson_src_configure } src_install() { - default - find "${D}" -name '*.la' -delete || die + meson_src_install newinitd "${FILESDIR}"/${PN}.init ${PN} diff --git a/sys-auth/elogind/elogind-9999.ebuild b/sys-auth/elogind/elogind-9999.ebuild index 92617eb..bc5bfca 100644 --- a/sys-auth/elogind/elogind-9999.ebuild +++ b/sys-auth/elogind/elogind-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit git-r3 linux-info meson pam udev +inherit git-r3 linux-info meson pam udev xdg-utils DESCRIPTION="The systemd project's logind, extracted to a standalone package" HOMEPAGE="https://github.com/elogind/elogind" @@ -15,14 +15,13 @@ SLOT="0" KEYWORDS="" IUSE="+acl debug doc +pam +policykit selinux" -RDEPEND=" +COMMON_DEPEND=" sys-apps/util-linux sys-libs/libcap virtual/libudev:= acl? ( sys-apps/acl ) pam? ( virtual/pam ) selinux? ( sys-libs/libselinux ) - !sys-apps/systemd " DEPEND="${RDEPEND} app-text/docbook-xml-dtd:4.2 @@ -34,11 +33,16 @@ DEPEND="${RDEPEND} >=dev-util/ninja-1.7.2 virtual/pkgconfig " +RDEPEND="${COMMON_DEPEND} + !sys-apps/systemd +" PDEPEND=" sys-apps/dbus policykit? ( sys-auth/polkit ) " +PATCHES=( "${FILESDIR}/${PN}-235.1-docs.patch" ) + pkg_setup() { local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK ~SIGNALFD ~TIMERFD" @@ -48,8 +52,23 @@ pkg_setup() { fi } +src_prepare() { + default + xdg_environment_reset +} + src_configure() { - local emesonargs + local emesonargs cgroupmode rccgroupmode + + rccgroupmode="$(grep rc_cgroup_mode /etc/rc.conf | cut -d '"' -f 2)" + cgroupmode="legacy" + + if [ "xhybrid" = "x${rccgroupmode}" ] ; then + cgroupmode="hybrid" + elif [ "xunified" = "x${rccgroupmode}" ] ; then + cgroupmode="unified" + fi + emesonargs=( -Ddocdir="${EPREFIX}/usr/share/doc/${P}" \ -Dhtmldir="${EPREFIX}/usr/share/doc/${P}/html" \ @@ -63,7 +82,7 @@ src_configure() { -Dman=auto \ -Dhtml=$(usex doc auto false) \ -Dcgroup-controller=openrc \ - -Ddefault-hierarchy=legacy \ + -Ddefault-hierarchy=${cgroupmode} \ -Ddebug=$(usex debug elogind false) \ --buildtype $(usex debug debug release) \ -Dacl=$(usex acl true false) \ diff --git a/sys-auth/elogind/files/elogind-235.1-docs.patch b/sys-auth/elogind/files/elogind-235.1-docs.patch new file mode 100644 index 0000000..bb28bf4 --- /dev/null +++ b/sys-auth/elogind/files/elogind-235.1-docs.patch @@ -0,0 +1,20 @@ +--- a/meson.build 2018-01-14 18:59:36.141461154 +0100 ++++ b/meson.build 2018-01-14 19:00:46.208461781 +0100 +@@ -2634,16 +2634,7 @@ + # install_data('modprobe.d/systemd.conf', + # install_dir : modprobedir) + #endif // 0 +-install_data('README', +- 'NEWS', +- 'CODING_STYLE', +-#if 0 /// UNNEEDED by elogind +-# 'DISTRO_PORTING', +-# 'ENVIRONMENT.md', +-#endif // 0 +- 'LICENSE.GPL2', +- 'LICENSE.LGPL2.1', +- 'src/libelogind/sd-bus/GVARIANT-SERIALIZATION', ++install_data('src/libelogind/sd-bus/GVARIANT-SERIALIZATION', + install_dir : docdir) + + meson.add_install_script('sh', '-c', mkdir_p.format(systemdstatedir)) |