On Wed, Sep 18, 2019 at 9:32 AM Stuart Henderson <[email protected]>
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