aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-01-13 23:09:35 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-01-14 00:04:24 +0100
commitbf18ada760370fa04f60313e0ea26ef336bc1ed1 (patch)
treee75ff19569f45b47c7c95d3481899d0424449752 /sys-auth
parentsys-auth/elogind: Pin gperf dep to 3.0*, fix install location (diff)
downloadkde-bf18ada760370fa04f60313e0ea26ef336bc1ed1.tar.gz
kde-bf18ada760370fa04f60313e0ea26ef336bc1ed1.tar.bz2
kde-bf18ada760370fa04f60313e0ea26ef336bc1ed1.zip
sys-auth/elogind: Drop old
Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/elogind/elogind-219.12-r3.ebuild90
1 files changed, 0 insertions, 90 deletions
diff --git a/sys-auth/elogind/elogind-219.12-r3.ebuild b/sys-auth/elogind/elogind-219.12-r3.ebuild
deleted file mode 100644
index bd3c660f1e..0000000000
--- a/sys-auth/elogind/elogind-219.12-r3.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-inherit autotools linux-info pam udev
-
-DESCRIPTION="The systemd project's logind, extracted to a standalone package"
-HOMEPAGE="https://github.com/wingo/elogind"
-SRC_URI="https://github.com/wingo/elogind/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 apparmor pam policykit selinux +seccomp"
-
-COMMON_DEPEND="
- sys-libs/libcap
- sys-apps/util-linux
- virtual/libudev:=
- acl? ( sys-apps/acl )
- apparmor? ( sys-libs/libapparmor )
- pam? ( virtual/pam )
- seccomp? ( sys-libs/libseccomp )
- selinux? ( sys-libs/libselinux )
-"
-RDEPEND="${COMMON_DEPEND}
- sys-apps/dbus
- policykit? ( sys-auth/polkit )
- !sys-auth/systemd
-"
-DEPEND="${COMMON_DEPEND}
- dev-util/gperf
- dev-util/intltool
- sys-devel/libtool
- virtual/pkgconfig
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-docs.patch"
- "${FILESDIR}/${PN}-lrt.patch"
- "${FILESDIR}/${P}-session.patch"
- "${FILESDIR}/${P}-login1-perms.patch"
-)
-
-pkg_setup() {
- local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK
- ~SIGNALFD ~TIMERFD"
-
- use seccomp && CONFIG_CHECK+=" ~SECCOMP"
-
- if use kernel_linux; then
- linux-info_pkg_setup
- fi
-}
-
-src_prepare() {
- default
- eautoreconf # Makefile.am patched by "${FILESDIR}/${PN}-{docs,lrt}.patch"
-}
-
-src_configure() {
- econf \
- --with-pamlibdir=$(getpam_mod_dir) \
- --with-udevrulesdir="$(get_udevdir)"/rules.d \
- --libdir="${EPREFIX}"/usr/$(get_libdir) \
- --enable-smack \
- $(use_enable acl) \
- $(use_enable apparmor) \
- $(use_enable pam) \
- $(use_enable seccomp) \
- $(use_enable selinux)
-}
-
-src_install() {
- default
- find "${D}" -name '*.la' -delete || die
-
- newinitd "${FILESDIR}"/${PN}.init ${PN}
- newconfd "${FILESDIR}"/${PN}.conf ${PN}
-}
-
-pkg_postinst() {
- if [ "$(rc-config list default | grep elogind)" = "" ]; then
- ewarn "To enable the elogind daemon, elogind must be"
- ewarn "added to the default runlevel:"
- ewarn "# rc-update add elogind default"
- fi
-}