Skip to content

Instantly share code, notes, and snippets.

@BlueskyFR
Last active July 18, 2023 09:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BlueskyFR/3f9894437de742d53fcd54cf2433e382 to your computer and use it in GitHub Desktop.
Save BlueskyFR/3f9894437de742d53fcd54cf2433e382 to your computer and use it in GitHub Desktop.
Patch to upgrade the Via AUR package (Aruba VPN) to v4.5
diff --git a/PKGBUILD b/PKGBUILD
index 6cecc0f..72c3be0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Matthew Hiles <matthew.hiles@hpe.com>
pkgname=via
-pkgver=4.2.0.2105106
-pkgrel=4
+pkgver=4.5.0.2301032
+pkgrel=5
epoch=
pkgdesc="Aruba Networks' Virtual Intranet Access (VIA)"
arch=('x86_64')
@@ -9,7 +9,7 @@ url="https://asp.arubanetworks.com/downloads;fileTypes=SOFTWARE;products=Aruba%2
license=('unknown') # have not been able to find this
groups=()
# auto generated dpends might be excessive...
-depends=(brotli bzip2 dbus double-conversion e2fsprogs freetype2 gcc-libs glib2 glibc graphite harfbuzz icu keyutils krb5 libcap libffi libgcrypt libglvnd libgpg-error libnm libpng libproxy libx11 libxau libxcb libxdmcp libxml2 lz4 md4c nspr nss openssl pcre pcre2 qt5-base systemd-libs tdb util-linux-libs xz zlib zstd)
+depends=(net-tools brotli bzip2 dbus double-conversion e2fsprogs freetype2 gcc-libs glib2 glibc graphite harfbuzz icu keyutils krb5 libcap libffi libgcrypt libglvnd libgpg-error libnm libpng libproxy libx11 libxau libxcb libxdmcp libxml2 lz4 md4c nspr nss openssl pcre pcre2 qt5-base systemd-libs tdb util-linux-libs xz zlib zstd)
makedepends=()
checkdepends=()
optdepends=(networkmanager)
@@ -23,7 +23,7 @@ changelog=
options=(!strip)
source=("https://h30326.www3.hpe.com/hpn/via-${pkgver}-rpm.x86_64.rpm?merchantId=ASP_DROPBOX")
noextract=()
-sha256sums=('ef2bee83b0041e33b4250f0c53f6d25365182daee5723d2b6c04e80c203cdbcf')
+sha256sums=('90724cde8abf11b2159ea73e1fe3a2196370cc29f1dbaf62807583a37fe9e28e')
validpgpkeys=()
prepare() {
[Unit]
Description=Via VPN root service
After=network.target
[Service]
Type=simple
User=root
# Why not /tmp
WorkingDirectory=/tmp
ExecStart=/usr/bin/via-vpn-srv
Restart=on-failure
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment