Re: [new] mail/opendmarc

2019-05-23 Thread Stuart Henderson
On 2019/05/03 09:18, Renaud Allard wrote:
> 
> 
> On 5/2/19 11:50 PM, Stuart Henderson wrote:
> > 
> > Here's a tweaked version:
> > 
> > - changed to use net/libspf2 rather than the bundled internal copy
> > - doing this resulted in it picking up deps on libidn/gettext as well
> > so those are also added to the port
> > 
> > If this still works for you then I'd be happy for it to be committed
> > now.
> > 
> 
> Thanks, it works fine. However, I had forgotten to set the daemon_user in
> the rc script, this is now fixed in the attached version.

Setting daemon_user in the script is done when the rc infrastructure itself
needs to start the process as an alternative uid. In this case opendmarc
sets uid itself so we should just supply -u _opendmarc on the command line.
Updated tgz fixes this, and uses the correct uid number in PLIST.

Any OKs to import?






opendmarc.tgz
Description: application/tar-gz


Re: [new] mail/opendmarc

2019-05-16 Thread Renaud Allard



On 5/3/19 9:18 AM, Renaud Allard wrote:



On 5/2/19 11:50 PM, Stuart Henderson wrote:


Here's a tweaked version:

- changed to use net/libspf2 rather than the bundled internal copy
- doing this resulted in it picking up deps on libidn/gettext as well
so those are also added to the port

If this still works for you then I'd be happy for it to be committed
now.



Thanks, it works fine. However, I had forgotten to set the daemon_user 
in the rc script, this is now fixed in the attached version.


Hi,

Anyone else than Stuart can OK this?

Thanks



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [new] mail/opendmarc

2019-05-03 Thread Renaud Allard



On 5/2/19 11:50 PM, Stuart Henderson wrote:


Here's a tweaked version:

- changed to use net/libspf2 rather than the bundled internal copy
- doing this resulted in it picking up deps on libidn/gettext as well
so those are also added to the port

If this still works for you then I'd be happy for it to be committed
now.



Thanks, it works fine. However, I had forgotten to set the daemon_user 
in the rc script, this is now fixed in the attached version.


opendmarc.tgz
Description: application/compressed-tar


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [new] mail/opendmarc

2019-05-02 Thread Stuart Henderson
On 2019/05/02 13:47, Renaud Allard wrote:
> 
> 
> On 3/25/19 8:59 PM, Stuart Henderson wrote:
> > On 2019/03/25 16:20, Renaud Allard wrote:
> > > 
> > > 
> > > On 3/25/19 3:31 PM, Stuart Henderson wrote:
> > > > On 2019/03/25 15:22, Renaud Allard wrote:
> > > > > Hello,
> > > > > 
> > > > > Here is a port for mail/opendmarc, this will allow the use of the 
> > > > > library in
> > > > > other mail programs.
> > > > > 
> > > > > Best Regards
> > > > > 
> > > > 
> > > > Comments from a quick read through
> > > > 
> > > > - one entry per line in LIB_DEPENDS please
> > > > 
> > > > - "LIB_DEPENDS mail/libspf2 not needed for mail/opendmarc ?"
> > > > -> see DIAGNOSTICS in bsd.port.mk(5)
> > > > 
> > > > - there's an empty share/examples/opendmarc/ in PLIST (which isn't
> > > > created by the port build, so packaging fails)
> > > > 
> > > > - some config samples are in share/doc/opendmarc/
> > > > 
> > > > - DESCR could do with more information about what's included in the
> > > > package and less about the sponsors
> > > > 
> > > > - missing user/group and rc script for the daemon
> > > > 
> > > 
> > > I have attached a better one which also needs:
> > > --- infrastructure/db/user.list 7 Mar 2019 20:59:29 -   1.339
> > > +++ infrastructure/db/user.list 25 Mar 2019 15:04:52 -
> > > @@ -341,3 +341,4 @@ id  usergroup   port options
> > >   830 _pdns_recursor _pdns_recursor  net/powerdns_recursor
> > >   831 _dicod _dicod  net/dico
> > >   832 _litecoind _litecoind  net/litecoin
> > > +833 _opendmarc _opendmarc  mail/opendmarc
> > 
> > 
> > Getting there; couple of small things
> > 
> > - don't hardcode _opendmarc in the rc script, use ${daemon_user}
> > - missing $OpenBSD$ line in rc script
> > 
> > I haven't tried building it yet.
> > 
> 
> Hello Stuart,
> 
> Any news about this port? I would like to enable DMARC in mail/exim, but
> this port is needed for this. I guess it would also be possible to enable
> DMARC on opensmtp with it.
> 
> thanks
> 



