1 |
commit: f14682de803ec0ed0a55a88349845029eadd9680 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 15 23:38:15 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 15 23:45:23 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f14682de |
7 |
|
8 |
sys-auth/elogind: Drop 235.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
sys-auth/elogind/Manifest | 1 - |
13 |
sys-auth/elogind/elogind-235.1.ebuild | 125 ---------------------------------- |
14 |
2 files changed, 126 deletions(-) |
15 |
|
16 |
diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest |
17 |
index b20a67b5a25..df1ad770fda 100644 |
18 |
--- a/sys-auth/elogind/Manifest |
19 |
+++ b/sys-auth/elogind/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
DIST elogind-234.4.tar.gz 973370 BLAKE2B 4fe00d2e22e3f94dfb6385fe61825be72ad2200f1368807ea816a971104cf384e3508ecf2877fa08394c6d0259874b2ceb7c4014f9e861dcd3b19c01bcd04602 SHA512 2df4fa318074d4f5e5dbba353cf817068a2703ffed40cdeae4cba2dea4ee143d1c5fc076b19419f1c4299392088c2c14b430d8aa1ded03b62117311802305d5e |
22 |
-DIST elogind-235.1.tar.gz 975726 BLAKE2B 2497be9bfc89e8d7eef1cc0a0880b5801940df282ba1c8e62031dcf888bcc107d071fe6d61f0e383a779829eafb060f421140d8c3c998937eec1c333ed7d0d13 SHA512 96442d073f4437c4432419cfaed3dc6f0323fc6967ae01b64ee07ae9a91d99084ba0066825a723a8a58ffff4c0a47150d64d40ff4dcc15a6250423dd5c358c38 |
23 |
DIST elogind-235.2.tar.gz 975652 BLAKE2B c568b5eec89da14f55211cf4405d96b4bb1ea274d1237739a92c4f3585a6181a3e17dc7ed2af5161c649cae2149b3bd25f4212cf5a304383b254e39d7aa0b378 SHA512 6fa9194e8c21fa3d3caf6f9499f772dbfe38b9d40d8a0fe43ee32ad4b2acd672a78798d00694d1e0d6107625f4f3f06b71e0a5466ed4be446d670f9bcd961313 |
24 |
|
25 |
diff --git a/sys-auth/elogind/elogind-235.1.ebuild b/sys-auth/elogind/elogind-235.1.ebuild |
26 |
deleted file mode 100644 |
27 |
index ca89c99114d..00000000000 |
28 |
--- a/sys-auth/elogind/elogind-235.1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,125 +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 linux-info meson 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 doc +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}/${P}-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 |
- xdg_environment_reset |
85 |
-} |
86 |
- |
87 |
-src_configure() { |
88 |
- local emesonargs cgroupmode rccgroupmode |
89 |
- |
90 |
- rccgroupmode="$(grep rc_cgroup_mode /etc/rc.conf | cut -d '"' -f 2)" |
91 |
- cgroupmode="legacy" |
92 |
- |
93 |
- if [ "xhybrid" = "x${rccgroupmode}" ] ; then |
94 |
- cgroupmode="hybrid" |
95 |
- elif [ "xunified" = "x${rccgroupmode}" ] ; then |
96 |
- cgroupmode="unified" |
97 |
- fi |
98 |
- |
99 |
- emesonargs=( |
100 |
- -Ddocdir="${EPREFIX}/usr/share/doc/${P}" \ |
101 |
- -Dhtmldir="${EPREFIX}/usr/share/doc/${P}/html" \ |
102 |
- -Dpamlibdir=$(getpam_mod_dir) \ |
103 |
- -Dudevrulesdir="$(get_udevdir)"/rules.d \ |
104 |
- --libdir="${EPREFIX}"/usr/$(get_libdir) \ |
105 |
- -Drootlibdir="${EPREFIX}"/$(get_libdir) \ |
106 |
- -Drootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind \ |
107 |
- -Drootprefix="${EPREFIX}/" \ |
108 |
- -Dsmack=true \ |
109 |
- -Dman=auto \ |
110 |
- -Dhtml=$(usex doc auto false) \ |
111 |
- -Dcgroup-controller=openrc \ |
112 |
- -Ddefault-hierarchy=${cgroupmode} \ |
113 |
- -Ddebug=$(usex debug elogind false) \ |
114 |
- --buildtype $(usex debug debug release) \ |
115 |
- -Dacl=$(usex acl true false) \ |
116 |
- -Dpam=$(usex pam true false) \ |
117 |
- -Dselinux=$(usex selinux true false) |
118 |
- -Dbashcompletiondir="${EPREFIX}/usr/share/bash-completion/completions" \ |
119 |
- -Dzsh-completion="${EPREFIX}/usr/share/zsh/site-functions" \ |
120 |
- ) |
121 |
- meson_src_configure |
122 |
-} |
123 |
- |
124 |
-src_install() { |
125 |
- meson_src_install |
126 |
- |
127 |
- newinitd "${FILESDIR}"/${PN}.init ${PN} |
128 |
- |
129 |
- sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die |
130 |
- newconfd ${PN}.conf ${PN} |
131 |
-} |
132 |
- |
133 |
-pkg_postinst() { |
134 |
- if [ "$(rc-config list boot | grep elogind)" != "" ]; then |
135 |
- ewarn "elogind is currently started from boot runlevel." |
136 |
- elif [ "$(rc-config list default | grep elogind)" != "" ]; then |
137 |
- ewarn "elogind is currently started from default runlevel." |
138 |
- ewarn "Please remove elogind from the default runlevel and" |
139 |
- ewarn "add it to the boot runlevel by:" |
140 |
- ewarn "# rc-update del elogind default" |
141 |
- ewarn "# rc-update add elogind boot" |
142 |
- else |
143 |
- ewarn "elogind is currently not started from any runlevel." |
144 |
- ewarn "You may add it to the boot runlevel by:" |
145 |
- ewarn "# rc-update add elogind boot" |
146 |
- fi |
147 |
- ewarn "Alternatively you can leave elogind out of any" |
148 |
- ewarn "runlevel. It will then be started automatically" |
149 |
- if use pam; then |
150 |
- ewarn "when the first service calls it via dbus, or the" |
151 |
- ewarn "first user logs into the system." |
152 |
- else |
153 |
- ewarn "when the first service calls it via dbus." |
154 |
- fi |
155 |
-} |