summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authormanu <manu>2009-03-02 16:46:01 +0000
committermanu <manu>2009-03-02 16:46:01 +0000
commite2301f73863f6763aadebe28d2f9cb0bb950fc44 (patch)
tree71ef3a847df23172af324f37ed4f0da9186c227e /security
parent2a8ce066cc65addca8d38aadd7dcee79ff4a64ce (diff)
downloadpkgsrc-e2301f73863f6763aadebe28d2f9cb0bb950fc44.tar.gz
Lasso is a free software C library aiming to implement the Liberty
Alliance standards: ID-FF, ID-WSF and SAML. It defines processes for federated identities, single sign-on and related protocols. Lasso is built on top of libxml2, XMLSec and OpenSSL and is GPL licensed.
Diffstat (limited to 'security')
-rw-r--r--security/lasso/DESCR4
-rw-r--r--security/lasso/Makefile12
-rw-r--r--security/lasso/Makefile.common36
-rw-r--r--security/lasso/PLIST306
-rw-r--r--security/lasso/buildlink3.mk24
-rw-r--r--security/lasso/distinfo9
-rw-r--r--security/lasso/patches/patch-aa38
-rw-r--r--security/lasso/patches/patch-ab47
-rw-r--r--security/lasso/patches/patch-ba14
-rw-r--r--security/lasso/patches/patch-bb70
10 files changed, 560 insertions, 0 deletions
diff --git a/security/lasso/DESCR b/security/lasso/DESCR
new file mode 100644
index 00000000000..8409b54ed1b
--- /dev/null
+++ b/security/lasso/DESCR
@@ -0,0 +1,4 @@
+Lasso is a free software C library aiming to implement the Liberty
+Alliance standards: ID-FF, ID-WSF and SAML. It defines processes for
+federated identities, single sign-on and related protocols. Lasso is
+built on top of libxml2, XMLSec and OpenSSL and is GPL licensed.
diff --git a/security/lasso/Makefile b/security/lasso/Makefile
new file mode 100644
index 00000000000..f873a6a6b7c
--- /dev/null
+++ b/security/lasso/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/03/02 16:46:01 manu Exp $
+#
+
+CONFIGURE_ARGS+= --disable-python
+CONFIGURE_ARGS+= --disable-php4
+CONFIGURE_ARGS+= --disable-perl
+
+PKG_DESTDIR_SUPPORT= destdir
+
+PYTHON_FOR_BUILD_ONLY= yes
+
+.include "../../security/lasso/Makefile.common"
diff --git a/security/lasso/Makefile.common b/security/lasso/Makefile.common
new file mode 100644
index 00000000000..a90d47e6389
--- /dev/null
+++ b/security/lasso/Makefile.common
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2009/03/02 16:46:01 manu Exp $
+#
+# used by security/lasso/Makefile
+# used by security/py-lasso/Makefile
+
+DISTNAME= lasso-2.2.1
+CATEGORIES= security
+MASTER_SITES= http://labs.libre-entreprise.org/frs/download.php/673/
+
+MAINTAINER= manu@NetBSD.org
+HOMEPAGE= http://lasso.entrouvert.org/
+COMMENT= Libery Alliance Single Sign On implementation
+
+DISTINFO_FILE= ${.CURDIR}/../../security/lasso/distinfo
+PATCHDIR= ${.CURDIR}/../../security/lasso/patches
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-sasl2=${PREFIX}
+CONFIGURE_ARGS+= --with-zlib=${PREFIX}
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config perl
+
+PKGCONFIG_OVERRIDE+= lasso.pc.in
+
+PYTHON_VERSIONS_ACCEPTED= 26 25 24
+.include "../../lang/python/application.mk"
+
+.include "../../security/xmlsec1/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../security/cyrus-sasl/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/lasso/PLIST b/security/lasso/PLIST
new file mode 100644
index 00000000000..f2c260ded9f
--- /dev/null
+++ b/security/lasso/PLIST
@@ -0,0 +1,306 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/03/02 16:46:01 manu Exp $
+share/doc/lasso/writing-a-c-sp.txt
+share/doc/lasso/writing-a-php-sp.txt
+share/doc/lasso/writing-a-java-sp.txt
+share/doc/lasso/writing-a-saml2-php-sp.txt
+share/doc/lasso/book.rst
+share/doc/lasso/common-knowledge.rst
+share/doc/lasso/getting-lasso.rst
+share/doc/lasso/integration.rst
+share/doc/lasso/language-bindings.rst
+share/doc/lasso/lasso-architecture.rst
+share/doc/lasso/liberty-architecture.rst
+share/doc/lasso/other-profiles.rst
+share/doc/lasso/preface.rst
+share/doc/lasso/single-sign-on.rst
+@dirrm share/doc/lasso
+lib/pkgconfig/lasso.pc
+lib/liblasso.la
+include/lasso/xml/saml-2.0/saml2_action.h
+include/lasso/xml/saml-2.0/saml2_advice.h
+include/lasso/xml/saml-2.0/saml2_assertion.h
+include/lasso/xml/saml-2.0/saml2_attribute.h
+include/lasso/xml/saml-2.0/saml2_attribute_statement.h
+include/lasso/xml/saml-2.0/saml2_attribute_value.h
+include/lasso/xml/saml-2.0/saml2_audience_restriction.h
+include/lasso/xml/saml-2.0/saml2_authn_context.h
+include/lasso/xml/saml-2.0/saml2_authn_statement.h
+include/lasso/xml/saml-2.0/saml2_authz_decision_statement.h
+include/lasso/xml/saml-2.0/saml2_base_idabstract.h
+include/lasso/xml/saml-2.0/saml2_condition_abstract.h
+include/lasso/xml/saml-2.0/saml2_conditions.h
+include/lasso/xml/saml-2.0/saml2_encrypted_element.h
+include/lasso/xml/saml-2.0/saml2_evidence.h
+include/lasso/xml/saml-2.0/saml2_key_info_confirmation_data.h
+include/lasso/xml/saml-2.0/saml2_name_id.h
+include/lasso/xml/saml-2.0/saml2_one_time_use.h
+include/lasso/xml/saml-2.0/saml2_proxy_restriction.h
+include/lasso/xml/saml-2.0/saml2_statement_abstract.h
+include/lasso/xml/saml-2.0/saml2_subject_confirmation_data.h
+include/lasso/xml/saml-2.0/saml2_subject_confirmation.h
+include/lasso/xml/saml-2.0/saml2_subject.h
+include/lasso/xml/saml-2.0/saml2_subject_locality.h
+include/lasso/xml/saml-2.0/samlp2_artifact_resolve.h
+include/lasso/xml/saml-2.0/samlp2_artifact_response.h
+include/lasso/xml/saml-2.0/samlp2_assertion_id_request.h
+include/lasso/xml/saml-2.0/samlp2_attribute_query.h
+include/lasso/xml/saml-2.0/samlp2_authn_query.h
+include/lasso/xml/saml-2.0/samlp2_authn_request.h
+include/lasso/xml/saml-2.0/samlp2_authz_decision_query.h
+include/lasso/xml/saml-2.0/samlp2_extensions.h
+include/lasso/xml/saml-2.0/samlp2_idp_entry.h
+include/lasso/xml/saml-2.0/samlp2_idp_list.h
+include/lasso/xml/saml-2.0/samlp2_logout_request.h
+include/lasso/xml/saml-2.0/samlp2_logout_response.h
+include/lasso/xml/saml-2.0/samlp2_manage_name_id_request.h
+include/lasso/xml/saml-2.0/samlp2_manage_name_id_response.h
+include/lasso/xml/saml-2.0/samlp2_name_id_mapping_request.h
+include/lasso/xml/saml-2.0/samlp2_name_id_mapping_response.h
+include/lasso/xml/saml-2.0/samlp2_name_id_policy.h
+include/lasso/xml/saml-2.0/samlp2_request_abstract.h
+include/lasso/xml/saml-2.0/samlp2_requested_authn_context.h
+include/lasso/xml/saml-2.0/samlp2_response.h
+include/lasso/xml/saml-2.0/samlp2_scoping.h
+include/lasso/xml/saml-2.0/samlp2_status_code.h
+include/lasso/xml/saml-2.0/samlp2_status_detail.h
+include/lasso/xml/saml-2.0/samlp2_status.h
+include/lasso/xml/saml-2.0/samlp2_status_response.h
+include/lasso/xml/saml-2.0/samlp2_subject_query_abstract.h
+include/lasso/xml/saml-2.0/samlp2_terminate.h
+include/lasso/xml/id-wsf-2.0/disco_abstract.h
+include/lasso/xml/id-wsf-2.0/disco_endpoint_context.h
+include/lasso/xml/id-wsf-2.0/disco_keys.h
+include/lasso/xml/id-wsf-2.0/disco_options.h
+include/lasso/xml/id-wsf-2.0/disco_provider_id.h
+include/lasso/xml/id-wsf-2.0/disco_query.h
+include/lasso/xml/id-wsf-2.0/disco_query_response.h
+include/lasso/xml/id-wsf-2.0/disco_requested_service.h
+include/lasso/xml/id-wsf-2.0/disco_security_context.h
+include/lasso/xml/id-wsf-2.0/disco_service_context.h
+include/lasso/xml/id-wsf-2.0/disco_service_type.h
+include/lasso/xml/id-wsf-2.0/disco_svc_md_association_add.h
+include/lasso/xml/id-wsf-2.0/disco_svc_md_association_add_response.h
+include/lasso/xml/id-wsf-2.0/disco_svc_md_association_delete.h
+include/lasso/xml/id-wsf-2.0/dst_request.h
+include/lasso/xml/id-wsf-2.0/disco_svc_md_association_delete_response.h
+include/lasso/xml/id-wsf-2.0/disco_svc_md_association_query.h
+include/lasso/xml/id-wsf-2.0/disco_svc_md_association_query_response.h
+include/lasso/xml/id-wsf-2.0/disco_svc_md_delete.h
+include/lasso/xml/id-wsf-2.0/disco_svc_md_delete_response.h
+include/lasso/xml/id-wsf-2.0/disco_svc_md_query.h
+include/lasso/xml/id-wsf-2.0/disco_svc_md_query_response.h
+include/lasso/xml/id-wsf-2.0/disco_svc_md_register.h
+include/lasso/xml/id-wsf-2.0/disco_svc_md_register_response.h
+include/lasso/xml/id-wsf-2.0/disco_svc_md_replace.h
+include/lasso/xml/id-wsf-2.0/disco_svc_md_replace_response.h
+include/lasso/xml/id-wsf-2.0/disco_svc_metadata.h
+include/lasso/xml/id-wsf-2.0/dst_data_response_base.h
+include/lasso/xml/id-wsf-2.0/dst_delete_item_base.h
+include/lasso/xml/id-wsf-2.0/dst_delete_response.h
+include/lasso/xml/id-wsf-2.0/dst_result_query_base.h
+include/lasso/xml/id-wsf-2.0/dst_test_item_base.h
+include/lasso/xml/id-wsf-2.0/dstref_app_data.h
+include/lasso/xml/id-wsf-2.0/dstref_create.h
+include/lasso/xml/id-wsf-2.0/dstref_create_item.h
+include/lasso/xml/id-wsf-2.0/dstref_create_response.h
+include/lasso/xml/id-wsf-2.0/dstref_data.h
+include/lasso/xml/id-wsf-2.0/dstref_data_response.h
+include/lasso/xml/id-wsf-2.0/dstref_delete.h
+include/lasso/xml/id-wsf-2.0/dstref_delete_item.h
+include/lasso/xml/id-wsf-2.0/dstref_delete_response.h
+include/lasso/xml/id-wsf-2.0/dstref_item_data.h
+include/lasso/xml/id-wsf-2.0/dstref_modify.h
+include/lasso/xml/id-wsf-2.0/dstref_modify_item.h
+include/lasso/xml/id-wsf-2.0/dstref_query.h
+include/lasso/xml/id-wsf-2.0/dstref_modify_response.h
+include/lasso/xml/id-wsf-2.0/dstref_query_item.h
+include/lasso/xml/id-wsf-2.0/dstref_query_response.h
+include/lasso/xml/id-wsf-2.0/dstref_result_query.h
+include/lasso/xml/id-wsf-2.0/dstref_test_item.h
+include/lasso/xml/id-wsf-2.0/ims_identity_mapping_request.h
+include/lasso/xml/id-wsf-2.0/ims_identity_mapping_response.h
+include/lasso/xml/id-wsf-2.0/ims_mapping_input.h
+include/lasso/xml/id-wsf-2.0/ims_mapping_output.h
+include/lasso/xml/id-wsf-2.0/is_help.h
+include/lasso/xml/id-wsf-2.0/is_inquiry.h
+include/lasso/xml/id-wsf-2.0/is_inquiry_element.h
+include/lasso/xml/id-wsf-2.0/is_interaction_request.h
+include/lasso/xml/id-wsf-2.0/is_interaction_response.h
+include/lasso/xml/id-wsf-2.0/is_interaction_statement.h
+include/lasso/xml/id-wsf-2.0/is_item.h
+include/lasso/xml/id-wsf-2.0/is_parameter.h
+include/lasso/xml/id-wsf-2.0/is_select.h
+include/lasso/xml/id-wsf-2.0/is_text.h
+include/lasso/xml/id-wsf-2.0/ps_add_collection_request.h
+include/lasso/xml/id-wsf-2.0/ps_add_collection_response.h
+include/lasso/xml/id-wsf-2.0/ps_add_entity_request.h
+include/lasso/xml/id-wsf-2.0/ps_add_entity_response.h
+include/lasso/xml/id-wsf-2.0/ps_add_known_entity_request.h
+include/lasso/xml/id-wsf-2.0/ps_add_known_entity_response.h
+include/lasso/xml/id-wsf-2.0/ps_add_to_collection_request.h
+include/lasso/xml/id-wsf-2.0/ps_get_object_info_request.h
+include/lasso/xml/id-wsf-2.0/ps_get_object_info_response.h
+include/lasso/xml/id-wsf-2.0/ps_item_data.h
+include/lasso/xml/id-wsf-2.0/ps_list_members_request.h
+include/lasso/xml/id-wsf-2.0/ps_list_members_response.h
+include/lasso/xml/id-wsf-2.0/ps_notification.h
+include/lasso/xml/id-wsf-2.0/ps_notify.h
+include/lasso/xml/id-wsf-2.0/ps_object.h
+include/lasso/xml/id-wsf-2.0/ps_query_objects_request.h
+include/lasso/xml/id-wsf-2.0/ps_query_objects_response.h
+include/lasso/xml/id-wsf-2.0/ps_remove_collection_request.h
+include/lasso/xml/id-wsf-2.0/ps_remove_entity_request.h
+include/lasso/xml/id-wsf-2.0/ps_remove_from_collection_request.h
+include/lasso/xml/id-wsf-2.0/ps_request_abstract.h
+include/lasso/xml/id-wsf-2.0/ps_resolve_identifier_request.h
+include/lasso/xml/id-wsf-2.0/ps_resolve_identifier_response.h
+include/lasso/xml/id-wsf-2.0/ps_resolve_input.h
+include/lasso/xml/id-wsf-2.0/ps_response_abstract.h
+include/lasso/xml/id-wsf-2.0/ps_set_object_info_request.h
+include/lasso/xml/id-wsf-2.0/sb2_consent.h
+include/lasso/xml/id-wsf-2.0/ps_test_membership_request.h
+include/lasso/xml/id-wsf-2.0/ps_test_membership_response.h
+include/lasso/xml/id-wsf-2.0/sb2_credentials_context.h
+include/lasso/xml/id-wsf-2.0/sb2_endpoint_update.h
+include/lasso/xml/id-wsf-2.0/sb2_redirect_request.h
+include/lasso/xml/id-wsf-2.0/sb2_sender.h
+include/lasso/xml/id-wsf-2.0/sb2_target_identity.h
+include/lasso/xml/id-wsf-2.0/sb2_timeout.h
+include/lasso/xml/id-wsf-2.0/sb2_usage_directive.h
+include/lasso/xml/id-wsf-2.0/sb2_user_interaction_header.h
+include/lasso/xml/id-wsf-2.0/sbf_framework.h
+include/lasso/xml/id-wsf-2.0/sec_token.h
+include/lasso/xml/id-wsf-2.0/sec_token_policy.h
+include/lasso/xml/id-wsf-2.0/sec_transited_provider_path.h
+include/lasso/xml/id-wsf-2.0/subs_notification.h
+include/lasso/xml/id-wsf-2.0/subs_notify_response.h
+include/lasso/xml/id-wsf-2.0/subs_ref_item.h
+include/lasso/xml/id-wsf-2.0/subs_subscription.h
+include/lasso/xml/id-wsf-2.0/subsref_app_data.h
+include/lasso/xml/id-wsf-2.0/subsref_create.h
+include/lasso/xml/id-wsf-2.0/subsref_create_item.h
+include/lasso/xml/id-wsf-2.0/subsref_create_response.h
+include/lasso/xml/id-wsf-2.0/subsref_data.h
+include/lasso/xml/id-wsf-2.0/subsref_data_response.h
+include/lasso/xml/id-wsf-2.0/subsref_delete.h
+include/lasso/xml/id-wsf-2.0/subsref_delete_item.h
+include/lasso/xml/id-wsf-2.0/subsref_delete_response.h
+include/lasso/xml/id-wsf-2.0/subsref_item_data.h
+include/lasso/xml/id-wsf-2.0/subsref_modify.h
+include/lasso/xml/id-wsf-2.0/subsref_modify_item.h
+include/lasso/xml/id-wsf-2.0/subsref_modify_response.h
+include/lasso/xml/id-wsf-2.0/subsref_notification.h
+include/lasso/xml/id-wsf-2.0/subsref_notify.h
+include/lasso/xml/id-wsf-2.0/subsref_notify_response.h
+include/lasso/xml/id-wsf-2.0/subsref_query.h
+include/lasso/xml/id-wsf-2.0/subsref_query_item.h
+include/lasso/xml/id-wsf-2.0/subsref_query_response.h
+include/lasso/xml/id-wsf-2.0/subsref_result_query.h
+include/lasso/xml/id-wsf-2.0/subsref_subscription.h
+include/lasso/xml/id-wsf-2.0/subsref_test_item.h
+include/lasso/xml/id-wsf-2.0/util_empty.h
+include/lasso/xml/id-wsf-2.0/util_extension.h
+include/lasso/xml/id-wsf-2.0/util_response.h
+include/lasso/xml/id-wsf-2.0/util_status.h
+include/lasso/xml/ws/wsa_attributed_any.h
+include/lasso/xml/ws/wsa_attributed_qname.h
+include/lasso/xml/ws/wsa_attributed_unsigned_long.h
+include/lasso/xml/ws/wsa_attributed_uri.h
+include/lasso/xml/ws/wsa_endpoint_reference.h
+include/lasso/xml/ws/wsa_metadata.h
+include/lasso/xml/ws/wsa_problem_action.h
+include/lasso/xml/ws/wsa_reference_parameters.h
+include/lasso/xml/ws/wsa_relates_to.h
+include/lasso/xml/ws/wsse_embedded.h
+include/lasso/xml/ws/wsse_reference.h
+include/lasso/xml/ws/wsse_security_header.h
+include/lasso/xml/ws/wsse_security_token_reference.h
+include/lasso/xml/ws/wsse_transformation_parameters.h
+include/lasso/xml/ws/wsu_timestamp.h
+include/lasso/xml/ws/wsse_username_token.h
+include/lasso/xml/strings.h
+include/lasso/xml/xml.h
+include/lasso/xml/ds_key_info.h
+include/lasso/xml/ds_key_value.h
+include/lasso/xml/ds_rsa_key_value.h
+include/lasso/xml/lib_assertion.h
+include/lasso/xml/lib_authentication_statement.h
+include/lasso/xml/lib_authn_context.h
+include/lasso/xml/lib_authn_request.h
+include/lasso/xml/lib_authn_request_envelope.h
+include/lasso/xml/lib_authn_response.h
+include/lasso/xml/lib_authn_response_envelope.h
+include/lasso/xml/lib_federation_termination_notification.h
+include/lasso/xml/lib_idp_entries.h
+include/lasso/xml/lib_idp_entry.h
+include/lasso/xml/lib_idp_list.h
+include/lasso/xml/lib_logout_request.h
+include/lasso/xml/lib_logout_response.h
+include/lasso/xml/lib_name_identifier_mapping_request.h
+include/lasso/xml/lib_name_identifier_mapping_response.h
+include/lasso/xml/lib_register_name_identifier_request.h
+include/lasso/xml/lib_register_name_identifier_response.h
+include/lasso/xml/lib_request_authn_context.h
+include/lasso/xml/lib_scoping.h
+include/lasso/xml/lib_status_response.h
+include/lasso/xml/lib_subject.h
+include/lasso/xml/misc_text_node.h
+include/lasso/xml/saml_advice.h
+include/lasso/xml/saml_assertion.h
+include/lasso/xml/saml_attribute.h
+include/lasso/xml/saml_attribute_designator.h
+include/lasso/xml/saml_attribute_statement.h
+include/lasso/xml/saml_attribute_value.h
+include/lasso/xml/saml_audience_restriction_condition.h
+include/lasso/xml/saml_authentication_statement.h
+include/lasso/xml/saml_authority_binding.h
+include/lasso/xml/saml_condition_abstract.h
+include/lasso/xml/saml_conditions.h
+include/lasso/xml/saml_name_identifier.h
+include/lasso/xml/saml_statement_abstract.h
+include/lasso/xml/saml_subject.h
+include/lasso/xml/saml_subject_confirmation.h
+include/lasso/xml/saml_subject_locality.h
+include/lasso/xml/samlp_request.h
+include/lasso/xml/saml_subject_statement.h
+include/lasso/xml/saml_subject_statement_abstract.h
+include/lasso/xml/samlp_request_abstract.h
+include/lasso/xml/samlp_response.h
+include/lasso/xml/samlp_response_abstract.h
+include/lasso/xml/samlp_status.h
+include/lasso/xml/samlp_status_code.h
+include/lasso/xml/xml_enc.h
+include/lasso/id-ff/defederation.h
+include/lasso/id-ff/federation.h
+include/lasso/id-ff/identity.h
+include/lasso/id-ff/lecp.h
+include/lasso/id-ff/login.h
+include/lasso/id-ff/logout.h
+include/lasso/id-ff/name_identifier_mapping.h
+include/lasso/id-ff/name_registration.h
+include/lasso/id-ff/profile.h
+include/lasso/id-ff/provider.h
+include/lasso/id-ff/server.h
+include/lasso/id-ff/session.h
+include/lasso/saml-2.0/assertion_query.h
+include/lasso/saml-2.0/ecp.h
+include/lasso/saml-2.0/profile.h
+include/lasso/saml-2.0/name_id_management.h
+include/lasso/id-wsf-2.0/discovery.h
+include/lasso/id-wsf-2.0/data_service.h
+include/lasso/id-wsf-2.0/profile.h
+include/lasso/id-wsf-2.0/identity.h
+include/lasso/id-wsf-2.0/server.h
+include/lasso/id-wsf-2.0/session.h
+include/lasso/export.h
+include/lasso/lasso.h
+include/lasso/lasso_config.h
+include/lasso/errors.h
+@dirrm include/lasso/xml/saml-2.0
+@dirrm include/lasso/xml/id-wsf-2.0
+@dirrm include/lasso/xml/ws
+@dirrm include/lasso/xml
+@dirrm include/lasso/id-ff
+@dirrm include/lasso/saml-2.0
+@dirrm include/lasso/id-wsf-2.0
+@dirrm include/lasso
diff --git a/security/lasso/buildlink3.mk b/security/lasso/buildlink3.mk
new file mode 100644
index 00000000000..06ca01fb320
--- /dev/null
+++ b/security/lasso/buildlink3.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/03/02 16:46:01 manu Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LASSO_BUILDLINK3_MK:= ${LASSO_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= lasso
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlasso}
+BUILDLINK_PACKAGES+= lasso
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lasso
+
+.if ${LASSO_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.lasso+= lasso>=2.2.1
+BUILDLINK_PKGSRCDIR.lasso?= ../../security/lasso
+.endif # LASSO_BUILDLINK3_MK
+
+.include "../../security/xmlsec1/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/security/lasso/distinfo b/security/lasso/distinfo
new file mode 100644
index 00000000000..a6cbc68fa83
--- /dev/null
+++ b/security/lasso/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/03/02 16:46:01 manu Exp $
+
+SHA1 (lasso-2.2.1.tar.gz) = 687e7404f9e560d2ebc4be7e5cc3bcd9c0669c37
+RMD160 (lasso-2.2.1.tar.gz) = 508c712dc0e7e66f1add15aa98c6c6b5eb69a1d6
+Size (lasso-2.2.1.tar.gz) = 1546463 bytes
+SHA1 (patch-aa) = e4c1c93e7e46068b3662209bb75f1477e0bf4044
+SHA1 (patch-ab) = de496e893cbcae6da4a421889967d73e11c8ee73
+SHA1 (patch-ba) = c87a086df1dae69d41b9efd6905a84527c678d82
+SHA1 (patch-bb) = 71a2d792e8d9b698b385b37b8b904637763e6a5a
diff --git a/security/lasso/patches/patch-aa b/security/lasso/patches/patch-aa
new file mode 100644
index 00000000000..4e19211aaf4
--- /dev/null
+++ b/security/lasso/patches/patch-aa
@@ -0,0 +1,38 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/03/02 16:46:01 manu Exp $
+--- configure.ac.orig 2009-03-01 06:27:51.000000000 +0000
++++ configure.ac 2009-03-01 06:29:37.000000000 +0000
+@@ -450,9 +450,9 @@
+ enable_php4="no (missing expat)"
+ fi
+
+ AC_MSG_CHECKING(for PHP 4 development files)
+-if $PHP4_CONFIG --version | grep -q "^4" || test "x$ENABLE_PHP4_FORCE" == "xyes"
++if $PHP4_CONFIG --version | grep -q "^4" || test "x$ENABLE_PHP4_FORCE" = "xyes"
+ then
+ PHP4_VERSION=`$PHP4_CONFIG --version 2> /dev/null`
+ languages_available="$languages_available php4($PHP4_VERSION)"
+ else
+@@ -532,9 +532,9 @@
+ enable_php5=no
+ fi
+
+ AC_MSG_CHECKING(for PHP 5 development files)
+-if $PHP5_CONFIG --version | grep -q "^5" || test "x$ENABLE_PHP5_FORCE" == "xyes"
++if $PHP5_CONFIG --version | grep -q "^5" || test "x$ENABLE_PHP5_FORCE" = "xyes"
+ then
+ PHP5_VERSION=`$PHP5_CONFIG --version 2> /dev/null`
+ languages_available="$languages_available php5($PHP5_VERSION)"
+ else
+@@ -906,10 +906,10 @@
+ AC_SUBST(CLASSPATH_JUNIT)
+ AC_SUBST(SWIG_VERSION)
+
+ dnl Dirty system often means dirty hacks...
+-AM_CONDITIONAL(MINGW, test $MINGW == 1)
+-AM_CONDITIONAL(DARWIN, test $DARWIN == 1)
++AM_CONDITIONAL(MINGW, test $MINGW -eq 1)
++AM_CONDITIONAL(DARWIN, test $DARWIN -eq 1)
+
+ dnl bindings
+
+
diff --git a/security/lasso/patches/patch-ab b/security/lasso/patches/patch-ab
new file mode 100644
index 00000000000..8e214ab268f
--- /dev/null
+++ b/security/lasso/patches/patch-ab
@@ -0,0 +1,47 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/03/02 16:46:01 manu Exp $
+--- configure.orig 2009-03-01 06:27:56.000000000 +0000
++++ configure 2009-03-01 06:29:47.000000000 +0000
+@@ -22127,9 +22127,9 @@
+ fi
+
+ { echo "$as_me:$LINENO: checking for PHP 4 development files" >&5
+ echo $ECHO_N "checking for PHP 4 development files... $ECHO_C" >&6; }
+-if $PHP4_CONFIG --version | grep -q "^4" || test "x$ENABLE_PHP4_FORCE" == "xyes"
++if $PHP4_CONFIG --version | grep -q "^4" || test "x$ENABLE_PHP4_FORCE" = "xyes"
+ then
+ PHP4_VERSION=`$PHP4_CONFIG --version 2> /dev/null`
+ languages_available="$languages_available php4($PHP4_VERSION)"
+ else
+@@ -22372,9 +22372,9 @@
+ fi
+
+ { echo "$as_me:$LINENO: checking for PHP 5 development files" >&5
+ echo $ECHO_N "checking for PHP 5 development files... $ECHO_C" >&6; }
+-if $PHP5_CONFIG --version | grep -q "^5" || test "x$ENABLE_PHP5_FORCE" == "xyes"
++if $PHP5_CONFIG --version | grep -q "^5" || test "x$ENABLE_PHP5_FORCE" = "xyes"
+ then
+ PHP5_VERSION=`$PHP5_CONFIG --version 2> /dev/null`
+ languages_available="$languages_available php5($PHP5_VERSION)"
+ else
+@@ -23799,9 +23799,9 @@
+
+
+
+
+-if test $MINGW == 1; then
++if test $MINGW -eq 1; then
+ MINGW_TRUE=
+ MINGW_FALSE='#'
+ else
+ MINGW_TRUE='#'
+@@ -23809,9 +23809,9 @@
+ fi
+
+
+
+-if test $DARWIN == 1; then
++if test $DARWIN -eq 1; then
+ DARWIN_TRUE=
+ DARWIN_FALSE='#'
+ else
+ DARWIN_TRUE='#'
diff --git a/security/lasso/patches/patch-ba b/security/lasso/patches/patch-ba
new file mode 100644
index 00000000000..a03d2686bcf
--- /dev/null
+++ b/security/lasso/patches/patch-ba
@@ -0,0 +1,14 @@
+$NetBSD: patch-ba,v 1.1.1.1 2009/03/02 16:46:01 manu Exp $
+--- configure.ac.orig 2008-07-22 12:46:24.000000000 +0000
++++ configure.ac 2009-03-01 06:41:53.000000000 +0000
+@@ -791,9 +791,9 @@
+ if test "z$PKG_CONFIG_PATH" != "z"; then
+ export PKG_CONFIG_PATH
+ fi
+
+-PKG_CHECK_MODULES(LASSO, glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl)
++PKG_CHECK_MODULES(LASSO, glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0)
+
+ AC_ARG_WITH(sasl2, [ --with-sasl2[=PFX] Use Cyrus SASL library version 2 for WSF-Auth])
+ if test "x$enable_wsf" = "xyes"; then
+ if test "$with_sasl2" != "no" && test "$with_sasl2" != "yes"
diff --git a/security/lasso/patches/patch-bb b/security/lasso/patches/patch-bb
new file mode 100644
index 00000000000..d9b0efbc658
--- /dev/null
+++ b/security/lasso/patches/patch-bb
@@ -0,0 +1,70 @@
+$NetBSD: patch-bb,v 1.1.1.1 2009/03/02 16:46:01 manu Exp $
+--- configure.orig 2008-07-22 12:48:26.000000000 +0000
++++ configure 2009-03-01 06:43:38.000000000 +0000
+@@ -23258,14 +23258,14 @@
+ if test -n "$LASSO_CFLAGS"; then
+ pkg_cv_LASSO_CFLAGS="$LASSO_CFLAGS"
+ else
+ if test -n "$PKG_CONFIG" && \
+- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl\"") >&5
+- ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl") 2>&5
++ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0\"") >&5
++ ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+- pkg_cv_LASSO_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl" 2>/dev/null`
++ pkg_cv_LASSO_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0" 2>/dev/null`
+ else
+ pkg_failed=yes
+ fi
+ fi
+@@ -23276,14 +23276,14 @@
+ if test -n "$LASSO_LIBS"; then
+ pkg_cv_LASSO_LIBS="$LASSO_LIBS"
+ else
+ if test -n "$PKG_CONFIG" && \
+- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl\"") >&5
+- ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl") 2>&5
++ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0\"") >&5
++ ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+- pkg_cv_LASSO_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl" 2>/dev/null`
++ pkg_cv_LASSO_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0" 2>/dev/null`
+ else
+ pkg_failed=yes
+ fi
+ fi
+@@ -23300,16 +23300,16 @@
+ else
+ _pkg_short_errors_supported=no
+ fi
+ if test $_pkg_short_errors_supported = yes; then
+- LASSO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl"`
++ LASSO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0"`
+ else
+- LASSO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl"`
++ LASSO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0"`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$LASSO_PKG_ERRORS" >&5
+
+- { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl) were not met:
++ { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0) were not met:
+
+ $LASSO_PKG_ERRORS
+
+ Consider adjusting the PKG_CONFIG_PATH environment variable if you
+@@ -23318,9 +23318,9 @@
+ Alternatively, you may set the environment variables LASSO_CFLAGS
+ and LASSO_LIBS to avoid the need to call pkg-config.
+ See the pkg-config man page for more details.
+ " >&5
+-echo "$as_me: error: Package requirements (glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl) were not met:
++echo "$as_me: error: Package requirements (glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0) were not met:
+
+ $LASSO_PKG_ERRORS
+
+ Consider adjusting the PKG_CONFIG_PATH environment variable if you