Here's a tweaked version:

- changed to use net/libspf2 rather than the bundled internal copy
- doing this resulted in it picking up deps on libidn/gettext as well
so those are also added to the port

If this still works for you then I'd be happy for it to be committed
now.



opendmarc.tgz
Description: application/tar-gz


Re: [new] mail/opendmarc

2019-05-02 Thread Renaud Allard



On 3/25/19 8:59 PM, Stuart Henderson wrote:

On 2019/03/25 16:20, Renaud Allard wrote:



On 3/25/19 3:31 PM, Stuart Henderson wrote:

On 2019/03/25 15:22, Renaud Allard wrote:

Hello,

Here is a port for mail/opendmarc, this will allow the use of the library in
other mail programs.

Best Regards



Comments from a quick read through

- one entry per line in LIB_DEPENDS please

- "LIB_DEPENDS mail/libspf2 not needed for mail/opendmarc ?"
-> see DIAGNOSTICS in bsd.port.mk(5)

- there's an empty share/examples/opendmarc/ in PLIST (which isn't
created by the port build, so packaging fails)

- some config samples are in share/doc/opendmarc/

- DESCR could do with more information about what's included in the
package and less about the sponsors

- missing user/group and rc script for the daemon



I have attached a better one which also needs:
--- infrastructure/db/user.list 7 Mar 2019 20:59:29 -   1.339
+++ infrastructure/db/user.list 25 Mar 2019 15:04:52 -
@@ -341,3 +341,4 @@ id  usergroup   port options
  830 _pdns_recursor _pdns_recursor  net/powerdns_recursor
  831 _dicod _dicod  net/dico
  832 _litecoind _litecoind  net/litecoin
+833 _opendmarc _opendmarc  mail/opendmarc



Getting there; couple of small things

- don't hardcode _opendmarc in the rc script, use ${daemon_user}
- missing $OpenBSD$ line in rc script

I haven't tried building it yet.



Hello Stuart,

Any news about this port? I would like to enable DMARC in mail/exim, but 
this port is needed for this. I guess it would also be possible to 
enable DMARC on opensmtp with it.


thanks



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [new] mail/opendmarc

2019-04-15 Thread Renaud Allard



On 26/03/2019 07:07, Renaud Allard wrote:



On 3/25/19 8:59 PM, Stuart Henderson wrote:



Getting there; couple of small things

- don't hardcode _opendmarc in the rc script, use ${daemon_user}


OK, done, note that in opendkim, the user is also hardcoded, this might 
be worth changing there too.



- missing $OpenBSD$ line in rc script


Added



I haven't tried building it yet.



This is the part I tried the most.


Friendly ping after port unlocking :)



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [new] mail/opendmarc

2019-03-26 Thread Renaud Allard



On 3/25/19 8:59 PM, Stuart Henderson wrote:



Getting there; couple of small things

- don't hardcode _opendmarc in the rc script, use ${daemon_user}


OK, done, note that in opendkim, the user is also hardcoded, this might 
be worth changing there too.



- missing $OpenBSD$ line in rc script


Added



I haven't tried building it yet.



This is the part I tried the most.


opendmarc.tar.gz
Description: application/gzip


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [new] mail/opendmarc

