diff options
author | 2017-02-11 12:28:46 +0100 | |
---|---|---|
committer | 2017-02-11 12:29:00 +0100 | |
commit | c62b3cdced43634e9b220b6b94925d5bd2dcd59b (patch) | |
tree | 43ca59f20ab5465683030f849854137b0ac643b4 /sys-auth/elogind | |
parent | sys-auth/elogind: Fix permissions on /run/systemd, create at runtime (diff) | |
download | gentoo-c62b3cdced43634e9b220b6b94925d5bd2dcd59b.tar.gz gentoo-c62b3cdced43634e9b220b6b94925d5bd2dcd59b.tar.bz2 gentoo-c62b3cdced43634e9b220b6b94925d5bd2dcd59b.zip |
sys-auth/elogind: Drop old
Package-Manager: portage-2.3.3
Diffstat (limited to 'sys-auth/elogind')
-rw-r--r-- | sys-auth/elogind/elogind-219.12-r4.ebuild | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/sys-auth/elogind/elogind-219.12-r4.ebuild b/sys-auth/elogind/elogind-219.12-r4.ebuild deleted file mode 100644 index 177bcb5af770..000000000000 --- a/sys-auth/elogind/elogind-219.12-r4.ebuild +++ /dev/null @@ -1,100 +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 +seccomp selinux" - -COMMON_DEPEND=" - sys-apps/util-linux - sys-libs/libcap - 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 - !sys-auth/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 -" -PDEPEND="policykit? ( sys-auth/polkit )" - -PATCHES=( - "${FILESDIR}/${PN}-docs.patch" - "${FILESDIR}/${PN}-lrt.patch" - "${FILESDIR}/${P}-session.patch" - "${FILESDIR}/${P}-login1-perms.patch" - "${FILESDIR}/${P}-gperf.patch" - "${FILESDIR}/${P}-glibc.patch" # bug 605744 -) - -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}"/$(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 - - # Build system ignores --with-rootlibdir and puts pkgconfig below - # /$(libdir) - Move it to /usr/$(libdir)/pkgconfig - mkdir -p "${ED%/}"/usr/$(get_libdir) || die - mv "${ED%/}"/$(get_libdir)/pkgconfig "${ED%/}"/usr/$(get_libdir)/ || 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 -} |