# incus/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. "incus" is a fork of "lxd" created by the Linux Containers communi- ty after Canonical took over "lxd". It aims to be a community-driven container and virtual machine manager, similar to "lxd" but with a focus on open-source principles and avoiding dependencies on Canoni- cal-specific technologies. #--------------------------------------------------------------------- 2. This package requires existing, and compatible, copies of the fol- lowing packages: acl att go libuv lxc pkgconf raft sqlite3 pbzip2 This isn't a complete list. #--------------------------------------------------------------------- 3. The source tarball used by this package was created based on "go" upstream sources. The following script was used: #!/bin/bash -e set -e echo `date` Starting assembly of sources LOCALNAME=incus DATE6D=250630 GITURL=https://github.com/lxc/lxd.git COMMIT=v6.14.0 HERE=`pwd` DIR=$LOCALNAME-$DATE6D TARBALL=$DIR.tar.bz2 rm -fr $DIR $TARBALL mkdir $DIR cd $DIR export HOME=`pwd` export GOPATH=$HOME/go git clone --depth 1 $GITURL $LOCALNAME < /dev/null cd $LOCALNAME rm -fr .git* export LACNOWERROR=yes . srcpkgpaths acl attr cowsql lxc raft sqlite3 echo PKG_CONFIG_PATH=$PKG_CONFIG_PATH sed -e 's/^\(CGO_LDFLAGS_ALLOW\) ?=/\1 =/' \ -e 's@\(PKG_CONFIG_PATH=\)"@\1"$(PKG_CONFIG_PATH) @' \ -i Makefile echo `date` make make < /dev/null echo `date` make done cd $GOPATH rm -fr bin rm -fr `find . -name .git\*` cd $HERE echo `date` Starting tar tar cf - $DIR | pbzip2 -c > $TARBALL echo `date` Starting tardate tardate $TARBALL ls -l $TARBALL echo `date` Done #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.72 minutes) - HP EliteBook 8560w 32GB RAM 00.01 hours (or 000.87 minutes) - ThinkPad E540 i7 4x2 16GB RAM #--------------------------------------------------------------------- [settings] altpkg = yes configure = none defer = glibc64 license = See "license*.txt" in installed tree nosyslinks = yes tmpsize = 476M #--------------------------------------------------------------------- [depends] acl actools attr cowsql go grep libedit libuv lxc raft rsync sed sqlite3 zlib #--------------------------------------------------------------------- [build] LOCALNAME=incus BINDIR=$PKGDIR_PROD/bin DOCDIR=$PKGDIR_PROD/doc XBINDIR=$PKGDIR_PROD/xbin mkdir -p $BINDIR $DOCDIR $XBINDIR export HOME=`pwd` export GOPATH=$HOME/go cd $LOCALNAME export LACNOWERROR=yes . srcpkgpaths acl attr cowsql libuv lxc raft sqlite3 echo PKG_CONFIG_PATH=$PKG_CONFIG_PATH sed -e 's/^\(CGO_LDFLAGS_ALLOW\) ?=/\1 =/' \ -e 's@\(PKG_CONFIG_PATH=\)"@\1"$(PKG_CONFIG_PATH) @' \ -i Makefile echo `date` make make < /dev/null echo `date` make done cd $GOPATH strip bin/* || true upx --lzma bin/* || true mv bin/* $BINDIR/ || exit 1 #--------------------------------------------------------------------- # 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 = tbd url_home = tbd url_lfs = tbd url_tarball = special # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 180421 Added package 180421 Started with 180421 ("git" date) 180427 Updated to 180427 180521 Updated to 180521 180602 Updated to 180602 180706 Updated to 180706 180903 Updated to 180903 181117 Updated to 181117 210228 Updated to 210228 210915 Updated to 210915 240708 Replaced "lxd" with "incus" 240708 Updated to 240708 - same as 0.5.1 250630 Updated to 250630 - same as 6.14.0