2019-03-25 Thread Stuart Henderson
On 2019/03/25 16:20, Renaud Allard wrote:
> 
> 
> On 3/25/19 3:31 PM, Stuart Henderson wrote:
> > On 2019/03/25 15:22, Renaud Allard wrote:
> > > Hello,
> > > 
> > > Here is a port for mail/opendmarc, this will allow the use of the library 
> > > in
> > > other mail programs.
> > > 
> > > Best Regards
> > > 
> > 
> > Comments from a quick read through
> > 
> > - one entry per line in LIB_DEPENDS please
> > 
> > - "LIB_DEPENDS mail/libspf2 not needed for mail/opendmarc ?"
> >-> see DIAGNOSTICS in bsd.port.mk(5)
> > 
> > - there's an empty share/examples/opendmarc/ in PLIST (which isn't
> >created by the port build, so packaging fails)
> > 
> > - some config samples are in share/doc/opendmarc/
> > 
> > - DESCR could do with more information about what's included in the
> >package and less about the sponsors
> > 
> > - missing user/group and rc script for the daemon
> > 
> 
> I have attached a better one which also needs:
> --- infrastructure/db/user.list 7 Mar 2019 20:59:29 -   1.339
> +++ infrastructure/db/user.list 25 Mar 2019 15:04:52 -
> @@ -341,3 +341,4 @@ id  usergroup   port options
>  830 _pdns_recursor _pdns_recursor  net/powerdns_recursor
>  831 _dicod _dicod  net/dico
>  832 _litecoind _litecoind  net/litecoin
> +833 _opendmarc _opendmarc  mail/opendmarc


Getting there; couple of small things

- don't hardcode _opendmarc in the rc script, use ${daemon_user}
- missing $OpenBSD$ line in rc script

I haven't tried building it yet.



Re: [new] mail/opendmarc

2019-03-25 Thread Renaud Allard



On 3/25/19 3:31 PM, Stuart Henderson wrote:

On 2019/03/25 15:22, Renaud Allard wrote:

Hello,

Here is a port for mail/opendmarc, this will allow the use of the library in
other mail programs.

Best Regards



Comments from a quick read through

- one entry per line in LIB_DEPENDS please

- "LIB_DEPENDS mail/libspf2 not needed for mail/opendmarc ?"
   -> see DIAGNOSTICS in bsd.port.mk(5)

- there's an empty share/examples/opendmarc/ in PLIST (which isn't
   created by the port build, so packaging fails)

- some config samples are in share/doc/opendmarc/

- DESCR could do with more information about what's included in the
   package and less about the sponsors

- missing user/group and rc script for the daemon



I have attached a better one which also needs:
--- infrastructure/db/user.list 7 Mar 2019 20:59:29 -   1.339
+++ infrastructure/db/user.list 25 Mar 2019 15:04:52 -
@@ -341,3 +341,4 @@ id  usergroup   port options
 830 _pdns_recursor _pdns_recursor  net/powerdns_recursor
 831 _dicod _dicod  net/dico
 832 _litecoind _litecoind  net/litecoin
+833 _opendmarc _opendmarc  mail/opendmarc


opendmarc.tar.gz
Description: application/gzip


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [new] mail/opendmarc

2019-03-25 Thread Stuart Henderson
On 2019/03/25 15:22, Renaud Allard wrote:
> Hello,
> 
> Here is a port for mail/opendmarc, this will allow the use of the library in
> other mail programs.
> 
> Best Regards
> 

Comments from a quick read through

- one entry per line in LIB_DEPENDS please

- "LIB_DEPENDS mail/libspf2 not needed for mail/opendmarc ?"
  -> see DIAGNOSTICS in bsd.port.mk(5)

- there's an empty share/examples/opendmarc/ in PLIST (which isn't
  created by the port build, so packaging fails)

- some config samples are in share/doc/opendmarc/

- DESCR could do with more information about what's included in the
  package and less about the sponsors

- missing user/group and rc script for the daemon



[new] mail/opendmarc

2019-03-25 Thread Renaud Allard

Hello,

Here is a port for mail/opendmarc, this will allow the use of the 
library in other mail programs.


Best Regards



opendmarc.tar.gz
Description: application/gzip


smime.p7s
Description: S/MIME Cryptographic Signature