Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/consolekit/
Date: Tue, 02 Aug 2016 15:15:33
Message-Id: 1470150881.15e764276f346ba6fff2324f7030c10d5eb3f974.perfinion@gentoo
1 commit: 15e764276f346ba6fff2324f7030c10d5eb3f974
2 Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 2 15:02:33 2016 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 2 15:14:41 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15e76427
7
8 sys-auth/consolekit: drop old
9
10 Package-Manager: portage-2.2.28
11
12 sys-auth/consolekit/Manifest | 1 -
13 sys-auth/consolekit/consolekit-1.0.0-r1.ebuild | 114 -------------------------
14 2 files changed, 115 deletions(-)
15
16 diff --git a/sys-auth/consolekit/Manifest b/sys-auth/consolekit/Manifest
17 index fd931fd..b396ccc 100644
18 --- a/sys-auth/consolekit/Manifest
19 +++ b/sys-auth/consolekit/Manifest
20 @@ -1,5 +1,4 @@
21 DIST ConsoleKit-0.4.6.tar.xz 366572 SHA256 b41d17e06f80059589fbeefe96ad07bcc564c49e65516da1caf975146475565c SHA512 54955e3e83778a9216846104da8762fd50a37190e209127dd5d211e2227da617e14f6f5c1359905396d299656e526d14e1187b28eaff7d0ae1d7563dc8d9b46d WHIRLPOOL ebf36b109b4c646d0b874f6b8e2ae9e2d190022ee9b6feff6cbb6b9203c80401c538cc3ca674fa7bde4f07e658d5460864e9784c1e0249d49b4784725a4e05c7
22 -DIST ConsoleKit2-1.0.0.tar.bz2 1288174 SHA256 30b8026e62246593637bacf99ab9cbea18e7fea6ee07c45ae2a351912aacda4b SHA512 311cfc0aa945dcf50b4a98e1b19bd25cef84e89e4d849aa0b4b084b6cd8c52931a3af1c56243af00ff0a27b20230ab126de0cc0f08ea861f12a813399478bafa WHIRLPOOL fa834d0cf22a14844277c9f7333b89596c84368c1803fab119acc7799520a5078487351f23e3a66dd47000e09c447f70c03c2244601faf5236275641eeb3d040
23 DIST ConsoleKit2-1.0.1.tar.bz2 1192681 SHA256 741c53321a0792b165f386c73c668af25615accab6d15983290103348a3ff00c SHA512 028e7347ff7293ebf3d08541d801e987cbc82fb31d98b67aa23e6dc28d00a422db9591c716c568320b6dde3fa01eb0b77b43c06d230f4bedd1085e078848a202 WHIRLPOOL c555281cd177ed243b1beb3d07d2988d029d8d89cac5242d12dcc37270d2d7adb1d503eaeba2f466964b589c4d10b8f2f014fef7067b535a7be9a360612d0485
24 DIST ConsoleKit2-1.1.0.tar.bz2 630178 SHA256 a40d92358aca9f627a224dca674090e310423b00ed63fc06482997611661b69b SHA512 14ded07d4140e7a31132de21e84c2878475676b8c98f72b42340708972ed384abb9ba9380d74719718fc220c001387c788cf709cd15f8b19d598467dfe8a57df WHIRLPOOL 8f08d81576b5121b2da6cd94b3b5675ea55dce17997b035d0ba451c011b101f9e315e983b20610ee022ee286b50a7b13e2508584b9c08dba0c6cda20b8801a63
25 DIST consolekit_0.4.6-4.debian.tar.gz 12192 SHA256 6d4dd5e13a76454b4bab27ab6b407718cd77616afd2b1af7cb8d947c1323b802 SHA512 f7fc5965b1f495d16a8ca167940431bc2569e9bde9e4a356b9c9ed00c2825db61da7b6db3d434d977fff72b3aaef30c455a365b9eba282a887a523753613b58f WHIRLPOOL 961a918c21259e24c68c7a5bf93964825b891ea207c088fecab61f81434012dc8925fca83b74518cfc9cf42f2c4a87eba7518c0829f663716ca0e11e38c856c9
26
27 diff --git a/sys-auth/consolekit/consolekit-1.0.0-r1.ebuild b/sys-auth/consolekit/consolekit-1.0.0-r1.ebuild
28 deleted file mode 100644
29 index 62dd44b..0000000
30 --- a/sys-auth/consolekit/consolekit-1.0.0-r1.ebuild
31 +++ /dev/null
32 @@ -1,114 +0,0 @@
33 -# Copyright 1999-2016 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI=5
38 -inherit eutils linux-info pam
39 -
40 -MY_PN=ConsoleKit2
41 -MY_P=${MY_PN}-${PV}
42 -
43 -DESCRIPTION="Framework for defining and tracking users, login sessions and seats"
44 -HOMEPAGE="https://github.com/ConsoleKit2/ConsoleKit2 https://www.freedesktop.org/wiki/Software/ConsoleKit"
45 -SRC_URI="https://github.com/${MY_PN}/${MY_PN}/releases/download/${PV}/${MY_P}.tar.bz2"
46 -
47 -LICENSE="GPL-2"
48 -SLOT="0"
49 -KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc64 ~x86"
50 -IUSE="acl cgroups debug doc kernel_linux pam policykit selinux test"
51 -
52 -COMMON_DEPEND=">=dev-libs/glib-2.40:2=[dbus]
53 - >=sys-devel/gettext-0.19
54 - sys-apps/dbus
55 - sys-libs/zlib:=
56 - x11-libs/libX11:=
57 - acl? (
58 - sys-apps/acl:=
59 - >=virtual/udev-200
60 - )
61 - cgroups? (
62 - app-admin/cgmanager
63 - >=sys-libs/libnih-1.0.2[dbus]
64 - )
65 - pam? ( virtual/pam )
66 - policykit? ( >=sys-auth/polkit-0.110 )"
67 -RDEPEND="${COMMON_DEPEND}
68 - kernel_linux? ( sys-apps/coreutils[acl?] )
69 - selinux? ( sec-policy/selinux-consolekit )"
70 -DEPEND="${COMMON_DEPEND}
71 - dev-libs/libxslt
72 - virtual/pkgconfig
73 - doc? ( app-text/xmlto )
74 - test? (
75 - app-text/docbook-xml-dtd:4.1.2
76 - app-text/xmlto
77 - )"
78 -
79 -S=${WORKDIR}/${MY_P}
80 -
81 -QA_MULTILIB_PATHS="usr/lib/ConsoleKit/.*"
82 -
83 -pkg_setup() {
84 - if use kernel_linux; then
85 - # This is from https://bugs.gentoo.org/376939
86 - use acl && CONFIG_CHECK="~TMPFS_POSIX_ACL"
87 - # This is required to get login-session-id string with pam_ck_connector.so
88 - use pam && CONFIG_CHECK+=" ~AUDITSYSCALL"
89 - linux-info_pkg_setup
90 - fi
91 -}
92 -
93 -src_prepare() {
94 - sed -i -e '/SystemdService/d' data/org.freedesktop.ConsoleKit.service.in || die
95 -
96 - epatch_user
97 -}
98 -
99 -src_configure() {
100 - econf \
101 - XMLTO_FLAGS='--skip-validation' \
102 - --libexecdir="${EPREFIX}"/usr/lib/ConsoleKit \
103 - --localstatedir="${EPREFIX}"/var \
104 - $(use_enable pam pam-module) \
105 - $(use_enable doc docbook-docs) \
106 - $(use_enable test docbook-docs) \
107 - $(use_enable debug) \
108 - $(use_enable policykit polkit) \
109 - $(use_enable acl udev-acl) \
110 - $(use_enable cgroups) \
111 - $(use_enable test tests) \
112 - --with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services \
113 - --with-pam-module-dir="$(getpam_mod_dir)" \
114 - --with-xinitrc-dir=/etc/X11/xinit/xinitrc.d \
115 - --without-systemdsystemunitdir
116 -}
117 -
118 -src_install() {
119 - emake \
120 - DESTDIR="${D}" \
121 - htmldocdir="${EPREFIX}"/usr/share/doc/${PF}/html \
122 - install
123 -
124 - dosym /usr/lib/ConsoleKit /usr/lib/${PN}
125 -
126 - dodoc AUTHORS HACKING NEWS README TODO
127 -
128 - newinitd "${FILESDIR}"/${PN}-1.0.0.initd consolekit
129 -
130 - keepdir /usr/lib/ConsoleKit/run-seat.d
131 - keepdir /usr/lib/ConsoleKit/run-session.d
132 - keepdir /etc/ConsoleKit/run-session.d
133 - keepdir /var/log/ConsoleKit
134 -
135 - exeinto /etc/X11/xinit/xinitrc.d
136 - newexe "${FILESDIR}"/90-consolekit-3 90-consolekit
137 -
138 - prune_libtool_files --all # --all for pam_ck_connector.la
139 -
140 - rm -rf "${ED}"/var/run || die # let the init script create the directory
141 -}
142 -
143 -pkg_postinst() {
144 - elog "For suspend/hibernate support, please emerge"
145 - elog " sys-power/pm-utils"
146 -}