Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/udisks/
Date: Wed, 29 Sep 2021 20:49:34
Message-Id: 1632948562.a102acf5933fe0a8b62ee9f309105505f9b02d0c.polynomial-c@gentoo
1 commit: a102acf5933fe0a8b62ee9f309105505f9b02d0c
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 29 20:49:10 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 29 20:49:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a102acf5
7
8 sys-fs/udisks: Removed old
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 sys-fs/udisks/Manifest | 2 -
13 sys-fs/udisks/udisks-2.9.1-r2.ebuild | 132 ----------------------------------
14 sys-fs/udisks/udisks-2.9.2-r2.ebuild | 135 -----------------------------------
15 3 files changed, 269 deletions(-)
16
17 diff --git a/sys-fs/udisks/Manifest b/sys-fs/udisks/Manifest
18 index 59ad55bcf5e..c7822b3becb 100644
19 --- a/sys-fs/udisks/Manifest
20 +++ b/sys-fs/udisks/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST udisks-2.9.1.tar.bz2 1680327 BLAKE2B 6573dd91decfaece6668a9848fc5ff276190c0d2be272e2d0fa550274a3e20df4038a87dd5fbb7b1b6a33a4c94f5668d01297d583da7df7027353353ef3936f4 SHA512 a360cafc65375153c5de65f817eecbc65d56a9d9167222e1adbc8f57568d15ccf7ed317e8e0b567340f250ca9247196de104442191bd069510f72dfc5ed65eb3
23 -DIST udisks-2.9.2.tar.bz2 1701377 BLAKE2B 402cf2354907acee13230d035c8b22634a70efab0e61939d8ff260391c80a0d166de67f57cc4b78025da027df16deb07c5620ab546d37181681d824ea84d0e8c SHA512 73a162bbb0fd6ec1e6a79af2a01185672712d7e94eacdc1a913f559a87fc620a095fe4c8b4dacbaa12bc816f565fc966d28c2f9299104da18581d4879321aee9
24 DIST udisks-2.9.3.tar.bz2 1778637 BLAKE2B 77352e2beb081486586587e3d7bdc5047662b27a246424bb995188c9da784e464681d9307dd0c4ca22a21da66d04dbdc9c945cc926b219a80682acfa60de04fe SHA512 1ee6e982e599c6872183068dd64f9259a522dea7a91ddc3119f9bc436c9c6bf2911e61f7ae339d67d4851cb6f55ec05b6d9a4cc8c1a9f7c5d35c66b80d5ada42
25 DIST udisks-2.9.4.tar.bz2 1699288 BLAKE2B 913f6dd02988c0bded13ae15a5f05e5b3c6404f0b0d58a493601a0762c7534403f89e9fb46ec6a536b85d5f9ca1f788c7a308f5563a897b324d212da0e7bab4b SHA512 35f5429bc2a7092aa659cba9296837d127e2b17c23ab23111d0d9b230d15ef5a6965e112b1f3829748a69a52fb5b09722153f86f1ef70977b3ad7b7a4ec40ec5
26
27 diff --git a/sys-fs/udisks/udisks-2.9.1-r2.ebuild b/sys-fs/udisks/udisks-2.9.1-r2.ebuild
28 deleted file mode 100644
29 index 57047f60efe..00000000000
30 --- a/sys-fs/udisks/udisks-2.9.1-r2.ebuild
31 +++ /dev/null
32 @@ -1,132 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -inherit bash-completion-r1 linux-info systemd tmpfiles udev xdg-utils
38 -
39 -DESCRIPTION="Daemon providing interfaces to work with storage devices"
40 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/udisks"
41 -SRC_URI="https://github.com/storaged-project/udisks/releases/download/${P}/${P}.tar.bz2"
42 -
43 -LICENSE="LGPL-2+ GPL-2+"
44 -SLOT="2"
45 -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 sparc x86"
46 -IUSE="acl +daemon debug elogind +introspection lvm nls selinux systemd vdo zram"
47 -
48 -REQUIRED_USE="
49 - ?? ( elogind systemd )
50 - elogind? ( daemon )
51 - systemd? ( daemon )
52 - zram? ( systemd )
53 -"
54 -
55 -COMMON_DEPEND="
56 - >=sys-auth/polkit-0.110
57 - >=sys-libs/libblockdev-2.24[cryptsetup,lvm?,vdo?]
58 - virtual/udev
59 - acl? ( virtual/acl )
60 - daemon? (
61 - >=dev-libs/glib-2.50:2
62 - >=dev-libs/libatasmart-0.19
63 - >=dev-libs/libgudev-165:=
64 - )
65 - elogind? ( >=sys-auth/elogind-219 )
66 - introspection? ( >=dev-libs/gobject-introspection-1.30:= )
67 - lvm? ( sys-fs/lvm2 )
68 - systemd? ( >=sys-apps/systemd-209 )
69 - zram? ( >=sys-libs/libblockdev-2.24[kbd] )
70 -"
71 -# util-linux -> mount, umount, swapon, swapoff (see also #403073)
72 -RDEPEND="${COMMON_DEPEND}
73 - >=sys-block/parted-3
74 - >=sys-apps/util-linux-2.30
75 - selinux? ( sec-policy/selinux-devicekit )
76 -"
77 -DEPEND="${COMMON_DEPEND}
78 - >=sys-kernel/linux-headers-3.1
79 -"
80 -BDEPEND="
81 - app-text/docbook-xsl-stylesheets
82 - >=dev-util/gdbus-codegen-2.32
83 - >=dev-util/gtk-doc-am-1.3
84 - virtual/pkgconfig
85 - nls? ( >=sys-devel/gettext-0.19.8 )
86 -"
87 -# If adding a eautoreconf, then these might be needed at buildtime:
88 -# dev-libs/gobject-introspection-common
89 -# sys-devel/autoconf-archive
90 -
91 -DOCS=( AUTHORS HACKING NEWS README.md )
92 -
93 -pkg_setup() {
94 - # Listing only major arch's here to avoid tracking kernel's defconfig
95 - if use amd64 || use arm || use ppc || use ppc64 || use x86; then
96 - CONFIG_CHECK="~!IDE" #319829
97 - CONFIG_CHECK+=" ~TMPFS_POSIX_ACL" #412377
98 - CONFIG_CHECK+=" ~NLS_UTF8" #425562
99 - kernel_is lt 3 10 && CONFIG_CHECK+=" ~USB_SUSPEND" #331065, #477278
100 - linux-info_pkg_setup
101 - fi
102 -}
103 -
104 -src_prepare() {
105 - xdg_environment_reset
106 - default
107 -
108 - if ! use systemd ; then
109 - sed -i -e 's:libsystemd-login:&disable:' configure || die
110 - fi
111 -}
112 -
113 -src_configure() {
114 - local myeconfargs=(
115 - --enable-btrfs
116 - --disable-gtk-doc
117 - --disable-static
118 - --localstatedir="${EPREFIX}"/var
119 - --with-html-dir="${EPREFIX}"/usr/share/gtk-doc/html
120 - --with-modprobedir="${EPREFIX}"/lib/modprobe.d
121 - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
122 - --with-tmpfilesdir="/usr/lib/tmpfiles.d"
123 - --with-udevdir="$(get_udevdir)"
124 - $(use_enable acl)
125 - $(use_enable daemon)
126 - $(use_enable debug)
127 - $(use_enable introspection)
128 - $(use_enable lvm lvm2)
129 - $(use_enable lvm lvmcache)
130 - $(use_enable nls)
131 - $(use_enable vdo)
132 - $(use_enable zram)
133 - )
134 - econf "${myeconfargs[@]}"
135 -}
136 -
137 -src_install() {
138 - default
139 - find "${ED}" -type f -name "*.la" -delete || die
140 - keepdir /var/lib/udisks2 #383091
141 -
142 - rm -rf "${ED}"/usr/share/bash-completion
143 - dobashcomp data/completions/udisksctl
144 -}
145 -
146 -pkg_preinst() {
147 - # Remove gtk-doc symlink, #597628
148 - if [[ -L "${EROOT}"/usr/share/gtk-doc/html/udisks2 ]]; then
149 - rm "${EROOT}"/usr/share/gtk-doc/html/udisks2 || die
150 - fi
151 -}
152 -
153 -pkg_postinst() {
154 - # TODO: obsolete with tmpfiles_process?
155 - #mkdir -p "${EROOT}"/run #415987
156 -
157 - tmpfiles_process udisks2.conf
158 -
159 - # See pkg_postinst() of >=sys-apps/baselayout-2.1-r1. Keep in sync?
160 - if ! grep -qs "^tmpfs.*/run " "${EROOT}"/proc/mounts ; then
161 - echo
162 - ewarn "You should reboot the system now to get /run mounted with tmpfs!"
163 - fi
164 -}
165
166 diff --git a/sys-fs/udisks/udisks-2.9.2-r2.ebuild b/sys-fs/udisks/udisks-2.9.2-r2.ebuild
167 deleted file mode 100644
168 index 480609ab96f..00000000000
169 --- a/sys-fs/udisks/udisks-2.9.2-r2.ebuild
170 +++ /dev/null
171 @@ -1,135 +0,0 @@
172 -# Copyright 1999-2021 Gentoo Authors
173 -# Distributed under the terms of the GNU General Public License v2
174 -
175 -EAPI=7
176 -inherit bash-completion-r1 linux-info systemd tmpfiles udev xdg-utils
177 -
178 -DESCRIPTION="Daemon providing interfaces to work with storage devices"
179 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/udisks"
180 -SRC_URI="https://github.com/storaged-project/udisks/releases/download/${P}/${P}.tar.bz2"
181 -
182 -LICENSE="LGPL-2+ GPL-2+"
183 -SLOT="2"
184 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
185 -IUSE="acl +daemon debug elogind +introspection lvm nls selinux systemd vdo zram"
186 -
187 -REQUIRED_USE="
188 - ?? ( elogind systemd )
189 - elogind? ( daemon )
190 - systemd? ( daemon )
191 - zram? ( systemd )
192 -"
193 -
194 -# See configure.ac file for the required min version
195 -BLOCKDEV_MIN_VER="2.25"
196 -
197 -COMMON_DEPEND="
198 - >=sys-auth/polkit-0.110
199 - >=sys-libs/libblockdev-${BLOCKDEV_MIN_VER}[cryptsetup,lvm?,vdo?]
200 - virtual/udev
201 - acl? ( virtual/acl )
202 - daemon? (
203 - >=dev-libs/glib-2.50:2
204 - >=dev-libs/libatasmart-0.19
205 - >=dev-libs/libgudev-165:=
206 - )
207 - elogind? ( >=sys-auth/elogind-219 )
208 - introspection? ( >=dev-libs/gobject-introspection-1.30:= )
209 - lvm? ( sys-fs/lvm2 )
210 - systemd? ( >=sys-apps/systemd-209 )
211 - zram? ( >=sys-libs/libblockdev-${BLOCKDEV_MIN_VER}[kbd] )
212 -"
213 -# util-linux -> mount, umount, swapon, swapoff (see also #403073)
214 -RDEPEND="${COMMON_DEPEND}
215 - >=sys-block/parted-3
216 - >=sys-apps/util-linux-2.30
217 - selinux? ( sec-policy/selinux-devicekit )
218 -"
219 -DEPEND="${COMMON_DEPEND}
220 - >=sys-kernel/linux-headers-3.1
221 -"
222 -BDEPEND="
223 - app-text/docbook-xsl-stylesheets
224 - >=dev-util/gdbus-codegen-2.32
225 - >=dev-util/gtk-doc-am-1.3
226 - virtual/pkgconfig
227 - nls? ( >=sys-devel/gettext-0.19.8 )
228 -"
229 -# If adding a eautoreconf, then these might be needed at buildtime:
230 -# dev-libs/gobject-introspection-common
231 -# sys-devel/autoconf-archive
232 -
233 -DOCS=( AUTHORS HACKING NEWS README.md )
234 -
235 -pkg_setup() {
236 - # Listing only major arch's here to avoid tracking kernel's defconfig
237 - if use amd64 || use arm || use ppc || use ppc64 || use x86; then
238 - CONFIG_CHECK="~!IDE" #319829
239 - CONFIG_CHECK+=" ~TMPFS_POSIX_ACL" #412377
240 - CONFIG_CHECK+=" ~NLS_UTF8" #425562
241 - kernel_is lt 3 10 && CONFIG_CHECK+=" ~USB_SUSPEND" #331065, #477278
242 - linux-info_pkg_setup
243 - fi
244 -}
245 -
246 -src_prepare() {
247 - xdg_environment_reset
248 - default
249 -
250 - if ! use systemd ; then
251 - sed -i -e 's:libsystemd-login:&disable:' configure || die
252 - fi
253 -}
254 -
255 -src_configure() {
256 - local myeconfargs=(
257 - --enable-btrfs
258 - --disable-gtk-doc
259 - --disable-static
260 - --localstatedir="${EPREFIX}"/var
261 - --with-html-dir="${EPREFIX}"/usr/share/gtk-doc/html
262 - --with-modprobedir="${EPREFIX}"/lib/modprobe.d
263 - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
264 - --with-tmpfilesdir="/usr/lib/tmpfiles.d"
265 - --with-udevdir="$(get_udevdir)"
266 - $(use_enable acl)
267 - $(use_enable daemon)
268 - $(use_enable debug)
269 - $(use_enable introspection)
270 - $(use_enable lvm lvm2)
271 - $(use_enable lvm lvmcache)
272 - $(use_enable nls)
273 - $(use_enable vdo)
274 - $(use_enable zram)
275 - )
276 - econf "${myeconfargs[@]}"
277 -}
278 -
279 -src_install() {
280 - default
281 - find "${ED}" -type f -name "*.la" -delete || die
282 - keepdir /var/lib/udisks2 #383091
283 -
284 - rm -rf "${ED}"/usr/share/bash-completion
285 - dobashcomp data/completions/udisksctl
286 -}
287 -
288 -pkg_preinst() {
289 - # Remove gtk-doc symlink, #597628
290 - if [[ -L "${EROOT}"/usr/share/gtk-doc/html/udisks2 ]]; then
291 - rm "${EROOT}"/usr/share/gtk-doc/html/udisks2 || die
292 - fi
293 -}
294 -
295 -pkg_postinst() {
296 - # TODO: obsolete with tmpfiles_process?
297 - # mkdir -p "${EROOT}"/run #415987
298 -
299 - tmpfiles_process udisks2.conf
300 -
301 - # See pkg_postinst() of >=sys-apps/baselayout-2.1-r1. Keep in sync?
302 - if ! grep -qs "^tmpfs.*/run " "${EROOT}"/proc/mounts ; then
303 - echo
304 - ewarn "You should reboot the system now to get /run mounted with tmpfs!"
305 - fi
306 -}