mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
app-emulation/guestfs-tools: drop 1.53.7-r1
Signed-off-by: Christopher Byrne <salah.coronya@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43629 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
01b777adc3
commit
a163c494af
@ -1,4 +1,3 @@
|
||||
DIST guestfs-tools-1.52.3.tar.gz 16237597 BLAKE2B f6ef8a63f3b9dfee6c7ebb954ae9d3602dd3d96a60f85fc1d6a5304725ebca488937802cff337f18bd4e86e2598ad092be2fab2a59f9580d0849c65fef09d3c1 SHA512 f7a965500a7d1b355d447bd4710c9e38e8f7443eef721fbff9504d862bbf4740b8e5f75134fcc0ca50817872799168a46d2ddcca82c36be1d891d3ed3c47c79b
|
||||
DIST guestfs-tools-1.53.7.tar.gz 16233906 BLAKE2B 2a81258558609e74dc9ca47cc98cede84e3db119c807ba835355c2056dc57865cdf7c969441bdc0efe5cb4133d3a4fb3ea413fca439ab20304b9f1375b025336 SHA512 a80484d3811e4e226ad1c81694b304b0d3a596d634bd61525ee5c5aeb5f360a911cef52cfba81f819a83b0615f6731ea8395c58d06d9a4b052afe6b10b0f2535
|
||||
DIST guestfs-tools-1.54.0.tar.gz 16243507 BLAKE2B a3ad576b5354ef29fddd8d18112a831d1ef0a3c925ded2bcfe5117537f160411f8e39c5680b08b3507702e10841da5945f7e432eae475dda780f0d217bef6058 SHA512 db76a1cbfaa8b53b5c4609030f545b9d043161cebf54379da6418800086855f11cb3a0e5d135184c2a885094a6a7120155774377a6641a2d7fbd45206ff9ec87
|
||||
DIST guestfs-tools-1.55.1.tar.gz 16251371 BLAKE2B da33b231d056d9a3d8abebe3221d183c225243517013289f27a6e936b87217ddd331f40872285fb379a031e7db3c7a718327837897c147b6753164b159fb4a26 SHA512 3ace709fcf70cf01aceae3b692b03747b0b6ec98830624aa9df6d2aa450219597bd0edb1aefd8f76ba5634d9896a0588856e7b674e029c574e310b1d65f6749f
|
||||
|
||||
@ -1,154 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Bump with app-emulation/libguestfs and app-emulation/libguestfs-appliance (if any new release there)
|
||||
|
||||
inherit autotools bash-completion-r1 perl-functions toolchain-funcs
|
||||
|
||||
MY_PV_1="$(ver_cut 1-2)"
|
||||
MY_PV_2="$(ver_cut 2)"
|
||||
[[ $(( ${MY_PV_2} % 2 )) -eq 0 ]] && SD="stable" || SD="development"
|
||||
|
||||
DESCRIPTION="Tools for accessing, inspecting, and modifying virtual machine (VM) disk images"
|
||||
HOMEPAGE="https://libguestfs.org/"
|
||||
SRC_URI="https://download.libguestfs.org/${PN}/${MY_PV_1}-${SD}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0/${MY_PV_1}"
|
||||
if [[ ${SD} == "stable" ]] ; then
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
IUSE="doc libvirt +ocaml +perl test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
COMMON_DEPEND_DEFAULT="
|
||||
app-arch/xz-utils
|
||||
dev-libs/libpcre2:=
|
||||
dev-libs/libxml2:=
|
||||
sys-libs/libxcrypt:=
|
||||
sys-libs/ncurses:=
|
||||
"
|
||||
COMMON_DEPEND_EXPLICIT="
|
||||
>=app-emulation/libguestfs-1.49.8:=[ocaml,perl?,libvirt=]
|
||||
dev-libs/json-c:=
|
||||
sys-libs/libosinfo
|
||||
|| (
|
||||
dev-libs/libisoburn
|
||||
app-cdr/cdrtools
|
||||
)
|
||||
"
|
||||
COMMON_DEPEND_IMPLICIT="
|
||||
dev-db/sqlite
|
||||
sys-apps/hwdata
|
||||
"
|
||||
COMMON_DEPEND="
|
||||
${COMMON_DEPEND_DEFAULT}
|
||||
${COMMON_DEPEND_EXPLICIT}
|
||||
${COMMON_DEPEND_IMPLICIT}
|
||||
libvirt? ( app-emulation/libvirt[qemu] )
|
||||
perl? (
|
||||
app-misc/hivex
|
||||
virtual/perl-Getopt-Long
|
||||
)
|
||||
"
|
||||
|
||||
# Some OCaml is always required
|
||||
# bug #729674
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-lang/ocaml[ocamlopt]
|
||||
dev-ml/findlib[ocamlopt]
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
app-emulation/libguestfs-appliance
|
||||
"
|
||||
BDEPEND="
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
doc? ( app-text/po4a )
|
||||
ocaml? (
|
||||
dev-ml/ocaml-gettext
|
||||
dev-ml/ocaml-gettext-stub
|
||||
)
|
||||
perl? (
|
||||
dev-perl/Module-Build
|
||||
virtual/perl-ExtUtils-CBuilder
|
||||
virtual/perl-Pod-Simple
|
||||
)
|
||||
test? ( ocaml? ( dev-ml/ounit2[ocamlopt] ) )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
cat <<EOF > "${S}/m4/guestfs-bash-completion.m4" || die
|
||||
dnl Unconditionally install Bash completion files
|
||||
AC_MSG_CHECKING([for bash-completions directory])
|
||||
AC_SUBST([BASH_COMPLETIONS_DIR],[$(get_bashcompdir)])
|
||||
AC_MSG_RESULT([\$BASH_COMPLETIONS_DIR])
|
||||
AM_CONDITIONAL([HAVE_BASH_COMPLETION],[/bin/true])
|
||||
EOF
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Bug #794877
|
||||
tc-export AR
|
||||
|
||||
# m4/guestfs-progs.m4: (f)lex and bison for virt-builder (required).
|
||||
# Bug #915339
|
||||
unset LEX YACC
|
||||
|
||||
local myconf=(
|
||||
$(usex doc '' PO4A=no)
|
||||
$(use_enable ocaml)
|
||||
$(use_enable perl)
|
||||
$(use_with libvirt)
|
||||
)
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALLDIRS=vendor DESTDIR="${D}" install "LINGUAS=""${LINGUAS}"""
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
|
||||
use perl && perl_delete_localpod
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Missing appliance support? libguestfs (virt-inspector --format=raw -a ${IMAGE}) returns
|
||||
# libguestfs: error: inspect_get_build_id: dispatch_incoming_message: unknown procedure number 513.
|
||||
# set LIBGUESTFS_PATH to point to the matching libguestfs appliance directory
|
||||
local -x SKIP_TEST_VIRT_INSPECTOR_LVM_ON_LUKS_SH=1
|
||||
local -x SKIP_TEST_VIRT_INSPECTOR_LUKS_ON_LVM_SH=1
|
||||
local -x SKIP_TEST_VIRT_INSPECTOR_SH=1
|
||||
local -x SKIP_TEST_VIRT_DRIVERS_LINUX_SH=1
|
||||
local -x SKIP_TEST_VIRT_DRIVERS_WINDOWS_SH=1
|
||||
# Misssing appliance support? libguestfs returns
|
||||
# virt-make-fs: file command failed
|
||||
local -x SKIP_TEST_VIRT_MAKE_FS_SH=1
|
||||
# Socket pathname too long for libvirt backend
|
||||
local -x LIBGUESTFS_BACKEND=direct
|
||||
# Increase vebosity
|
||||
local -x LIBGUESTFS_DEBUG=1
|
||||
local -x LIBGUESTFS_TRACE=1
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use ocaml ; then
|
||||
einfo "OCaml based tools and bindings (virt-resize, virt-sparsify, virt-sysprep, ...) NOT installed"
|
||||
fi
|
||||
|
||||
if ! use perl ; then
|
||||
einfo "Perl based tools NOT built"
|
||||
fi
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user