Hi ports@,

pen still uses net/GeoIP for doing GeoIP lookups. As the functionality
isn't really useful with outdated databases, I propose to disable it and
remove the dependency on net/GeoIP. The following diff does this.

There is a newer version of pen available but it hasn't been updated to
use net/libmaxminddb yet.

Compile tested only.

Comments? OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/pen/Makefile,v
retrieving revision 1.24
diff -u -p -r1.24 Makefile
--- Makefile    12 Jul 2019 20:48:43 -0000      1.24
+++ Makefile    7 Nov 2019 21:17:20 -0000
@@ -3,6 +3,7 @@
 COMMENT=               load balancer for simple TCP-based protocols
 
 DISTNAME=              pen-0.33.0
+REVISION=              0
 
 CATEGORIES=            net
 
@@ -11,14 +12,13 @@ HOMEPAGE=           http://siag.nu/pen/
 # GPLv2+
 PERMIT_PACKAGE=        Yes
 
-WANTLIB += GeoIP c crypto ssl
+WANTLIB += c crypto ssl
 
 MASTER_SITES=          http://siag.nu/pub/pen/
 
-LIB_DEPENDS=           net/GeoIP
-
 CONFIGURE_STYLE=       gnu
-CONFIGURE_ARGS=                --with-docdir=${PREFIX}/share/doc/pen
+CONFIGURE_ARGS=                --with-docdir=${PREFIX}/share/doc/pen \
+                       --without-geoip
 CONFIGURE_ENV=         CPPFLAGS="-I${LOCALBASE}/include" \
                        LDFLAGS="-L${LOCALBASE}/lib"
 

Reply via email to