[Bug 277415] net-im/prosody-modules: mod_firewall scripts not installed

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 01 Mar 2024 15:32:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277415

            Bug ID: 277415
           Summary: net-im/prosody-modules: mod_firewall scripts not
                    installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: mazhe@alkumuna.eu
                CC: rozhuk.im@gmail.com
             Flags: maintainer-feedback?(rozhuk.im@gmail.com)
                CC: rozhuk.im@gmail.com

Created attachment 248849
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248849&action=edit
Install mod_firewall scripts subdir and files.

Hi,

While trying to setup basic anti-spam instructions from JabberSPAM
(https://github.com/JabberSPAM/resources/blob/master/prosody/firewall-blacklist.md)
on my prosody installation, I realized that some scripts were supposed to be
included with the mod_firewall module from community modules, but missing.

Indeed, the port will only gather the *.lua files but not those .pfw files that
should go in a "scripts" subdir inside $INSTALLPATH.

Here is a simple patch to include them.

QA steps:
 - poudriere testport net-im/prosody-modules : OK
 - portlint : warning about hyphen in portname, unrelated -> OK

Thanks for your work and making prosody available on FreeBSD.

-- 
You are receiving this mail because:
You are the assignee for the bug.