# frp/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 HERE=`pwd` LOCALNAME=frp DATE6D=240702 DIR=$LOCALNAME-$DATE6D GITURL=https://github.com/fatedier/frp.git rm -fr $DIR $DIR.tar.bz2 mkdir $DIR cd $DIR export HOME=`pwd` export GOPATH=$HOME/go git clone $GITURL $LOCALNAME cd $LOCALNAME git checkout v0.58.1 make rm -fr bin/* rm -fr $HOME/.cache 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 = 332M #--------------------------------------------------------------------- [depends] go #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin mkdir $BINDIR LOCALNAME=frp export HOME=`pwd` export GOPATH=$HOME/go cd $LOCALNAME make mv bin/* $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] 220126 Added package 220126 Started with 220126 - same as 0.39.0 240702 Updated to 240702 - same as 0.58.1