Skip to content

Commit

Permalink
Add Ubuntu 24.04
Browse files Browse the repository at this point in the history
- Add support for Ubuntu 24.04 LTS
  Ref: libreswan/libreswan@46e9115
  • Loading branch information
hwdsl2 committed Apr 27, 2024
1 parent 7447f4b commit b58e65e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion extras/vpnupgrade_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,13 @@ update_apt_cache() {
}

install_pkgs() {
p1=libcurl4-nss-dev
[ "$os_ver" = "trixiesid" ] && p1=libcurl4-gnutls-dev
(
set -x
apt-get -yqq install libnss3-dev libnspr4-dev pkg-config \
libpam0g-dev libcap-ng-dev libcap-ng-utils libselinux1-dev \
libcurl4-nss-dev libnss3-tools libevent-dev libsystemd-dev \
$p1 libnss3-tools libevent-dev libsystemd-dev \
flex bison gcc make wget sed >/dev/null
) || exiterr2
}
Expand Down
4 changes: 3 additions & 1 deletion vpnsetup_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,13 @@ detect_ip() {

install_vpn_pkgs() {
bigecho "Installing packages required for the VPN..."
p1=libcurl4-nss-dev
[ "$os_ver" = "trixiesid" ] && p1=libcurl4-gnutls-dev
(
set -x
apt-get -yqq install libnss3-dev libnspr4-dev pkg-config \
libpam0g-dev libcap-ng-dev libcap-ng-utils libselinux1-dev \
libcurl4-nss-dev flex bison gcc make libnss3-tools \
$p1 flex bison gcc make libnss3-tools \
libevent-dev libsystemd-dev uuid-runtime ppp xl2tpd >/dev/null
) || exiterr2
if [ "$os_type" = "debian" ] && [ "$os_ver" = 12 ]; then
Expand Down

0 comments on commit b58e65e

Please sign in to comment.