update freebsd lasso port (univnautes flavor)

This commit is contained in:
Thomas NOËL 2012-04-27 17:30:04 +02:00
parent f8a3d0d771
commit 763b29bc5a
7 changed files with 88 additions and 52 deletions

View File

@ -2,17 +2,14 @@
# Date created: 2007-07-16
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD: ports/security/lasso/Makefile,v 1.5 2009/02/24 13:31:53 skv Exp $
# $FreeBSD: ports/security/lasso/Makefile,v 1.8 2010/12/02 17:07:13 jpaetzel Exp $
#
WITH_PYTHON= 1
NOPORTDOCS= 1
PORTNAME= lasso
PORTVERSION= 2.3.99
PORTREVISION= 3
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://lasso.entrouvert.com/
MASTER_SITES= http://lasso.entrouvert.org/
MAINTAINER= tnoel@entrouvert.com
COMMENT= Free Liberty Alliance Implementation
@ -20,13 +17,19 @@ COMMENT= Free Liberty Alliance Implementation
RUN_DEPENDS= xmlsec1:${PORTSDIR}/security/xmlsec1
BUILD_DEPENDS:= ${RUN_DEPENDS}
CONFIGURE_ARGS+= --disable-java --with-zlib --disable-gtk-doc-html
CONFIGURE_ARGS+= --disable-java --disable-gtk-doc --with-zlib
GNU_CONFIGURE= yes
USE_GNOME= gnomehack glib20 libxml2
USE_LDCONFIG= yes
USE_OPENSSL= yes
USE_PYTHON_BUILD= yes
OPTIONS= PERL "Enable Perl Bindings" Off \
PHP5 "Enable PHP5 Bindings" Off \
PYTHON "Enable Python Bindings" On
.include <bsd.port.options.mk>
.ifdef(WITH_PERL)
CONFIGURE_ARGS+= --enable-perl
PLIST_SUB+= WITH_PERL=""

View File

@ -1,32 +1,31 @@
* preparation d'un tar.gz de lasso depuis le git
# preparation d'un tar.gz de "lasso-2.3.99" (version git HEAD)
cd ~
pkg-add -r git
git clone git://repos.entrouvert.org/lasso.git
cd lasso
pkg_add -r autoconf262 automake110 libtool git-doc
./autogen.sh
rm -rf .git
wget http://repos.entrouvert.org/lasso.git/snapshot/lasso-master.tar.gz
tar zxf lasso-master.tar.gz
mv lasso-master lasso-2.3.99
cd lasso-2.3.99
./autogen.sh noconfig
cd ..
mv lasso lasso-2.3.99
tar zcvf lasso-2.3.99.tar.gz lasso-2.3.99
cp lasso-2.3.99.tar.gz /usr/ports/distfiles/
* indication du fichier .tar.gz dans le port
md5 lasso-2.3.99.tar.gz >> distinfo
sha256 lasso-2.3.99.tar.gz >> distinfo
(et completer le distinfo a la main)
# indication du fichier .tar.gz dans le port
md5 lasso-2.3.99.tar.gz >> /usr/ports/security/lasso/distinfo
sha256 lasso-2.3.99.tar.gz >> /usr/ports/security/lasso/distinfo
#... et completer le distinfo a la main !
* construction des binaires
pkg_add -r xmlsec1 glib20 openssl
make
# verification des dependances
make depends
* installation
pkg_add -r gio-fam-backend
# configuration de la compilation -- y activer uniquement python
make config
# construction des binaires
make
# installation du port
make install
* test
TBD
* construction du paquet
make package
# construction du paquet (.tbz, inutile finalement)
# make package

View File

@ -1,7 +1,5 @@
MD5 (lasso-2.1.1.tar.gz) = 40e4ddd01b6ca929e7373681995a6b72
SHA256 (lasso-2.1.1.tar.gz) = 3d19eccb8d5db08e95268f55eafd75a9d3684c07783c0a6e04191ef1d39404bc
SIZE (lasso-2.1.1.tar.gz) = 1816782
MD5 (lasso-2.3.99.tar.gz) = cc07ea51f2ebab4448593e6adcf25755
SHA256 (lasso-2.3.99.tar.gz) = 6f65e2c1ccc18adba231854bf65191a42fc7d7ab739ade02cbf491b0c2ee7000
SIZE (lasso-2.3.99.tar.gz) = 3472620
MD5 (lasso-2.3.99.tar.gz) = xxx
SHA256 (lasso-2.3.99.tar.gz) = yyy

View File

@ -1,6 +1,6 @@
--- docs/reference/lasso.orig/Makefile.am 2011-06-28 12:50:23.000000000 +0200
+++ docs/reference/lasso/Makefile.am 2011-06-28 15:47:46.000000000 +0200
@@ -118,4 +118,3 @@
--- docs/reference/lasso/Makefile.am.orig 2012-04-27 16:50:45.000000000 +0200
+++ docs/reference/lasso/Makefile.am 2012-04-27 16:51:11.000000000 +0200
@@ -120,4 +120,3 @@
TESTS = $(GTKDOC_CHECK)
endif

View File

