mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
sys-fs/xfsdump: Bump to version 3.1.8
Package-Manager: Portage-2.3.11, Repoman-2.3.3
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 )
|
||||
{
|
||||
|
||||
67
sys-fs/xfsdump/xfsdump-3.1.8.ebuild
Normal file
67
sys-fs/xfsdump/xfsdump-3.1.8.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user