On Wed, Nov 06 2019, Frederic Cambus <[email protected]> wrote:
> 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.
Makes sense to me, users and downstreams should push for libmaxminddb
support.
> While there, switch HOMEPAGE and MASTER_SITES to HTTPS.
>
> Comments? OK?
ok jca@
> 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
>
<#secure method=pgpmime mode=sign>
--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE