1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

security/lasso: Update version 2.4.1=>2.6.0

- Take MAINTAINERSHIP
- Modernize OPTIONS
- Remove OPTIONS PYTHON
This commit is contained in:
Muhammad Moinur Rahman 2019-04-12 17:41:19 +00:00
parent 478df43186
commit fac99ffba7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=498733
4 changed files with 29 additions and 55 deletions

View File

@ -2,61 +2,33 @@
# $FreeBSD$
PORTNAME= lasso
PORTVERSION= 2.4.1
PORTREVISION= 1
PORTVERSION= 2.6.0
CATEGORIES= security
MASTER_SITES= https://dev.entrouvert.org/releases/lasso/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= bofh@FreeBSD.org
COMMENT= Free Liberty Alliance Implementation
LICENSE= GPLv2
BUILD_DEPENDS= xmlsec1:security/xmlsec1
LIB_DEPENDS= libltdl.so:devel/libltdl \
libxmlsec1-openssl.so:security/xmlsec1
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= cpe libtool pathfix pkgconfig ssl
USES= cpe gnome libtool pkgconfig python ssl
USE_GNOME= glib20 libxml2 libxslt
USE_LDCONFIG= yes
CPE_VENDOR= entrouvert
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-java --with-zlib
USE_GNOME= glib20 libxml2
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --disable-java --disable-php5 --with-zlib
OPTIONS_DEFINE= PERL PHP PYTHON DOCS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPERL}
CONFIGURE_ARGS+= --enable-perl
PLIST_SUB+= PERL=""
USES+= perl5
.else
CONFIGURE_ARGS+= --disable-perl
PLIST_SUB+= PERL="@comment "
.endif
.if ${PORT_OPTIONS:MPHP}
CONFIGURE_ARGS+= --enable-php5 \
--with-php5-config="${LOCALBASE}/bin/php-config"
LDFLAGS+= -L${LOCALBASE}/lib
LIB_DEPENDS+= libexpat.so:textproc/expat2
PLIST_SUB+= PHP5=""
USES+= php:build
.else
CONFIGURE_ARGS+= --disable-php5
PLIST_SUB+= PHP5="@comment "
.endif
.if ${PORT_OPTIONS:MPYTHON}
CONFIGURE_ARGS+= --enable-python
PLIST_SUB+= PYTHON=""
USES+= python:2.7
.else
USES+= python:2.7,build
CONFIGURE_ARGS+= --disable-python
PLIST_SUB+= PYTHON="@comment "
.endif
OPTIONS_DEFINE= PERL PYTHON DOCS
OPTIONS_SUB= yes
PERL_CONFIGURE_ENABLE= perl
PERL_USES= perl5
PYTHON_CONFIGURE_ENABLE=python
post-patch:
@${REINPLACE_CMD} -E 's,(xmlsec1-openssl >= 1\.2\.6) openssl,\1,' \

View File

@ -1,2 +1,3 @@
SHA256 (lasso-2.4.1.tar.gz) = e485f7643c3438e5efd3c3f28cf7e0c50618b209f044d61c21ff35181d3946cf
SIZE (lasso-2.4.1.tar.gz) = 4392038
TIMESTAMP = 1554942657
SHA256 (lasso-2.6.0.tar.gz) = 146bff7a25166467d960003346cbc3291f3f29067e305cb82ebb12354c7d0acf
SIZE (lasso-2.6.0.tar.gz) = 4443321

View File

