On 2019/02/22 08:14, Giovanni Bechis wrote:
> Hi,
> this diff add GeoIP2 support to SpamAssassin and makes it the default
> geo library as done upstream.
> Ok or is it a too heavy dependency ?
> Cheers
> Giovanni
> Index: Makefile
> ===================================================================
> RCS file: /var/cvs/ports/mail/p5-Mail-SpamAssassin/Makefile,v
> retrieving revision 1.111
> diff -u -p -r1.111 Makefile
> --- Makefile 25 Sep 2018 09:05:09 -0000 1.111
> +++ Makefile 20 Feb 2019 07:59:32 -0000
> @@ -5,7 +5,7 @@ COMMENT= mailfilter to identify and mar
> VER= 3.4.2
> DISTNAME= Mail-SpamAssassin-${VER}
> PKGNAME= p5-${DISTNAME}
> -REVISION= 0
> +REVISION= 1
> RULESNAME= Mail-SpamAssassin-rules-${VER}.r1840640.tgz
> CATEGORIES= mail perl5
>
> @@ -35,7 +35,7 @@ RUN_DEPENDS= ${COMMON_DEPENDS} \
> devel/re2c \
> devel/p5-BSD-Resource \
> p5-Mail-SPF-*|p5-Mail-SPF-Query-*:mail/p5-Mail-SPF \
> -
> p5-Geo-IP-*|p5-IP-Country-DB_File-*|p5-IP-Country-*:net/p5-Geo-IP \
> +
> p5-GeoIP2-*|p5-Geo-IP-*|p5-IP-Country-DB_File-*|p5-IP-Country-*:net/p5-GeoIP2
> \
Not using spamassassin any more, but can you remove the old p5-Geo-IP?
The databases are not updated any more so it is not really that useful -
leaving it in place means that existing users continue to use it.