diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-04 12:28:34 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-04 12:28:34 +0100 |
commit | 518b45bffd19d0b75715f338985f96c459f9d129 (patch) | |
tree | 948dfe5d479374fd6b85fe72ff2570e8a4af47ff /sys-fs/xfsdump | |
parent | 3f559ef486314f9b3b48d48eb303d6be68463af9 (diff) |
gentoo auto-resync : 04:09:2024 - 12:28:34
Diffstat (limited to 'sys-fs/xfsdump')
-rw-r--r-- | sys-fs/xfsdump/Manifest | 2 | ||||
-rw-r--r-- | sys-fs/xfsdump/xfsdump-3.2.0.ebuild | 85 |
2 files changed, 87 insertions, 0 deletions
diff --git a/sys-fs/xfsdump/Manifest b/sys-fs/xfsdump/Manifest index 0e14b7d24721..b0ab20a18143 100644 --- a/sys-fs/xfsdump/Manifest +++ b/sys-fs/xfsdump/Manifest @@ -4,5 +4,7 @@ AUX xfsdump-3.1.9-no-symlink.patch 1027 BLAKE2B 35e0a308e9c368448305361e1632a229 AUX xfsdump-3.1.9-prompt-overflow.patch 329 BLAKE2B 58bada935969c61fe9a161e810c6402642a87d0803076c89f1cecf5367037f96ff234d3231c49fa8b450810b21f60ac391bd631400e30738b9b11d3000158bd7 SHA512 dae03fd09ac45c8a974cf1818625cbb07c1bd7c88b28613f855d0a5878c1bf3bcb071c6f8ebd46627b83fd482ff4847a33f8a54f1de5be7595025df9f22d2fdf AUX xfsdump-3.1.9-skip-inventory-debian-subfolder.patch 468 BLAKE2B 81cf0af8cef61efa4dff6e230b71c0db65c3e7d93fd252035b6b5bf14afe28e65eccaef22bc3fc4419d196b0cca1428bc1697233efcc4f28aa138beaf3a5ccbf SHA512 c94af1c52c95a7617586b64a8936cdbfbd3a264c9580fabc3e1e7d3d5c37ca368b97f730baef2330e796ef7459561fa37b03280601aaa3b79eb2f90d9af5170d DIST xfsdump-3.1.12.tar.xz 609500 BLAKE2B 2cd39e9f66459d75e9a254c3409279fecb95883468fc933d4d8326d00e89422ce433472c98073aa2aef8c6c4a3a1ed7e5ef94584993eb4087b2a4667187c6aee SHA512 803a3b639aef35ec882f40faeaabf381973ba2636ce0c9d06568361f5398c3c6842ffe184fc01441bf51bb1ed1b9e40b012715c09c8cc942484cc031a8eb1757 +DIST xfsdump-3.2.0.tar.xz 615312 BLAKE2B 2971608b1ae3e280cba31ffefc379995211088338926f9c3f1679c825742b585bb1ab875b3da2afd48f6cd2bad04831e5e61d0251f018e2bebf72af4009ef764 SHA512 339317a92d7fda3e63b292db5e8a6d4a107a7f2ec269d54c109b6ade2f76cd823fb53db7a3a7e8a6c4883d6ce5626c7bc85fef6741f44699a4a8dfecfaa5231f EBUILD xfsdump-3.1.12.ebuild 1767 BLAKE2B 5a5bf49751aea95b8753d9b772479c99c817a918d97114be91489ab887e98f74f165702ec7156ca320a63c045bc1d09aaeaa79dac0a736f5dcf291d56bb42f7f SHA512 283e5c270d0acc8225691fbb8b10c44199e77108d789041d115689338f7459094b6ea99beec1375561c8144622acf7e96bca570d26db2bd99755907ee3ca1e53 +EBUILD xfsdump-3.2.0.ebuild 1941 BLAKE2B 8294e413c80b26ef9f0ece24883c589585f71314230384d25f581028ddf7452d9bc8257ac9432f69439a53d1b4983a2f145cfce84118b3da7699cc71dde18346 SHA512 eac124583710d569af297710e060003fdedb4d6fca91b7a0748a3bf779b569a4c35162b719c924f498b3db35f38fd63972635c34246246765a472630d2a69d25 MISC metadata.xml 254 BLAKE2B f3a9f843cf94243d1129711770df727fcdc8808bca829ef784819cab6f5410dfa463cfed85182f8228c7de796a674dd602653ad3ef817a62c0c3e7198b23befe SHA512 b9fcd3084a7e197f6138e1ce8b0eff99c4c203c37a7d5c40de207040ba1501ef0e5b2f4e00216a567037bcd6d3394fdec6ff587484c9ba2fca9d04f431733b7c diff --git a/sys-fs/xfsdump/xfsdump-3.2.0.ebuild b/sys-fs/xfsdump/xfsdump-3.2.0.ebuild new file mode 100644 index 000000000000..d02e15647bca --- /dev/null +++ b/sys-fs/xfsdump/xfsdump-3.2.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="XFS dump/restore utilities" +HOMEPAGE="https://xfs.wiki.kernel.org/ https://git.kernel.org/pub/scm/fs/xfs/xfsdump-dev.git/" +SRC_URI="https://www.kernel.org/pub/linux/utils/fs/xfs/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="ncurses nls" + +RDEPEND=" + >=sys-apps/attr-2.4.19 + sys-apps/util-linux + sys-fs/e2fsprogs + >=sys-fs/xfsprogs-3.2.0 + ncurses? ( sys-libs/ncurses:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + ncurses? ( virtual/pkgconfig ) + nls? ( sys-devel/gettext ) +" + +PATCHES=( + # bug #335115 + "${FILESDIR}"/${PN}-3.1.9-prompt-overflow.patch + # bug #311881 + "${FILESDIR}"/${PN}-3.1.9-no-symlink.patch + # bug #561664 + "${FILESDIR}"/${PN}-3.1.6-linguas.patch + + "${FILESDIR}"/${PN}-3.1.9-fix-docs.patch + "${FILESDIR}"/${PN}-3.1.9-skip-inventory-debian-subfolder.patch +) + +src_prepare() { + sed -i \ + -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \ + include/builddefs.in \ + || die + + # bug #605852 + sed -i \ + -e "s:enable_curses=[a-z]*:enable_curses=$(usex ncurses):" \ + -e "s:libcurses=\"[^\"]*\":libcurses='$(use ncurses && $(tc-getPKG_CONFIG) --libs ncurses)':" \ + configure || die + + default +} + +src_configure() { + # bug #184564 + unset PLATFORM + + # bug 925234 + use elibc_musl && append-flags -D_LARGEFILE64_SOURCE + + # lto-type-mismatch warnings but xfsdump is on life support + filter-lto + + export OPTIMIZER="${CFLAGS}" + # Pass CFLAGS here too per GCC documentation for LTO + export LDFLAGS="${CFLAGS} ${LDFLAGS}" + export DEBUG=-DNDEBUG + + local myeconfargs=( + $(use_enable nls gettext) + --libdir="${EPREFIX}/$(get_libdir)" + --libexecdir="${EPREFIX}/usr/$(get_libdir)" + --sbindir="${EPREFIX}/sbin" + ) + + econf "${myeconfargs[@]}" +} + +src_compile() { + # Enable verbose build + emake V=1 +} |