summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/networkmanager-strongswan/PKGBUILD38
-rw-r--r--pcr/networkmanager-strongswan/fix-vbox-parent.patch19
2 files changed, 41 insertions, 16 deletions
diff --git a/pcr/networkmanager-strongswan/PKGBUILD b/pcr/networkmanager-strongswan/PKGBUILD
index aa297c54b..6d1b55734 100644
--- a/pcr/networkmanager-strongswan/PKGBUILD
+++ b/pcr/networkmanager-strongswan/PKGBUILD
@@ -1,33 +1,39 @@
-# Contributor (Arch): Michael Seiwald <michael@mseiwald.at>
-# Maintainer (Arch): Dmitry Korzhevin <dkorzhevin at gmail dot com>
+# Maintainer (Arch): Jan Hicken <firstname [dot] lastname [at] hotmail [dot] de>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
pkgname=networkmanager-strongswan
_pkgname=NetworkManager-strongswan
-pkgver=1.3.0
-pkgrel=2.1
-pkgdesc="strongswan NetworkManager plugin"
-arch=('i686' 'x86_64' 'mips64el')
+pkgver=1.3.1
+pkgrel=2
+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)
-md5sums=('215f1d3b7b65be236b86bf30b6a4615b')
+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
+}
build() {
- cd "$srcdir/$_pkgname-$pkgver"
- ./configure --sysconfdir=/etc \
- --prefix=/usr \
- --libexecdir=/usr/lib \
- --with-charon=/usr/lib/strongswan/charon \
- CFLAGS="$CFLAGS -Wno-error=unused-local-typedefs -Wno-error=deprecated-declarations"
+ cd "$_pkgname-$pkgver"
+
+ export CFLAGS="$CFLAGS -Wno-error=deprecated-declarations"
+ ./configure --sysconfdir=/etc --prefix=/usr \
+ --libexecdir=/usr/lib/networkmanager \
+ --with-charon=/usr/lib/strongswan/charon-nm
make
}
package() {
- cd "$srcdir/$_pkgname-$pkgver"
+ cd "$_pkgname-$pkgver"
make DESTDIR="$pkgdir" install
- #make install
}
# vim:set ts=2 sw=2 et:
diff --git a/pcr/networkmanager-strongswan/fix-vbox-parent.patch b/pcr/networkmanager-strongswan/fix-vbox-parent.patch
new file mode 100644
index 000000000..f016af8d4
--- /dev/null
+++ b/pcr/networkmanager-strongswan/fix-vbox-parent.patch
@@ -0,0 +1,19 @@
+--- 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>