diff options
Diffstat (limited to 'security/lasso')
-rw-r--r-- | security/lasso/Makefile | 24 | ||||
-rw-r--r-- | security/lasso/distinfo | 16 | ||||
-rw-r--r-- | security/lasso/files/patch-bindings_perl_Makefile.in | 51 | ||||
-rw-r--r-- | security/lasso/files/patch-bindings_php5_Makefile.in | 12 | ||||
-rw-r--r-- | security/lasso/files/patch-lasso_xml_saml-2.0_samlp2__logout__request.c | 17 | ||||
-rw-r--r-- | security/lasso/pkg-plist | 2 |
6 files changed, 14 insertions, 108 deletions
diff --git a/security/lasso/Makefile b/security/lasso/Makefile index a08a8ac302aa..8f1593af9858 100644 --- a/security/lasso/Makefile +++ b/security/lasso/Makefile @@ -1,16 +1,8 @@ PORTNAME= lasso -PORTVERSION= 2.8.2 -PORTREVISION= 1 +DISTVERSION= 2.9.0 CATEGORIES= security MASTER_SITES= https://dev.entrouvert.org/releases/lasso/ -PATCH_SITES= https://git.entrouvert.org/entrouvert/lasso/commit/ -PATCHFILES= 46caef81855e58629516f09b101e40bf8778981d.patch:-p1 \ - 1ca8e8699ce1ed072f99ed881a7348f9a78b1e1f.patch:-p1 \ - 66c9f50f1f6b00d621a9a0ca2f924875f94d14ae.patch:-p1 \ - 21c224cfefa1018be9e40fab9a7e36865bf4d0d6.patch:-p1 \ - 3768f1bedf1502a54634195dbb88e5a54869d9b9.patch:-p1 - MAINTAINER= bofh@FreeBSD.org COMMENT= Free Liberty Alliance Implementation WWW= https://lasso.entrouvert.org/ @@ -33,8 +25,13 @@ CONFIGURE_ARGS= --disable-java \ --disable-php5 \ --with-zlib +BINARY_ALIAS= make=${GMAKE} + INSTALL_TARGET= install-strip +SOLIB= 3.16.0 +PLIST_SUB= SOLIB=${SOLIB} + OPTIONS_DEFINE= DOCS PERL PYTHON OPTIONS_SUB= yes @@ -42,17 +39,8 @@ PERL_USES= perl5 PERL_CONFIGURE_ENABLE= perl PYTHON_CONFIGURE_ENABLE= python -.include <bsd.port.options.mk> - -.if ${OPSYS} == FreeBSD -CFLAGS+= -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -.endif - post-patch: @${REINPLACE_CMD} -E 's,(xmlsec1-openssl >= 1\.2\.6) openssl,\1,' \ ${CONFIGURE_WRKSRC}/configure -# Fix build with new xmlsec1 as this function was deprecated - @${REINPLACE_CMD} -e 's|BAD_CAST XMLSEC_CRYPTO|BAD_CAST xmlSecGetDefaultCrypto()|g' \ - ${WRKSRC}/lasso/lasso.c .include <bsd.port.mk> diff --git a/security/lasso/distinfo b/security/lasso/distinfo index 11510da7d298..2fb7ab9fe6b8 100644 --- a/security/lasso/distinfo +++ b/security/lasso/distinfo @@ -1,13 +1,3 @@ -TIMESTAMP = 1731049457 -SHA256 (lasso-2.8.2.tar.gz) = 6a1831bfdbf8f424c7508aba47b045d51341ec0fde9122f38b0b86b096ef533e -SIZE (lasso-2.8.2.tar.gz) = 4023587 -SHA256 (46caef81855e58629516f09b101e40bf8778981d.patch) = 7488edb10ee44c841fd569c8d2cd54954e3392b787d26575284da2b0cefa7830 -SIZE (46caef81855e58629516f09b101e40bf8778981d.patch) = 710 -SHA256 (1ca8e8699ce1ed072f99ed881a7348f9a78b1e1f.patch) = 528f544f9955a5c04e1b65539a0f4eb0da979a444617a4ca2e63ffe2eb03c00b -SIZE (1ca8e8699ce1ed072f99ed881a7348f9a78b1e1f.patch) = 657 -SHA256 (66c9f50f1f6b00d621a9a0ca2f924875f94d14ae.patch) = bb11e0532b86f956144117cd7ab66c8ec4701c41915f217060965abfadd4e77d -SIZE (66c9f50f1f6b00d621a9a0ca2f924875f94d14ae.patch) = 1794 -SHA256 (21c224cfefa1018be9e40fab9a7e36865bf4d0d6.patch) = 3277e6e32540c80077347fbed01afcaacacb0df0a5c50d5a80a8bcd1afbcb540 -SIZE (21c224cfefa1018be9e40fab9a7e36865bf4d0d6.patch) = 2227 -SHA256 (3768f1bedf1502a54634195dbb88e5a54869d9b9.patch) = afa47c582976bfe4a58993abf401f3b5a6bea9805a5f17ac69d2e3f9a6d4abee -SIZE (3768f1bedf1502a54634195dbb88e5a54869d9b9.patch) = 1619 +TIMESTAMP = 1755074639 +SHA256 (lasso-2.9.0.tar.gz) = 63816c8219df48cdefeccb1acb35e04014ca6395b5263c70aacd5470ea95c351 +SIZE (lasso-2.9.0.tar.gz) = 4053813 diff --git a/security/lasso/files/patch-bindings_perl_Makefile.in b/security/lasso/files/patch-bindings_perl_Makefile.in index 2d62565cd050..9044b3d1c77b 100644 --- a/security/lasso/files/patch-bindings_perl_Makefile.in +++ b/security/lasso/files/patch-bindings_perl_Makefile.in @@ -1,53 +1,10 @@ ---- bindings/perl/Makefile.in.orig 2023-02-28 15:54:51 UTC +--- bindings/perl/Makefile.in.orig 2025-08-13 08:50:13 UTC +++ bindings/perl/Makefile.in -@@ -122,11 +122,11 @@ am__v_GEN_0 = @echo " GEN " $@; - AM_V_GEN = $(am__v_GEN_@AM_V@) - am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) - am__v_GEN_0 = @echo " GEN " $@; --am__v_GEN_1 = -+am__v_GEN_1 = - AM_V_at = $(am__v_at_@AM_V@) - am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) - am__v_at_0 = @ --am__v_at_1 = -+am__v_at_1 = - SOURCES = - DIST_SOURCES = - am__can_run_installinfo = \ -@@ -572,7 +572,7 @@ CLEANFILES = Lasso.pm Lasso.xs Lasso.so typemap Lasso. - 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 --LASSO_XS_CFLAGS = -fno-strict-aliasing $(LASSO_CFLAGS) $(LASSO_CORE_CFLAGS) $(PERL_CFLAGS) $(AM_CFLAGS) -Wno-unused-but-set-variable -+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@AM_CPPFLAGS = \ -@@ -750,7 +750,7 @@ $(TEST_SUITE_LOG): $(TEST_LOGS) - fi; \ - $$success || exit 1 - --check-TESTS: -+check-TESTS: - @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list - @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list - @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) -@@ -760,7 +760,7 @@ check-TESTS: - log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ - $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ - exit $$?; --recheck: all -+recheck: all - @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) - @set +e; $(am__set_TESTS_bases); \ - bases=`for i in $$bases; do echo $$i; done \ -@@ -964,7 +964,8 @@ uninstall-am: uninstall-local - @PERL_ENABLED_TRUE@ done; \ +@@ -999,6 +999,7 @@ uninstall-am: uninstall-local @PERL_ENABLED_TRUE@ chmod -R u+rwX $(TOCOPY); \ @PERL_ENABLED_TRUE@ fi; --@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` $(LDFLAGS)" 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@ $(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` $(LDFLAGS)" 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 @PERL_ENABLED_TRUE@ $(AM_V_GEN) $(PYTHON) $(top_srcdir)/bindings/bindings.py -l perl --src-dir=$(top_srcdir)/lasso/ $(EXTRA_ARGS) diff --git a/security/lasso/files/patch-bindings_php5_Makefile.in b/security/lasso/files/patch-bindings_php5_Makefile.in deleted file mode 100644 index 3aa6801a3236..000000000000 --- a/security/lasso/files/patch-bindings_php5_Makefile.in +++ /dev/null @@ -1,12 +0,0 @@ ---- bindings/php5/Makefile.in.orig 2024-11-08 07:04:20 UTC -+++ bindings/php5/Makefile.in -@@ -500,8 +500,7 @@ lasso_la_CFLAGS = -fno-strict-aliasing $(LASSO_CORE_CF - php_config_DATA = lasso.ini - lasso_la_CFLAGS = -fno-strict-aliasing $(LASSO_CORE_CFLAGS) \ - -I$(top_srcdir) -I$(top_builddir) $(PHP5_INCLUDES) \ -- $(AM_CFLAGS) -Wno-unused-parameter -Wno-sign-compare # problem \ -- in zend.h -+ $(AM_CFLAGS) -Wno-unused-parameter -Wno-sign-compare # problem in zend.h - lasso_la_LDFLAGS = -export-dynamic -prefer-pic -module -avoid-version - lasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) $(PHP5_LDFLAGS) - nodist_lasso_la_SOURCES = _lasso.c diff --git a/security/lasso/files/patch-lasso_xml_saml-2.0_samlp2__logout__request.c b/security/lasso/files/patch-lasso_xml_saml-2.0_samlp2__logout__request.c deleted file mode 100644 index e05fe42f9f09..000000000000 --- a/security/lasso/files/patch-lasso_xml_saml-2.0_samlp2__logout__request.c +++ /dev/null @@ -1,17 +0,0 @@ ---- lasso/xml/saml-2.0/samlp2_logout_request.c.orig 2024-11-08 07:04:30 UTC -+++ lasso/xml/saml-2.0/samlp2_logout_request.c -@@ -128,14 +128,10 @@ get_xmlNode(LassoNode *node, gboolean lasso_dump) - lasso_foreach(it, other_session_index) { - xmlNode *child = xmlSecAddChild(xmlnode, BAD_CAST SESSION_INDEX, - BAD_CAST LASSO_SAML2_PROTOCOL_HREF); --#if (XMLSEC_MAJOR > 1) || (XMLSEC_MAJOR == 1 && XMLSEC_MINOR > 2) || (XMLSEC_MAJOR == 1 && XMLSEC_MINOR == 2 && XMLSEC_SUBMINOR > 12) -- xmlSecNodeEncodeAndSetContent(child, BAD_CAST it->data); --#else - xmlChar *content; - content = xmlEncodeSpecialChars(child->doc, BAD_CAST it->data); - xmlNodeSetContent(child, content); - xmlFree(content); --#endif - } - ((LassoSamlp2LogoutRequest*)node)->SessionIndex = keep_session_index; - lasso_release_list_of_strings(other_session_index); diff --git a/security/lasso/pkg-plist b/security/lasso/pkg-plist index 6cec03ed1621..7d99ecdc1613 100644 --- a/security/lasso/pkg-plist +++ b/security/lasso/pkg-plist @@ -172,5 +172,5 @@ include/lasso/xml/xml_enc.h lib/liblasso.a lib/liblasso.so lib/liblasso.so.3 -lib/liblasso.so.3.15.2 +lib/liblasso.so.%%SOLIB%% libdata/pkgconfig/lasso.pc |