summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authormanu <manu>2009-05-26 05:26:00 +0000
committermanu <manu>2009-05-26 05:26:00 +0000
commit4cef0f2fbd9710d0c4dc34617323c339853a2fd9 (patch)
tree3ad43c5ec4200dd894338eb8581f53c2f4af5d46 /security
parent77093c8368c313cdc1a26d896187a5c1f3d5b0e4 (diff)
downloadpkgsrc-4cef0f2fbd9710d0c4dc34617323c339853a2fd9.tar.gz
Two bugfixes pulled from upstream:
- make sure assertions are signed - don't crash when parsing saml:AttributeValue with xsi:type set
Diffstat (limited to 'security')
-rw-r--r--security/lasso/Makefile4
-rw-r--r--security/lasso/distinfo4
-rw-r--r--security/lasso/patches/patch-bb1
-rw-r--r--security/lasso/patches/patch-bc1
-rw-r--r--security/lasso/patches/patch-bd1
-rw-r--r--security/lasso/patches/patch-ca14
-rw-r--r--security/lasso/patches/patch-cb16
7 files changed, 39 insertions, 2 deletions
diff --git a/security/lasso/Makefile b/security/lasso/Makefile
index f873a6a6b7c..25a7357a2f9 100644
--- a/security/lasso/Makefile
+++ b/security/lasso/Makefile
@@ -1,6 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/03/02 16:46:01 manu Exp $
+# $NetBSD: Makefile,v 1.2 2009/05/26 05:26:00 manu Exp $
#
+PKGREVISION= 2
+
CONFIGURE_ARGS+= --disable-python
CONFIGURE_ARGS+= --disable-php4
CONFIGURE_ARGS+= --disable-perl
diff --git a/security/lasso/distinfo b/security/lasso/distinfo
index 993aa0e5be2..efa38e68170 100644
--- a/security/lasso/distinfo
+++ b/security/lasso/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2009/04/09 03:23:55 manu Exp $
+$NetBSD: distinfo,v 1.3 2009/05/26 05:26:00 manu Exp $
SHA1 (lasso-2.2.2.tar.gz) = 32651fa71b16da01a94db234425846729a510623
RMD160 (lasso-2.2.2.tar.gz) = a4faae605726202db33d36a2b520b0ab8f17aa76
@@ -7,3 +7,5 @@ SHA1 (patch-ba) = 4ebb013f1c264e5b0008faeebdecc7bdb49be63a
SHA1 (patch-bb) = 0867b8ae4036620084b73d28546ac089b57d3fb9
SHA1 (patch-bc) = 0104fc8a9d3acac47130e52f3e5aa2af78337170
SHA1 (patch-bd) = 1a43558472ff5a1f24bb5b1228335894a77f875e
+SHA1 (patch-ca) = c803ef9032744263f0fc434eda2c3b729fc96225
+SHA1 (patch-cb) = d6804551a3738d57cca71e018203f07c3736af99
diff --git a/security/lasso/patches/patch-bb b/security/lasso/patches/patch-bb
index dd75aaa1a77..388bdcf2c3e 100644
--- a/security/lasso/patches/patch-bb
+++ b/security/lasso/patches/patch-bb
@@ -1,3 +1,4 @@
+$NetBSD: patch-bb,v 1.3 2009/05/26 05:26:00 manu Exp $
--- configure.orig 2009-04-05 09:25:04.000000000 +0200
+++ configure 2009-04-05 09:25:48.000000000 +0200
@@ -15388,14 +15388,14 @@
diff --git a/security/lasso/patches/patch-bc b/security/lasso/patches/patch-bc
index 0aacfdc2102..af3d825d95f 100644
--- a/security/lasso/patches/patch-bc
+++ b/security/lasso/patches/patch-bc
@@ -1,3 +1,4 @@
+$NetBSD: patch-bc,v 1.2 2009/05/26 05:26:00 manu Exp $
--- lasso/xml/tools.c.orig 2009-04-05 11:24:03.000000000 +0200
+++ lasso/xml/tools.c 2009-04-05 11:24:47.000000000 +0200
@@ -1209,9 +1209,9 @@
diff --git a/security/lasso/patches/patch-bd b/security/lasso/patches/patch-bd
index ee69a11bf30..4782ba37ceb 100644
--- a/security/lasso/patches/patch-bd
+++ b/security/lasso/patches/patch-bd
@@ -1,3 +1,4 @@
+$NetBSD: patch-bd,v 1.2 2009/05/26 05:26:00 manu Exp $
--- lasso/xml/xml.c.orig 2009-04-05 11:25:55.000000000 +0200
+++ lasso/xml/xml.c 2009-04-05 11:26:27.000000000 +0200
@@ -1591,9 +1591,9 @@
diff --git a/security/lasso/patches/patch-ca b/security/lasso/patches/patch-ca
new file mode 100644
index 00000000000..584076a2c8f
--- /dev/null
+++ b/security/lasso/patches/patch-ca
@@ -0,0 +1,14 @@
+$NetBSD: patch-ca,v 1.1 2009/05/26 05:26:00 manu Exp $
+--- lasso/saml-2.0/profile.c.orig 2009-03-27 16:12:48.000000000 +0000
++++ lasso/saml-2.0/profile.c 2009-05-25 15:40:40.000000000 +0000
+@@ -1106,10 +1106,8 @@
+
+ if (url == NULL) {
+ return critical_error(LASSO_PROFILE_ERROR_UNKNOWN_PROFILE_URL);
+ }
+- /* No signature on the XML message */
+- remove_all_signatures(msg);
+ query = lasso_saml20_profile_export_to_query(profile, msg, must_sign);
+ lasso_assign_new_string(profile->msg_url, lasso_concat_url_query(url, query));
+ lasso_release(profile->msg_body);
+ lasso_release(query);
diff --git a/security/lasso/patches/patch-cb b/security/lasso/patches/patch-cb
new file mode 100644
index 00000000000..f8909d1b5f6
--- /dev/null
+++ b/security/lasso/patches/patch-cb
@@ -0,0 +1,16 @@
+Index: lasso/xml/xml.c
+===================================================================
+--- lasso/xml/xml.c (revision 4193)
++++ lasso/xml/xml.c (revision 4194)
+@@ -1554,8 +1554,9 @@
+ }
+ }
+ }
+-
+- node = lasso_node_new_from_xmlNode_with_type(xmlnode, typename);
++ if (typename) {
++ node = lasso_node_new_from_xmlNode_with_type(xmlnode, typename);
++ }
+ lasso_release(typename);
+
+ return node;