summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/networkmanager-strongswan/PKGBUILD35
-rw-r--r--pcr/networkmanager-strongswan/fix-vbox-parent.patch19
2 files changed, 18 insertions, 36 deletions
diff --git a/pcr/networkmanager-strongswan/PKGBUILD b/pcr/networkmanager-strongswan/PKGBUILD
index 6d1b55734..6be860ca6 100644
--- a/pcr/networkmanager-strongswan/PKGBUILD
+++ b/pcr/networkmanager-strongswan/PKGBUILD
@@ -1,38 +1,39 @@
-# Maintainer (Arch): Jan Hicken <firstname [dot] lastname [at] hotmail [dot] de>
+# shellcheck disable=SC2034,SC2154
+# Maintainer (Arch): Jan Hicken <firstname [dot] lastname [at] posteo [dot] de>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=networkmanager-strongswan
_pkgname=NetworkManager-strongswan
-pkgver=1.3.1
-pkgrel=2
+pkgver=1.4.1
+pkgrel=1
pkgdesc="Strongswan NetworkManager plugin"
arch=('i686' 'x86_64')
url="http://wiki.strongswan.org/projects/strongswan/wiki/NetworkManager"
license=('GPL')
-depends=(networkmanager strongswan libgnomeui)
-makedepends=(intltool)
-source=("http://download.strongswan.org/NetworkManager/$_pkgname-$pkgver.tar.gz"
- 'fix-vbox-parent.patch')
-sha256sums=('8f67bf0e7281ee8dfb1c7fe28ef8d06774744e2135682f4ddae4342fd103d46a'
- 'c9f7f6819753ff2834015ba18ffed39c4b5ae5e0e71c377ee49c105f0d9b1f99')
-
-prepare() {
- cd "$_pkgname-$pkgver"
- patch -p1 -i ../fix-vbox-parent.patch
-}
+depends=('networkmanager' 'strongswan>=5.5.1' 'libnm-gtk' 'libsecret')
+makedepends=('intltool')
+conflicts=('networkmanager-strongswan-passwordstore')
+source=("https://download.strongswan.org/NetworkManager/$_pkgname-$pkgver.tar.bz2"{,.sig})
+sha256sums=('4877c6bb21867fd6e60081b313cc4ef758910448099ce41b132d804e3243b264'
+ 'SKIP')
+validpgpkeys=('12538F8F689B5F1F15F07BE1765FE26C6B467584') # Tobias Brunner
build() {
- cd "$_pkgname-$pkgver"
+ cd "$_pkgname-$pkgver" || exit
- export CFLAGS="$CFLAGS -Wno-error=deprecated-declarations"
./configure --sysconfdir=/etc --prefix=/usr \
--libexecdir=/usr/lib/networkmanager \
--with-charon=/usr/lib/strongswan/charon-nm
make
}
+check() {
+ cd "$_pkgname-$pkgver" || exit
+ make check
+}
+
package() {
- cd "$_pkgname-$pkgver"
+ cd "$_pkgname-$pkgver" || exit
make DESTDIR="$pkgdir" install
}
diff --git a/pcr/networkmanager-strongswan/fix-vbox-parent.patch b/pcr/networkmanager-strongswan/fix-vbox-parent.patch
deleted file mode 100644
index f016af8d4..000000000
--- a/pcr/networkmanager-strongswan/fix-vbox-parent.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- NetworkManager-strongswan-1.3.1/properties/nm-strongswan-dialog.ui
-@@ -1,10 +1,6 @@
- <?xml version="1.0" encoding="UTF-8"?>
- <interface>
- <!-- interface-requires gtk+ 2.12 -->
-- <object class="GtkWindow" id="strongswan-widget">
-- <property name="can_focus">False</property>
-- <property name="title" translatable="yes">window1</property>
-- <child>
- <object class="GtkVBox" id="strongswan-vbox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
-@@ -374,6 +370,4 @@
- </packing>
- </child>
- </object>
-- </child>
-- </object>
- </interface>