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/
Date: Fri, 15 Feb 2019 12:54:03
Message-Id: 1550234411.919cc835fe8bf8e369cbead6dc8b0ec94aff8d6f.asturm@gentoo
1 commit: 919cc835fe8bf8e369cbead6dc8b0ec94aff8d6f
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 15 12:26:15 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 15 12:40:11 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=919cc835
7
8 sys-auth/elogind: Drop 239.2
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 sys-auth/elogind/Manifest | 1 -
14 sys-auth/elogind/elogind-239.2.ebuild | 126 ----------------------------------
15 2 files changed, 127 deletions(-)
16
17 diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest
18 index 5bc0bf6fd67..d42ef2e28f3 100644
19 --- a/sys-auth/elogind/Manifest
20 +++ b/sys-auth/elogind/Manifest
21 @@ -1,3 +1,2 @@
22 DIST elogind-238.2.tar.gz 1075847 BLAKE2B 17e4d8ffabb65a210f34076223e502c9019a7fa639f6cc12b1c8a0e186d8a6e97f115cd68487c86470915a8208dead6830577d2da3ffd85ed2e12c3a699ef2c5 SHA512 c66dd514d7c708a1d1c52ac9f25f34af839c4d4ff452302b40eb95c040c1d3d8d238b4e35c33d81af71f6aac22c8793951d91d005e6595e02124edb976baf640
23 -DIST elogind-239.2.tar.gz 1171060 BLAKE2B 4b7b0e4867ce79aeaf480cf56c473254a3ae53bf618eef27b62d76f58e9ae8b29ecd748b3f3fbad89537e6f1e7b2b04759eeed50f608551b8807560e54fd1428 SHA512 84b71bcb97d568fb26ce9587b39cce4e44a3f3607120846325398e6526dea2b21f82b8292942c2daaf755c4a2880d7163670442dcf2d360e171f9d004436bd74
24 DIST elogind-239.3.tar.gz 1171080 BLAKE2B 95d158a861641415f2c6ea3648bafd32ee3da80b0258e33fb7b88cf834f42c4d76b634af055f81dfba7c6477423edf73ad7c0d79e5e3608938e90a713bdff00e SHA512 61399f82d6a93d77e0984dc67b9c7ebdda27ba2254810be9725a09f91fde41c66adb53a5fe7989f53d6b156b70f147471c89fa64a432bccc482e8057a0cddf84
25
26 diff --git a/sys-auth/elogind/elogind-239.2.ebuild b/sys-auth/elogind/elogind-239.2.ebuild
27 deleted file mode 100644
28 index f9136f937f1..00000000000
29 --- a/sys-auth/elogind/elogind-239.2.ebuild
30 +++ /dev/null
31 @@ -1,126 +0,0 @@
32 -# Copyright 1999-2018 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -inherit linux-info meson pam udev xdg-utils
38 -
39 -DESCRIPTION="The systemd project's logind, extracted to a standalone package"
40 -HOMEPAGE="https://github.com/elogind/elogind"
41 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 -
43 -LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~arm ~x86"
46 -IUSE="+acl debug doc +pam +policykit selinux"
47 -
48 -COMMON_DEPEND="
49 - sys-apps/util-linux
50 - sys-libs/libcap
51 - virtual/libudev:=
52 - acl? ( sys-apps/acl )
53 - pam? ( virtual/pam )
54 - selinux? ( sys-libs/libselinux )
55 -"
56 -DEPEND="${COMMON_DEPEND}
57 - app-text/docbook-xml-dtd:4.2
58 - app-text/docbook-xml-dtd:4.5
59 - app-text/docbook-xsl-stylesheets
60 - dev-util/gperf
61 - dev-util/intltool
62 - sys-devel/libtool
63 - virtual/pkgconfig
64 -"
65 -RDEPEND="${COMMON_DEPEND}
66 - !sys-apps/systemd
67 -"
68 -PDEPEND="
69 - sys-apps/dbus
70 - policykit? ( sys-auth/polkit )
71 -"
72 -
73 -DOCS=( src/libelogind/sd-bus/GVARIANT-SERIALIZATION )
74 -
75 -PATCHES=( "${FILESDIR}/${PN}-238.1-docs.patch" )
76 -
77 -pkg_setup() {
78 - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD"
79 -
80 - use kernel_linux && linux-info_pkg_setup
81 -}
82 -
83 -src_prepare() {
84 - default
85 - xdg_environment_reset
86 -}
87 -
88 -src_configure() {
89 - local rccgroupmode="$(grep rc_cgroup_mode /etc/rc.conf | cut -d '"' -f 2)"
90 - local cgroupmode="legacy"
91 -
92 - if [[ "xhybrid" = "x${rccgroupmode}" ]] ; then
93 - cgroupmode="hybrid"
94 - elif [[ "xunified" = "x${rccgroupmode}" ]] ; then
95 - cgroupmode="unified"
96 - fi
97 -
98 - local emesonargs=(
99 - -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
100 - -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html"
101 - -Dpamlibdir=$(getpam_mod_dir)
102 - -Dudevrulesdir="$(get_udevdir)"/rules.d
103 - --libdir="${EPREFIX}"/usr/$(get_libdir)
104 - -Drootlibdir="${EPREFIX}"/$(get_libdir)
105 - -Drootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind
106 - -Drootprefix="${EPREFIX}/"
107 - -Dbashcompletiondir="${EPREFIX}/usr/share/bash-completion/completions"
108 - -Dman=auto
109 - -Dsmack=true
110 - -Dcgroup-controller=openrc
111 - -Ddefault-hierarchy=${cgroupmode}
112 - -Ddefault-kill-user-processes=false
113 - -Dacl=$(usex acl true false)
114 - --buildtype $(usex debug debug release)
115 - -Dhtml=$(usex doc auto false)
116 - -Dpam=$(usex pam true false)
117 - -Dselinux=$(usex selinux true false)
118 - )
119 -
120 - meson_src_configure
121 -}
122 -
123 -src_install() {
124 - DOCS+=( src/libelogind/sd-bus/GVARIANT-SERIALIZATION )
125 -
126 - meson_src_install
127 -
128 - newinitd "${FILESDIR}"/${PN}.init ${PN}
129 -
130 - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die
131 - newconfd ${PN}.conf ${PN}
132 -}
133 -
134 -pkg_postinst() {
135 - if [[ "$(rc-config list boot | grep elogind)" != "" ]]; then
136 - elog "elogind is currently started from boot runlevel."
137 - elif [[ "$(rc-config list default | grep elogind)" != "" ]]; then
138 - ewarn "elogind is currently started from default runlevel."
139 - ewarn "Please remove elogind from the default runlevel and"
140 - ewarn "add it to the boot runlevel by:"
141 - ewarn "# rc-update del elogind default"
142 - ewarn "# rc-update add elogind boot"
143 - else
144 - elog "elogind is currently not started from any runlevel."
145 - elog "You may add it to the boot runlevel by:"
146 - elog "# rc-update add elogind boot"
147 - elog
148 - elog "Alternatively, you can leave elogind out of any"
149 - elog "runlevel. It will then be started automatically"
150 - if use pam; then
151 - elog "when the first service calls it via dbus, or"
152 - elog "the first user logs into the system."
153 - else
154 - elog "when the first service calls it via dbus."
155 - fi
156 - fi
157 -}