# lego/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created as follows. Internet access and external websites were required. This procedure may or may not work in the future. #!/bin/bash -e set -e YYMMDD=240702 GITTAG=v4.17.4 DIR=lego-$YYMMDD HERE=`pwd` rm -fr $DIR $DIR.tar.bz2 mkdir $DIR cd $DIR export HOME=`pwd` export GOPATH=$HOME/go GOPROG=$HOME/lego/dist/lego git clone https://github.com/go-acme/lego.git cd lego git checkout $GITTAG make build cd $HOME rm -fr $GOPROG rm -fr .cache rm -fr `find . -type f -name .gitcookies\*.enc` rm -fr `find . -name \*.obj` rm -fr `find . -type d -name testdata` cd $HERE tar jcf $DIR.tar.bz2 $DIR/ rm -fr $DIR ls -l $DIR.tar.bz2 #--------------------------------------------------------------------- [buildtimes] #--------------------------------------------------------------------- [settings] altpkg = yes configure = none exepack = yes strip = yes tmpsize = 1276M #--------------------------------------------------------------------- [depends] go openssl # May not be needed #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin mkdir -p $BINDIR export HOME=`pwd` export GOPATH=$HOME/go GOPROG=$HOME/lego/dist/lego cd lego make build mv $GOPROG $BINDIR/ #--------------------------------------------------------------------- # 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] 210417 Added package. Started with 210417. 210616 Updated to 210616 - same as b20e8f339 ("git" hash) 240702 Updated to 240702 - same as 4.17.4