summaryrefslogtreecommitdiff
path: root/app-emulation/libguestfs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /app-emulation/libguestfs
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'app-emulation/libguestfs')
-rw-r--r--app-emulation/libguestfs/Manifest4
-rw-r--r--app-emulation/libguestfs/files/1.38/0001-Fix-install-failure-when-not-built-with-OCaml-suppor.patch40
-rw-r--r--app-emulation/libguestfs/files/1.38/0002-Loosen-build-time-requirement-on-bash-completion.patch39
-rw-r--r--app-emulation/libguestfs/libguestfs-1.46.0-r4.ebuild210
4 files changed, 0 insertions, 293 deletions
diff --git a/app-emulation/libguestfs/Manifest b/app-emulation/libguestfs/Manifest
index 0eac8da5aa3c..e0a4b99e3476 100644
--- a/app-emulation/libguestfs/Manifest
+++ b/app-emulation/libguestfs/Manifest
@@ -1,8 +1,4 @@
-AUX 1.38/0001-Fix-install-failure-when-not-built-with-OCaml-suppor.patch 1149 BLAKE2B 7b9f870370a3ff32cb9ae7ca75cad885c442d322b695349efa238dd27709e890d98bc1c4a093446a4ad3eacf6e1ac55057a4a4b757a5e5520d2df315bbac3a8d SHA512 83cee02636508ce674688584095954d90e1830d85d869a9c9bea73bbf5193da980116313ebc8726dce7708d464bca0f647c3738b36197d5e78adf398b2608d57
-AUX 1.38/0002-Loosen-build-time-requirement-on-bash-completion.patch 1697 BLAKE2B 1bad83944c4c0a320814e76279dadc36a441ab379ff89e1fe2b2cfb403663668f5f507e5053be8f791f3e81b33255e4c1970c60894700722d8920a8eb7846a80 SHA512 821e7344efefd3dcc0bb57f8c6f2a3e751e85963a4aa5f29635b9d6437acc4e4478d6e7534d656c6ccb6e44cbadce655776222ede261755b2552bf997558562e
AUX 1.44/0001-Check-for-caml_alloc_initialized_string-existence-ev.patch 991 BLAKE2B 213bea03f22a03f6cd7a82d310fcd106c1b06493e744a7bfb95b7820fe7813208e343170cf9d4322180528ea9e05ab94d54b1ba601bd0550388a33b1bf222211 SHA512 344729229c35e66d21911ae040b4a15ce9a5b37de0f1965272de1c85f21d3293182bbb7953cdd99bb8fe7909754ae462c5d7e973d369ff6d0b64c590fc1d2ee8
-DIST libguestfs-1.46.0.tar.gz 18500858 BLAKE2B 1d69d79fa33b5a6bdde00cdb3acdad51a6042d0307117ab6c230259dbc9646fe694df0d7e8f2cf2ae63f146ea756269ea7bf139e61786c46d42c33bb176937e1 SHA512 9b1670dff924e046ab82ff1ce6e25428d95b88700b507d4f1dd68a309641e376d14520c7b5aa5bbb81a6ba5c708ebcc46b6fe0970d903a3ed79e76d4ccdca614
DIST libguestfs-1.48.0.tar.gz 18426132 BLAKE2B a0ace19998e6eb368fa8ad73242b7c35c72244e9b9881f3adb76dcc8ed6e9a77691012e5786a26680a944d0876091bbb1d0f9ac63c0f5046538acf4402f840ac SHA512 b2486f32a3958c2b3e68d3f547dcd192dc7f8c59e0efd8660cd27cae9c218ce4fc2a60480dcb6bb0d10d8abbc2d2f4796075aea1cfab5e3c7cd12c38d4352fe2
-EBUILD libguestfs-1.46.0-r4.ebuild 5212 BLAKE2B a04c93c7c227776c2b03ea286aae766d50499f30e0282993f9a891d649c8b0860d6246fc47300bc936caeef9812732bbaf33fb837a6de9fad9bb8f4eda6c64b2 SHA512 75472d70607a85c9514afb7e063a1c332a9e6f13b7f264285534e4f1c0185c35091b722d1e89d36a3ed8d79b5f30be33d8b87756ab980b18316460424f4f6e04
EBUILD libguestfs-1.48.0.ebuild 5283 BLAKE2B 6ee79999c8f08b9049465794eba05b8032b3882e824ab62233bb02d4392c5afcbc8de44f6064ec08ec350022b1663c558d78d30743868472149ca22ad832b844 SHA512 1b87f8e4842279feb6a01255fab33273138a4f9355cae0aa22ce9b601dc8854995b4eae6134a7a0d64d2d7b1ada02cc513da8d8d4f0adbb98c0633d0c3481c59
MISC metadata.xml 612 BLAKE2B 434f61bf6376288a782f4d2781938b6d647b7c1fab5d598a8fdd96c380ecef5947bd326a2c4f0d09fa40b6d00b1d59b86b27bea92cef311d9eae411d31465c3c SHA512 3dc1ae8480b6d1c1e2a800d8f8bb0f4171f645c69a47c9319b6d7ccefc2434c2d57fbcd0b47d48008196d1d1835693ccef984219bf7a2b10c444ffd04ef55672
diff --git a/app-emulation/libguestfs/files/1.38/0001-Fix-install-failure-when-not-built-with-OCaml-suppor.patch b/app-emulation/libguestfs/files/1.38/0001-Fix-install-failure-when-not-built-with-OCaml-suppor.patch
deleted file mode 100644
index cb608beca08f..000000000000
--- a/app-emulation/libguestfs/files/1.38/0001-Fix-install-failure-when-not-built-with-OCaml-suppor.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 3b06e1cbb25615495ef108d6ee194bb718e46408 Mon Sep 17 00:00:00 2001
-From: Gilles Dartiguelongue <eva@gentoo.org>
-Date: Fri, 7 Dec 2018 11:21:25 +0100
-Subject: [PATCH 1/2] Fix install failure when not built with OCaml support
-
-Makefile rules in po/ require builder/index-parse.c to be generated to
-allow translation utilities to work on it, however builder/ is
-completely masked behind OCaml conditional build even if some tools do
-not require it and proper guards are in place already.
-
-Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1614502
----
- Makefile.am | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index cc363341f..5d96093a1 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -164,7 +164,6 @@ SUBDIRS += common/mlvisit
- SUBDIRS += common/mlxml
- SUBDIRS += common/mltools
- SUBDIRS += customize
--SUBDIRS += builder builder/templates
- SUBDIRS += get-kernel
- SUBDIRS += resize
- SUBDIRS += sparsify
-@@ -178,6 +177,9 @@ SUBDIRS += dib
- endif
- endif
-
-+# Tools mixed with more OCAML based tools
-+SUBDIRS += builder builder/templates
-+
- # Perl tools.
- if HAVE_TOOLS
- SUBDIRS += tools
---
-2.19.2
-
diff --git a/app-emulation/libguestfs/files/1.38/0002-Loosen-build-time-requirement-on-bash-completion.patch b/app-emulation/libguestfs/files/1.38/0002-Loosen-build-time-requirement-on-bash-completion.patch
deleted file mode 100644
index 017ba699599b..000000000000
--- a/app-emulation/libguestfs/files/1.38/0002-Loosen-build-time-requirement-on-bash-completion.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From b8a31fcfe81a680ffed1fa0879ac20a3e0e8753a Mon Sep 17 00:00:00 2001
-From: Gilles Dartiguelongue <eva@gentoo.org>
-Date: Fri, 7 Dec 2018 12:14:15 +0100
-Subject: [PATCH 2/2] Loosen build time requirement on bash-completion
-
-Distributions might avoid pulling bash-completion during build as it is
-an optional feature and would only make sense at runtime anyway. Since
-this setting is well-known across a given distribution, allow them to
-provide the value and avoid the dependency.
---- a/m4/guestfs-bash-completion.m4
-+++ b/m4/guestfs-bash-completion.m4
-@@ -16,14 +16,13 @@
- # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
- dnl Bash completion.
--PKG_CHECK_MODULES([BASH_COMPLETION], [bash-completion >= 2.0], [
-- bash_completion=yes
-- AC_MSG_CHECKING([for bash-completions directory])
-- BASH_COMPLETIONS_DIR="`pkg-config --variable=completionsdir bash-completion`"
-- AC_MSG_RESULT([$BASH_COMPLETIONS_DIR])
-- AC_SUBST([BASH_COMPLETIONS_DIR])
--],[
-- bash_completion=no
-- AC_MSG_WARN([bash-completion not installed])
--])
--AM_CONDITIONAL([HAVE_BASH_COMPLETION],[test "x$bash_completion" = "xyes"])
-+AC_ARG_WITH([bashcompletiondir],
-+ AS_HELP_STRING([--with-bashcompletiondir=DIR], [Bash completions directory]),
-+ [],
-+ [AS_IF([$($PKG_CONFIG --exists bash-completion)], [
-+ with_bashcompletiondir=$($PKG_CONFIG --variable=completionsdir bash-completion)
-+ ] , [
-+ with_bashcompletiondir=${datadir}/bash-completion/completions
-+ ])])
-+AC_SUBST([BASH_COMPLETIONS_DIR], [$with_bashcompletiondir])
-+AM_CONDITIONAL([HAVE_BASH_COMPLETION],[test -n "$with_bashcompletiondir"])
---
-2.19.2
-
diff --git a/app-emulation/libguestfs/libguestfs-1.46.0-r4.ebuild b/app-emulation/libguestfs/libguestfs-1.46.0-r4.ebuild
deleted file mode 100644
index 6142ac3f5146..000000000000
--- a/app-emulation/libguestfs/libguestfs-1.46.0-r4.ebuild
+++ /dev/null
@@ -1,210 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# Bump with app-emulation/guestfs-tools and app-emulation/libguestfs-appliance (if any new release there)
-
-LUA_COMPAT=( lua5-1 )
-PYTHON_COMPAT=( python3_{8,9,10} )
-
-inherit flag-o-matic linux-info lua-single perl-functions python-single-r1 strip-linguas 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://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2"
-SLOT="0/${MY_PV_1}"
-KEYWORDS="~amd64"
-IUSE="doc erlang +fuse gtk inspect-icons introspection libvirt lua +ocaml +perl python ruby selinux static-libs systemtap test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )
- python? ( ${PYTHON_REQUIRED_USE} )"
-
-# Failures - doc
-COMMON_DEPEND="
- >=app-admin/augeas-1.8.0
- app-arch/cpio
- app-arch/lzma
- app-arch/rpm
- app-arch/unzip[natspec]
- app-arch/xz-utils
- app-cdr/cdrtools
- app-crypt/gnupg
- >=app-emulation/qemu-2.0[qemu_softmmu_targets_x86_64,systemtap?,selinux?,filecaps]
- >=app-misc/hivex-1.3.1
- dev-lang/perl:=
- dev-libs/libconfig:=
- dev-libs/libpcre:3
- dev-libs/libxml2:2=
- dev-libs/jansson:=
- >=dev-libs/yajl-2.0.4
- net-libs/libtirpc:=
- sys-libs/ncurses:0=
- >=sys-apps/fakechroot-2.8
- sys-apps/fakeroot
- sys-apps/file
- sys-devel/gettext
- sys-fs/squashfs-tools:*
- sys-libs/libcap
- sys-libs/readline:=
- virtual/acl
- virtual/libcrypt:=
- erlang? ( dev-lang/erlang )
- perl? (
- virtual/perl-ExtUtils-MakeMaker
- >=dev-perl/Sys-Virt-0.2.4
- virtual/perl-Getopt-Long
- virtual/perl-Data-Dumper
- dev-perl/libintl-perl
- >=app-misc/hivex-1.3.1[perl?]
- dev-perl/String-ShellQuote
- )
- python? ( ${PYTHON_DEPS} )
- fuse? ( sys-fs/fuse:= )
- gtk? (
- sys-apps/dbus
- x11-libs/gtk+:3
- )
- introspection? (
- >=dev-libs/glib-2.26:2
- >=dev-libs/gobject-introspection-1.30.0:=
- )
- inspect-icons? (
- media-libs/netpbm
- media-gfx/icoutils
- )
- libvirt? ( app-emulation/libvirt )
- lua? ( ${LUA_DEPS} )
- ocaml? ( >=dev-lang/ocaml-4.03:=[ocamlopt] )
- selinux? (
- sys-libs/libselinux:=
- sys-libs/libsemanage
- )
- systemtap? ( dev-util/systemtap )
-"
-# Some OCaml is always required
-# bug #729674
-DEPEND="${COMMON_DEPEND}
- >=dev-lang/ocaml-4.03:=[ocamlopt]
- dev-util/gperf
- dev-ml/findlib[ocamlopt]
- doc? ( app-text/po4a )
- ocaml? (
- dev-ml/ounit2[ocamlopt]
- || (
- <dev-ml/ocaml-gettext-0.4.2
- dev-ml/ocaml-gettext-stub[ocamlopt]
- )
- )
- ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
- test? ( introspection? ( dev-libs/gjs ) )
-"
-BDEPEND="virtual/pkgconfig"
-RDEPEND="${COMMON_DEPEND}
- app-emulation/libguestfs-appliance
- acct-group/kvm
-"
-# Upstream build scripts compile and install Lua bindings for the ABI version
-# obtained by running 'lua' on the build host
-BDEPEND="lua? ( ${LUA_DEPS} )"
-
-DOCS=( AUTHORS BUGS ChangeLog HACKING README TODO )
-
-PATCHES=(
- #"${FILESDIR}"/${MY_PV_1}/
- "${FILESDIR}"/1.44/
-)
-
-pkg_setup() {
- CONFIG_CHECK="~KVM ~VIRTIO"
- [[ -n "${CONFIG_CHECK}" ]] && check_extra_config
-
- use lua && lua-single_pkg_setup
- use python && python-single-r1_pkg_setup
-}
-
-src_configure() {
- # bug #794877
- tc-export AR
-
- # Skip Bash test
- # (See 13-test-suite.log in linked bug)
- # bug #794874
- export SKIP_TEST_COMPLETE_IN_SCRIPT_SH=1
-
- # Disable feature test for kvm for more reason
- # i.e: not loaded module in __build__ time,
- # build server not supported kvm, etc. ...
- #
- # In fact, this feature is virtio support and requires
- # configured kernel.
- export vmchannel_test=no
-
- # Give a nudge to help find libxcrypt[-system]
- # We have a := dep on virtual/libcrypt to ensure this doesn't become stale.
- # bug #703118, bug #789354
- if ! has_version 'sys-libs/libxcrypt[system]' ; then
- append-ldflags "-L${ESYSROOT}/usr/$(get_libdir)/xcrypt"
- append-ldflags "-Wl,-R${ESYSROOT}/usr/$(get_libdir)/xcrypt"
- fi
-
- # Avoid automagic SELinux dependency
- export ac_cv_header_selinux_selinux_h=$(usex selinux)
-
- econf \
- --disable-appliance \
- --disable-daemon \
- --disable-haskell \
- --disable-golang \
- --disable-rust \
- --disable-php \
- --without-java \
- --with-extra="-gentoo" \
- --with-readline \
- $(usex doc '' PO4A=no) \
- $(use_enable ocaml) \
- $(use_enable erlang) \
- $(use_enable fuse) \
- $(use_enable introspection gobject) \
- $(use_enable introspection) \
- $(use_with libvirt) \
- $(use_enable lua) \
- $(use_enable python) \
- $(use_enable perl) \
- $(use_enable ruby) \
- $(use_enable static-libs static) \
- $(use_enable systemtap probes)
-}
-
-src_install() {
- strip-linguas -i po
-
- emake DESTDIR="${D}" install "LINGUAS=""${LINGUAS}"""
-
- find "${ED}" -name '*.la' -delete || die
-
- if use perl ; then
- perl_delete_localpod
-
- # Workaround Build.PL for now
- doman "${ED}"/usr/man/man3/Sys::Guestfs.3pm
- rm -rf "${ED}"/usr/man || die
- fi
-}
-
-pkg_postinst() {
- einfo "Please ensure you are in the 'kvm' group for decent performance!"
-
- if ! use gtk ; then
- einfo "virt-p2v NOT installed"
- fi
-
- einfo "Note that common tools like virt-resize are now part of app-emulation/guestfs-tools"
-}