On 2025/12/27 12:19, Otto Cooper wrote: > On Saturday, December 27th, 2025 at 1:12 PM, Stuart Henderson > <[email protected]> wrote: > > > moving to just ports@. bugs@ is for the base os. > > OK, I am learning. > > > On 2025/12/26 19:31, Otto Cooper wrote: > > > > > The rc.d file for this package is not working. > > > > This port seems to be missing a bunch of deps too (some not ported yet), > > and missing some @sample for dir creation, etc. I'll try to take a look > > at that. It is not currently in great shape. > > I have a script that does it all. Do you want me to post it here?
no need, thanks. doing a proper job requires 5 new ports to be written rather than something via a script. > > > It fails to start, check, reload, and stop the daemon. > > ... > > > pexp="perl: authentication_milter:master" > > ... > > > pexp="perl: authentication_milter:parent" > > ... > > > As you can see from the comments, the variable pexp is not seen by > > > rc_check, rc_stop and rc_reload. > > > > do you have an old file hanging around in /var/run/rc.d with the > > previous pexp (:master not :parent)? that could account for many of > > the problems you had with the script. > > Yes. It seems aligned to the new one: > > > cat /var/run/rc.d/authentication_milter > daemon_class=daemon > daemon_execdir= > daemon_flags=--prefix /etc/mail --pidfile /var/run/authentication_milter.pid > daemon_logger= > daemon_rtable=0 > daemon_timeout=30 > daemon_user=root > pexp=perl: authentication_milter:parent > rc_reload= > rc_reload_signal=HUP > rc_stop_signal=TERM > rc_usercheck= perhaps you had a bad file present when you were adding pexp in various places but it's now cleaned up - if so then maybe you don't need the additional pexp (which shouldn't be there)
