This commit is contained in:
Anthony Axenov 2022-11-30 17:51:28 +08:00
parent e86281c967
commit e6411438c5
Signed by: anthony
GPG Key ID: EA9EC32FF7CCD4EC
2 changed files with 44 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# Autogenerated at 09.10.2022 12:57 using ./gen-makefile
# Autogenerated at 30.11.2022 17:50 using ./gen-makefile
.DEFAULT_GOAL := help
#===============================================
@ -98,7 +98,7 @@ kde-portal:
libreoffice:
@./install/libreoffice
# Install lite-xl v2.0.5 (draft)
# Install lite-xl
lite-xl:
@./install/lite-xl
@ -126,6 +126,10 @@ omz-clean:
omz-fancy:
@./install/omz-fancy
# Install openvpn v2.5.8 (src)
openvpn:
@./install/openvpn
# Install papirus-icon-theme (latest)
papirus:
@./install/papirus
@ -174,7 +178,7 @@ vivaldi:
wine:
@./install/wine
# Install youtube-dl + ytdlcue
# Install youtube-dl
youtube-dl:
@./install/youtube-dl
@ -206,6 +210,10 @@ zsh:
/docker:
@./uninstall/docker
# Uninstall lite-xl
/lite-xl:
@./uninstall/lite-xl
# Uninstall omz
/omz:
@./uninstall/omz

33
install/openvpn Executable file
View File

@ -0,0 +1,33 @@
#!/bin/bash
##makedesc: Install openvpn v2.5.8 (src)
# https://openvpn.net/community-downloads/
# https://openvpn.net/community-resources/installing-openvpn/
[ $1 ] && OVPNVER="$1" || OVPNVER='2.5.8'
echo
echo "==============================================="
echo "Installing openvpn v${OVPNVER} (src)..."
echo "==============================================="
echo
set -ex
sudo apt install -y \
libssl-dev \
liblzo2-dev \
libpam0g-dev
mkdir -p "${HOME}/install/"
wget "https://swupdate.openvpn.org/community/releases/openvpn-${OVPNVER}.tar.gz" \
-O "/tmp/openvpn-${OVPNVER}.tar.gz"
tar -xzf "/tmp/openvpn-${OVPNVER}.tar.gz" -C "${HOME}/install/"
cd "${HOME}/install/openvpn-${OVPNVER}"
sudo ./configure && \
sudo make && \
sudo make install &&
sudo apt install -y \
network-manager-openvpn \
network-manager-openvpn-gnome && \
openvpn --version