From 15671a3ddc016183a3069ccb03cb2b154a75d7ce Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 23 Jun 2024 02:46:00 +0100 Subject: dev-util/ostree: subscribe to libassuan subslot Signed-off-by: Sam James --- dev-util/ostree/ostree-2023.1-r1.ebuild | 120 ++++++++++++++++++++++++++++++++ dev-util/ostree/ostree-2023.1.ebuild | 120 -------------------------------- dev-util/ostree/ostree-2023.2-r1.ebuild | 118 +++++++++++++++++++++++++++++++ dev-util/ostree/ostree-2023.2.ebuild | 118 ------------------------------- dev-util/ostree/ostree-2023.3-r1.ebuild | 119 ------------------------------- dev-util/ostree/ostree-2023.3-r2.ebuild | 118 +++++++++++++++++++++++++++++++ dev-util/ostree/ostree-2023.3-r3.ebuild | 119 +++++++++++++++++++++++++++++++ dev-util/ostree/ostree-2023.3.ebuild | 118 ------------------------------- 8 files changed, 475 insertions(+), 475 deletions(-) create mode 100644 dev-util/ostree/ostree-2023.1-r1.ebuild delete mode 100644 dev-util/ostree/ostree-2023.1.ebuild create mode 100644 dev-util/ostree/ostree-2023.2-r1.ebuild delete mode 100644 dev-util/ostree/ostree-2023.2.ebuild delete mode 100644 dev-util/ostree/ostree-2023.3-r1.ebuild create mode 100644 dev-util/ostree/ostree-2023.3-r2.ebuild create mode 100644 dev-util/ostree/ostree-2023.3-r3.ebuild delete mode 100644 dev-util/ostree/ostree-2023.3.ebuild diff --git a/dev-util/ostree/ostree-2023.1-r1.ebuild b/dev-util/ostree/ostree-2023.1-r1.ebuild new file mode 100644 index 000000000000..80a7ccd04806 --- /dev/null +++ b/dev-util/ostree/ostree-2023.1-r1.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" + +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.1.ebuild b/dev-util/ostree/ostree-2023.1.ebuild deleted file mode 100644 index 94174a9acdaf..000000000000 --- a/dev-util/ostree/ostree-2023.1.ebuild +++ /dev/null @@ -1,120 +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" - -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 new file mode 100644 index 000000000000..5a4ceedad43a --- /dev/null +++ b/dev-util/ostree/ostree-2023.2-r1.ebuild @@ -0,0 +1,118 @@ +# 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.2.ebuild b/dev-util/ostree/ostree-2023.2.ebuild deleted file mode 100644 index 86ec61715472..000000000000 --- a/dev-util/ostree/ostree-2023.2.ebuild +++ /dev/null @@ -1,118 +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/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-r1.ebuild b/dev-util/ostree/ostree-2023.3-r1.ebuild deleted file mode 100644 index 3f15f173ee52..000000000000 --- a/dev-util/ostree/ostree-2023.3-r1.ebuild +++ /dev/null @@ -1,119 +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/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.3-r2.ebuild b/dev-util/ostree/ostree-2023.3-r2.ebuild new file mode 100644 index 000000000000..5a4ceedad43a --- /dev/null +++ b/dev-util/ostree/ostree-2023.3-r2.ebuild @@ -0,0 +1,118 @@ +# 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 new file mode 100644 index 000000000000..48eb2de51fc0 --- /dev/null +++ b/dev-util/ostree/ostree-2023.3-r3.ebuild @@ -0,0 +1,119 @@ +# 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.3.ebuild b/dev-util/ostree/ostree-2023.3.ebuild deleted file mode 100644 index 86ec61715472..000000000000 --- a/dev-util/ostree/ostree-2023.3.ebuild +++ /dev/null @@ -1,118 +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/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 -} -- cgit v1.2.3-65-gdbad