diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-05-31 20:17:14 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-05-31 22:11:31 +0200 |
commit | 24c23c3790e022e6d885e910ddde73665c3261a9 (patch) | |
tree | 0f4e6d50a64507126ba5c96a640303fd26d90709 | |
parent | sys-auth/elogind: Remove init script bashism (diff) | |
download | gentoo-24c23c3790e022e6d885e910ddde73665c3261a9.tar.gz gentoo-24c23c3790e022e6d885e910ddde73665c3261a9.tar.bz2 gentoo-24c23c3790e022e6d885e910ddde73665c3261a9.zip |
sys-auth/elogind: Drop old
Package-Manager: Portage-2.3.5, Repoman-2.3.1
-rw-r--r-- | sys-auth/elogind/Manifest | 1 | ||||
-rw-r--r-- | sys-auth/elogind/elogind-226.4.ebuild | 87 | ||||
-rw-r--r-- | sys-auth/elogind/files/elogind-226.4-glibc.patch | 34 |
3 files changed, 0 insertions, 122 deletions
diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index 54db4856b7ce..f6f3c9a16407 100644 --- a/sys-auth/elogind/Manifest +++ b/sys-auth/elogind/Manifest @@ -1,2 +1 @@ -DIST elogind-226.4.tar.gz 698076 SHA256 585ac8746cd81a74f47b4e93cb5f000494da4104ad53da0bae023e1758d0456d SHA512 4eb4da1d0311b2fe2d22fef57143fe8c2280df9f7a2b41e150f4d7e1411bd41eed4648aa3b80ac44d2b533e8c91a482cda7c3e8af85e710fb97e73061726ea12 WHIRLPOOL 8252b4e54830f9e257a28751eb233d4752cff24b4d695c2351f86cc65160ff6577e373cdd667635e0dee00fb63e1a57a7c049105eef9c5e4cd4cb2a7cc991f63 DIST elogind-229.3.tar.gz 757313 SHA256 8506145e6071a637aec91276e19cd932b3d9cd297c8e833f7b08b8d53fd7a1d7 SHA512 5449f6b8ca1cb14d91681de1273819e193c88f6ec22b790cfe2c9d9d6e0d37bfc3b707a650d14471e0cb3a577289f725e1a47d22a14db2154a2c0552ecde32ca WHIRLPOOL e71fc14453017a570c3c2766b42fb444e41b2a703689e745ea3a01bd915fdab896b4bd3f229f74d438d48b8383a0b590c456b9269a739e9bf7b8d60441fbb33c diff --git a/sys-auth/elogind/elogind-226.4.ebuild b/sys-auth/elogind/elogind-226.4.ebuild deleted file mode 100644 index 2570aaccad3b..000000000000 --- a/sys-auth/elogind/elogind-226.4.ebuild +++ /dev/null @@ -1,87 +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" - -COMMON_DEPEND=" - sys-apps/util-linux - sys-libs/libcap - virtual/libudev:= - acl? ( sys-apps/acl ) - pam? ( virtual/pam ) - selinux? ( sys-libs/libselinux ) -" -RDEPEND="${COMMON_DEPEND} - sys-apps/dbus - !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 -" -PDEPEND="policykit? ( sys-auth/polkit )" - -PATCHES=( - "${FILESDIR}/${P}-docs.patch" - "${FILESDIR}/${P}-glibc.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) \ - --enable-smack \ - --disable-kdbus \ - $(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} - 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 -} diff --git a/sys-auth/elogind/files/elogind-226.4-glibc.patch b/sys-auth/elogind/files/elogind-226.4-glibc.patch deleted file mode 100644 index 7b8a57da37a7..000000000000 --- a/sys-auth/elogind/files/elogind-226.4-glibc.patch +++ /dev/null @@ -1,34 +0,0 @@ -commit 27d13af71c3af6b2f9b60556d2c046dbb6e36e23 -Author: Mike Frysinger <vapier@gentoo.org> -Date: Mon Mar 14 17:44:49 2016 -0400 - - include sys/sysmacros.h in more places - - Since glibc is moving away from implicitly including sys/sysmacros.h - all the time via sys/types.h, include the header directly in more - places. This seems to cover most makedev/major/minor usage. - -diff --git a/src/basic/macro.h b/src/basic/macro.h -index c34441d75..b36a95675 100644 ---- a/src/basic/macro.h -+++ b/src/basic/macro.h -@@ -23,6 +23,7 @@ - #include <inttypes.h> - #include <stdbool.h> - #include <sys/param.h> -+#include <sys/sysmacros.h> - #include <sys/types.h> - - #define _printf_(a,b) __attribute__ ((format (printf, a, b))) -diff --git a/src/basic/util.h b/src/basic/util.h -index e095254b5..286db0515 100644 ---- a/src/basic/util.h -+++ b/src/basic/util.h -@@ -36,6 +36,7 @@ - #include <mntent.h> - #include <sys/inotify.h> - #include <sys/statfs.h> -+#include <sys/sysmacros.h> - - #include "macro.h" - #include "missing.h" |