Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2016 01:16:01 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r407331 - head/net/geoipupdate
Message-ID:  <201601270116.u0R1G1Vl041516@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Wed Jan 27 01:16:01 2016
New Revision: 407331
URL: https://svnweb.freebsd.org/changeset/ports/407331

Log:
  Update to 2.2.2.
  
  Also, use localbase.mk instead of setting CPPFLAGS/LDFLAGS manually, and
  use the new two-argument @sample instead of renaming and sed-ing.

Modified:
  head/net/geoipupdate/Makefile
  head/net/geoipupdate/distinfo
  head/net/geoipupdate/pkg-plist

Modified: head/net/geoipupdate/Makefile
==============================================================================
--- head/net/geoipupdate/Makefile	Tue Jan 26 23:55:04 2016	(r407330)
+++ head/net/geoipupdate/Makefile	Wed Jan 27 01:16:01 2016	(r407331)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	geoipupdate
-PORTVERSION=	2.2.1
+PORTVERSION=	2.2.2
 DISTVERSIONPREFIX=	v
 CATEGORIES=	net geography
 
@@ -16,19 +16,8 @@ LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/
 USE_GITHUB=	yes
 GH_ACCOUNT=	maxmind
 
-USES=		libtool pathfix autoreconf
+USES=		libtool localbase pathfix autoreconf
 PATHFIX_MAKEFILEIN=	Makefile.am
 GNU_CONFIGURE=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
-post-extract:
-	@${MV} ${WRKSRC}/conf/GeoIP.conf.default ${WRKSRC}/conf/GeoIP.conf.sample
-
-post-patch:
-	@${REINPLACE_CMD} -e '/^DEFAULT_CONFIG_FILE =/s/$$/.sample/' \
-		-e 's/.default/.sample/' \
-		${WRKSRC}/conf/Makefile.am
-
 .include <bsd.port.mk>

Modified: head/net/geoipupdate/distinfo
==============================================================================
--- head/net/geoipupdate/distinfo	Tue Jan 26 23:55:04 2016	(r407330)
+++ head/net/geoipupdate/distinfo	Wed Jan 27 01:16:01 2016	(r407331)
@@ -1,2 +1,2 @@
-SHA256 (maxmind-geoipupdate-v2.2.1_GH0.tar.gz) = c43278cda58ed0d01fb8ecf853b221dc0a02311519d0fe52e05e224b3b6acd0c
-SIZE (maxmind-geoipupdate-v2.2.1_GH0.tar.gz) = 32685
+SHA256 (maxmind-geoipupdate-v2.2.2_GH0.tar.gz) = e2eb95f471b1c8f590361aefe52afd28a04560147d3e2970e17889a5ce2b5746
+SIZE (maxmind-geoipupdate-v2.2.2_GH0.tar.gz) = 33596

Modified: head/net/geoipupdate/pkg-plist
==============================================================================
--- head/net/geoipupdate/pkg-plist	Tue Jan 26 23:55:04 2016	(r407330)
+++ head/net/geoipupdate/pkg-plist	Wed Jan 27 01:16:01 2016	(r407331)
@@ -1,4 +1,4 @@
 bin/geoipupdate
-@sample etc/GeoIP.conf.sample
+@sample etc/GeoIP.conf etc/GeoIP.conf.default
 man/man1/geoipupdate.1.gz
 man/man5/GeoIP.conf.5.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601270116.u0R1G1Vl041516>