@ -1,10 +1,10 @@
--- docs/reference/lasso.orig/Makefile.in 2011-06-28 15:43:31.000000000 +0200
+++ docs/reference/lasso/Makefile.in 2011-06-28 15:47:42.000000000 +0200
@@ -807,7 +807,6 @@
--- docs/reference/lasso/Makefile.in.orig 2012-04-27 16:50:51.000000000 +0200
+++ docs/reference/lasso/Makefile.in 2012-04-27 16:51:01.000000000 +0200
@@ -866,7 +866,6 @@
@WSF_ENABLED_FALSE@lasso.types: lasso.types.in
@WSF_ENABLED_FALSE@ grep -v '#WSF#' $(srcdir)/lasso.types.in > lasso.types
--include $(top_srcdir)/git.mk
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@ -1,5 +1,5 @@
Lasso is a free software C library aiming to implement the Liberty
Alliance and SAML 2.0 standards; it defines processes for federated identities,
Alliance standards; it defines processes for federated identities,
single sign-on and related protocols. Lasso is built on top of
libxml2, XMLSec and OpenSSL and is licensed under the GNU General
Public License (with an OpenSSL exception).

View File

@ -1,7 +1,12 @@
@comment $FreeBSD: ports/security/lasso/pkg-plist,v 1.3 2008/01/24 01:58:36 clsung Exp $
lib/liblasso.so.12
lib/liblasso.so
lib/liblasso.la
lib/liblasso.a
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/_lasso.a
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/_lasso.la
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/_lasso.so
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/lasso.py
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/lasso/.packlist
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/lasso/lasso.bs
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/lasso/lasso.so
@ -9,10 +14,7 @@ lib/liblasso.a
%%WITH_PHP5%%lib/php/%%PHP_EXT_DIR%%/lasso.a
%%WITH_PHP5%%lib/php/%%PHP_EXT_DIR%%/lasso.la
%%WITH_PHP5%%lib/php/%%PHP_EXT_DIR%%/lasso.so
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/_lasso.a
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/_lasso.la
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/_lasso.so
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/lasso.py
lib/pkgconfig/lasso.pc
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
@ -29,6 +31,7 @@ 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_key_info_confirmation_data_type.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
@ -72,11 +75,14 @@ include/lasso/xml/soap-1.1/soap_fault.h
include/lasso/xml/soap-1.1/soap_envelope.h
include/lasso/xml/soap-1.1/soap_header.h
include/lasso/xml/soap-1.1/xml_soap11.h
include/lasso/xml/dsig/ds_key_info.h
include/lasso/xml/dsig/ds_key_value.h
include/lasso/xml/dsig/ds_rsa_key_value.h
include/lasso/xml/dsig/ds_x509_data.h
include/lasso/xml/dsig/strings.h
include/lasso/xml/dsig/xml_dsig.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
@ -103,27 +109,27 @@ 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_conditions.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/saml_subject_statement.h
include/lasso/xml/samlp_request.h
include/lasso/xml/saml_subject_statement_abstract.h
include/lasso/xml/samlp_request.h
include/lasso/xml/xml_enc.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/xml/tools.h
include/lasso/id-ff/defederation.h
include/lasso/id-ff/federation.h
@ -149,9 +155,39 @@ include/lasso/lasso_config.h
include/lasso/errors.h
include/lasso/registry.h
include/lasso/ctypes.h
include/lasso/key.h
include/lasso/debug.h
include/lasso/utils.h
include/lasso/registry-private.h
include/lasso/logging.h
include/lasso/backward_comp.h
libdata/pkgconfig/lasso.pc
include/lasso/keyprivate.h
%%PORTDOCS%%%%DOCSDIR%%/writing-a-c-sp.txt
%%PORTDOCS%%%%DOCSDIR%%/writing-a-php-sp.txt
%%PORTDOCS%%%%DOCSDIR%%/writing-a-java-sp.txt
%%PORTDOCS%%%%DOCSDIR%%/writing-a-saml2-php-sp.txt
%%PORTDOCS%%%%DOCSDIR%%/book.rst
%%PORTDOCS%%%%DOCSDIR%%/common-knowledge.rst
%%PORTDOCS%%%%DOCSDIR%%/getting-lasso.rst
%%PORTDOCS%%%%DOCSDIR%%/integration.rst
%%PORTDOCS%%%%DOCSDIR%%/language-bindings.rst
%%PORTDOCS%%%%DOCSDIR%%/lasso-architecture.rst
%%PORTDOCS%%%%DOCSDIR%%/liberty-architecture.rst
%%PORTDOCS%%%%DOCSDIR%%/other-profiles.rst
%%PORTDOCS%%%%DOCSDIR%%/preface.rst
%%PORTDOCS%%%%DOCSDIR%%/single-sign-on.rst
@dirrmtry include/lasso/xml/ws
@dirrmtry include/lasso/xml/saml-2.0
@dirrmtry include/lasso/xml/id-wsf-2.0
@dirrmtry include/lasso/xml
@dirrmtry include/lasso/saml-2.0
@dirrmtry include/lasso/id-wsf-2.0
@dirrmtry include/lasso/id-wsf
@dirrmtry include/lasso/id-ff
@dirrmtry include/lasso
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/lasso
%%WITH_PYTHON%%@dirrmtry %%PYTHON_SITELIBDIR%%
%%WITH_PHP5%%@dirrmtry lib/php/%%PHP_EXT_DIR%%
%%WITH_PHP5%%@dirrmtry lib/php
%%WITH_PERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/lasso
%%PORTDOCS%%@dirrm %%DOCSDIR%%