diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-02-14 14:47:44 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-02-14 14:55:09 +0100 |
commit | 4995538f727b3fbea1b4628b72159c34e78598a1 (patch) | |
tree | 6f33cb887151f8561a71fdf7579fe850db58c519 /sys-fs/xfsdump/xfsdump-3.1.9.ebuild | |
parent | www-client/vivaldi-snapshot: Old (diff) | |
download | gentoo-4995538f727b3fbea1b4628b72159c34e78598a1.tar.gz gentoo-4995538f727b3fbea1b4628b72159c34e78598a1.tar.bz2 gentoo-4995538f727b3fbea1b4628b72159c34e78598a1.zip |
sys-fs/xfsdump: bump to v3.1.9
Closes: https://bugs.gentoo.org/693296
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-fs/xfsdump/xfsdump-3.1.9.ebuild')
-rw-r--r-- | sys-fs/xfsdump/xfsdump-3.1.9.ebuild | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/sys-fs/xfsdump/xfsdump-3.1.9.ebuild b/sys-fs/xfsdump/xfsdump-3.1.9.ebuild new file mode 100644 index 000000000000..f1954b101a54 --- /dev/null +++ b/sys-fs/xfsdump/xfsdump-3.1.9.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib flag-o-matic toolchain-funcs + +DESCRIPTION="xfs dump/restore utilities" +HOMEPAGE="https://xfs.wiki.kernel.org/" +SRC_URI="https://www.kernel.org/pub/linux/utils/fs/xfs/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86" +IUSE="ncurses nls" + +RDEPEND=" + >=sys-apps/attr-2.4.19 + sys-apps/dmapi + sys-apps/util-linux + sys-fs/e2fsprogs + >=sys-fs/xfsprogs-3.2.0 + ncurses? ( sys-libs/ncurses:0= ) +" +DEPEND="${RDEPEND} + nls? ( + sys-devel/gettext + elibc_uclibc? ( dev-libs/libintl ) + )" + +PATCHES=( + "${FILESDIR}"/${PN}-3.1.9-prompt-overflow.patch #335115 + "${FILESDIR}"/${PN}-3.1.9-no-symlink.patch #311881 + "${FILESDIR}"/${PN}-3.1.6-linguas.patch #561664 + "${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 + 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 #605852 + + default +} + +src_configure() { + unset PLATFORM #184564 + export OPTIMIZER=${CFLAGS} + 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 +} |