commit:     1390b23f46a1e80620fea4ed7f27866ba4c6de67
Author:     Alexander Golubev <fatzer2 <AT> gmail <DOT> com>
AuthorDate: Fri Nov 15 00:27:37 2024 +0000
Commit:     Golubev Alexander <fatzer2 <AT> gmail <DOT> com>
CommitDate: Fri Nov 15 00:27:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1390b23f

sys-fs/gfs2-utils: add 3.5.1

Bug: https://bugs.gentoo.org/888029
Bug: https://bugs.gentoo.org/888031
Signed-off-by: Alexander Golubev <fatzer2 <AT> gmail.com>

 sys-fs/gfs2-utils/Manifest                |  1 +
 sys-fs/gfs2-utils/gfs2-utils-3.5.1.ebuild | 58 +++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/sys-fs/gfs2-utils/Manifest b/sys-fs/gfs2-utils/Manifest
index 0a34a9bb2..ccd559696 100644
--- a/sys-fs/gfs2-utils/Manifest
+++ b/sys-fs/gfs2-utils/Manifest
@@ -1 +1,2 @@
 DIST gfs2-utils-3.4.1.tar.gz 374633 BLAKE2B 
cbb46a150935950d817f28ce750a654b54a0e6c0bfe8fc6a08d812d51860c6b8c6833215b35af6cb7ae51a0e5eba7e3deab5520bbe3ee6de5dde414dd0a480a4
 SHA512 
f8d3412a383d2d0e8435196c95a5361a3b9e5ab581549e6d434f5a33791d666c80700ee93f53e1d31aa3c304b84b6d72596b0a77e0aa54b2d88ec988ffa3cf88
+DIST gfs2-utils-3.5.1.tar.gz 378029 BLAKE2B 
87292006cb5b5ccbda151acbb11fc54b52fe6fdda2a13eb662939cb249501c9e595626bb98580036ea2950992457831b7079cd4bce14df3d9d501dd322a7a942
 SHA512 
84845751842cdbdc9a17925617875c186d1af839da85bb2680d6485fd04c77a274655c44ba4d01cd12758874daa5f019f9d6147a82ca0d8c8c7335849e3ae180

diff --git a/sys-fs/gfs2-utils/gfs2-utils-3.5.1.ebuild 
b/sys-fs/gfs2-utils/gfs2-utils-3.5.1.ebuild
new file mode 100644
index 000000000..bd7341853
--- /dev/null
+++ b/sys-fs/gfs2-utils/gfs2-utils-3.5.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools linux-info
+
+DESCRIPTION="Shared-disk cluster file system"
+HOMEPAGE="https://pagure.io/gfs2-utils";
+SRC_URI="https://pagure.io/gfs2-utils/archive/${PV}/${P}.tar.gz";
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="nls test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="dev-build/automake
+               dev-build/automake
+               dev-build/libtool
+               dev-build/make
+"
+RDEPEND="sys-libs/zlib
+               app-arch/bzip2
+               sys-libs/ncurses
+               sys-apps/util-linux
+"
+
+DEPEND="${RDEPEND}
+               sys-devel/gettext
+               sys-devel/bison
+               sys-devel/flex
+               test? ( dev-libs/check )
+               sys-kernel/linux-headers
+"
+
+src_prepare() {
+       eapply "${FILESDIR}"/reproducible.patch
+       eapply "${FILESDIR}"/gfs2_withdraw_helper.patch
+       eapply "${FILESDIR}"/python3.patch
+
+       sed -i '/^CFLAGS=/s!\$\(GDB_FLAGS\|OPT_CFLAGS\)\s*!!g' configure.ac || 
die
+
+       default
+
+       eautoreconf
+}
+
+src_configure() {
+                       local econf_args
+                               econf_args=(
+                               bzip2_LIBS="-L/$(get_libdir) -lbz2"
+                               bzip2_CFLAGS="-I${prefix}/include"
+                               )
+                       ECONF_SOURCE="${S}" econf "${econf_args[@]}"
+
+}

Reply via email to