Re: Alpha release of Maia Mailguard 1.0.5
Travis Mikalson <[email protected]> Tue, 23 Sep 2025 08:34:23 -0400
| Newsgroups | gmane.mail.virus.maiamailguard |
|---|---|
| Organization | TerraNovaNet Internet Services |
| Message-ID | <[email protected]> |
On 9/23/2025 07:44, Janky Jay, III wrote: > Hi Travis, > > On 9/23/25 05:26AM, Travis Mikalson wrote: >> On 9/23/2025 07:15, Janky Jay, III wrote: >>> Hrm.. I'm unable to reproduce this. Obviously, I can't remove the >>> Smarty link from pkg-plist otherwise it wouldn't be created. >>> >>> If you run a "make all install" (no cleaning) from a the port, does >>> the >>> "/usr/ports/security/maia-mailguard/work/stage/usr/local/www/maia-mailguard/libs/Smarty" link exist? If so, where does it link to? >> >> I don't have anything from Smarty. Where'd you get yours? It's not >> currently in einheit's github repo under php/libs. >> >> root@maiatest1:/usr/ports/security/maia-mailguard # ls -l >> work/stage/usr/local/www/maia-mailguard/libs >> total 13 >> drwxr-xr-x 3 root wheel 19 Sep 20 16:38 jquery >> -rw-r--r-- 2 root wheel 1431 Sep 20 16:38 pngfix.js > > Smarty should be installed and linked via the port by dependency. What > does "pkg info | grep -i smarty" show? > > Also, can you please checkout the repo again and give it a retry? I may > have spoken early and not pushed the commit that I meant to push. Yes, there was an update, retrieved. make and make install succeed now for maiad using WEBHOST=false so I was able to get a maiad. I was using port defaults (WEBHOST option not enabled) so I wouldn't get the web interface parts initially. Adding WEBHOST=true, we now have php83 stuff installing, and smarty3-php83 installed as well, so I'll have to configure a working webserver with php to continue with testing. We have the port working to install everything now. Another showstopper, though: Our /usr/local/sbin/maiad is broken, it needs one minor patch for FreeBSD: root@maiatest1:/usr/ports/security/maia-mailguard # /usr/local/sbin/maiad env: perl -T: No such file or directory root@maiatest1:/usr/ports/security/maia-mailguard # head -1 /usr/local/sbin/maiad #!/usr/bin/env perl -T If I change the shebang to #!/usr/local/bin/perl -T it works fine the whole way (daemon runs and listens, loads perl database module, logs things, etc) so the port will need to patch that for FreeBSD. I honestly don't know why env doesn't work as we expect when used as a shebang in FreeBSD, it's odd. -T _______________________________________________ Maia-users mailing list [email protected] http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users