Install tor-stem from source.
This commit is contained in:
parent
aa5f7d7da1
commit
e9b7261069
3
config
3
config
|
|
@ -21,6 +21,9 @@ netdata_url="https://github.com/firehol/netdata/releases/download/v${netdata_ver
|
||||||
multichain_version="1.0.1"
|
multichain_version="1.0.1"
|
||||||
multichain_url="https://www.multichain.com/download/multichain-${multichain_version}.tar.gz"
|
multichain_url="https://www.multichain.com/download/multichain-${multichain_version}.tar.gz"
|
||||||
|
|
||||||
|
stem_version="1.6.0"
|
||||||
|
stem_url="https://git.torproject.org/stem.git"
|
||||||
|
|
||||||
size="4098"
|
size="4098"
|
||||||
filesystem="btrfs"
|
filesystem="btrfs"
|
||||||
|
|
||||||
|
|
|
||||||
25
decode.blend
25
decode.blend
|
|
@ -37,7 +37,7 @@ blend_postinst() {
|
||||||
|
|
||||||
notice "executing $blend_name postinst"
|
notice "executing $blend_name postinst"
|
||||||
|
|
||||||
nopackage=(musl tomb golang netdata multichain)
|
nopackage=(musl tomb golang stem netdata multichain)
|
||||||
for app in $nopackage; do
|
for app in $nopackage; do
|
||||||
blend_install_${app} || zerr
|
blend_install_${app} || zerr
|
||||||
done || zerr
|
done || zerr
|
||||||
|
|
@ -108,7 +108,7 @@ EOF
|
||||||
## {{{ blend_install_golang()
|
## {{{ blend_install_golang()
|
||||||
blend_install_golang() {
|
blend_install_golang() {
|
||||||
fn blend_install_golang
|
fn blend_install_golang
|
||||||
req=(strapdir golang_version golang_arch golang_url)
|
req=(strapdir golang_version golang_url)
|
||||||
ckreq || return 1
|
ckreq || return 1
|
||||||
|
|
||||||
notice "grabbing golang tarball"
|
notice "grabbing golang tarball"
|
||||||
|
|
@ -176,6 +176,27 @@ EOF
|
||||||
chroot-script install-multichain || zerr
|
chroot-script install-multichain || zerr
|
||||||
}
|
}
|
||||||
## }}}
|
## }}}
|
||||||
|
## {{{ blend_install_stem()
|
||||||
|
blend_install_stem() {
|
||||||
|
fn blend_install_stem
|
||||||
|
req=(strapdir stem_version stem_url)
|
||||||
|
ckreq || return 1
|
||||||
|
|
||||||
|
notice "installing stem tor library"
|
||||||
|
sudo git clone "$stem_url" "$strapdir/root/stem" || zerr
|
||||||
|
|
||||||
|
notice "installing stem in $strapdir"
|
||||||
|
cat <<EOF | sudo tee ${strapdir}/install-stem >/dev/null
|
||||||
|
#!/bin/sh
|
||||||
|
cd /root/stem
|
||||||
|
git checkout ${stem_version}
|
||||||
|
python3 setup.py install || exit 1
|
||||||
|
cd ..
|
||||||
|
rm -rf stem
|
||||||
|
EOF
|
||||||
|
chroot-script install-stem || zerr
|
||||||
|
}
|
||||||
|
## }}}
|
||||||
|
|
||||||
## {{{ blend_finalize()
|
## {{{ blend_finalize()
|
||||||
blend_finalize() {
|
blend_finalize() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue