Update to 3.19.0
This commit is contained in:
21
.SRCINFO
21
.SRCINFO
@@ -1,6 +1,6 @@
|
|||||||
pkgbase = nordvpn-bin
|
pkgbase = nordvpn-bin
|
||||||
pkgdesc = NordVPN CLI tool for Linux
|
pkgdesc = NordVPN CLI tool for Linux
|
||||||
pkgver = 3.18.5
|
pkgver = 3.19.0
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://nordvpn.com/download/linux/
|
url = https://nordvpn.com/download/linux/
|
||||||
install = nordvpn-bin.install
|
install = nordvpn-bin.install
|
||||||
@@ -8,17 +8,20 @@ pkgbase = nordvpn-bin
|
|||||||
arch = i686
|
arch = i686
|
||||||
arch = armv7h
|
arch = armv7h
|
||||||
arch = aarch64
|
arch = aarch64
|
||||||
|
arch = armeabi
|
||||||
license = GPL3
|
license = GPL3
|
||||||
depends = libxml2
|
depends = libxml2
|
||||||
provides = nordvpn
|
provides = nordvpn
|
||||||
conflicts = openvpn-nordvpn
|
conflicts = openvpn-nordvpn
|
||||||
source_x86_64 = https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_3.18.5_amd64.deb
|
source_x86_64 = https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_3.19.0_amd64.deb
|
||||||
sha256sums_x86_64 = 029f2bd47130cac47da146eb351987e2ecf8b495d73281826f8d84faf60d1336
|
sha256sums_x86_64 = bec97eba77ae0c4b949a5bd19cc20b53046e46445756d9396bb39c43db586e96
|
||||||
source_i686 = https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_3.18.5_i386.deb
|
source_i686 = https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_3.19.0_i386.deb
|
||||||
sha256sums_i686 = 0705fd5c3a14b09391da76306fc5334890d6388c15d52af6f0410924080b4377
|
sha256sums_i686 = 0f973ef8ad06457c31ee4b8bf0fc57fd51f6d62ffc417f749c15bb4327f104a8
|
||||||
source_armv7h = https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_3.18.5_armhf.deb
|
source_armv7h = https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_3.19.0_armhf.deb
|
||||||
sha256sums_armv7h = 65e409adddff6277b9528c2db8ed4fffd77aa887ffb70fc247549c13368d8bbd
|
sha256sums_armv7h = 901014d059867339487a5081e2196c5ef889fb9c838564ae72f09e166228149c
|
||||||
source_aarch64 = https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_3.18.5_arm64.deb
|
source_aarch64 = https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_3.19.0_arm64.deb
|
||||||
sha256sums_aarch64 = c57c28d0b74264a0f404f494155129eb46ef4ced178c50af564b8f6cf81999fa
|
sha256sums_aarch64 = ca940aca679c387ee15ca06449407b43efb444feee2c64ff88f7b61449136a91
|
||||||
|
source_armeabi = https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_3.19.0_armel.deb
|
||||||
|
sha256sums_armeabi = ecc8f3e9eb72d29e22d75368aff1221b9f0093bb768eeeda3c4512d1c2517b2e
|
||||||
|
|
||||||
pkgname = nordvpn-bin
|
pkgname = nordvpn-bin
|
||||||
|
|||||||
14
PKGBUILD
14
PKGBUILD
@@ -4,10 +4,10 @@
|
|||||||
# Contributor: Martoko <mbastholm at gmail dot com>
|
# Contributor: Martoko <mbastholm at gmail dot com>
|
||||||
|
|
||||||
pkgname=nordvpn-bin
|
pkgname=nordvpn-bin
|
||||||
pkgver=3.18.5
|
pkgver=3.19.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="NordVPN CLI tool for Linux"
|
pkgdesc="NordVPN CLI tool for Linux"
|
||||||
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
|
arch=('x86_64' 'i686' 'armv7h' 'aarch64' 'armeabi')
|
||||||
url="https://nordvpn.com/download/linux/"
|
url="https://nordvpn.com/download/linux/"
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
depends=('libxml2')
|
depends=('libxml2')
|
||||||
@@ -18,10 +18,12 @@ source_x86_64=("https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${
|
|||||||
source_i686=("https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${pkgver//_/-}_i386.deb")
|
source_i686=("https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${pkgver//_/-}_i386.deb")
|
||||||
source_armv7h=("https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${pkgver//_/-}_armhf.deb")
|
source_armv7h=("https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${pkgver//_/-}_armhf.deb")
|
||||||
source_aarch64=("https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${pkgver//_/-}_arm64.deb")
|
source_aarch64=("https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${pkgver//_/-}_arm64.deb")
|
||||||
sha256sums_x86_64=('029f2bd47130cac47da146eb351987e2ecf8b495d73281826f8d84faf60d1336')
|
source_armeabi=("https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${pkgver//_/-}_armel.deb")
|
||||||
sha256sums_i686=('0705fd5c3a14b09391da76306fc5334890d6388c15d52af6f0410924080b4377')
|
sha256sums_x86_64=('bec97eba77ae0c4b949a5bd19cc20b53046e46445756d9396bb39c43db586e96')
|
||||||
sha256sums_armv7h=('65e409adddff6277b9528c2db8ed4fffd77aa887ffb70fc247549c13368d8bbd')
|
sha256sums_i686=('0f973ef8ad06457c31ee4b8bf0fc57fd51f6d62ffc417f749c15bb4327f104a8')
|
||||||
sha256sums_aarch64=('c57c28d0b74264a0f404f494155129eb46ef4ced178c50af564b8f6cf81999fa')
|
sha256sums_armv7h=('901014d059867339487a5081e2196c5ef889fb9c838564ae72f09e166228149c')
|
||||||
|
sha256sums_aarch64=('ca940aca679c387ee15ca06449407b43efb444feee2c64ff88f7b61449136a91')
|
||||||
|
sha256sums_armeabi=('ecc8f3e9eb72d29e22d75368aff1221b9f0093bb768eeeda3c4512d1c2517b2e')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
bsdtar -O -xf *.deb data.tar.gz | bsdtar -C "${pkgdir}" -xJf -
|
bsdtar -O -xf *.deb data.tar.gz | bsdtar -C "${pkgdir}" -xJf -
|
||||||
|
|||||||
@@ -5,6 +5,12 @@ post_install() {
|
|||||||
echo " sudo gpasswd -a USERNAME nordvpn"
|
echo " sudo gpasswd -a USERNAME nordvpn"
|
||||||
echo ':: You then have to restart for the group to be created:'
|
echo ':: You then have to restart for the group to be created:'
|
||||||
echo " reboot"
|
echo " reboot"
|
||||||
|
|
||||||
|
for lib in /usr/lib/nordvpn/*.so ; do
|
||||||
|
if [ -f "$lib" ] ; then
|
||||||
|
ln -s $lib /usr/lib/
|
||||||
|
fi
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_install() {
|
pre_install() {
|
||||||
@@ -17,6 +23,19 @@ pre_upgrade() {
|
|||||||
chattr -i /var/lib/nordvpn/data/*
|
chattr -i /var/lib/nordvpn/data/*
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
for lib in /usr/lib/nordvpn/*.so ; do
|
||||||
|
if [ -f "$lib" ] ; then
|
||||||
|
ln -sf $lib /usr/lib/
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
pre_remove() {
|
pre_remove() {
|
||||||
chattr -i /var/lib/nordvpn/data/*
|
chattr -i /var/lib/nordvpn/data/*
|
||||||
|
for lib in /usr/lib/nordvpn/*.so ; do
|
||||||
|
if [ -f "$lib" ] ; then
|
||||||
|
unlink /usr/lib/$(echo $lib | cut -d '/' -f 5)
|
||||||
|
fi
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user