Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ostree/
Date: Sun, 04 Oct 2020 18:47:22
Message-Id: 1601837214.4267b9b44c593c03a16f224c560e47f2aad05f94.zmedico@gentoo
1 commit: 4267b9b44c593c03a16f224c560e47f2aad05f94
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 4 18:46:54 2020 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 4 18:46:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4267b9b4
7
8 dev-util/ostree: Remove old versions
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 dev-util/ostree/Manifest | 1 -
14 dev-util/ostree/ostree-2018.9-r1.ebuild | 123 --------------------------------
15 dev-util/ostree/ostree-2018.9.ebuild | 108 ----------------------------
16 3 files changed, 232 deletions(-)
17
18 diff --git a/dev-util/ostree/Manifest b/dev-util/ostree/Manifest
19 index efa90df5b75..5211bf003e4 100644
20 --- a/dev-util/ostree/Manifest
21 +++ b/dev-util/ostree/Manifest
22 @@ -1,2 +1 @@
23 -DIST ostree-2018.9.tar.xz 1951732 BLAKE2B c6fba1321fe21bff569fe1dadd1aa649f23059a35dc906c3a0b7dcca29f7acbe8338e19541d8f7d854452bf6a6b1ac293d4350c7056a9b13b9ed1eacf358d4b3 SHA512 407b6b67add54e80a55fc35f08bde56561009db93ec202a10dd1ec1e66bd32b439c1d66c759e4e173e44fce6fbc2c162cae928a477c9d7abafbf007ed8f7bfb5
24 DIST ostree-2019.5.tar.xz 1972452 BLAKE2B a8b015118855b8b0097f535ac074aeffc599c3f6f654967043e8e4de339d2a51e85ad1b4b3f3b22e18d39235e6ad9c1973334a2c4fc9b5c694f2ff40d68ae703 SHA512 27150802ed9af16e698ed163f6ad235f0f99a1410df52b4b1e266585fe665880c0b9490bf245b5593cb277007b7229d808be7403dd964c58aded6e567349c912
25
26 diff --git a/dev-util/ostree/ostree-2018.9-r1.ebuild b/dev-util/ostree/ostree-2018.9-r1.ebuild
27 deleted file mode 100644
28 index 77065eb10dd..00000000000
29 --- a/dev-util/ostree/ostree-2018.9-r1.ebuild
30 +++ /dev/null
31 @@ -1,123 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -inherit autotools systemd
38 -
39 -DESCRIPTION="Operating system and container binary deployment and upgrades"
40 -HOMEPAGE="https://ostree.readthedocs.io/en/latest/"
41 -SRC_URI="https://github.com/ostreedev/ostree/releases/download/v${PV}/lib${P}.tar.xz -> ${P}.tar.xz"
42 -
43 -KEYWORDS="~amd64 ~x86"
44 -LICENSE="LGPL-2+"
45 -SLOT="0"
46 -
47 -IUSE="archive curl doc dracut gnutls grub http2 httpd introspection libmount selinux ssl soup systemd zeroconf"
48 -RESTRICT="test"
49 -REQUIRED_USE="httpd? ( || ( curl soup ) )"
50 -
51 -COMMON_DEPEND="
52 - archive? ( app-arch/libarchive )
53 - app-crypt/gpgme
54 - app-arch/xz-utils
55 - curl? ( net-misc/curl )
56 - soup? ( net-libs/libsoup )
57 - dev-libs/glib:2
58 - dev-libs/libassuan
59 - dev-libs/libgpg-error
60 - dracut? ( sys-kernel/dracut )
61 - grub? ( sys-boot/grub:2= )
62 - introspection? ( dev-libs/gobject-introspection )
63 - ssl? (
64 - gnutls? ( net-libs/gnutls )
65 - !gnutls? ( dev-libs/openssl:0= ) )
66 - sys-fs/fuse:0
67 - sys-libs/zlib
68 - libmount? ( sys-apps/util-linux )
69 - selinux? ( sys-libs/libselinux )
70 - systemd? ( sys-apps/systemd:0= )
71 - zeroconf? ( net-dns/avahi[dbus] )"
72 -
73 -DEPEND="${COMMON_DEPEND}
74 - app-text/docbook-xsl-stylesheets
75 - dev-libs/libxslt
76 - doc? ( dev-util/gtk-doc )"
77 -
78 -RDEPEND="${COMMON_DEPEND}"
79 -BDEPEND="
80 - dev-util/glib-utils
81 - sys-devel/flex
82 - sys-devel/bison
83 - virtual/pkgconfig"
84 -
85 -S="${WORKDIR}/lib${P}"
86 -
87 -src_prepare() {
88 - sed -Ee 's:(XSLT_STYLESHEET = ).*:\1/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl:' \
89 - -i Makefile.in Makefile-man.am || die
90 -
91 - # The ostree-finalize-staged.path file is missing in ostree-2018.9.tar.xz.
92 - [ -e src/boot/ostree-finalize-staged.path ] && die
93 - cat > src/boot/ostree-finalize-staged.path <<-EOF
94 - # Copyright (C) 2018 Red Hat, Inc.
95 - #
96 - # This library is free software; you can redistribute it and/or
97 - # modify it under the terms of the GNU Lesser General Public
98 - # License as published by the Free Software Foundation; either
99 - # version 2 of the License, or (at your option) any later version.
100 - #
101 - # This library is distributed in the hope that it will be useful,
102 - # but WITHOUT ANY WARRANTY; without even the implied warranty of
103 - # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
104 - # Lesser General Public License for more details.
105 - #
106 - # You should have received a copy of the GNU Lesser General Public
107 - # License along with this library; if not, write to the
108 - # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
109 - # Boston, MA 02111-1307, USA.
110 -
111 - # For some implementation discussion, see:
112 - # https://lists.freedesktop.org/archives/systemd-devel/2018-March/040557.html
113 - [Unit]
114 - Description=OSTree Monitor Staged Deployment
115 - Documentation=man:ostree(1)
116 -
117 - [Path]
118 - PathExists=/run/ostree/staged-deployment
119 -
120 - [Install]
121 - WantedBy=multi-user.target
122 - EOF
123 -
124 - eautoreconf
125 - default
126 -}
127 -
128 -src_configure() {
129 - local econfargs=(
130 - --enable-man
131 - --enable-shared
132 - $(use_with archive libarchive)
133 - $(use_with curl)
134 - $(use_with dracut)
135 - $(use_enable doc gtk-doc)
136 - $(use_enable introspection)
137 - $(use_enable http2)
138 - $(use_enable httpd trivial-httpd-cmdline)
139 - $(use_with selinux )
140 - $(use_with soup)
141 - $(use_with libmount)
142 - $(use ssl && { use gnutls && echo --with-crypto=gnutls || echo --with-crypto=openssl; })
143 - $(use_with systemd libsystemd)
144 - $(use_with zeroconf avahi)
145 - )
146 -
147 - unset ${!XDG_*} #657346 g-ir-scanner sandbox violation
148 - econf ${econfargs[*]}
149 -}
150 -
151 -src_install() {
152 - default
153 - find "${D}" -name '*.la' -delete || die
154 -}
155
156 diff --git a/dev-util/ostree/ostree-2018.9.ebuild b/dev-util/ostree/ostree-2018.9.ebuild
157 deleted file mode 100644
158 index 6f86406b9de..00000000000
159 --- a/dev-util/ostree/ostree-2018.9.ebuild
160 +++ /dev/null
161 @@ -1,108 +0,0 @@
162 -# Copyright 1999-2020 Gentoo Authors
163 -# Distributed under the terms of the GNU General Public License v2
164 -
165 -EAPI=6
166 -
167 -DESCRIPTION="Operating system and container binary deployment and upgrades"
168 -HOMEPAGE="https://ostree.readthedocs.io/en/latest/"
169 -SRC_URI="https://github.com/ostreedev/${PN}/releases/download/v${PV}/lib${P}.tar.xz -> ${P}.tar.xz"
170 -
171 -LICENSE="LGPL-2+"
172 -SLOT="0"
173 -KEYWORDS="~amd64 ~x86"
174 -IUSE="archive curl doc gnutls grub introspection libmount selinux ssl soup systemd zeroconf"
175 -RESTRICT="test"
176 -
177 -S="${WORKDIR}/lib${P}"
178 -COMMON_DEPEND="
179 - app-arch/xz-utils:=
180 - app-crypt/gpgme:=
181 - dev-libs/glib:2=
182 - dev-libs/libassuan:=
183 - dev-libs/libgpg-error:=
184 - dev-libs/openssl:0=
185 - sys-apps/util-linux:=
186 - sys-fs/fuse:0=
187 - sys-libs/zlib:=
188 -
189 - archive? ( app-arch/libarchive:= )
190 - grub? ( sys-boot/grub:* )
191 - ssl? (
192 - gnutls? ( net-libs/gnutls:= )
193 - !gnutls? ( dev-libs/openssl:= )
194 - )
195 - libmount? ( sys-apps/util-linux:= )
196 - selinux? ( sys-libs/libselinux:= )
197 - soup? ( net-libs/libsoup:= )
198 - systemd? ( sys-apps/systemd:= )
199 - zeroconf? ( net-dns/avahi:* )
200 -"
201 -DEPEND="
202 - ${COMMON_DEPEND}
203 - app-text/docbook-xsl-stylesheets
204 - sys-devel/bison
205 - dev-libs/libxslt
206 - || ( dev-util/glib-utils dev-libs/glib:2 )
207 - sys-devel/bison
208 - sys-devel/flex
209 - virtual/pkgconfig
210 - curl? ( net-misc/curl:= )
211 - introspection? ( dev-libs/gobject-introspection )
212 - doc? ( dev-util/gtk-doc )
213 -"
214 -RDEPEND="${COMMON_DEPEND}"
215 -
216 -src_prepare() {
217 - default
218 - sed -Ee 's:(XSLT_STYLESHEET = ).*:\1/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl:' \
219 - -i Makefile.in Makefile-man.am || die
220 -
221 - # The ostree-finalize-staged.path file is missing in ostree-2018.9.tar.xz.
222 - [[ -e src/boot/ostree-finalize-staged.path ]] && die
223 - cat > src/boot/ostree-finalize-staged.path <<-EOF
224 - # Copyright (C) 2018 Red Hat, Inc.
225 - #
226 - # This library is free software; you can redistribute it and/or
227 - # modify it under the terms of the GNU Lesser General Public
228 - # License as published by the Free Software Foundation; either
229 - # version 2 of the License, or (at your option) any later version.
230 - #
231 - # This library is distributed in the hope that it will be useful,
232 - # but WITHOUT ANY WARRANTY; without even the implied warranty of
233 - # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
234 - # Lesser General Public License for more details.
235 - #
236 - # You should have received a copy of the GNU Lesser General Public
237 - # License along with this library; if not, write to the
238 - # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
239 - # Boston, MA 02111-1307, USA.
240 -
241 - # For some implementation discussion, see:
242 - # https://lists.freedesktop.org/archives/systemd-devel/2018-March/040557.html
243 - [Unit]
244 - Description=OSTree Monitor Staged Deployment
245 - Documentation=man:ostree(1)
246 -
247 - [Path]
248 - PathExists=/run/ostree/staged-deployment
249 -
250 - [Install]
251 - WantedBy=multi-user.target
252 - EOF
253 -}
254 -
255 -src_configure() {
256 - unset ${!XDG_*} #657346 g-ir-scanner sandbox violation
257 - econf \
258 - --enable-man \
259 - $(use_with archive libarchive) \
260 - $(use_with curl) \
261 - $(use_enable doc gtk-doc) \
262 - $(use_enable introspection) \
263 - $(use_with selinux ) \
264 - $(use_with soup) \
265 - $(use_with libmount) \
266 - $(use ssl && { use gnutls && echo --with-crypto=gnutls || echo --with-crypto=openssl; }) \
267 - $(use_with systemd libsystemd) \
268 - $(use_with zeroconf avahi)
269 -}