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: Thu, 28 Oct 2021 05:58:00
Message-Id: 1635400629.786efa2f6e11c118af4198e0ba642fd02982e58d.zmedico@gentoo
1 commit: 786efa2f6e11c118af4198e0ba642fd02982e58d
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 28 05:56:40 2021 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 28 05:57:09 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=786efa2f
7
8 dev-util/ostree: Bump to version 2021.5
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 dev-util/ostree/Manifest | 1 +
14 dev-util/ostree/ostree-2021.5.ebuild | 106 +++++++++++++++++++++++++++++++++++
15 2 files changed, 107 insertions(+)
16
17 diff --git a/dev-util/ostree/Manifest b/dev-util/ostree/Manifest
18 index 63faa1e3270..bcac13a4cd6 100644
19 --- a/dev-util/ostree/Manifest
20 +++ b/dev-util/ostree/Manifest
21 @@ -1,2 +1,3 @@
22 DIST ostree-2021.3.tar.xz 2089804 BLAKE2B 5df33b676173b1ec08ac7592d4ddf8e3bfdcd84df1b3ce19e2f24c85780fed1f210b8adce1baf4ec87869c72984502276bf6e5a72268daaae6ce9b3d6dc6f88b SHA512 0df0d8f9bd82b16562dd5146997eddfb7cb6cffc1886601307d97a1cb1dc926bda7d0c899db26c974ed0dff1012dee11937e47c11c4d03307fa3d2d430adc60e
23 DIST ostree-2021.4.tar.xz 2048424 BLAKE2B 386ed38f6dc8035a429505d8392682f739bc9a57a8cf9d7960942cd0ff0b61eee314116866c3b520d802a3f16f6dfecd1ea45a7b1d44cac8d065ad56a1ed2c2f SHA512 9bde7281afa456b30253149639854f579c1f1bdf6c429059eeb69042515b5ebfdf6426b4c9780ca8e700a11f0ec05cfc03e48baa8d0858ddbca7d3942aab9bbd
24 +DIST ostree-2021.5.tar.xz 2049572 BLAKE2B 946e863470e53a27f9936e224e2fdf00aa70c47d141b4101e00935f597aee037fd60d0d5660e7f41cb7a3fc7051a5f286a96e10a16b7f35da2be26c29c745346 SHA512 73d463e9cfaa027ac640051615b312c1800e71b2587e33cbae1e60356cb3c3f5d4afcda8ace680636ebd1d112061f2a8a7c25c46aa24a1b260244451157ffe8a
25
26 diff --git a/dev-util/ostree/ostree-2021.5.ebuild b/dev-util/ostree/ostree-2021.5.ebuild
27 new file mode 100644
28 index 00000000000..4c74aecc1d4
29 --- /dev/null
30 +++ b/dev-util/ostree/ostree-2021.5.ebuild
31 @@ -0,0 +1,106 @@
32 +# Copyright 1999-2021 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://ostreedev.github.io/ostree/"
41 +SRC_URI="https://github.com/ostreedev/ostree/releases/download/v${PV}/lib${P}.tar.xz -> ${P}.tar.xz"
42 +
43 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
44 +LICENSE="LGPL-2+"
45 +SLOT="0"
46 +
47 +IUSE="archive +curl doc dracut gnutls +gpg grub +http2 httpd introspection libmount selinux sodium ssl +soup systemd zeroconf"
48 +RESTRICT+=" test"
49 +REQUIRED_USE="
50 + dracut? ( systemd )
51 + http2? ( curl )
52 + httpd? ( || ( curl soup ) )
53 +"
54 +
55 +COMMON_DEPEND="
56 + app-arch/xz-utils
57 + dev-libs/libassuan
58 + dev-libs/glib:2
59 + >=sys-fs/fuse-2.9.2:0
60 + sys-libs/zlib
61 + archive? ( app-arch/libarchive:= )
62 + curl? ( net-misc/curl )
63 + dracut? ( sys-kernel/dracut )
64 + gpg? (
65 + app-crypt/gpgme
66 + dev-libs/libgpg-error
67 + )
68 + grub? ( sys-boot/grub:2= )
69 + introspection? ( dev-libs/gobject-introspection )
70 + libmount? ( sys-apps/util-linux )
71 + selinux? ( sys-libs/libselinux )
72 + sodium? ( >=dev-libs/libsodium-1.0.14:= )
73 + soup? ( net-libs/libsoup:2.4 )
74 + ssl? (
75 + gnutls? ( net-libs/gnutls:= )
76 + !gnutls? (
77 + dev-libs/openssl:0=
78 + )
79 + )
80 + systemd? ( sys-apps/systemd:0= )
81 + zeroconf? ( net-dns/avahi[dbus] )"
82 +
83 +DEPEND="${COMMON_DEPEND}
84 + app-text/docbook-xsl-stylesheets
85 + dev-libs/libxslt
86 + doc? ( dev-util/gtk-doc )"
87 +
88 +RDEPEND="${COMMON_DEPEND}"
89 +BDEPEND="
90 + dev-util/glib-utils
91 + sys-devel/flex
92 + sys-devel/bison
93 + virtual/pkgconfig"
94 +
95 +S="${WORKDIR}/lib${P}"
96 +
97 +src_prepare() {
98 + sed -Ee 's:(XSLT_STYLESHEET = ).*:\1/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl:' \
99 + -i Makefile.in Makefile-man.am || die
100 + eautoreconf
101 + default
102 +}
103 +
104 +src_configure() {
105 + local econfargs=(
106 + --enable-man
107 + --enable-shared
108 + $(use_with archive libarchive)
109 + $(use_with curl)
110 + $(use_with dracut dracut yesbutnoconf) #816867
111 + $(use_enable doc gtk-doc)
112 + $(usex introspection --enable-introspection={,} yes no)
113 + $(use_with gpg gpgme)
114 + $(use_enable http2)
115 + $(use_enable httpd trivial-httpd-cmdline)
116 + $(use_with selinux )
117 + $(use_with soup)
118 + $(use_with libmount)
119 + $(use ssl && { use gnutls && echo --with-crypto=gnutls || echo --with-crypto=openssl; })
120 + $(use_with sodium ed25519-libsodium)
121 + $(use_with systemd libsystemd)
122 + $(use_with zeroconf avahi)
123 + )
124 +
125 + if use systemd; then
126 + econfargs+=(--with-systemdsystemunitdir="$(systemd_get_systemunitdir)")
127 + fi
128 +
129 + unset ${!XDG_*} #657346 g-ir-scanner sandbox violation
130 + econf "${econfargs[@]}"
131 +}
132 +
133 +src_install() {
134 + default
135 + find "${D}" -name '*.la' -delete || die
136 + rm -f "${ED}/etc/grub.d/15_ostree"
137 +}