Bug 282243 - security/lasso: broken after security/xmlsec1 upgrade to 1.3.5
Summary: security/lasso: broken after security/xmlsec1 upgrade to 1.3.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
: 282591 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-10-21 11:48 UTC by Ray Bellis
Modified: 2024-11-08 08:34 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (bofh)


Attachments
Proposed fix (6.85 KB, patch)
2024-10-23 10:59 UTC, Dan Mahoney
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ray Bellis 2024-10-21 11:48:35 UTC
security/lasso (and indirectly www/mod_auth_mellon) broke after security/xmlsec1 upgrade to 1.3.5:

Cannot load libexec/apache24/mod_auth_mellon.so into server: /usr/local/lib/liblasso.so.3: Undefined symbol "xmlSecCryptoAppKeyLoad"

Reverting to 1.3.2 fixed the issue.
Comment 1 Dan Mahoney 2024-10-23 10:59:03 UTC
Created attachment 254460 [details]
Proposed fix

I've applied a version of the upstream patch from https://git.entrouvert.org/entrouvert/lasso/pulls/10 to the version in 2024Q4, and confirmed it passes portlint (with two warnings that were there before) as well as poudriere testport.  This also bumps portrevision for lasso to _1.

Also tested this on dayjob's (testing) infra with a system known to be configured with saml auth before.  Apache cleanly restarts, and saml auth is working.

Apologies for weird patch naming, this workflow is a bit weird to me.
Comment 2 Dan Mahoney 2024-10-24 22:39:34 UTC
Also note the subject of this bug is wrong.  It's lasso that's broken, not xmlsec1.
Comment 3 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2024-11-06 21:44:05 UTC
*** Bug 282591 has been marked as a duplicate of this bug. ***
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-11-08 08:33:52 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e323ac9ae8503ff7936a02cb8bcc114d8d971892

commit e323ac9ae8503ff7936a02cb8bcc114d8d971892
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-11-08 07:07:08 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-11-08 08:32:25 +0000

    security/lasso: Runtime fix after xmlsec1 upgrade

    - Fix build with upcoming libxml upgrade [1]

    PR:             282243, 281592[1]
    Reported by:    ray@bellis.me.uk, diizzy[1]

 security/lasso/Makefile                                 | 10 +++++++++-
 security/lasso/distinfo                                 | 12 +++++++++++-
 security/lasso/files/patch-bindings_php5_Makefile.in    |  4 ++--
 ...h-lasso_xml_saml-2.0_samlp2__logout__request.c (new) | 17 +++++++++++++++++
 4 files changed, 39 insertions(+), 4 deletions(-)