commit: 2f43ed25db334822d12484755a802c510f0a43e0 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Fri Dec 26 20:16:27 2025 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Fri Dec 26 20:16:27 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f43ed25
dev-util/ostree: add 2025.7 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> dev-util/ostree/Manifest | 1 + dev-util/ostree/ostree-2025.7.ebuild | 122 +++++++++++++++++++++++++++++++++++ 2 files changed, 123 insertions(+) diff --git a/dev-util/ostree/Manifest b/dev-util/ostree/Manifest index 4387dc47f913..23c5c2556d3d 100644 --- a/dev-util/ostree/Manifest +++ b/dev-util/ostree/Manifest @@ -2,3 +2,4 @@ DIST ostree-2024.3.tar.xz 2141876 BLAKE2B 5a2639b99697eaf3f0a94d619c5121cb095bd2 DIST ostree-2024.8.tar.xz 2107348 BLAKE2B 933f85b122b92cf8656698bbe7cfbce8a918aca0e779185049ed6c808f194c8fb9163a08b6cf1d6b368e2bcb0f45d434d83f243fbebf06a86afefa01247dab71 SHA512 6faed3daebce443134141bbf98add459c6f0c8239cc0e050cf2517d1127f3fd6aededd4af5d8400f869683b96aea2abb93bab8869dbf2f9a4ba02324c3005e5d DIST ostree-2025.2.tar.xz 2119744 BLAKE2B 1564ac07e41e091db0678ca93e77429c158c07bb430b9dc983809dd819de6186ec8dd9fba3e1cc4e81945da473c735a3b9766119bb0649b8eb00eb386f4395c6 SHA512 5e732a22da238b378e779c3886445977da49e2f810d18cb3580b030175e5e9db53408bcba245e840cdaea7e193907d284a369c42b3b7104c270e58a8c38f4f6a DIST ostree-2025.6.tar.xz 2133732 BLAKE2B a276f27d99438167f59eb0bd6caba01e6ba3066ef4b72e7b5c86abc8a1d7b08714493b51a041bb1e74a13d8cc292c48a4e16f389d45d1f75b12d6f2d6706968d SHA512 ca321175a9272cc7f6c3d7a3989d90d2cbb53def41ac2984ce6a60a05007b5760960a1bf4e9a5f13adc246c7061214424f21a5a284c201d8c4a4f5c619c6e02d +DIST ostree-2025.7.tar.xz 2134020 BLAKE2B fc0ac56e63f41b53c29144dbcf4e01b3552caa0fb215eae07a753b90bd5139eed8992502d761854d66abd0130c182de7e253106a9cf93968446251539a41e505 SHA512 bf10001f64b11c1aa5c7c4d5fee744b2ee1ea950adf1efd69f315d18e428967daba2ea4aa1120b9e2a0b8e56f7664601c396eb57ff833299bf86ed003ece60da diff --git a/dev-util/ostree/ostree-2025.7.ebuild b/dev-util/ostree/ostree-2025.7.ebuild new file mode 100644 index 000000000000..034fa6f39770 --- /dev/null +++ b/dev-util/ostree/ostree-2025.7.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools systemd tmpfiles + +DESCRIPTION="Operating system and container binary deployment and upgrades" +HOMEPAGE="https://ostreedev.github.io/ostree/" +SRC_URI=" + https://github.com/ostreedev/ostree/releases/download/v${PV}/lib${P}.tar.xz + -> ${P}.tar.xz +" +S="${WORKDIR}/lib${P}" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="archive +curl doc dracut gnutls +gpg grub +http2 introspection libmount selinux sodium ssl +soup systemd zeroconf" +RESTRICT="test" +REQUIRED_USE=" + dracut? ( systemd ) + http2? ( curl ) +" + +RDEPEND=" + app-arch/xz-utils + dev-libs/glib:2 + sys-fs/fuse:3= + virtual/zlib:= + archive? ( app-arch/libarchive:= ) + curl? ( net-misc/curl ) + dracut? ( sys-kernel/dracut ) + gpg? ( + app-crypt/gpgme:= + dev-libs/libgpg-error + ) + grub? ( sys-boot/grub:2= ) + introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2 ) + libmount? ( sys-apps/util-linux ) + selinux? ( sys-libs/libselinux ) + sodium? ( >=dev-libs/libsodium-1.0.14:= ) + soup? ( net-libs/libsoup:3.0 ) + ssl? ( + gnutls? ( net-libs/gnutls:= ) + !gnutls? ( + dev-libs/openssl:0= + ) + ) + systemd? ( sys-apps/systemd:0= ) + zeroconf? ( net-dns/avahi[dbus] ) +" +DEPEND="${RDEPEND} + app-text/docbook-xml-dtd:4.2 + app-text/docbook-xsl-stylesheets + doc? ( + dev-util/gtk-doc + app-text/docbook-xml-dtd:4.3 + ) +" +BDEPEND=" + dev-libs/libxslt + dev-util/glib-utils + sys-devel/flex + sys-devel/bison + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-2023.3-dont-force-clang-introspection.patch + "${FILESDIR}"/${PN}-2024.8-Werror.patch + "${FILESDIR}"/${PN}-2025.6-include-stdint-musl.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # Needs Bison (bug #884289) + unset YACC + + local econfargs=( + --enable-man + --enable-shared + --with-grub2-mkconfig-path=grub-mkconfig + --with-modern-grub + $(use_with archive libarchive) + $(use_with curl) + $(use_with dracut dracut yesbutnoconf) #816867 + $(use_enable doc gtk-doc) + $(usex introspection --enable-introspection={,} yes no) + $(use_with gpg gpgme) + $(use_enable http2) + $(use_with selinux ) + $(use_with soup soup3) + --without-soup # libsoup:2.4 + $(use_with libmount) + $(use ssl && usex gnutls --with-crypto=gnutls --with-crypto=openssl) + $(use_with sodium ed25519-libsodium) + $(use_with systemd libsystemd) + $(use_with zeroconf avahi) + ) + + if use systemd; then + econfargs+=( --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" ) + fi + + unset ${!XDG_*} #657346 g-ir-scanner sandbox violation + econf "${econfargs[@]}" +} + +src_install() { + default + dotmpfiles src/boot/ostree-tmpfiles.conf #901797 + find "${D}" -name '*.la' -type f -delete || die +} + +pkg_postinst() { + tmpfiles_process ostree-tmpfiles.conf +}
