diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-01-10 10:58:51 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-01-10 11:00:18 +0100 |
commit | 4797314667201f17ea79d75f790d023d3aa34cbd (patch) | |
tree | 6c8d7ba941de796507fd59ddfdcaf9b1f49e4e78 /sys-auth | |
parent | sys-auth/elogind: Drop bogus SECURITY_SMACK check (diff) | |
download | gentoo-4797314667201f17ea79d75f790d023d3aa34cbd.tar.gz gentoo-4797314667201f17ea79d75f790d023d3aa34cbd.tar.bz2 gentoo-4797314667201f17ea79d75f790d023d3aa34cbd.zip |
sys-auth/elogind: Drop old
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/elogind/Manifest | 1 | ||||
-rw-r--r-- | sys-auth/elogind/elogind-233.7-r1.ebuild | 113 | ||||
-rw-r--r-- | sys-auth/elogind/files/elogind-233.7-xlocale.h.patch | 27 |
3 files changed, 0 insertions, 141 deletions
diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index 70f5c6807642..881f2e6c750d 100644 --- a/sys-auth/elogind/Manifest +++ b/sys-auth/elogind/Manifest @@ -1,2 +1 @@ -DIST elogind-233.7.tar.gz 957308 BLAKE2B 65361c349771bdb3e28b417e5f5c180505209f215edce316e8131bdc78cb7a1b56c0285df8aa3fd6998c6ea2c349d9892a4f791b59f9ae245819492783099d61 SHA512 c4ca84d45c289131f2b9d698d0e010fb368da39e80a9a972822148509644727a5e420ec2c68dc896bd250e81bdb125b4d760b0a65a4444365c81af2da9555a78 DIST elogind-234.4.tar.gz 973370 BLAKE2B 4fe00d2e22e3f94dfb6385fe61825be72ad2200f1368807ea816a971104cf384e3508ecf2877fa08394c6d0259874b2ceb7c4014f9e861dcd3b19c01bcd04602 SHA512 2df4fa318074d4f5e5dbba353cf817068a2703ffed40cdeae4cba2dea4ee143d1c5fc076b19419f1c4299392088c2c14b430d8aa1ded03b62117311802305d5e diff --git a/sys-auth/elogind/elogind-233.7-r1.ebuild b/sys-auth/elogind/elogind-233.7-r1.ebuild deleted file mode 100644 index bd3cac33ad8b..000000000000 --- a/sys-auth/elogind/elogind-233.7-r1.ebuild +++ /dev/null @@ -1,113 +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 xdg-utils - -DESCRIPTION="The systemd project's logind, extracted to a standalone package" -HOMEPAGE="https://github.com/elogind/elogind" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="CC0-1.0 LGPL-2.1+ public-domain" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="acl debug 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 ) - !sys-apps/systemd -" -DEPEND="${COMMON_DEPEND} - app-text/docbook-xml-dtd:4.2 - app-text/docbook-xml-dtd:4.5 - app-text/docbook-xsl-stylesheets - dev-util/gperf - dev-util/intltool - sys-devel/libtool - virtual/pkgconfig -" -RDEPEND="${COMMON_DEPEND} - !sys-apps/systemd -" -PDEPEND=" - sys-apps/dbus - policykit? ( sys-auth/polkit ) -" - -PATCHES=( - "${FILESDIR}/${PN}-226.4-docs.patch" - "${FILESDIR}/${P}-xlocale.h.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" - xdg_environment_reset -} - -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 \ - --without-kill-user-processes \ - $(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/files/elogind-233.7-xlocale.h.patch b/sys-auth/elogind/files/elogind-233.7-xlocale.h.patch deleted file mode 100644 index c95890aac405..000000000000 --- a/sys-auth/elogind/files/elogind-233.7-xlocale.h.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 96eb328e90fa272a66b2feb0bfb57c73154dbd9c Mon Sep 17 00:00:00 2001 -From: Matija Skala <mskala@gmx.com> -Date: Wed, 15 Mar 2017 13:21:10 +0100 -Subject: [PATCH] fix includes - -linux/sockios.h is needed for the SIOCGSTAMPNS macro - -xlocale.h is included indirectly in glibc and doesn't even exist in -other libcs ---- - src/basic/parse-util.c | 3 --- - 1 file changed, 3 deletions(-) - -diff --git a/src/basic/parse-util.c b/src/basic/parse-util.c -index cfdb29aba..c38e14d96 100644 ---- a/src/basic/parse-util.c -+++ b/src/basic/parse-util.c -@@ -23,9 +23,6 @@ - #include <stdio.h> - #include <stdlib.h> - #include <string.h> --#if defined(__GLIBC__) --# include <xlocale.h> --#endif // defined(__GLIBC__) - - #include "alloc-util.h" - //#include "extract-word.h" |