# libguestfs/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created based on "git" upstream sources. The sources were obtained as follows: ocgitfetch --run \ --checkout=v1.54.0 \ --deletegit \ https://github.com/libguestfs/libguestfs.git #--------------------------------------------------------------------- 2. "libguestfs" is important and some releases of "go" break it. So, "go" shouldn't be updated until new releases of "go" are confirmed to be compatible with current releases of "libguestfs". #--------------------------------------------------------------------- 3. As of March 2021, it wasn't possible to build the Python extensions for "libguestfs", so the following "configure"-stage switch was added to disable them: --disable-python #--------------------------------------------------------------------- 4. "libguestfs" is useful, but it's also unstable from a FTBFS stand- point. Updates may break the package. #--------------------------------------------------------------------- [buildtimes] 00.08 hours (or 004.77 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.21 hours (or 012.53 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.22 hours (or 013.38 minutes) - HP EliteBook 8560w 32GB RAM #--------------------------------------------------------------------- [settings] altpkg = yes defer = glibc64 license = tbd tmpsize = 219M unpack = relaxed dontfind = fuse209 setpaths = \ acl fuse310 gtkcore libffi libgmp \ libvirt libxcrypt libyara numactl ocaml \ openssl postgresql rpm #--------------------------------------------------------------------- [depends] acl actools afflib attr augeas bash-completion bison2 bison3 brotli curl erlang file flex fusecore gawk gettext gnutls3 go:strict gperf grep gtkcore haskell hivex icoutils jansson libcap libconfig libffi libgmp libicu libidn2 libisoburn libnl libtirpc libvhdi libvirt libvmdk libxcrypt libxml2 libyara ncurses netpbm nettle3 ocaml:strict ocamlfind openldap openssl pcre pcre2 perl:strict php7:strict php8:strict pkgconf psmisc python2-core:strict python3-core:strict python:strict qemu readline rpcgen rpm ruby30:strict sed sleuthkit sqlite3 util-linux vala valgrind xzutils zlib zstd #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE autoreconf -fi patch -p1 < $PKGDIR_SPECIAL/libguestfs-01-supermin.spcpat sed -e 's@"tinfo"@"ncurses"@g' \ -i configure bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --mandir=$MANBASE \ \ --disable-dependency-tracking \ --disable-gnulib-tests \ --disable-nls \ --disable-python \ \ --enable-appliance=no \ --enable-daemon=no \ --enable-fuse=yes \ --enable-shared=yes \ --enable-static=no #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin LIBOCAML=$PRODTREE/ocaml/lib/ocaml #--------------------------------------------------------------------- rm -fr $LIBOCAML/guestfs rm -fr $LIBOCAML/site-lib/guestfs #--------------------------------------------------------------------- # This part is a major kludge which relies on changes made separately # to the distro's "ld" wrapper. # The ".a" file linked here doesn't exist initially, but will be cre- # ated during the build process. DIR=`pwd` ln -nsf $DIR/gnulib/lib/.libs/libgnu.a /tmp/ export FIXUPGUESTFS=yes #--------------------------------------------------------------------- smpmake #--------------------------------------------------------------------- rm -fr po mkdir po cat > po/Makefile << END all: clean: install: END #--------------------------------------------------------------------- REALLY_INSTALL=yes make install #--------------------------------------------------------------------- cd examples/.libs/ for x in * do cp -p $x $BINDIR/guestfs-$x done #--------------------------------------------------------------------- cd $BINDIR for x in inspect-vm libvirt-auth virt-dhcp-address do mv guestfs-$x $x done #--------------------------------------------------------------------- cd $PKGDIR_PROD tar Jxf $PKGDIR_SPECIAL/appliance-1.40.1.tar.xz #--------------------------------------------------------------------- mkdir -p $LIBOCAML/site-lib cd $LIBOCAML/site-lib if [ -d ../guestfs ]; then ln -nsf ../guestfs . fi #--------------------------------------------------------------------- [setup.bash] export LIBGUESTFS_PATH=$PRODTREE/libguestfs/appliance/ #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian_page = tbd url_home = tbd url_lfs = tbd url_tarball = git # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 181012 Added package. Started with 181012 ("git" date). 181026 Updated to d76acb13a ("git" hash) 181107 Updated to 3430c2dd6 210320 Updated to a009a4cf6 210604 Updated to e68a844eb - circa 1.45.6 211209 Updated to e8c7b5f4c - same as 1.46.1 220227 Updated to 056b03f4a - same as 1.46.2 220504 Updated to 3d2f4e2ff - same as 1.48.1 230122 Updated to 75720c2db - same as 1.48.3 230210 Updated to 464da7d65 - same as 1.48.6 240708 Updated to 5b8b7baef - same as 1.53.4 241024 Updated to 3fb6ebb34 - same as 1.54.0