* [gentoo-commits] repo/gentoo:master commit in: dev-util/ostree/, dev-util/ostree/files/
@ 2022-08-23 23:09 Sam James
0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2022-08-23 23:09 UTC (permalink / raw
To: gentoo-commits
commit: 5045727a6420f1c11a1fdd9e97cfd58b90766051
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 23 22:42:35 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 23 22:42:35 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5045727a
dev-util/ostree: fix build w/ glibc 2.36, fix configure bashism
Closes: https://bugs.gentoo.org/863689
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/ostree/files/ostree-2022.5-bashism.patch | 35 ++++++
.../ostree/files/ostree-2022.5-glibc-2.36.patch | 127 +++++++++++++++++++++
dev-util/ostree/ostree-2022.5-r1.ebuild | 114 ++++++++++++++++++
3 files changed, 276 insertions(+)
diff --git a/dev-util/ostree/files/ostree-2022.5-bashism.patch b/dev-util/ostree/files/ostree-2022.5-bashism.patch
new file mode 100644
index 000000000000..1cf217de744b
--- /dev/null
+++ b/dev-util/ostree/files/ostree-2022.5-bashism.patch
@@ -0,0 +1,35 @@
+https://github.com/ostreedev/ostree/pull/2702
+
+From c568073d1e6a5e602a6df29eaa5b7392e076f5d6 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Tue, 23 Aug 2022 23:37:06 +0100
+Subject: [PATCH] buildutil/glibtests.m4: fix bashism
+
+configure scripts need to be runnable with a POSIX-compliant /bin/sh.
+
+On many (but not all!) systems, /bin/sh is provided by Bash, so errors
+like this aren't spotted. Notably Debian defaults to /bin/sh provided
+by dash which doesn't tolerate such bashisms as '=='.
+
+This retains compatibility with bash.
+
+Fixes configure warnings/errors like:
+```
+
+checking whether to build static libraries... no
+./configure: 14795: test: unexpected operator
+```
+
+Signed-off-by: Sam James <sam@gentoo.org>
+--- a/buildutil/glibtests.m4
++++ b/buildutil/glibtests.m4
+@@ -25,7 +25,7 @@ AC_DEFUN([GLIB_TESTS],
+ *) AC_MSG_ERROR([bad value ${enableval} for --enable-always-build-tests]) ;;
+ esac])
+ AM_CONDITIONAL([ENABLE_ALWAYS_BUILD_TESTS], test "$ENABLE_ALWAYS_BUILD_TESTS" = "1")
+- if test "$ENABLE_INSTALLED_TESTS" == "1"; then
++ if test "$ENABLE_INSTALLED_TESTS" = "1"; then
+ AC_SUBST(installed_test_metadir, [${datadir}/installed-tests/]AC_PACKAGE_NAME)
+ AC_SUBST(installed_testdir, [${libexecdir}/installed-tests/]AC_PACKAGE_NAME)
+ fi
+
diff --git a/dev-util/ostree/files/ostree-2022.5-glibc-2.36.patch b/dev-util/ostree/files/ostree-2022.5-glibc-2.36.patch
new file mode 100644
index 000000000000..6d01e96a09c8
--- /dev/null
+++ b/dev-util/ostree/files/ostree-2022.5-glibc-2.36.patch
@@ -0,0 +1,127 @@
+https://bugs.gentoo.org/863689
+https://github.com/ostreedev/ostree/commit/edba4b33be10c05253bfa94895dfbc8477e44d76
+https://github.com/ostreedev/ostree/commit/0a908a180fcce98c2565b9fb34470e5953918260
+
+From edba4b33be10c05253bfa94895dfbc8477e44d76 Mon Sep 17 00:00:00 2001
+From: Colin Walters <walters@verbum.org>
+Date: Wed, 3 Aug 2022 10:37:40 -0400
+Subject: [PATCH] Remove unused `linux/fs.h` includes
+
+Prep for fixing conflicts introduced by newer glibc.
+cc https://github.com/ostreedev/ostree/issues/2685
+--- a/src/libostree/ostree-repo-commit.c
++++ b/src/libostree/ostree-repo-commit.c
+@@ -30,7 +30,6 @@
+ #include <sys/xattr.h>
+ #include <glib/gprintf.h>
+ #include <sys/ioctl.h>
+-#include <linux/fs.h>
+ #include <ext2fs/ext2_fs.h>
+
+ #include "otutil.h"
+--- a/src/ostree/ot-main.c
++++ b/src/ostree/ot-main.c
+@@ -28,7 +28,6 @@
+ #include <string.h>
+ #include <sys/statvfs.h>
+ #include <sys/mount.h>
+-#include <linux/fs.h>
+
+ #include "ot-main.h"
+ #include "ostree.h"
+
+From 0a908a180fcce98c2565b9fb34470e5953918260 Mon Sep 17 00:00:00 2001
+From: Colin Walters <walters@verbum.org>
+Date: Wed, 3 Aug 2022 10:43:43 -0400
+Subject: [PATCH] Move FIFREEZE/FITHAW ioctl invocations into linuxfsutil.c
+
+Should help avoid conflicts between glibc and linux headers.
+
+Closes: https://github.com/ostreedev/ostree/issues/2685
+--- a/src/libostree/ostree-linuxfsutil.c
++++ b/src/libostree/ostree-linuxfsutil.c
+@@ -24,10 +24,12 @@
+
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
++// This should be the only file including linux/fs.h; see
++// https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E
++// https://github.com/ostreedev/ostree/issues/2685
++#include <linux/fs.h>
+ #include <ext2fs/ext2_fs.h>
+
+-#include "otutil.h"
+-
+ /**
+ * _ostree_linuxfs_fd_alter_immutable_flag:
+ * @fd: A file descriptor
+@@ -88,3 +90,21 @@ _ostree_linuxfs_fd_alter_immutable_flag (int fd,
+
+ return TRUE;
+ }
++
++/* Wrapper for FIFREEZE ioctl.
++ * This is split into a separate wrapped API for
++ * reasons around conflicts between glibc and linux/fs.h
++ * includes; see above.
++ */
++int
++_ostree_linuxfs_filesystem_freeze (int fd)
++{
++ return TEMP_FAILURE_RETRY (ioctl (fd, FIFREEZE, 0));
++}
++
++/* Wrapper for FITHAW ioctl. See above. */
++int
++_ostree_linuxfs_filesystem_thaw (int fd)
++{
++ return TEMP_FAILURE_RETRY (ioctl (fd, FITHAW, 0));
++}
+--- a/src/libostree/ostree-linuxfsutil.h
++++ b/src/libostree/ostree-linuxfsutil.h
+@@ -29,4 +29,7 @@ _ostree_linuxfs_fd_alter_immutable_flag (int fd,
+ GCancellable *cancellable,
+ GError **error);
+
++int _ostree_linuxfs_filesystem_freeze (int fd);
++int _ostree_linuxfs_filesystem_thaw (int fd);
++
+ G_END_DECLS
+--- a/src/libostree/ostree-sysroot-deploy.c
++++ b/src/libostree/ostree-sysroot-deploy.c
+@@ -29,7 +29,6 @@
+ #include <sys/ioctl.h>
+ #include <stdbool.h>
+ #include <sys/poll.h>
+-#include <linux/fs.h>
+ #include <err.h>
+
+ #ifdef HAVE_LIBMOUNT
+@@ -1476,7 +1475,7 @@ fsfreeze_thaw_cycle (OstreeSysroot *self,
+ * EOPNOTSUPP: If the filesystem doesn't support it
+ */
+ int saved_errno = errno;
+- (void) TEMP_FAILURE_RETRY (ioctl (rootfs_dfd, FITHAW, 0));
++ _ostree_linuxfs_filesystem_thaw (rootfs_dfd);
+ errno = saved_errno;
+ /* But if we got an error from poll, let's log it */
+ if (r < 0)
+@@ -1517,7 +1516,7 @@ fsfreeze_thaw_cycle (OstreeSysroot *self,
+ return glnx_throw (error, "aborting due to test-fifreeze");
+ }
+ /* Do a freeze/thaw cycle; TODO add a FIFREEZETHAW ioctl */
+- if (ioctl (rootfs_dfd, FIFREEZE, 0) != 0)
++ if (_ostree_linuxfs_filesystem_freeze (rootfs_dfd) != 0)
+ {
+ /* Not supported, we're running in the unit tests (as non-root), or
+ * the filesystem is already frozen (EBUSY).
+@@ -1539,7 +1538,7 @@ fsfreeze_thaw_cycle (OstreeSysroot *self,
+ return glnx_throw_errno_prefix (error, "ioctl(FIFREEZE)");
+ }
+ /* And finally thaw, then signal our completion to the watchdog */
+- if (TEMP_FAILURE_RETRY (ioctl (rootfs_dfd, FITHAW, 0)) != 0)
++ if (_ostree_linuxfs_filesystem_thaw (rootfs_dfd) != 0)
+ {
+ /* Warn but don't error if the filesystem was already thawed */
+ if (errno == EINVAL)
+
diff --git a/dev-util/ostree/ostree-2022.5-r1.ebuild b/dev-util/ostree/ostree-2022.5-r1.ebuild
new file mode 100644
index 000000000000..5500d617d7b6
--- /dev/null
+++ b/dev-util/ostree/ostree-2022.5-r1.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools systemd
+
+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"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+LICENSE="LGPL-2+"
+SLOT="0"
+
+IUSE="archive +curl doc dracut gnutls +gpg grub +http2 httpd introspection libmount selinux sodium ssl +soup systemd zeroconf"
+RESTRICT+=" test"
+REQUIRED_USE="
+ dracut? ( systemd )
+ http2? ( curl )
+ httpd? ( || ( curl soup ) )
+"
+
+COMMON_DEPEND="
+ app-arch/xz-utils
+ dev-libs/libassuan
+ dev-libs/glib:2
+ sys-fs/fuse:3
+ sys-libs/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 )
+ libmount? ( sys-apps/util-linux )
+ selinux? ( sys-libs/libselinux )
+ sodium? ( >=dev-libs/libsodium-1.0.14:= )
+ soup? ( net-libs/libsoup:2.4 )
+ ssl? (
+ gnutls? ( net-libs/gnutls:= )
+ !gnutls? (
+ dev-libs/openssl:0=
+ )
+ )
+ systemd? ( sys-apps/systemd:0= )
+ zeroconf? ( net-dns/avahi[dbus] )"
+
+DEPEND="${COMMON_DEPEND}
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ doc? ( dev-util/gtk-doc )"
+
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND="
+ dev-util/glib-utils
+ sys-devel/flex
+ sys-devel/bison
+ virtual/pkgconfig"
+
+S="${WORKDIR}/lib${P}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-glibc-2.36.patch
+ "${FILESDIR}"/${P}-bashism.patch
+)
+
+src_prepare() {
+ default
+
+ sed -Ee 's:(XSLT_STYLESHEET = ).*:\1/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl:' \
+ -i Makefile.in Makefile-man.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ 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_enable httpd trivial-httpd-cmdline)
+ $(use_with selinux )
+ $(use_with soup)
+ $(use_with libmount)
+ $(use ssl && { use gnutls && echo --with-crypto=gnutls || echo --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
+ find "${D}" -name '*.la' -delete || die
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/ostree/, dev-util/ostree/files/
@ 2023-05-10 0:29 Sam James
0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2023-05-10 0:29 UTC (permalink / raw
To: gentoo-commits
commit: 32cf6e39d4bbceac2d7863f851d7bca27463c17e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May 10 00:25:13 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 10 00:29:26 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32cf6e39
dev-util/ostree: drop 2022.2, 2022.5-r1
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/ostree/Manifest | 2 -
dev-util/ostree/files/ostree-2022.5-bashism.patch | 35 ------
.../ostree/files/ostree-2022.5-glibc-2.36.patch | 127 ---------------------
dev-util/ostree/ostree-2022.2.ebuild | 110 ------------------
dev-util/ostree/ostree-2022.5-r1.ebuild | 117 -------------------
5 files changed, 391 deletions(-)
diff --git a/dev-util/ostree/Manifest b/dev-util/ostree/Manifest
index a7eab749bf05..fb9c66791c36 100644
--- a/dev-util/ostree/Manifest
+++ b/dev-util/ostree/Manifest
@@ -1,5 +1,3 @@
-DIST ostree-2022.2.tar.xz 2059592 BLAKE2B 73bb563be473f3f62ab2d0e1ec6e2b659c8c12aaba828ae6fd5bab4b6bd3a978ffe5d76e17734e40c0569e3e74f13b85aaf9ae467747c5bbb309c73b373e9909 SHA512 07be16101aa00f541833dc6123f015ee1af65e40e2c237322a129e944fa19791e7cad6f0b29ced3c128adbe23bdb3c8708688fadd4ed80b160acab584b84abfe
-DIST ostree-2022.5.tar.xz 2072208 BLAKE2B be12432c87da82362ceb49b61b0cfc2ab77fdd7e55dfd3ca238d3c0f6fa5e64dd953d709c39727a46f82b99ef07bfbebf83b581f5e96a10a08322854e9a0e1f9 SHA512 39abd076491ebab5cd6e23bff6ce0a346fe8d1e6a372abb42626ef5a8643411070b272637513b37393dc37af9b8eaaa42c19e2f1c16b98d441358c2046653654
DIST ostree-2022.6.tar.xz 2124464 BLAKE2B c6ea1f11d08261e8532345ffc18bec9e77d04e63aab0c8e2eb03a4b3d3c2c594bcc9e6c5341e4caefe81fbd06a055cd39b0f2f2b43d3e876837a9bac43c704f5 SHA512 03f6b6947a372e36d3a1ae3bbe47543c562113039ce10db9c6f26a7b4015afb41950bd00bd1931937a5fb3043689ca1046eb87afd890571cfedbfa1ef36219a7
DIST ostree-2022.7.tar.xz 2076728 BLAKE2B 7308be450e4aa9bebe3e8b86031bf75b7d0cd07a2e36d6d11d01aa8e8d19ed02e8560931a83f18856c7d4fc7ae6045d22b6aa4d7f577f3df9e704ae9d7562d3e SHA512 725eff027b2c4c1aec0c222a5fa6059f3a777f4d0c831b82a4021befba0078692aa5ced2c4c609530c70462b4148a3cc33152e3d9dc4a5d6f8cf98f61ef09c2a
DIST ostree-2023.1.tar.xz 2079904 BLAKE2B 993570624cb43684d81fff9f3789a9cee3b998f945a78bc6eb99330eed45739d1e6fb66589cefba10eea608c5cd389cc121a890c27efa773a405a5d8b1f117d9 SHA512 a6a6e47d6cb9ec6826d48a50a2abac69e4a040f2b5830d39e8a006c738a163fb15fde8630bf271d92cec9470601281669cd4bf942e4b7c4d42441bd5d1730572
diff --git a/dev-util/ostree/files/ostree-2022.5-bashism.patch b/dev-util/ostree/files/ostree-2022.5-bashism.patch
deleted file mode 100644
index 1cf217de744b..000000000000
--- a/dev-util/ostree/files/ostree-2022.5-bashism.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-https://github.com/ostreedev/ostree/pull/2702
-
-From c568073d1e6a5e602a6df29eaa5b7392e076f5d6 Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Tue, 23 Aug 2022 23:37:06 +0100
-Subject: [PATCH] buildutil/glibtests.m4: fix bashism
-
-configure scripts need to be runnable with a POSIX-compliant /bin/sh.
-
-On many (but not all!) systems, /bin/sh is provided by Bash, so errors
-like this aren't spotted. Notably Debian defaults to /bin/sh provided
-by dash which doesn't tolerate such bashisms as '=='.
-
-This retains compatibility with bash.
-
-Fixes configure warnings/errors like:
-```
-
-checking whether to build static libraries... no
-./configure: 14795: test: unexpected operator
-```
-
-Signed-off-by: Sam James <sam@gentoo.org>
---- a/buildutil/glibtests.m4
-+++ b/buildutil/glibtests.m4
-@@ -25,7 +25,7 @@ AC_DEFUN([GLIB_TESTS],
- *) AC_MSG_ERROR([bad value ${enableval} for --enable-always-build-tests]) ;;
- esac])
- AM_CONDITIONAL([ENABLE_ALWAYS_BUILD_TESTS], test "$ENABLE_ALWAYS_BUILD_TESTS" = "1")
-- if test "$ENABLE_INSTALLED_TESTS" == "1"; then
-+ if test "$ENABLE_INSTALLED_TESTS" = "1"; then
- AC_SUBST(installed_test_metadir, [${datadir}/installed-tests/]AC_PACKAGE_NAME)
- AC_SUBST(installed_testdir, [${libexecdir}/installed-tests/]AC_PACKAGE_NAME)
- fi
-
diff --git a/dev-util/ostree/files/ostree-2022.5-glibc-2.36.patch b/dev-util/ostree/files/ostree-2022.5-glibc-2.36.patch
deleted file mode 100644
index 6d01e96a09c8..000000000000
--- a/dev-util/ostree/files/ostree-2022.5-glibc-2.36.patch
+++ /dev/null
@@ -1,127 +0,0 @@
-https://bugs.gentoo.org/863689
-https://github.com/ostreedev/ostree/commit/edba4b33be10c05253bfa94895dfbc8477e44d76
-https://github.com/ostreedev/ostree/commit/0a908a180fcce98c2565b9fb34470e5953918260
-
-From edba4b33be10c05253bfa94895dfbc8477e44d76 Mon Sep 17 00:00:00 2001
-From: Colin Walters <walters@verbum.org>
-Date: Wed, 3 Aug 2022 10:37:40 -0400
-Subject: [PATCH] Remove unused `linux/fs.h` includes
-
-Prep for fixing conflicts introduced by newer glibc.
-cc https://github.com/ostreedev/ostree/issues/2685
---- a/src/libostree/ostree-repo-commit.c
-+++ b/src/libostree/ostree-repo-commit.c
-@@ -30,7 +30,6 @@
- #include <sys/xattr.h>
- #include <glib/gprintf.h>
- #include <sys/ioctl.h>
--#include <linux/fs.h>
- #include <ext2fs/ext2_fs.h>
-
- #include "otutil.h"
---- a/src/ostree/ot-main.c
-+++ b/src/ostree/ot-main.c
-@@ -28,7 +28,6 @@
- #include <string.h>
- #include <sys/statvfs.h>
- #include <sys/mount.h>
--#include <linux/fs.h>
-
- #include "ot-main.h"
- #include "ostree.h"
-
-From 0a908a180fcce98c2565b9fb34470e5953918260 Mon Sep 17 00:00:00 2001
-From: Colin Walters <walters@verbum.org>
-Date: Wed, 3 Aug 2022 10:43:43 -0400
-Subject: [PATCH] Move FIFREEZE/FITHAW ioctl invocations into linuxfsutil.c
-
-Should help avoid conflicts between glibc and linux headers.
-
-Closes: https://github.com/ostreedev/ostree/issues/2685
---- a/src/libostree/ostree-linuxfsutil.c
-+++ b/src/libostree/ostree-linuxfsutil.c
-@@ -24,10 +24,12 @@
-
- #include <fcntl.h>
- #include <sys/ioctl.h>
-+// This should be the only file including linux/fs.h; see
-+// https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E
-+// https://github.com/ostreedev/ostree/issues/2685
-+#include <linux/fs.h>
- #include <ext2fs/ext2_fs.h>
-
--#include "otutil.h"
--
- /**
- * _ostree_linuxfs_fd_alter_immutable_flag:
- * @fd: A file descriptor
-@@ -88,3 +90,21 @@ _ostree_linuxfs_fd_alter_immutable_flag (int fd,
-
- return TRUE;
- }
-+
-+/* Wrapper for FIFREEZE ioctl.
-+ * This is split into a separate wrapped API for
-+ * reasons around conflicts between glibc and linux/fs.h
-+ * includes; see above.
-+ */
-+int
-+_ostree_linuxfs_filesystem_freeze (int fd)
-+{
-+ return TEMP_FAILURE_RETRY (ioctl (fd, FIFREEZE, 0));
-+}
-+
-+/* Wrapper for FITHAW ioctl. See above. */
-+int
-+_ostree_linuxfs_filesystem_thaw (int fd)
-+{
-+ return TEMP_FAILURE_RETRY (ioctl (fd, FITHAW, 0));
-+}
---- a/src/libostree/ostree-linuxfsutil.h
-+++ b/src/libostree/ostree-linuxfsutil.h
-@@ -29,4 +29,7 @@ _ostree_linuxfs_fd_alter_immutable_flag (int fd,
- GCancellable *cancellable,
- GError **error);
-
-+int _ostree_linuxfs_filesystem_freeze (int fd);
-+int _ostree_linuxfs_filesystem_thaw (int fd);
-+
- G_END_DECLS
---- a/src/libostree/ostree-sysroot-deploy.c
-+++ b/src/libostree/ostree-sysroot-deploy.c
-@@ -29,7 +29,6 @@
- #include <sys/ioctl.h>
- #include <stdbool.h>
- #include <sys/poll.h>
--#include <linux/fs.h>
- #include <err.h>
-
- #ifdef HAVE_LIBMOUNT
-@@ -1476,7 +1475,7 @@ fsfreeze_thaw_cycle (OstreeSysroot *self,
- * EOPNOTSUPP: If the filesystem doesn't support it
- */
- int saved_errno = errno;
-- (void) TEMP_FAILURE_RETRY (ioctl (rootfs_dfd, FITHAW, 0));
-+ _ostree_linuxfs_filesystem_thaw (rootfs_dfd);
- errno = saved_errno;
- /* But if we got an error from poll, let's log it */
- if (r < 0)
-@@ -1517,7 +1516,7 @@ fsfreeze_thaw_cycle (OstreeSysroot *self,
- return glnx_throw (error, "aborting due to test-fifreeze");
- }
- /* Do a freeze/thaw cycle; TODO add a FIFREEZETHAW ioctl */
-- if (ioctl (rootfs_dfd, FIFREEZE, 0) != 0)
-+ if (_ostree_linuxfs_filesystem_freeze (rootfs_dfd) != 0)
- {
- /* Not supported, we're running in the unit tests (as non-root), or
- * the filesystem is already frozen (EBUSY).
-@@ -1539,7 +1538,7 @@ fsfreeze_thaw_cycle (OstreeSysroot *self,
- return glnx_throw_errno_prefix (error, "ioctl(FIFREEZE)");
- }
- /* And finally thaw, then signal our completion to the watchdog */
-- if (TEMP_FAILURE_RETRY (ioctl (rootfs_dfd, FITHAW, 0)) != 0)
-+ if (_ostree_linuxfs_filesystem_thaw (rootfs_dfd) != 0)
- {
- /* Warn but don't error if the filesystem was already thawed */
- if (errno == EINVAL)
-
diff --git a/dev-util/ostree/ostree-2022.2.ebuild b/dev-util/ostree/ostree-2022.2.ebuild
deleted file mode 100644
index 931a48f9ce06..000000000000
--- a/dev-util/ostree/ostree-2022.2.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools systemd
-
-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"
-
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
-LICENSE="LGPL-2+"
-SLOT="0"
-
-IUSE="archive +curl doc dracut gnutls +gpg grub +http2 httpd introspection libmount selinux sodium ssl +soup systemd zeroconf"
-RESTRICT+=" test"
-REQUIRED_USE="
- dracut? ( systemd )
- http2? ( curl )
- httpd? ( || ( curl soup ) )
-"
-
-COMMON_DEPEND="
- app-arch/xz-utils
- dev-libs/libassuan
- dev-libs/glib:2
- sys-fs/fuse:3
- sys-libs/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 )
- libmount? ( sys-apps/util-linux )
- selinux? ( sys-libs/libselinux )
- sodium? ( >=dev-libs/libsodium-1.0.14:= )
- soup? ( net-libs/libsoup:2.4 )
- ssl? (
- gnutls? ( net-libs/gnutls:= )
- !gnutls? (
- dev-libs/openssl:0=
- )
- )
- systemd? ( sys-apps/systemd:0= )
- zeroconf? ( net-dns/avahi[dbus] )"
-
-DEPEND="${COMMON_DEPEND}
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt
- doc? ( dev-util/gtk-doc )"
-
-RDEPEND="${COMMON_DEPEND}"
-BDEPEND="
- dev-util/glib-utils
- sys-devel/flex
- sys-devel/bison
- virtual/pkgconfig"
-
-S="${WORKDIR}/lib${P}"
-
-src_prepare() {
- sed -Ee 's:(XSLT_STYLESHEET = ).*:\1/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl:' \
- -i Makefile.in Makefile-man.am || die
- eautoreconf
- default
-}
-
-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_enable httpd trivial-httpd-cmdline)
- $(use_with selinux )
- $(use_with soup)
- $(use_with libmount)
- $(use ssl && { use gnutls && echo --with-crypto=gnutls || echo --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
- find "${D}" -name '*.la' -delete || die
-}
diff --git a/dev-util/ostree/ostree-2022.5-r1.ebuild b/dev-util/ostree/ostree-2022.5-r1.ebuild
deleted file mode 100644
index eb443e50cc0b..000000000000
--- a/dev-util/ostree/ostree-2022.5-r1.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools systemd
-
-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"
-
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-LICENSE="LGPL-2+"
-SLOT="0"
-
-IUSE="archive +curl doc dracut gnutls +gpg grub +http2 httpd introspection libmount selinux sodium ssl +soup systemd zeroconf"
-RESTRICT+=" test"
-REQUIRED_USE="
- dracut? ( systemd )
- http2? ( curl )
- httpd? ( || ( curl soup ) )
-"
-
-COMMON_DEPEND="
- app-arch/xz-utils
- dev-libs/libassuan
- dev-libs/glib:2
- sys-fs/fuse:3
- sys-libs/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 )
- libmount? ( sys-apps/util-linux )
- selinux? ( sys-libs/libselinux )
- sodium? ( >=dev-libs/libsodium-1.0.14:= )
- soup? ( net-libs/libsoup:2.4 )
- ssl? (
- gnutls? ( net-libs/gnutls:= )
- !gnutls? (
- dev-libs/openssl:0=
- )
- )
- systemd? ( sys-apps/systemd:0= )
- zeroconf? ( net-dns/avahi[dbus] )"
-
-DEPEND="${COMMON_DEPEND}
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt
- doc? ( dev-util/gtk-doc )"
-
-RDEPEND="${COMMON_DEPEND}"
-BDEPEND="
- dev-util/glib-utils
- sys-devel/flex
- sys-devel/bison
- virtual/pkgconfig"
-
-S="${WORKDIR}/lib${P}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-glibc-2.36.patch
- "${FILESDIR}"/${P}-bashism.patch
-)
-
-src_prepare() {
- default
-
- sed -Ee 's:(XSLT_STYLESHEET = ).*:\1/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl:' \
- -i Makefile.in Makefile-man.am || die
-
- 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_enable httpd trivial-httpd-cmdline)
- $(use_with selinux )
- $(use_with soup)
- $(use_with libmount)
- $(use ssl && { use gnutls && echo --with-crypto=gnutls || echo --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
- find "${D}" -name '*.la' -delete || die
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/ostree/, dev-util/ostree/files/
@ 2023-06-23 5:34 Sam James
0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2023-06-23 5:34 UTC (permalink / raw
To: gentoo-commits
commit: 625905a0e2802ad82919f13508adb9c76eaa279f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 23 05:34:19 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 23 05:34:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=625905a0
dev-util/ostree: respect CC w/ USE=introspection
Reported by block_iv on IRC.
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../ostree-2023.3-dont-force-clang-introspection.patch | 14 ++++++++++++++
dev-util/ostree/ostree-2023.3-r1.ebuild | 1 +
2 files changed, 15 insertions(+)
diff --git a/dev-util/ostree/files/ostree-2023.3-dont-force-clang-introspection.patch b/dev-util/ostree/files/ostree-2023.3-dont-force-clang-introspection.patch
new file mode 100644
index 000000000000..c8f554ae69a0
--- /dev/null
+++ b/dev-util/ostree/files/ostree-2023.3-dont-force-clang-introspection.patch
@@ -0,0 +1,14 @@
+Clang has supported -fstack-clash-protection for a while now.
+--- a/Makefile-libostree.am
++++ b/Makefile-libostree.am
+@@ -266,10 +266,6 @@ libostree_1_la_CFLAGS += $(OT_DEP_LIBSODIUM_CFLAGS)
+ libostree_1_la_LIBADD += $(OT_DEP_LIBSODIUM_LIBS)
+ endif # USE_LIBSODIUM
+
+-# XXX: work around clang being passed -fstack-clash-protection which it doesn't understand
+-# See: https://bugzilla.redhat.com/show_bug.cgi?id=1672012
+-INTROSPECTION_SCANNER_ENV = CC=gcc
+-
+ if BUILDOPT_INTROSPECTION
+ OSTree-1.0.gir: libostree-1.la Makefile
+ OSTree_1_0_gir_EXPORT_PACKAGES = ostree-1
diff --git a/dev-util/ostree/ostree-2023.3-r1.ebuild b/dev-util/ostree/ostree-2023.3-r1.ebuild
index ce6f430cb40f..3f15f173ee52 100644
--- a/dev-util/ostree/ostree-2023.3-r1.ebuild
+++ b/dev-util/ostree/ostree-2023.3-r1.ebuild
@@ -67,6 +67,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/ostree-2023.3-libgpg-error-underlinked-lld.patch
+ "${FILESDIR}"/ostree-2023.3-dont-force-clang-introspection.patch
)
src_prepare() {
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/ostree/, dev-util/ostree/files/
@ 2024-09-20 6:15 Sam James
0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2024-09-20 6:15 UTC (permalink / raw
To: gentoo-commits
commit: c1a6000b2ca54c0f9ab0e8c943e0fa329dcf856d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 20 06:14:30 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 20 06:15:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1a6000b
dev-util/ostree: fix crash w/ net-misc/curl-8.10.1
I'll leave the bump to maintainers.
Closes: https://bugs.gentoo.org/939813
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/ostree/files/ostree-2024.3-curl.patch | 58 ++++++++++++
dev-util/ostree/ostree-2024.3-r1.ebuild | 122 +++++++++++++++++++++++++
2 files changed, 180 insertions(+)
diff --git a/dev-util/ostree/files/ostree-2024.3-curl.patch b/dev-util/ostree/files/ostree-2024.3-curl.patch
new file mode 100644
index 000000000000..7e7a3a44d1f7
--- /dev/null
+++ b/dev-util/ostree/files/ostree-2024.3-curl.patch
@@ -0,0 +1,58 @@
+https://bugs.gentoo.org/939813
+https://github.com/ostreedev/ostree/pull/3307
+
+From 4d755a85225ea0a02d4580d088bb8a97138cb040 Mon Sep 17 00:00:00 2001
+From: Colin Walters <walters@verbum.org>
+Date: Wed, 18 Sep 2024 13:41:59 -0400
+Subject: [PATCH] curl: Make socket callback during cleanup into no-op
+
+Because curl_multi_cleanup may invoke callbacks, we effectively have
+some circular references going on here. See discussion in
+
+https://github.com/curl/curl/issues/14860
+
+Basically what we do is the socket callback libcurl may invoke into a no-op when
+we detect we're finalizing. The data structures are owned by this object and
+not by the callbacks, and will be destroyed below. Note that
+e.g. g_hash_table_unref() may itself invoke callbacks, which is where
+some data is cleaned up.
+
+Signed-off-by: Colin Walters <walters@verbum.org>
+--- a/src/libostree/ostree-fetcher-curl.c
++++ b/src/libostree/ostree-fetcher-curl.c
+@@ -78,6 +78,7 @@ struct OstreeFetcher
+ struct curl_slist *extra_headers;
+ int tmpdir_dfd;
+ bool force_anonymous;
++ bool finalizing; // Set if we're in the process of teardown
+ char *custom_user_agent;
+ guint32 opt_low_speed_limit;
+ guint32 opt_low_speed_time;
+@@ -180,6 +181,15 @@ _ostree_fetcher_finalize (GObject *object)
+ {
+ OstreeFetcher *self = OSTREE_FETCHER (object);
+
++ // Because curl_multi_cleanup may invoke callbacks, we effectively have
++ // some circular references going on here. See discussion in
++ // https://github.com/curl/curl/issues/14860
++ // Basically what we do is make most callbacks libcurl may invoke into no-ops when
++ // we detect we're finalizing. The data structures are owned by this object and
++ // not by the callbacks, and will be destroyed below. Note that
++ // e.g. g_hash_table_unref() may itself invoke callbacks, which is where
++ // some data is cleaned up.
++ self->finalizing = true;
+ curl_multi_cleanup (self->multi);
+ g_free (self->remote_name);
+ g_free (self->tls_ca_db_path);
+@@ -528,6 +538,10 @@ sock_cb (CURL *easy, curl_socket_t s, int what, void *cbp, void *sockp)
+ OstreeFetcher *fetcher = cbp;
+ SockInfo *fdp = (SockInfo *)sockp;
+
++ // We do nothing if we're in the process of teardown; see below.
++ if (fetcher->finalizing)
++ return 0;
++
+ if (what == CURL_POLL_REMOVE)
+ {
+ if (!g_hash_table_remove (fetcher->sockets, fdp))
+
diff --git a/dev-util/ostree/ostree-2024.3-r1.ebuild b/dev-util/ostree/ostree-2024.3-r1.ebuild
new file mode 100644
index 000000000000..05bac56034ba
--- /dev/null
+++ b/dev-util/ostree/ostree-2024.3-r1.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2024 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 httpd introspection libmount selinux sodium ssl +soup systemd zeroconf"
+RESTRICT="test"
+REQUIRED_USE="
+ dracut? ( systemd )
+ http2? ( curl )
+ httpd? ( || ( curl soup ) )
+"
+
+RDEPEND="
+ app-arch/xz-utils
+ dev-libs/glib:2
+ sys-fs/fuse:3
+ sys-libs/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 )
+ 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}"/ostree-2023.3-dont-force-clang-introspection.patch
+ "${FILESDIR}"/${P}-curl.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_enable httpd trivial-httpd-cmdline)
+ $(use_with selinux )
+ $(use_with soup soup3)
+ --without-soup # libsoup:2.4
+ $(use_with libmount)
+ $(use ssl && { use gnutls && echo --with-crypto=gnutls || echo --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
+ find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+ tmpfiles_process ostree-tmpfiles.conf
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/ostree/, dev-util/ostree/files/
@ 2024-09-20 14:32 Arthur Zamarin
0 siblings, 0 replies; 6+ messages in thread
From: Arthur Zamarin @ 2024-09-20 14:32 UTC (permalink / raw
To: gentoo-commits
commit: ac611942fe4ebd1569b366b39fd2d4cbd5e3982e
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 20 14:25:42 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 20 14:32:02 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac611942
dev-util/ostree: add 2024.8, handle -Werror
Closes: https://bugs.gentoo.org/925361
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-util/ostree/Manifest | 1 +
dev-util/ostree/files/ostree-2024.8-Werror.patch | 35 +++++++
dev-util/ostree/ostree-2024.8.ebuild | 120 +++++++++++++++++++++++
3 files changed, 156 insertions(+)
diff --git a/dev-util/ostree/Manifest b/dev-util/ostree/Manifest
index 85fcb80f2d3e..2ac0b3a282d0 100644
--- a/dev-util/ostree/Manifest
+++ b/dev-util/ostree/Manifest
@@ -3,3 +3,4 @@ DIST ostree-2023.2.tar.xz 2081320 BLAKE2B f773bf979b4bc97b9b8f96dc4385745bc386c2
DIST ostree-2023.3.tar.xz 2075168 BLAKE2B 6e699420a89b36520e60a5682a421fd8f10eb20702abe6af97be9ee78a04be98e8d164157d29726de9e63b869051f7e60f199776ea3d959d4f0ad4165ff780c6 SHA512 af3b80d55e15b515e860ab0ee5f061f1a4d649b21441d5cde66e71ff4349ef480565cb795838ebce2f42784d53e349c2443159d9ee452277001d930ba814fe40
DIST ostree-2023.5.tar.xz 2115184 BLAKE2B ac1fa6764e1b7e5cd6656f2977b2605e3d2c612e6ee426fc8dbd7c84d6aebe72159943d7c2e53a2898aee6c085814228df772edc35b93daa23cb14bbb5642a6f SHA512 0bb19f199344d8db7299cf710f2ba0b2657cdcb5b1fc6d85446cef9538b069e470b47fc0c2c1029e12b8b9adb978f32a6f44f48949ff5c97a01051a425a9f2d5
DIST ostree-2024.3.tar.xz 2141876 BLAKE2B 5a2639b99697eaf3f0a94d619c5121cb095bd21813af800041a9a4a077240ed4508c96fb67387f850a42bc4058c99d2d260ff66b0cee2fc89df64dae0b9b0508 SHA512 717e74bdaffe839acad68169d4a0290b3d81f2fb31329d02c507168b00b0b02928e2bb29c8c8fcef65a6581b98d9bad991adcde1579597b4be94822546c66573
+DIST ostree-2024.8.tar.xz 2107348 BLAKE2B 933f85b122b92cf8656698bbe7cfbce8a918aca0e779185049ed6c808f194c8fb9163a08b6cf1d6b368e2bcb0f45d434d83f243fbebf06a86afefa01247dab71 SHA512 6faed3daebce443134141bbf98add459c6f0c8239cc0e050cf2517d1127f3fd6aededd4af5d8400f869683b96aea2abb93bab8869dbf2f9a4ba02324c3005e5d
diff --git a/dev-util/ostree/files/ostree-2024.8-Werror.patch b/dev-util/ostree/files/ostree-2024.8-Werror.patch
new file mode 100644
index 000000000000..6843142000cf
--- /dev/null
+++ b/dev-util/ostree/files/ostree-2024.8-Werror.patch
@@ -0,0 +1,35 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -29,32 +29,6 @@ dnl automake variables we want in pkg-config
+ pkglibexecdir=$libexecdir/$PACKAGE
+ AC_SUBST(pkglibexecdir)
+
+-AS_IF([echo "$CFLAGS" | grep -q -E -e '-Werror($| )'], [], [
+-CC_CHECK_FLAGS_APPEND([WARN_CFLAGS], [CFLAGS], [\
+- -pipe \
+- -Wall \
+- -Werror=shadow \
+- -Werror=empty-body \
+- -Werror=strict-prototypes \
+- -Werror=missing-prototypes \
+- -Werror=implicit-function-declaration \
+- "-Werror=format=2 -Werror=format-security -Werror=format-nonliteral" \
+- -Werror=pointer-arith -Werror=init-self \
+- -Werror=missing-declarations \
+- -Werror=return-type \
+- -Werror=switch \
+- -Werror=overflow \
+- -Werror=int-conversion \
+- -Werror=parentheses \
+- -Werror=undef \
+- -Werror=incompatible-pointer-types \
+- -Werror=misleading-indentation \
+- -Werror=missing-include-dirs \
+- -Wstrict-aliasing=2 \
+- -Werror=unused-result \
+-])])
+-AC_SUBST(WARN_CFLAGS)
+-
+ AC_ARG_ENABLE(sanitizers,
+ AS_HELP_STRING([--enable-sanitizers],
+ [Enable ASAN and UBSAN (default: no)]),,
diff --git a/dev-util/ostree/ostree-2024.8.ebuild b/dev-util/ostree/ostree-2024.8.ebuild
new file mode 100644
index 000000000000..73e762df3dd1
--- /dev/null
+++ b/dev-util/ostree/ostree-2024.8.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2024 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
+ sys-libs/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 )
+ 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
+)
+
+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
+ find "${D}" -name '*.la' -type f -delete || die
+}
+
+pkg_postinst() {
+ tmpfiles_process ostree-tmpfiles.conf
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/ostree/, dev-util/ostree/files/
@ 2025-01-12 17:17 Sam James
0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2025-01-12 17:17 UTC (permalink / raw
To: gentoo-commits
commit: 743db586d11a5698b385a20fad3547c17739ef8c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 12 17:11:30 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 12 17:11:46 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=743db586
dev-util/ostree: drop versions
... depending on old libsoup slot.
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/ostree/Manifest | 4 -
.../ostree/files/ostree-2022.6-musl-allperms.patch | 17 ---
...stree-2023.3-libgpg-error-underlinked-lld.patch | 27 -----
dev-util/ostree/metadata.xml | 1 -
dev-util/ostree/ostree-2023.1-r1.ebuild | 120 --------------------
dev-util/ostree/ostree-2023.2-r1.ebuild | 118 --------------------
dev-util/ostree/ostree-2023.3-r2.ebuild | 118 --------------------
dev-util/ostree/ostree-2023.3-r3.ebuild | 119 --------------------
dev-util/ostree/ostree-2023.5.ebuild | 122 ---------------------
dev-util/ostree/ostree-2024.3.ebuild | 119 --------------------
10 files changed, 765 deletions(-)
diff --git a/dev-util/ostree/Manifest b/dev-util/ostree/Manifest
index 2ac0b3a282d0..64086d8b9f7f 100644
--- a/dev-util/ostree/Manifest
+++ b/dev-util/ostree/Manifest
@@ -1,6 +1,2 @@
-DIST ostree-2023.1.tar.xz 2079904 BLAKE2B 993570624cb43684d81fff9f3789a9cee3b998f945a78bc6eb99330eed45739d1e6fb66589cefba10eea608c5cd389cc121a890c27efa773a405a5d8b1f117d9 SHA512 a6a6e47d6cb9ec6826d48a50a2abac69e4a040f2b5830d39e8a006c738a163fb15fde8630bf271d92cec9470601281669cd4bf942e4b7c4d42441bd5d1730572
-DIST ostree-2023.2.tar.xz 2081320 BLAKE2B f773bf979b4bc97b9b8f96dc4385745bc386c29952a36c07cdd33a7db7802876ce154b5ac1f3669605ab3949a539aa8e2b3a3d94608557eb65249b5188f9d012 SHA512 549a2bdf8cef93d421aaf990e2d1c534063f0314b5933db7ce123bdd138229e24cc171d541296e45a7546a91d35149c1c8f29ea90949876200c574e7ec297b98
-DIST ostree-2023.3.tar.xz 2075168 BLAKE2B 6e699420a89b36520e60a5682a421fd8f10eb20702abe6af97be9ee78a04be98e8d164157d29726de9e63b869051f7e60f199776ea3d959d4f0ad4165ff780c6 SHA512 af3b80d55e15b515e860ab0ee5f061f1a4d649b21441d5cde66e71ff4349ef480565cb795838ebce2f42784d53e349c2443159d9ee452277001d930ba814fe40
-DIST ostree-2023.5.tar.xz 2115184 BLAKE2B ac1fa6764e1b7e5cd6656f2977b2605e3d2c612e6ee426fc8dbd7c84d6aebe72159943d7c2e53a2898aee6c085814228df772edc35b93daa23cb14bbb5642a6f SHA512 0bb19f199344d8db7299cf710f2ba0b2657cdcb5b1fc6d85446cef9538b069e470b47fc0c2c1029e12b8b9adb978f32a6f44f48949ff5c97a01051a425a9f2d5
DIST ostree-2024.3.tar.xz 2141876 BLAKE2B 5a2639b99697eaf3f0a94d619c5121cb095bd21813af800041a9a4a077240ed4508c96fb67387f850a42bc4058c99d2d260ff66b0cee2fc89df64dae0b9b0508 SHA512 717e74bdaffe839acad68169d4a0290b3d81f2fb31329d02c507168b00b0b02928e2bb29c8c8fcef65a6581b98d9bad991adcde1579597b4be94822546c66573
DIST ostree-2024.8.tar.xz 2107348 BLAKE2B 933f85b122b92cf8656698bbe7cfbce8a918aca0e779185049ed6c808f194c8fb9163a08b6cf1d6b368e2bcb0f45d434d83f243fbebf06a86afefa01247dab71 SHA512 6faed3daebce443134141bbf98add459c6f0c8239cc0e050cf2517d1127f3fd6aededd4af5d8400f869683b96aea2abb93bab8869dbf2f9a4ba02324c3005e5d
diff --git a/dev-util/ostree/files/ostree-2022.6-musl-allperms.patch b/dev-util/ostree/files/ostree-2022.6-musl-allperms.patch
deleted file mode 100644
index 9f4f2a21eb14..000000000000
--- a/dev-util/ostree/files/ostree-2022.6-musl-allperms.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://bugs.gentoo.org/879321
-
-From: ernsteiswuerfel <erhard_f@mailbox.org>
-
---- a/src/libostree/ostree-repo-checkout.c
-+++ b/src/libostree/ostree-repo-checkout.c
-@@ -37,6 +37,10 @@
-
- #define OVERLAYFS_WHITEOUT_PREFIX ".ostree-wh."
-
-+#if !defined(ALLPERMS)
-+# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO) /* 07777 */
-+#endif
-+
- /* Per-checkout call state/caching */
- typedef struct {
- GString *path_buf; /* buffer for real path if filtering enabled */
diff --git a/dev-util/ostree/files/ostree-2023.3-libgpg-error-underlinked-lld.patch b/dev-util/ostree/files/ostree-2023.3-libgpg-error-underlinked-lld.patch
deleted file mode 100644
index f96cb83a1e74..000000000000
--- a/dev-util/ostree/files/ostree-2023.3-libgpg-error-underlinked-lld.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-https://bugs.gentoo.org/905623
-https://github.com/ostreedev/ostree/pull/2880
-
-From c3bd439d3e9c8cfad40a8080d35c5d6b29041039 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Mon, 12 Jun 2023 14:04:44 -0700
-Subject: [PATCH] libostree: Link with libgpg-error for gpg_strerror_r API
-
-With f461c02bb55bf2853a3b81ed5c8618040ab54e98 use of gpg_strerror_r
-was added this symbol comes from libgpg-error however, therefore its
-needed to add -lgpg-error to cmdline to resolve this symbol especially
-with gold and lld linker. Fixes
-
-aarch64-yoe-linux-ld.lld: error: undefined reference due to --no-allow-shlib-undefined: gpg_strerror_r
->>> referenced by ./.libs/libostree-1.so
---- a/configure.ac
-+++ b/configure.ac
-@@ -243,8 +243,7 @@ AC_ARG_WITH(gpgme,
- [], [with_gpgme=yes])
- AS_IF([test x$with_gpgme != xno], [
- have_gpgme=yes
-- PKG_CHECK_MODULES([OT_DEP_GPGME], gpgme >= $LIBGPGME_DEPENDENCY, [], have_gpgme=no)
-- PKG_CHECK_MODULES([OT_DEP_GPG_ERROR], [gpg-error], [], have_gpgme=no)
-+ PKG_CHECK_MODULES([OT_DEP_GPGME], [gpgme >= $LIBGPGME_DEPENDENCY gpg-error], [have_gpgme=yes], [have_gpgme=no])
- ]
- )
- AS_IF([test x$with_gpgme != xno && test x$have_gpgme != xyes], [
diff --git a/dev-util/ostree/metadata.xml b/dev-util/ostree/metadata.xml
index 568d3a47f758..12322e128394 100644
--- a/dev-util/ostree/metadata.xml
+++ b/dev-util/ostree/metadata.xml
@@ -34,7 +34,6 @@
<flag name="dracut">Install dracut module</flag>
<flag name="gpg">Enable GPG support</flag>
<flag name="grub">Enable grub configuration generator</flag>
- <flag name="httpd">Enable ostree trivial-httpd entrypoint</flag>
<flag name="libmount">Use libmount</flag>
<flag name="sodium">Use libsodium for ed25519</flag>
<flag name="soup">Use libsoup for networking</flag>
diff --git a/dev-util/ostree/ostree-2023.1-r1.ebuild b/dev-util/ostree/ostree-2023.1-r1.ebuild
deleted file mode 100644
index 80a7ccd04806..000000000000
--- a/dev-util/ostree/ostree-2023.1-r1.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2024 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"
-
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
-LICENSE="LGPL-2+"
-SLOT="0"
-
-IUSE="archive +curl doc dracut gnutls +gpg grub +http2 httpd introspection libmount selinux sodium ssl +soup systemd zeroconf"
-RESTRICT="test"
-REQUIRED_USE="
- dracut? ( systemd )
- http2? ( curl )
- httpd? ( || ( curl soup ) )
-"
-
-COMMON_DEPEND="
- app-arch/xz-utils
- dev-libs/libassuan:=
- dev-libs/glib:2
- sys-fs/fuse:3
- sys-libs/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 )
- libmount? ( sys-apps/util-linux )
- selinux? ( sys-libs/libselinux )
- sodium? ( >=dev-libs/libsodium-1.0.14:= )
- soup? ( net-libs/libsoup:2.4 )
- ssl? (
- gnutls? ( net-libs/gnutls:= )
- !gnutls? (
- dev-libs/openssl:0=
- )
- )
- systemd? ( sys-apps/systemd:0= )
- zeroconf? ( net-dns/avahi[dbus] )"
-
-DEPEND="${COMMON_DEPEND}
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt
- doc? ( dev-util/gtk-doc )"
-
-RDEPEND="${COMMON_DEPEND}"
-BDEPEND="
- dev-util/glib-utils
- sys-devel/flex
- sys-devel/bison
- virtual/pkgconfig"
-
-S="${WORKDIR}/lib${P}"
-
-PATCHES=(
- "${FILESDIR}"/ostree-2022.6-musl-allperms.patch
-)
-
-src_prepare() {
- default
-
- sed -Ee 's:(XSLT_STYLESHEET = ).*:\1/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl:' \
- -i Makefile.in Makefile-man.am || die
-
- 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_enable httpd trivial-httpd-cmdline)
- $(use_with selinux )
- $(use_with soup)
- $(use_with libmount)
- $(use ssl && { use gnutls && echo --with-crypto=gnutls || echo --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
- find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- tmpfiles_process ostree-tmpfiles.conf
-}
diff --git a/dev-util/ostree/ostree-2023.2-r1.ebuild b/dev-util/ostree/ostree-2023.2-r1.ebuild
deleted file mode 100644
index 5a4ceedad43a..000000000000
--- a/dev-util/ostree/ostree-2023.2-r1.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2024 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}"
-
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
-LICENSE="LGPL-2+"
-SLOT="0"
-
-IUSE="archive +curl doc dracut gnutls +gpg grub +http2 httpd introspection libmount selinux sodium ssl +soup systemd zeroconf"
-RESTRICT="test"
-REQUIRED_USE="
- dracut? ( systemd )
- http2? ( curl )
- httpd? ( || ( curl soup ) )
-"
-
-RDEPEND="
- app-arch/xz-utils
- dev-libs/libassuan:=
- dev-libs/glib:2
- sys-fs/fuse:3
- sys-libs/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 )
- libmount? ( sys-apps/util-linux )
- selinux? ( sys-libs/libselinux )
- sodium? ( >=dev-libs/libsodium-1.0.14:= )
- soup? ( net-libs/libsoup:2.4 )
- 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-xsl-stylesheets
- dev-libs/libxslt
- doc? ( dev-util/gtk-doc )
-"
-BDEPEND="
- dev-util/glib-utils
- sys-devel/flex
- sys-devel/bison
- virtual/pkgconfig
-"
-
-PATCHES=(
- "${FILESDIR}"/ostree-2022.6-musl-allperms.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_enable httpd trivial-httpd-cmdline)
- $(use_with selinux )
- $(use_with soup)
- $(use_with libmount)
- $(use ssl && { use gnutls && echo --with-crypto=gnutls || echo --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
- find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- tmpfiles_process ostree-tmpfiles.conf
-}
diff --git a/dev-util/ostree/ostree-2023.3-r2.ebuild b/dev-util/ostree/ostree-2023.3-r2.ebuild
deleted file mode 100644
index 5a4ceedad43a..000000000000
--- a/dev-util/ostree/ostree-2023.3-r2.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2024 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}"
-
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
-LICENSE="LGPL-2+"
-SLOT="0"
-
-IUSE="archive +curl doc dracut gnutls +gpg grub +http2 httpd introspection libmount selinux sodium ssl +soup systemd zeroconf"
-RESTRICT="test"
-REQUIRED_USE="
- dracut? ( systemd )
- http2? ( curl )
- httpd? ( || ( curl soup ) )
-"
-
-RDEPEND="
- app-arch/xz-utils
- dev-libs/libassuan:=
- dev-libs/glib:2
- sys-fs/fuse:3
- sys-libs/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 )
- libmount? ( sys-apps/util-linux )
- selinux? ( sys-libs/libselinux )
- sodium? ( >=dev-libs/libsodium-1.0.14:= )
- soup? ( net-libs/libsoup:2.4 )
- 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-xsl-stylesheets
- dev-libs/libxslt
- doc? ( dev-util/gtk-doc )
-"
-BDEPEND="
- dev-util/glib-utils
- sys-devel/flex
- sys-devel/bison
- virtual/pkgconfig
-"
-
-PATCHES=(
- "${FILESDIR}"/ostree-2022.6-musl-allperms.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_enable httpd trivial-httpd-cmdline)
- $(use_with selinux )
- $(use_with soup)
- $(use_with libmount)
- $(use ssl && { use gnutls && echo --with-crypto=gnutls || echo --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
- find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- tmpfiles_process ostree-tmpfiles.conf
-}
diff --git a/dev-util/ostree/ostree-2023.3-r3.ebuild b/dev-util/ostree/ostree-2023.3-r3.ebuild
deleted file mode 100644
index 48eb2de51fc0..000000000000
--- a/dev-util/ostree/ostree-2023.3-r3.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2024 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}"
-
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
-LICENSE="LGPL-2+"
-SLOT="0"
-
-IUSE="archive +curl doc dracut gnutls +gpg grub +http2 httpd introspection libmount selinux sodium ssl +soup systemd zeroconf"
-RESTRICT="test"
-REQUIRED_USE="
- dracut? ( systemd )
- http2? ( curl )
- httpd? ( || ( curl soup ) )
-"
-
-RDEPEND="
- app-arch/xz-utils
- dev-libs/libassuan:=
- dev-libs/glib:2
- sys-fs/fuse:3
- sys-libs/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 )
- libmount? ( sys-apps/util-linux )
- selinux? ( sys-libs/libselinux )
- sodium? ( >=dev-libs/libsodium-1.0.14:= )
- soup? ( net-libs/libsoup:2.4 )
- 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-xsl-stylesheets
- dev-libs/libxslt
- doc? ( dev-util/gtk-doc )
-"
-BDEPEND="
- dev-util/glib-utils
- sys-devel/flex
- sys-devel/bison
- virtual/pkgconfig
-"
-
-PATCHES=(
- "${FILESDIR}"/ostree-2023.3-libgpg-error-underlinked-lld.patch
- "${FILESDIR}"/ostree-2023.3-dont-force-clang-introspection.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_enable httpd trivial-httpd-cmdline)
- $(use_with selinux )
- $(use_with soup)
- $(use_with libmount)
- $(use ssl && { use gnutls && echo --with-crypto=gnutls || echo --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
- find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- tmpfiles_process ostree-tmpfiles.conf
-}
diff --git a/dev-util/ostree/ostree-2023.5.ebuild b/dev-util/ostree/ostree-2023.5.ebuild
deleted file mode 100644
index bd78accab71b..000000000000
--- a/dev-util/ostree/ostree-2023.5.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2023 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}"
-
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
-LICENSE="LGPL-2+"
-SLOT="0"
-
-IUSE="archive +curl doc dracut gnutls +gpg grub +http2 httpd introspection libmount selinux sodium ssl +soup systemd zeroconf"
-RESTRICT="test"
-REQUIRED_USE="
- dracut? ( systemd )
- http2? ( curl )
- httpd? ( || ( curl soup ) )
-"
-
-RDEPEND="
- app-arch/xz-utils
- dev-libs/glib:2
- sys-fs/fuse:3
- sys-libs/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 )
- 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}"/ostree-2023.3-dont-force-clang-introspection.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_enable httpd trivial-httpd-cmdline)
- $(use_with selinux )
- $(use_with soup soup3)
- --without-soup # libsoup:2.4
- $(use_with libmount)
- $(use ssl && { use gnutls && echo --with-crypto=gnutls || echo --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
- find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- tmpfiles_process ostree-tmpfiles.conf
-}
diff --git a/dev-util/ostree/ostree-2024.3.ebuild b/dev-util/ostree/ostree-2024.3.ebuild
deleted file mode 100644
index bc45f57a3635..000000000000
--- a/dev-util/ostree/ostree-2024.3.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2024 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
- sys-libs/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 )
- 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}"/ostree-2023.3-dont-force-clang-introspection.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 && { use gnutls && echo --with-crypto=gnutls || echo --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
- find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- tmpfiles_process ostree-tmpfiles.conf
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-01-12 17:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-20 6:15 [gentoo-commits] repo/gentoo:master commit in: dev-util/ostree/, dev-util/ostree/files/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2025-01-12 17:17 Sam James
2024-09-20 14:32 Arthur Zamarin
2023-06-23 5:34 Sam James
2023-05-10 0:29 Sam James
2022-08-23 23:09 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox