1 |
commit: cb62b1c319a888c476a51729a706e63cdc43a3f1 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 28 03:54:16 2018 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 28 03:57:29 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb62b1c3 |
7 |
|
8 |
dev-util/ostree: version bump to 2018.9 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/668132 |
11 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
12 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
13 |
|
14 |
dev-util/ostree/Manifest | 1 + |
15 |
dev-util/ostree/metadata.xml | 2 + |
16 |
dev-util/ostree/ostree-2018.9.ebuild | 107 +++++++++++++++++++++++++++++++++++ |
17 |
3 files changed, 110 insertions(+) |
18 |
|
19 |
diff --git a/dev-util/ostree/Manifest b/dev-util/ostree/Manifest |
20 |
index efb030b2fe2..87e278a57a8 100644 |
21 |
--- a/dev-util/ostree/Manifest |
22 |
+++ b/dev-util/ostree/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST ostree-2018.5.tar.xz 1937184 BLAKE2B ff126d2963296eb9ac270816efed7d2fbfdbcc7b0dba69007ae83e4499a46ef21a5b4e5d387de9bd387af0fe8d4086427d1aa9043c246a49676d116e919a93e6 SHA512 03854c662cddc1e0c7150bb62bbdd2990cf091ef126ddc5bb94494fee2ffb0383afb067b89d63c3e4f39849e2c8b7cabfd887d0d6fc1e7a43fda4fe7da1dc2e8 |
25 |
+DIST ostree-2018.9.tar.xz 1951732 BLAKE2B c6fba1321fe21bff569fe1dadd1aa649f23059a35dc906c3a0b7dcca29f7acbe8338e19541d8f7d854452bf6a6b1ac293d4350c7056a9b13b9ed1eacf358d4b3 SHA512 407b6b67add54e80a55fc35f08bde56561009db93ec202a10dd1ec1e66bd32b439c1d66c759e4e173e44fce6fbc2c162cae928a477c9d7abafbf007ed8f7bfb5 |
26 |
|
27 |
diff --git a/dev-util/ostree/metadata.xml b/dev-util/ostree/metadata.xml |
28 |
index d31a8226768..4fb7a62d6f2 100644 |
29 |
--- a/dev-util/ostree/metadata.xml |
30 |
+++ b/dev-util/ostree/metadata.xml |
31 |
@@ -30,7 +30,9 @@ |
32 |
it's just a more polished version of Linux VServer hardlinks. |
33 |
</longdescription> |
34 |
<use> |
35 |
+ <flag name="archive">Use libarchive</flag> |
36 |
<flag name="grub">Enable grub configuration generator</flag> |
37 |
+ <flag name="libmount">Use libmount</flag> |
38 |
<flag name="soup">Use libsoup for networking</flag> |
39 |
</use> |
40 |
<upstream> |
41 |
|
42 |
diff --git a/dev-util/ostree/ostree-2018.9.ebuild b/dev-util/ostree/ostree-2018.9.ebuild |
43 |
new file mode 100644 |
44 |
index 00000000000..495e21ac476 |
45 |
--- /dev/null |
46 |
+++ b/dev-util/ostree/ostree-2018.9.ebuild |
47 |
@@ -0,0 +1,107 @@ |
48 |
+# Copyright 1999-2018 Gentoo Authors |
49 |
+# Distributed under the terms of the GNU General Public License v2 |
50 |
+ |
51 |
+EAPI=6 |
52 |
+ |
53 |
+DESCRIPTION="Operating system and container binary deployment and upgrades" |
54 |
+HOMEPAGE="https://ostree.readthedocs.io/en/latest/" |
55 |
+SRC_URI="https://github.com/ostreedev/${PN}/releases/download/v${PV}/lib${P}.tar.xz -> ${P}.tar.xz" |
56 |
+ |
57 |
+LICENSE="LGPL-2+" |
58 |
+SLOT="0" |
59 |
+KEYWORDS="~amd64 ~x86" |
60 |
+IUSE="archive curl doc gnutls grub introspection libmount selinux ssl soup systemd zeroconf" |
61 |
+RESTRICT="test" |
62 |
+ |
63 |
+S="${WORKDIR}/lib${P}" |
64 |
+COMMON_DEPEND=" |
65 |
+ app-arch/xz-utils:= |
66 |
+ app-crypt/gpgme:= |
67 |
+ dev-libs/glib:= |
68 |
+ dev-libs/libassuan:= |
69 |
+ dev-libs/libgpg-error:= |
70 |
+ dev-libs/openssl:= |
71 |
+ sys-apps/util-linux:= |
72 |
+ sys-fs/fuse:= |
73 |
+ sys-libs/zlib:= |
74 |
+ |
75 |
+ archive? ( app-arch/libarchive:= ) |
76 |
+ grub? ( sys-boot/grub:* ) |
77 |
+ ssl? ( |
78 |
+ gnutls? ( net-libs/gnutls:= ) |
79 |
+ !gnutls? ( dev-libs/openssl:= ) |
80 |
+ ) |
81 |
+ libmount? ( sys-apps/util-linux:= ) |
82 |
+ selinux? ( sys-libs/libselinux:= ) |
83 |
+ soup? ( net-libs/libsoup:= ) |
84 |
+ systemd? ( sys-apps/systemd:= ) |
85 |
+ zeroconf? ( net-dns/avahi:* ) |
86 |
+" |
87 |
+DEPEND=" |
88 |
+ ${COMMON_DEPEND} |
89 |
+ app-text/docbook-xsl-stylesheets |
90 |
+ sys-devel/bison |
91 |
+ dev-libs/libxslt |
92 |
+ sys-devel/bison |
93 |
+ sys-devel/flex |
94 |
+ virtual/pkgconfig |
95 |
+ curl? ( net-misc/curl:= ) |
96 |
+ introspection? ( dev-libs/gobject-introspection ) |
97 |
+ doc? ( dev-util/gtk-doc ) |
98 |
+" |
99 |
+RDEPEND="${COMMON_DEPEND}" |
100 |
+ |
101 |
+src_prepare() { |
102 |
+ default |
103 |
+ sed -Ee 's:(XSLT_STYLESHEET = ).*:\1/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl:' \ |
104 |
+ -i Makefile.in Makefile-man.am || die |
105 |
+ |
106 |
+ # The ostree-finalize-staged.path file is missing in ostree-2018.9.tar.xz. |
107 |
+ [[ -e src/boot/ostree-finalize-staged.path ]] && die |
108 |
+ cat > src/boot/ostree-finalize-staged.path <<-EOF |
109 |
+ # Copyright (C) 2018 Red Hat, Inc. |
110 |
+ # |
111 |
+ # This library is free software; you can redistribute it and/or |
112 |
+ # modify it under the terms of the GNU Lesser General Public |
113 |
+ # License as published by the Free Software Foundation; either |
114 |
+ # version 2 of the License, or (at your option) any later version. |
115 |
+ # |
116 |
+ # This library is distributed in the hope that it will be useful, |
117 |
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of |
118 |
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
119 |
+ # Lesser General Public License for more details. |
120 |
+ # |
121 |
+ # You should have received a copy of the GNU Lesser General Public |
122 |
+ # License along with this library; if not, write to the |
123 |
+ # Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
124 |
+ # Boston, MA 02111-1307, USA. |
125 |
+ |
126 |
+ # For some implementation discussion, see: |
127 |
+ # https://lists.freedesktop.org/archives/systemd-devel/2018-March/040557.html |
128 |
+ [Unit] |
129 |
+ Description=OSTree Monitor Staged Deployment |
130 |
+ Documentation=man:ostree(1) |
131 |
+ |
132 |
+ [Path] |
133 |
+ PathExists=/run/ostree/staged-deployment |
134 |
+ |
135 |
+ [Install] |
136 |
+ WantedBy=multi-user.target |
137 |
+ EOF |
138 |
+} |
139 |
+ |
140 |
+src_configure() { |
141 |
+ unset ${!XDG_*} #657346 g-ir-scanner sandbox violation |
142 |
+ econf \ |
143 |
+ --enable-man \ |
144 |
+ $(use_with archive libarchive) \ |
145 |
+ $(use_with curl) \ |
146 |
+ $(use_enable doc gtk-doc) \ |
147 |
+ $(use_enable introspection) \ |
148 |
+ $(use_with selinux ) \ |
149 |
+ $(use_with soup) \ |
150 |
+ $(use_with libmount) \ |
151 |
+ $(use ssl && { use gnutls && echo --with-crypto=gnutls || echo --with-crypto=openssl; }) \ |
152 |
+ $(use_with systemd libsystemd) \ |
153 |
+ $(use_with zeroconf avahi) |
154 |
+} |