Hi ports@,
Webalizer hasn't had a release since 2014, and 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.
While there, switch HOMEPAGE and MASTER_SITES to HTTPS.
Comments? OK?
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/webalizer/Makefile,v
retrieving revision 1.48
diff -u -p -r1.48 Makefile
--- Makefile 12 Jul 2019 20:51:07 -0000 1.48
+++ Makefile 6 Nov 2019 17:09:03 -0000
@@ -6,31 +6,28 @@ RB_V= 30
V= 2.23-08-RB${RB_V}
DISTNAME= webalizer-${V}-src
PKGNAME= webalizer-${V:S/-/./g:S/RB//}
-REVISION= 5
+REVISION= 6
CATEGORIES= www
-HOMEPAGE= http://www.patrickfrei.ch/webalizer/
+HOMEPAGE= https://www.patrickfrei.ch/webalizer/
# GPLv2
PERMIT_PACKAGE= Yes
-MASTER_SITES= ${HOMEPAGE}/rb${RB_V}/
+MASTER_SITES= https://www.patrickfrei.ch/webalizer/rb${RB_V}/
-WANTLIB= GeoIP c db gd m png pthread z
+WANTLIB += c db gd m png z
LIB_DEPENDS= databases/db/v4 \
- graphics/gd \
- net/GeoIP
+ graphics/gd
WRKDIST= ${WRKDIR}/webalizer-${V}
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-dns \
- --enable-geoip \
--with-db=${LOCALBASE}/include/db4 \
--with-dblib=${LOCALBASE}/lib/db4 \
--with-gd=${LOCALBASE}/include \
- --with-geodb=/var/db/GeoDB
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
NO_TEST= Yes