mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-09 00:02:50 -04:00
Merge branch 'fix-iproute' into 'master'
innstallig iproute2, as it's no longer part of distro See merge request honeyryderchuck/httpx!158
This commit is contained in:
commit
a4649d90a7
@ -15,23 +15,23 @@ elif [[ "$RUBY_PLATFORM" = "java" ]]; then
|
|||||||
echo "
|
echo "
|
||||||
deb http://deb.debian.org/debian sid main contrib non-free
|
deb http://deb.debian.org/debian sid main contrib non-free
|
||||||
deb-src http://deb.debian.org/debian sid main contrib non-free" >> /etc/apt/sources.list
|
deb-src http://deb.debian.org/debian sid main contrib non-free" >> /etc/apt/sources.list
|
||||||
apt-get update && apt-get install -y iptables openssl libssl-dev ca-certificates file idn2
|
apt-get update && apt-get install -y build-essential iptables iproute2 openssl libssl-dev ca-certificates file idn2
|
||||||
update-ca-certificates
|
update-ca-certificates
|
||||||
elif [[ ${RUBY_VERSION:0:3} = "2.1" ]]; then
|
elif [[ ${RUBY_VERSION:0:3} = "2.1" ]]; then
|
||||||
apt-get update && apt-get install -y libsodium-dev iptables
|
apt-get update && apt-get install -y libsodium-dev iptables iproute2
|
||||||
IPTABLES=iptables
|
IPTABLES=iptables
|
||||||
elif [[ ${RUBY_VERSION:0:3} = "2.2" ]]; then
|
elif [[ ${RUBY_VERSION:0:3} = "2.2" ]]; then
|
||||||
apt-get update && apt-get install -y iptables
|
apt-get update && apt-get install -y iptables iproute2
|
||||||
IPTABLES=iptables
|
IPTABLES=iptables
|
||||||
elif [[ ${RUBY_VERSION:0:3} = "2.3" ]]; then
|
elif [[ ${RUBY_VERSION:0:3} = "2.3" ]]; then
|
||||||
# installing custom openssl
|
# installing custom openssl
|
||||||
apt-get update && apt-get install -y iptables iptables-nftables-compat # openssl=1.0.2l openssl-dev=1.0.2l
|
apt-get update && apt-get install -y iptables iproute2 iptables-nftables-compat # openssl=1.0.2l openssl-dev=1.0.2l
|
||||||
wget http://deb.debian.org/debian/pool/main/o/openssl1.0/libssl1.0.2_1.0.2u-1~deb9u1_amd64.deb
|
wget http://deb.debian.org/debian/pool/main/o/openssl1.0/libssl1.0.2_1.0.2u-1~deb9u1_amd64.deb
|
||||||
dpkg -i libssl1.0.2_1.0.2u-1~deb9u1_amd64.deb
|
dpkg -i libssl1.0.2_1.0.2u-1~deb9u1_amd64.deb
|
||||||
wget http://deb.debian.org/debian/pool/main/o/openssl1.0/libssl1.0-dev_1.0.2u-1~deb9u1_amd64.deb
|
wget http://deb.debian.org/debian/pool/main/o/openssl1.0/libssl1.0-dev_1.0.2u-1~deb9u1_amd64.deb
|
||||||
dpkg -i libssl1.0-dev_1.0.2u-1~deb9u1_amd64.deb
|
dpkg -i libssl1.0-dev_1.0.2u-1~deb9u1_amd64.deb
|
||||||
else
|
else
|
||||||
apt-get update && apt-get install -y iptables idn2
|
apt-get update && apt-get install -y iptables iproute2 idn2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# use port 9090 to test connection timeouts
|
# use port 9090 to test connection timeouts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user