On Wed, 2019-09-18 at 14:23 -0700, Jeremy Evans wrote:
> On Wed, Sep 18, 2019 at 9:32 AM Stuart Henderson <s...@spacehopper.org
> > wrote:
> > On 2019/09/18 18:26, Eric Elena wrote:
> > > Hello list,
> > > 
> > > Here is a new port geo/ruby-geoip2_c.
> > > 
> > > DESCR:
> > > This gem provides Ruby binding for libmaxminddb.
> > > 
> > > By default this gem tries to build its own version of
> > libmaxminddb,
> > > which uses autotools. I patched the configuration to use
> > > net/libmaxminddb instead and remove FMS extensions from the
> > compiler
> > > options as they are not supported on OpenBSD.
> > > 
> > > I use it as a dependency of fluentd (fluentd geoip filter) to
> > locate
> > > the IP addresses collected via netflow and see that in grafana.
> > This
> > > gem is the only one that causes trouble hence a port for it.
> > Porting
> > > fluentd may be the next step for 6.7+.
> > > 
> > > I'm a beginner in porting, comments are welcome.
> > > 
> > > Thanks,
> > > Eric
> > 
> > Tweaked to use a COMPILER string so that it has a chance on non-
> > clang
> > arches, and to honour LOCALBASE.
> > 
> > Am not a ruby ports expert but this looks ok to me ..
> 
> Still needs removal of ${GEM_EXTENSIONS_DIR}
> and ${GEM_LIB}/gems/${DISTNAME}/ext/ directories and stuff underneath
> them from the PLIST.  Then it should be OK to import, though Eric may
> want to consider being the MAINTAINER.

Thanks Jeremy and Stuart for the review. While cleaning the PLIST I
also removed docker* files as they are not useful here.
I added myself as the maintainer, Jeremy is already doing all the hard
work in Ruby land :) (and thanks for that)
Tested with fresh netflow data only, grafana is still happy with it.

Thanks,
Eric

> Thanks,
> Jeremy
>  

Attachment: ruby-geoip2_c.tar.gz
Description: application/compressed-tar

Reply via email to