@ -1,6 +1,6 @@
--- bindings/perl/Makefile.in.orig 2014-12-05 04:41:25 UTC
--- bindings/perl/Makefile.in.orig 2019-04-11 00:56:24 UTC
+++ bindings/perl/Makefile.in
@@ -307,7 +307,7 @@ uudecode = @uudecode@
@@ -557,7 +557,7 @@ uudecode = @uudecode@
MAINTAINERCLEANFILES = Makefile.in
DISTCLEANFILES = __init__.pyc lang.pyc Makefile.perl.old
CLEANFILES = Lasso.pm Lasso.xs Lasso.so typemap Lasso.o Lasso.bs pm_to_blib Lasso.c
@ -8,12 +8,12 @@
+LASSO_XS_CFLAGS = -fno-strict-aliasing $(LASSO_CFLAGS) $(LASSO_CORE_CFLAGS) $(PERL_CFLAGS) $(AM_CFLAGS)
TESTS_ENVIRONMENT = TOP_SRCDIR=$(top_srcdir)
TESTS = test.sh
@PERL_ENABLED_TRUE@INCLUDES = \
@@ -623,7 +623,7 @@ uninstall-am: uninstall-local
@PERL_ENABLED_TRUE@AM_CPPFLAGS = \
@@ -948,7 +948,7 @@ uninstall-am: uninstall-local
@PERL_ENABLED_TRUE@ done; \
@PERL_ENABLED_TRUE@ chmod -R u+rwX $(TOCOPY); \
@PERL_ENABLED_TRUE@ fi;
-@PERL_ENABLED_TRUE@ $(AM_V_SUBMAKE) $(PERL) Makefile.PL INSTALLDIRS=vendor CCFLAGS="$(LASSO_XS_CFLAGS)" INC="-I. -I$(top_srcdir) -I$(srcdir)" LIBS="`$(top_builddir)/lasso-src-config --libs`" OPTIMIZE="-g" $(AM_V_SUBMAKE_POSTFIX)
-@PERL_ENABLED_TRUE@ $(AM_V_SUBMAKE) $(PERL) Makefile.PL INSTALLDIRS=vendor DESTDIR=$(DESTDIR) PREFIX=$(prefix) CCFLAGS="$(LASSO_XS_CFLAGS)" INC="-I. -I$(top_srcdir) -I$(srcdir)" LIBS="`$(top_builddir)/lasso-src-config --libs`" OPTIMIZE="-g" $(AM_V_SUBMAKE_POSTFIX)
+@PERL_ENABLED_TRUE@ $(AM_V_SUBMAKE) $(PERL) Makefile.PL CCFLAGS="$(LASSO_XS_CFLAGS)" INC="-I. -I$(top_srcdir) -I$(srcdir)" LIBS="`$(top_builddir)/lasso-src-config --libs`" OPTIMIZE="-g" $(AM_V_SUBMAKE_POSTFIX)
@PERL_ENABLED_TRUE@Lasso.xs Lasso.pm: lang.py typemap-in typemap-out

View File

@ -14,10 +14,6 @@
%%PORTDOCS%%%%DOCSDIR%%/writing-a-saml2-php-sp.txt
%%PERL%%%%SITE_ARCH%%/auto/Lasso/Lasso.so
%%PERL%%%%SITE_ARCH%%/Lasso.pm
%%PHP5%%etc/php5/conf.d/lasso.ini
%%PHP5%%share/php/lasso.php
%%PHP5%%lib/php/%%PHP_EXT_DIR%%/lasso.a
%%PHP5%%lib/php/%%PHP_EXT_DIR%%/lasso.so
%%PYTHON%%%%PYTHON_SITELIBDIR%%/_lasso.a
%%PYTHON%%%%PYTHON_SITELIBDIR%%/_lasso.so
%%PYTHON%%%%PYTHON_SITELIBDIR%%/lasso.py
@ -58,6 +54,9 @@ 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/ecp/ecp_relaystate.h
include/lasso/xml/ecp/ecp_request.h
include/lasso/xml/ecp/ecp_response.h
include/lasso/xml/lib_assertion.h
include/lasso/xml/lib_authentication_statement.h
include/lasso/xml/lib_authn_context.h
@ -80,6 +79,8 @@ 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/paos_request.h
include/lasso/xml/paos_response.h
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
@ -171,5 +172,5 @@ include/lasso/xml/xml_enc.h
lib/liblasso.a
lib/liblasso.so
lib/liblasso.so.3
lib/liblasso.so.3.11.1
lib/liblasso.so.3.13.0
libdata/pkgconfig/lasso.pc