1 |
commit: 24c23c3790e022e6d885e910ddde73665c3261a9 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 31 18:17:14 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 31 20:11:31 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24c23c37 |
7 |
|
8 |
sys-auth/elogind: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.1 |
11 |
|
12 |
sys-auth/elogind/Manifest | 1 - |
13 |
sys-auth/elogind/elogind-226.4.ebuild | 87 ------------------------ |
14 |
sys-auth/elogind/files/elogind-226.4-glibc.patch | 34 --------- |
15 |
3 files changed, 122 deletions(-) |
16 |
|
17 |
diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest |
18 |
index 54db4856b7c..f6f3c9a1640 100644 |
19 |
--- a/sys-auth/elogind/Manifest |
20 |
+++ b/sys-auth/elogind/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST elogind-226.4.tar.gz 698076 SHA256 585ac8746cd81a74f47b4e93cb5f000494da4104ad53da0bae023e1758d0456d SHA512 4eb4da1d0311b2fe2d22fef57143fe8c2280df9f7a2b41e150f4d7e1411bd41eed4648aa3b80ac44d2b533e8c91a482cda7c3e8af85e710fb97e73061726ea12 WHIRLPOOL 8252b4e54830f9e257a28751eb233d4752cff24b4d695c2351f86cc65160ff6577e373cdd667635e0dee00fb63e1a57a7c049105eef9c5e4cd4cb2a7cc991f63 |
23 |
DIST elogind-229.3.tar.gz 757313 SHA256 8506145e6071a637aec91276e19cd932b3d9cd297c8e833f7b08b8d53fd7a1d7 SHA512 5449f6b8ca1cb14d91681de1273819e193c88f6ec22b790cfe2c9d9d6e0d37bfc3b707a650d14471e0cb3a577289f725e1a47d22a14db2154a2c0552ecde32ca WHIRLPOOL e71fc14453017a570c3c2766b42fb444e41b2a703689e745ea3a01bd915fdab896b4bd3f229f74d438d48b8383a0b590c456b9269a739e9bf7b8d60441fbb33c |
24 |
|
25 |
diff --git a/sys-auth/elogind/elogind-226.4.ebuild b/sys-auth/elogind/elogind-226.4.ebuild |
26 |
deleted file mode 100644 |
27 |
index 2570aaccad3..00000000000 |
28 |
--- a/sys-auth/elogind/elogind-226.4.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,87 +0,0 @@ |
31 |
-# Copyright 1999-2017 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=6 |
35 |
- |
36 |
-inherit autotools linux-info pam udev |
37 |
- |
38 |
-DESCRIPTION="The systemd project's logind, extracted to a standalone package" |
39 |
-HOMEPAGE="https://github.com/elogind/elogind" |
40 |
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
- |
42 |
-LICENSE="CC0-1.0 LGPL-2.1+ public-domain" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="~amd64 ~arm ~x86" |
45 |
-IUSE="acl debug pam policykit selinux" |
46 |
- |
47 |
-COMMON_DEPEND=" |
48 |
- sys-apps/util-linux |
49 |
- sys-libs/libcap |
50 |
- virtual/libudev:= |
51 |
- acl? ( sys-apps/acl ) |
52 |
- pam? ( virtual/pam ) |
53 |
- selinux? ( sys-libs/libselinux ) |
54 |
-" |
55 |
-RDEPEND="${COMMON_DEPEND} |
56 |
- sys-apps/dbus |
57 |
- !sys-apps/systemd |
58 |
-" |
59 |
-DEPEND="${COMMON_DEPEND} |
60 |
- app-text/docbook-xml-dtd:4.2 |
61 |
- app-text/docbook-xml-dtd:4.5 |
62 |
- app-text/docbook-xsl-stylesheets |
63 |
- dev-util/gperf |
64 |
- dev-util/intltool |
65 |
- sys-devel/libtool |
66 |
- virtual/pkgconfig |
67 |
-" |
68 |
-PDEPEND="policykit? ( sys-auth/polkit )" |
69 |
- |
70 |
-PATCHES=( |
71 |
- "${FILESDIR}/${P}-docs.patch" |
72 |
- "${FILESDIR}/${P}-glibc.patch" |
73 |
-) |
74 |
- |
75 |
-pkg_setup() { |
76 |
- local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK |
77 |
- ~SIGNALFD ~TIMERFD" |
78 |
- |
79 |
- if use kernel_linux; then |
80 |
- linux-info_pkg_setup |
81 |
- fi |
82 |
-} |
83 |
- |
84 |
-src_prepare() { |
85 |
- default |
86 |
- eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch" |
87 |
-} |
88 |
- |
89 |
-src_configure() { |
90 |
- econf \ |
91 |
- --with-pamlibdir=$(getpam_mod_dir) \ |
92 |
- --with-udevrulesdir="$(get_udevdir)"/rules.d \ |
93 |
- --libdir="${EPREFIX}"/usr/$(get_libdir) \ |
94 |
- --with-rootlibdir="${EPREFIX}"/$(get_libdir) \ |
95 |
- --enable-smack \ |
96 |
- --disable-kdbus \ |
97 |
- $(use_enable debug debug elogind) \ |
98 |
- $(use_enable acl) \ |
99 |
- $(use_enable pam) \ |
100 |
- $(use_enable selinux) |
101 |
-} |
102 |
- |
103 |
-src_install() { |
104 |
- default |
105 |
- find "${D}" -name '*.la' -delete || die |
106 |
- |
107 |
- newinitd "${FILESDIR}"/${PN}.init ${PN} |
108 |
- newconfd "${FILESDIR}"/${PN}.conf ${PN} |
109 |
-} |
110 |
- |
111 |
-pkg_postinst() { |
112 |
- if [ "$(rc-config list default | grep elogind)" = "" ]; then |
113 |
- ewarn "To enable the elogind daemon, elogind must be" |
114 |
- ewarn "added to the default runlevel:" |
115 |
- ewarn "# rc-update add elogind default" |
116 |
- fi |
117 |
-} |
118 |
|
119 |
diff --git a/sys-auth/elogind/files/elogind-226.4-glibc.patch b/sys-auth/elogind/files/elogind-226.4-glibc.patch |
120 |
deleted file mode 100644 |
121 |
index 7b8a57da37a..00000000000 |
122 |
--- a/sys-auth/elogind/files/elogind-226.4-glibc.patch |
123 |
+++ /dev/null |
124 |
@@ -1,34 +0,0 @@ |
125 |
-commit 27d13af71c3af6b2f9b60556d2c046dbb6e36e23 |
126 |
-Author: Mike Frysinger <vapier@g.o> |
127 |
-Date: Mon Mar 14 17:44:49 2016 -0400 |
128 |
- |
129 |
- include sys/sysmacros.h in more places |
130 |
- |
131 |
- Since glibc is moving away from implicitly including sys/sysmacros.h |
132 |
- all the time via sys/types.h, include the header directly in more |
133 |
- places. This seems to cover most makedev/major/minor usage. |
134 |
- |
135 |
-diff --git a/src/basic/macro.h b/src/basic/macro.h |
136 |
-index c34441d75..b36a95675 100644 |
137 |
---- a/src/basic/macro.h |
138 |
-+++ b/src/basic/macro.h |
139 |
-@@ -23,6 +23,7 @@ |
140 |
- #include <inttypes.h> |
141 |
- #include <stdbool.h> |
142 |
- #include <sys/param.h> |
143 |
-+#include <sys/sysmacros.h> |
144 |
- #include <sys/types.h> |
145 |
- |
146 |
- #define _printf_(a,b) __attribute__ ((format (printf, a, b))) |
147 |
-diff --git a/src/basic/util.h b/src/basic/util.h |
148 |
-index e095254b5..286db0515 100644 |
149 |
---- a/src/basic/util.h |
150 |
-+++ b/src/basic/util.h |
151 |
-@@ -36,6 +36,7 @@ |
152 |
- #include <mntent.h> |
153 |
- #include <sys/inotify.h> |
154 |
- #include <sys/statfs.h> |
155 |
-+#include <sys/sysmacros.h> |
156 |
- |
157 |
- #include "macro.h" |
158 |
- #include "missing.h" |