Bug 285974 - net-im/prosody-modules: update to 20250402
Summary: net-im/prosody-modules: update to 20250402
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vanilla I. Shu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-09 07:17 UTC by Ivan Rozhuk
Modified: 2025-04-20 12:56 UTC (History)
3 users (show)

See Also:


Attachments
patch (1.92 KB, patch)
2025-04-09 07:20 UTC, Ivan Rozhuk
rozhuk.im: maintainer-approval+
Details | Diff
fix shebang issues. (1.72 KB, patch)
2025-04-20 08:43 UTC, Vanilla I. Shu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Rozhuk 2025-04-09 07:17:38 UTC
Multiple changes: https://hg.prosody.im/prosody-modules/shortlog/tip
Comment 1 Ivan Rozhuk 2025-04-09 07:20:28 UTC
Created attachment 259402 [details]
patch

Firewall scripts moved from:
/usr/local/lib/prosody-modules/scripts
to
/usr/local/lib/prosody-modules/mod_firewall/scripts
Comment 2 Vanilla I. Shu freebsd_committer freebsd_triage 2025-04-10 23:57:51 UTC
Hi:

I got some errors, could you help to check, thanks.
-----
====> Running Q/A tests (stage-qa)
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'lib/prosody-modules/mod_post_msg/sendxmpp-curl.sh'
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'lib/prosody-modules/mod_auth_external_insecure/examples/bash/prosody-auth-example.sh'
Error: '/usr/bin/env python2' is an invalid shebang you need USES=shebangfix for 'lib/prosody-modules/mod_auth_external_insecure/examples/python/prosody-auth-example.py'
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'lib/prosody-modules/mod_rest/example/rest.sh'
*** Error code 1

Stop.
make: stopped in /usr/ports/net-im/prosody-modules
=>> Error: stage-qa failures detected
Comment 3 Vanilla I. Shu freebsd_committer freebsd_triage 2025-04-20 08:43:28 UTC
Created attachment 259722 [details]
fix shebang issues.
Comment 4 Vanilla I. Shu freebsd_committer freebsd_triage 2025-04-20 08:44:02 UTC
Hi:

I made another patch to fix shebang issues,

Could you help me to review, thanks.
Comment 5 Ivan Rozhuk 2025-04-20 10:26:22 UTC
plist is same - good, but it does not fix shebang.
Comment 6 Vanilla I. Shu freebsd_committer freebsd_triage 2025-04-20 10:29:45 UTC
Yep,

Don't need to fix,

The shebang check only exists when execute bit was set.

but in my patch, install all example files without execute bit.
Comment 7 Ivan Rozhuk 2025-04-20 10:32:51 UTC
Ok, thanks!
Comment 8 Vanilla I. Shu freebsd_committer freebsd_triage 2025-04-20 12:55:56 UTC
Committed, thanks.
Comment 9 commit-hook freebsd_committer freebsd_triage 2025-04-20 12:56:14 UTC
A commit in branch main references this bug:

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

commit 35d35c737ff8aa313b141a6a5c839838475b5716
Author:     Vanilla I. Shu <vanilla@FreeBSD.org>
AuthorDate: 2025-04-20 12:54:49 +0000
Commit:     Vanilla I. Shu <vanilla@FreeBSD.org>
CommitDate: 2025-04-20 12:55:31 +0000

    net-im/prosody-modules: update to 20250402.

    PR:             285974

 net-im/prosody-modules/Makefile | 11 +++++------
 net-im/prosody-modules/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 9 deletions(-)