diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-10-04 17:45:24 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-10-04 17:45:24 +0200 |
commit | 0bc8ddde2e4c90202cf1fafee3fcbc56f108dd6d (patch) | |
tree | 3089602d9ef011cf38682331f0f4d2ea0cb2ec3a /sys-fs | |
parent | sys-apps/gsmartcontrol: Bump to version 1.1.1 (diff) | |
download | gentoo-0bc8ddde2e4c90202cf1fafee3fcbc56f108dd6d.tar.gz gentoo-0bc8ddde2e4c90202cf1fafee3fcbc56f108dd6d.tar.bz2 gentoo-0bc8ddde2e4c90202cf1fafee3fcbc56f108dd6d.zip |
sys-fs/xfsdump: Bump to version 3.1.8
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/xfsdump/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/xfsdump/files/xfsdump-3.0.5-prompt-overflow.patch | 4 | ||||
-rw-r--r-- | sys-fs/xfsdump/xfsdump-3.1.8.ebuild | 67 |
3 files changed, 70 insertions, 2 deletions
diff --git a/sys-fs/xfsdump/Manifest b/sys-fs/xfsdump/Manifest index 8d3f4bdcc900..85be93acb3f0 100644 --- a/sys-fs/xfsdump/Manifest +++ b/sys-fs/xfsdump/Manifest @@ -1 +1,2 @@ DIST xfsdump-3.1.6.tar.gz 848698 SHA256 7f78c11ca527477d90e5e62b0778f3ad96f2b71c19173044e9aca9515fff42d0 SHA512 6d8eff10c65e0a0893525590953ccb7ec0095ba528725ffe3f18260e6cb8f66dd3945c60477500e84421a9ed57fae9e8f0f25c3c0900be3671f30ca6951ed5e7 WHIRLPOOL 87182e97a5676be6ad36cf74e37d9ca312d742d20eb5396917a156842fe62a23c582e16862fb384fe7706097d9f0c7a6a8faced06fec0a999ac06ceb426eb7e3 +DIST xfsdump-3.1.8.tar.xz 603304 SHA256 ed14e67ae5b273c2698e767b43a46f033d361e540fe13feaaf9b110ee0edc585 SHA512 84720c83627647c75b42c59d180bb31cbb6e064568bef18b73641cf821fa7d39e6f7e0df4a6c7ffd36fba63296ab88cb83f0effdb1f6aa98f4b593ca0e658e0b WHIRLPOOL f75004400387916cd461a49500fa72ff878a9112f7550dd7c14f8b39e8f52678ca6721c298d536631c1649f989f7c007625e72c1136dabe60d9235bb5f8900d4 diff --git a/sys-fs/xfsdump/files/xfsdump-3.0.5-prompt-overflow.patch b/sys-fs/xfsdump/files/xfsdump-3.0.5-prompt-overflow.patch index 053615c8dca4..bd7fb3f44520 100644 --- a/sys-fs/xfsdump/files/xfsdump-3.0.5-prompt-overflow.patch +++ b/sys-fs/xfsdump/files/xfsdump-3.0.5-prompt-overflow.patch @@ -1,8 +1,8 @@ http://oss.sgi.com/bugzilla/show_bug.cgi?id=876 https://bugs.gentoo.org/335115 ---- dump/content.c -+++ dump/content.c +--- a/dump/content.c ++++ b/dump/content.c @@ -6460,7 +6460,7 @@ Media_prompt_erase( drive_t *drivep ) { diff --git a/sys-fs/xfsdump/xfsdump-3.1.8.ebuild b/sys-fs/xfsdump/xfsdump-3.1.8.ebuild new file mode 100644 index 000000000000..ce2ed0fab36f --- /dev/null +++ b/sys-fs/xfsdump/xfsdump-3.1.8.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib flag-o-matic toolchain-funcs + +DESCRIPTION="xfs dump/restore utilities" +HOMEPAGE="http://oss.sgi.com/projects/xfs" +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.0.5-prompt-overflow.patch #335115 + "${FILESDIR}"/${PN}-3.0.4-no-symlink.patch #311881 + "${FILESDIR}"/${PN}-3.1.6-linguas.patch #561664 +) + +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 +} |