aboutsummaryrefslogtreecommitdiffstats
path: root/main/strongswan
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-02-17 14:34:17 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-02-17 14:35:11 +0000
commitab8bb754a2568429ef75e1c10d3bd7127346db9e (patch)
tree3c4a20d7625ec70eeaa60980b4e33606cd70e36b /main/strongswan
parent4b00ec50476e9bcd550fc63500fbc0cfb6776cad (diff)
downloadaports-ab8bb754a2568429ef75e1c10d3bd7127346db9e.tar.bz2
aports-ab8bb754a2568429ef75e1c10d3bd7127346db9e.tar.xz
main/strongswan: fix from upstream for a segfault
http://wiki.strongswan.org/issues/452
Diffstat (limited to 'main/strongswan')
-rw-r--r--main/strongswan/APKBUILD6
-rw-r--r--main/strongswan/pki-Increase-MAX_COMMANDS-to-cover-all-currently-available-commands.patch24
2 files changed, 29 insertions, 1 deletions
diff --git a/main/strongswan/APKBUILD b/main/strongswan/APKBUILD
index 7c624866a..986f5bb5e 100644
--- a/main/strongswan/APKBUILD
+++ b/main/strongswan/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=strongswan
pkgver=5.1.1
-pkgrel=1
+pkgrel=2
pkgdesc="IPsec-based VPN solution focused on security and ease of use, supporting IKEv1/IKEv2 and MOBIKE"
url="http://www.strongswan.org/"
arch="all"
@@ -13,6 +13,7 @@ makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://download.strongswan.org/$pkgname-$pkgver.tar.bz2
+ pki-Increase-MAX_COMMANDS-to-cover-all-currently-available-commands.patch
strongswan.initd"
_builddir="$srcdir/$pkgname-$pkgver"
@@ -88,8 +89,11 @@ package() {
}
md5sums="e3af3d493d22286be3cd794533a8966a strongswan-5.1.1.tar.bz2
+1fbaa72ce6bcb065d3f13502f1eba855 pki-Increase-MAX_COMMANDS-to-cover-all-currently-available-commands.patch
fb9822512d02f521af8812db22a5175e strongswan.initd"
sha256sums="fbf2a668221fc4a36a34bdeac2dfeda25b96f572d551df022585177953622406 strongswan-5.1.1.tar.bz2
+7f7601707c3d53e8a0a2df71dbf692366491f18851713f24c057b3e0366fd4e6 pki-Increase-MAX_COMMANDS-to-cover-all-currently-available-commands.patch
e4add8941d545930bba43d7d3af302bc436d7c0264a2796480226567e2b12e54 strongswan.initd"
sha512sums="77b5f51e2e8d2c87c97984ddaf271f6c30ec418e3564bb131a9be6393e9aeb838e53fe90e0f271d8714c05975c655bba0762349f04984aa9b176f6b08c2c966f strongswan-5.1.1.tar.bz2
+2f3c0427504f96827fb331099ba39690b0e72e0b145bd566bccd69d660631b0c3972e6a0f3315596e52a70f29767f54bc3225ccd2f23b8c6699fd557d09a3a49 pki-Increase-MAX_COMMANDS-to-cover-all-currently-available-commands.patch
2f2936865e494a9454329867acfb71ca323f90dec526a97f7d0c18422deb54205f81f9f592ed6c3b474fe5e954ebcb90eed0311e52fa3a86a982d80ba9a45be8 strongswan.initd"
diff --git a/main/strongswan/pki-Increase-MAX_COMMANDS-to-cover-all-currently-available-commands.patch b/main/strongswan/pki-Increase-MAX_COMMANDS-to-cover-all-currently-available-commands.patch
new file mode 100644
index 000000000..da6ffe18d
--- /dev/null
+++ b/main/strongswan/pki-Increase-MAX_COMMANDS-to-cover-all-currently-available-commands.patch
@@ -0,0 +1,24 @@
+commit 079e6c2b04faa8cd09478662a255cc87acfaede1
+Author: Tobias Brunner <tobias@strongswan.org>
+Date: Wed Dec 11 17:24:03 2013 +0100
+
+ pki: Increase MAX_COMMANDS to cover all currently available commands
+
+ Fixes #452.
+
+diff --git a/src/pki/command.h b/src/pki/command.h
+index 1a884fb..3e66a1a 100644
+--- a/src/pki/command.h
++++ b/src/pki/command.h
+@@ -22,9 +22,9 @@
+ #define COMMAND_H_
+
+ /**
+- * Maximum number of commands.
++ * Maximum number of commands (+1).
+ */
+-#define MAX_COMMANDS 10
++#define MAX_COMMANDS 11
+
+ /**
+ * Maximum number of options in a command (+1)