summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Mosakowski2020-03-17 12:19:31 +0000
committerPawel Mosakowski2020-03-17 12:19:31 +0000
commit36394518c1527ab52120fee60fc887528fc7b07a (patch)
tree69cc8a37f089dc542f5ce30cfaf0097ee83d7f59
parent844e342b5ac01b7ec8afce158abb6644436a044a (diff)
downloadaur-appgate-sdp.tar.gz
Version update to 4.3.2. Includes a patch to nm.py which is needed when runnig Python 3.8
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD18
-rw-r--r--nm.py.patch15
3 files changed, 34 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b7d7d2deb8e..171cce8b058 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = appgate-sdp
pkgdesc = Software Defined Perimeter - GUI client
- pkgver = 4.2.2
+ pkgver = 4.3.2
pkgrel = 1
url = https://www.cyxtera.com/essential-defense/appgate-sdp/support
arch = x86_64
@@ -14,10 +14,14 @@ pkgbase = appgate-sdp
depends = nodejs
depends = dnsmasq
conflicts = appgate-sdp-headless
- source = https://sdpdownloads.cyxtera.com/AppGate-SDP-4.2/clients/appgate-sdp_4.2.2_amd64.deb
+ conflicts = appgate-sdp-5
+ options = staticlibs
+ source = https://sdpdownloads.cyxtera.com/AppGate-SDP-4.3/clients/appgate-sdp_4.3.2_amd64.deb
source = appgatedriver.service
- md5sums = cdc1ec9ce02f95a5d826f876d9e55bc5
+ source = nm.py.patch
+ md5sums = 17101aac7623c06d5fbb95f50cf3dbdc
md5sums = 002644116e20b2d79fdb36b7677ab4cf
+ md5sums = c36c11d995cc341f2f1eb4c3b6afa732
pkgname = appgate-sdp
diff --git a/PKGBUILD b/PKGBUILD
index 362c0dbacac..656cae1f6ae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Pawel Mosakowski <pawel at mosakowski dot net>
pkgname=appgate-sdp
-conflicts=('appgate-sdp-headless')
-pkgver=4.2.2
-_download_pkgver=4.2
+conflicts=('appgate-sdp-headless' 'appgate-sdp-5')
+pkgver=4.3.2
+_download_pkgver=4.3
pkgrel=1
epoch=
pkgdesc="Software Defined Perimeter - GUI client"
@@ -13,7 +13,10 @@ license=('custom')
# dependecies calculated by namcap
depends=('gconf' 'libsecret' 'gtk3' 'python' 'nss' 'libxss' 'nodejs' 'dnsmasq')
source=("https://sdpdownloads.cyxtera.com/AppGate-SDP-${_download_pkgver}/clients/${pkgname}_${pkgver}_amd64.deb"
- "appgatedriver.service")
+ "appgatedriver.service"
+ "nm.py.patch")
+
+options=(staticlibs)
prepare() {
tar -xf data.tar.xz
@@ -25,11 +28,14 @@ package() {
rm -vrf "$pkgdir/lib"
cp -v "$srcdir/appgatedriver.service" "$pkgdir/usr/lib/systemd/system/appgatedriver.service"
+ patch "$pkgdir/opt/appgate/linux/nm.py" "$srcdir/nm.py.patch"
mkdir -vp "$pkgdir/usr/share/licenses/appgate-sdp"
cp -v "$pkgdir/usr/share/doc/appgate/copyright" "$pkgdir/usr/share/licenses/appgate-sdp"
cp -v "$pkgdir/usr/share/doc/appgate/LICENSE.github" "$pkgdir/usr/share/licenses/appgate-sdp"
cp -v "$pkgdir/usr/share/doc/appgate/LICENSES.chromium.html.bz2" "$pkgdir/usr/share/licenses/appgate-sdp"
}
-md5sums=('cdc1ec9ce02f95a5d826f876d9e55bc5'
- '002644116e20b2d79fdb36b7677ab4cf')
+
+md5sums=('17101aac7623c06d5fbb95f50cf3dbdc'
+ '002644116e20b2d79fdb36b7677ab4cf'
+ 'c36c11d995cc341f2f1eb4c3b6afa732')
diff --git a/nm.py.patch b/nm.py.patch
new file mode 100644
index 00000000000..ddb842f3dc8
--- /dev/null
+++ b/nm.py.patch
@@ -0,0 +1,15 @@
+--- ./opt/appgate/linux/nm.py.before 2020-03-17 11:43:13.875718603 +0000
++++ ./opt/appgate/linux/nm.py 2020-03-17 11:44:42.565719740 +0000
+@@ -271,8 +271,10 @@
+ if _bus_exists('uk.org.thekelleys.dnsmasq', '/'):
+ syslog(LOG_INFO, '[has_system_dnsmasq] dnsmasq bus present')
+ return True
+-
+- if platform.linux_distribution()[0] != 'Fedora':
++
++ # this is PKGBUILD for Arch so this check should always yield True
++ # if platform.linux_distribution()[0] != 'Fedora':
++ if True:
+ try:
+ bus = dbus.SystemBus()
+ proxy = bus.get_object(