Re: Alpha release of Maia Mailguard 1.0.5

Travis Mikalson <[email protected]> Tue, 23 Sep 2025 06:35:58 -0400
Newsgroups gmane.mail.virus.maiamailguard
Organization TerraNovaNet Internet Services
Message-ID <[email protected]>
Getting there, make was fine, but make install:

root@maiatest1:/usr/ports/security/maia-mailguard # make install
===>  Installing for maia-mailguard-1.0.5.a1
===>  Checking if maia-mailguard is already installed
===>   Registering installation for maia-mailguard-1.0.5.a1
pkg-static: Unable to access file 
/usr/ports/security/maia-mailguard/work/stage/usr/local/www/maia-mailguard/libs/Smarty:No 
such file or directory
pkg-static: duplicate directory listing: 
/usr/local/www/maia-mailguard/web, ignoring
pkg-static: duplicate file listing: /usr/local/etc/rc.d/maiad, ignoring
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/security/maia-mailguard
*** Error code 1

Stop.
make: stopped in /usr/ports/security/maia-mailguard


On 9/23/2025 06:32, Janky Jay, III wrote:
> Hi Travis,
> 
> On 9/23/25 04:11AM, Travis Mikalson wrote:
>> Started from fresh clean new FreeBSD 14.3-RELEASE-p3 jail. Went 
>> through and installed all dependencies. Which is a lot:
>> # pkg info | wc -l
>>      148
>>
>> Not your fault, a general ports problem, but:
>> freebsd port p5-Convert-UUlib had to be "pkg install" 'ed because port 
>> out of date and tarball not on any cpan mirror
>> freebsd port p5-Locale-gettext-1.07 had to be "pkg install" 'ed 
>> because port out of date and tarball not on any cpan mirror
>>
>>
>>
>> Some paths need correction in the port Makefile.
>>
>> install: 
>> /usr/ports/security/maia-mailguard/work/maia_mailguard_1.05-1.0.5-alpha1/maiad: No such file or directory
>> *** Error code 71
>>
>> Stop.
>> make[1]: stopped in /usr/ports/security/maia-mailguard
>>
>>
>>
>> Fixing that one in Makefile and make completes after:
>>
>> --- Makefile.orig       2025-09-23 10:01:28.865295000 +0000
>> +++ Makefile    2025-09-23 10:01:38.981407000 +0000
>> @@ -334,7 +334,7 @@ do-install:
>>  .for a in digest.tpl newuser.tpl reminder.tpl
>>         ${INSTALL} -m 644 ${WRKSRC}/maia_templates/${a}.dist 
>> ${STAGEDIR}${ETCDIR}/templates
>>  .endfor
>> -       ${INSTALL_SCRIPT} ${WRKSRC}/maiad ${STAGEDIR}${PREFIX}/sbin
>> +       ${INSTALL_SCRIPT} ${WRKSRC}/files/maiad ${STAGEDIR}${PREFIX}/sbin
>>         ${INSTALL} -m 640 ${WRKSRC}/cfg_tpl/maiad.conf.tmpl 
>> ${STAGEDIR}${ETCDIR}/maiad.conf.dist
>>         ${INSTALL} -m 640 ${WRKSRC}/cfg_tpl/maia.conf.tmpl 
>> ${STAGEDIR}${ETCDIR}/maia.conf.dist
>>
>>
>>
>> There are more path problems for make install:
>>
>> # make install
>> ===>  Installing for maia-mailguard-1.0.5.a1
>> ===>  Checking if maia-mailguard is already installed
>> ===>   Registering installation for maia-mailguard-1.0.5.a1
>> pkg-static: Unable to access file 
>> /usr/ports/security/maia-mailguard/work/stage/usr/local/share/doc/maia-mailguard/maia.conf.dist:No such file or directory
>> pkg-static: Unable to access file 
>> /usr/ports/security/maia-mailguard/work/stage/usr/local/share/doc/maia-mailguard/maiad.conf.dist:No such file or directory
>> pkg-static: Unable to access file 
>> /usr/ports/security/maia-mailguard/work/stage/usr/local/www/maia-mailguard/admin/internal-init.php:No such file or directory
>> pkg-static: Unable to access file 
>> /usr/ports/security/maia-mailguard/work/stage/usr/local/www/maia-mailguard/themes/ocean_surf/compiled/:No such file or directory
>> pkg-static: Unable to access file 
>> /usr/ports/security/maia-mailguard/work/stage/usr/local/www/maia-mailguard/themes/dgm/compiled/:No such file or directory
>> pkg-static: Unable to access file 
>> /usr/ports/security/maia-mailguard/work/stage/usr/local/www/maia-mailguard/themes/desert_sand/compiled/:No such file or directory
>> *** Error code 1
>>
>> Stop.
>> make[1]: stopped in /usr/ports/security/maia-mailguard
>> *** Error code 1
> 
> Was able to spin up a VM to test with and worked out these problems (I 
> hope). Please re-pull the repo and try again. If you continue to have 
> issues, let me know.
> 

-- 
TerraNovaNet Internet Services - Key Largo, FL
Voice: (305)453-4011 x101   Fax: (305)451-5991
http://www.terranova.net/   PGP: 50091B3D
_______________________________________________
Maia-users mailing list
[email protected]
http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users