git » plasma-nm.git » commit 6bb8995

Fix compatibility with openvpn 2.4.0 (FS#52368)

author Antonio Rojas
2017-01-10 11:15:45 UTC
committer Antonio Rojas
2017-01-10 11:15:45 UTC
parent 0cd17c429a5edc932746eecaf64652c7ab1fa4d3

Fix compatibility with openvpn 2.4.0 (FS#52368)

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index f95fea1..db1ddec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=plasma-nm
 pkgver=5.8.5
-pkgrel=1
+pkgrel=2
 pkgdesc='Plasma applet written in QML for managing network connections'
 arch=('i686' 'x86_64')
 url='https://www.kde.org/workspaces/plasmadesktop/'
@@ -14,15 +14,21 @@ makedepends=('extra-cmake-modules' 'kdoctools' 'openconnect' 'mobile-broadband-p
 optdepends=('mobile-broadband-provider-info: Database of mobile broadband service providers'
             'openconnect: Cisco AnyConnect VPN plugin')
 groups=('plasma')
-source=("http://download.kde.org/stable/plasma/${pkgver}/$pkgname-$pkgver.tar.xz"{,.sig})
+source=("http://download.kde.org/stable/plasma/${pkgver}/$pkgname-$pkgver.tar.xz"{,.sig}
+        plasma-nm-openvpn-2.4.patch::"https://cgit.kde.org/plasma-nm.git/patch/?id=f7db059a")
 sha256sums=('6c2fee26ed36ebc7929f8d8da42d29ed475fe8dd6ab3e8987f1a0a8fd8f73ebc'
-            'SKIP')
+            'SKIP'
+            'e8ec8c12fe8f4e7d92fbe773126ef6819f884bda30c3ce13037eab8d021deea7')
 validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E'  # Jonathan Riddell
               '348C8651206633FD983A8FC4DEACEA00075E1D76'  # KDE Neon
               'D07BD8662C56CB291B316EB2F5675605C74E02CF') # David Edmundson
 
 prepare() {
   mkdir -p build
+
+# Add openvpn 2.4 compatibility
+  cd $pkgname-$pkgver
+  patch -p1 -i ../plasma-nm-openvpn-2.4.patch
 }
 
 build() {