Hi Martijn,

I've used below patch and earlier attached libopensmtpd port and
it worked fine for me with filter-dkimsign.

On Thu, Sep 12, 2019 at 09:13:25AM +0200, Martijn van Duren wrote:
> ping
> 
> On 9/5/19 3:13 PM, Martijn van Duren wrote:
> > On 8/24/19 6:29 AM, Martijn van Duren wrote:
> >> $ cat libopensmtpd/pkg/DESCR 
> >> libopensmtpd is an libevent based library which allows for easy writing
> >> of opensmtpd filter applications in C.
> >> $
> >>
> >> This is required for filter-dnsbl and filter-dkim.
> >>
> >> Since I'm not too familiar with ports I would like to pay special
> >> attention to the Makefile of both the port as well as the source.
> >>
> >> Also, I currently host the release tarballs at my personal server, which
> >> I also use for generic other stuff and might not always be available.
> >> If someone from the ports team has a more stable location to host the
> >> release tarballs let me know.
> >>
> >> martijn@
> >>
> > Updated diff based on recent smtpd changes.
> > I haven't changed the version number since it isn't imported in ports
> > yet.
> > 
> > Questions above still remain.
> > 
> > Now to be placed in mail/openstmpd-filters. Requires additional diff
> > to prevent PKGNAME to be overwritten.
> > 
> > Index: Makefile.inc
> > ===================================================================
> > RCS file: /cvs/ports/mail/opensmtpd-filters/Makefile.inc,v
> > retrieving revision 1.1
> > diff -u -p -r1.1 Makefile.inc
> > --- Makefile.inc    4 Sep 2019 12:27:42 -0000       1.1
> > +++ Makefile.inc    5 Sep 2019 13:12:09 -0000
> > @@ -1,6 +1,6 @@
> >  # $OpenBSD: Makefile.inc,v 1.1 2019/09/04 12:27:42 martijn Exp $
> >  
> > -PKGNAME =  opensmtpd-filter-${FILTER_NAME}-${V}
> > +PKGNAME ?= opensmtpd-filter-${FILTER_NAME}-${V}
> >  
> >  MODGO_TYPE =       bin
> >  MODGO_BINDIR =     libexec/smtpd
> > 

-- 
Regards,
 Mikolaj

Reply via email to