Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/files/, sys-auth/elogind/
Date: Wed, 31 Jan 2018 10:22:44
Message-Id: 1517394133.6aa81a1b631fe219ac16078bb49ea46568260122.asturm@gentoo
1 commit: 6aa81a1b631fe219ac16078bb49ea46568260122
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 31 10:21:46 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 31 10:22:13 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aa81a1b
7
8 sys-auth/elogind: Drop old
9
10 Package-Manager: Portage-2.3.21, Repoman-2.3.6
11
12 sys-auth/elogind/Manifest | 1 -
13 sys-auth/elogind/elogind-234.4-r1.ebuild | 108 ------------------------
14 sys-auth/elogind/files/elogind-226.4-docs.patch | 15 ----
15 3 files changed, 124 deletions(-)
16
17 diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest
18 index df1ad770fda..25d08cb3a62 100644
19 --- a/sys-auth/elogind/Manifest
20 +++ b/sys-auth/elogind/Manifest
21 @@ -1,2 +1 @@
22 -DIST elogind-234.4.tar.gz 973370 BLAKE2B 4fe00d2e22e3f94dfb6385fe61825be72ad2200f1368807ea816a971104cf384e3508ecf2877fa08394c6d0259874b2ceb7c4014f9e861dcd3b19c01bcd04602 SHA512 2df4fa318074d4f5e5dbba353cf817068a2703ffed40cdeae4cba2dea4ee143d1c5fc076b19419f1c4299392088c2c14b430d8aa1ded03b62117311802305d5e
23 DIST elogind-235.2.tar.gz 975652 BLAKE2B c568b5eec89da14f55211cf4405d96b4bb1ea274d1237739a92c4f3585a6181a3e17dc7ed2af5161c649cae2149b3bd25f4212cf5a304383b254e39d7aa0b378 SHA512 6fa9194e8c21fa3d3caf6f9499f772dbfe38b9d40d8a0fe43ee32ad4b2acd672a78798d00694d1e0d6107625f4f3f06b71e0a5466ed4be446d670f9bcd961313
24
25 diff --git a/sys-auth/elogind/elogind-234.4-r1.ebuild b/sys-auth/elogind/elogind-234.4-r1.ebuild
26 deleted file mode 100644
27 index c56a5360fee..00000000000
28 --- a/sys-auth/elogind/elogind-234.4-r1.ebuild
29 +++ /dev/null
30 @@ -1,108 +0,0 @@
31 -# Copyright 1999-2018 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 xdg-utils
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 -DEPEND="${COMMON_DEPEND}
56 - app-text/docbook-xml-dtd:4.2
57 - app-text/docbook-xml-dtd:4.5
58 - app-text/docbook-xsl-stylesheets
59 - dev-util/gperf
60 - dev-util/intltool
61 - sys-devel/libtool
62 - virtual/pkgconfig
63 -"
64 -RDEPEND="${COMMON_DEPEND}
65 - !sys-apps/systemd
66 -"
67 -PDEPEND="
68 - sys-apps/dbus
69 - policykit? ( sys-auth/polkit )
70 -"
71 -
72 -PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" )
73 -
74 -pkg_setup() {
75 - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD"
76 -
77 - if use kernel_linux; then
78 - linux-info_pkg_setup
79 - fi
80 -}
81 -
82 -src_prepare() {
83 - default
84 - eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch"
85 - xdg_environment_reset
86 -}
87 -
88 -src_configure() {
89 - econf \
90 - --with-pamlibdir=$(getpam_mod_dir) \
91 - --with-udevrulesdir="$(get_udevdir)"/rules.d \
92 - --libdir="${EPREFIX}"/usr/$(get_libdir) \
93 - --with-rootlibdir="${EPREFIX}"/$(get_libdir) \
94 - --with-rootprefix="${EPREFIX}/" \
95 - --with-rootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind \
96 - --enable-smack \
97 - --with-cgroup-controller=openrc \
98 - --disable-lto \
99 - --without-kill-user-processes \
100 - $(use_enable debug debug elogind) \
101 - $(use_enable acl) \
102 - $(use_enable pam) \
103 - $(use_enable selinux)
104 -}
105 -
106 -src_install() {
107 - default
108 - find "${D}" -name '*.la' -delete || die
109 -
110 - newinitd "${FILESDIR}"/${PN}.init ${PN}
111 -
112 - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die
113 - newconfd ${PN}.conf ${PN}
114 -}
115 -
116 -pkg_postinst() {
117 - if [ "$(rc-config list boot | grep elogind)" != "" ]; then
118 - ewarn "elogind is currently started from boot runlevel."
119 - elif [ "$(rc-config list default | grep elogind)" != "" ]; then
120 - ewarn "elogind is currently started from default runlevel."
121 - ewarn "Please remove elogind from the default runlevel and"
122 - ewarn "add it to the boot runlevel by:"
123 - ewarn "# rc-update del elogind default"
124 - ewarn "# rc-update add elogind boot"
125 - else
126 - ewarn "elogind is currently not started from any runlevel."
127 - ewarn "You may add it to the boot runlevel by:"
128 - ewarn "# rc-update add elogind boot"
129 - fi
130 - ewarn "Alternatively you can leave elogind out of any"
131 - ewarn "runlevel. It will then be started automatically"
132 - if use pam; then
133 - ewarn "when the first service calls it via dbus, or the"
134 - ewarn "first user logs into the system."
135 - else
136 - ewarn "when the first service calls it via dbus."
137 - fi
138 -}
139
140 diff --git a/sys-auth/elogind/files/elogind-226.4-docs.patch b/sys-auth/elogind/files/elogind-226.4-docs.patch
141 deleted file mode 100644
142 index 4161f633125..00000000000
143 --- a/sys-auth/elogind/files/elogind-226.4-docs.patch
144 +++ /dev/null
145 @@ -1,15 +0,0 @@
146 ---- a/Makefile.am 2017-02-16 13:22:56.764985896 +0100
147 -+++ b/Makefile.am 2017-02-16 13:23:04.998986057 +0100
148 -@@ -194,12 +194,6 @@
149 - bin_PROGRAMS =
150 - rootlibexec_PROGRAMS =
151 -
152 --dist_doc_DATA = \
153 -- README \
154 -- NEWS \
155 -- LICENSE.LGPL2.1 \
156 -- LICENSE.GPL2
157 --
158 - @INTLTOOL_POLICY_RULE@
159 -
160 - # ------------------------------------------------------------------------------