Date: Tue, 15 Jan 2019 18:59:11 +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: r490399 - head/net/geoipupdate Message-ID: <201901151859.x0FIxBBY045264@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Tue Jan 15 18:59:11 2019 New Revision: 490399 URL: https://svnweb.freebsd.org/changeset/ports/490399 Log: Update geoipupdate to 4.0.0 It is now written in go, for reasons I guess. Deleted: head/net/geoipupdate/pkg-plist Modified: head/net/geoipupdate/Makefile head/net/geoipupdate/distinfo Modified: head/net/geoipupdate/Makefile ============================================================================== --- head/net/geoipupdate/Makefile Tue Jan 15 18:29:45 2019 (r490398) +++ head/net/geoipupdate/Makefile Tue Jan 15 18:59:11 2019 (r490399) @@ -2,26 +2,48 @@ # $FreeBSD$ PORTNAME= geoipupdate -PORTVERSION= 3.1.1 +PORTVERSION= 4.0.0 +DISTVERSIONPREFIX= v CATEGORIES= net geography -MASTER_SITES= https://github.com/maxmind/geoipupdate/releases/download/v${PORTVERSION}/ MAINTAINER= adamw@FreeBSD.org -COMMENT= Fetch the latest copies of the paid GeoIP2 databases +COMMENT= Fetch the latest copies of the GeoIP2 databases -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE= APACHE20 MIT +LICENSE_COMB= dual +LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE +LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT -LIB_DEPENDS= libcurl.so:ftp/curl +BUILD_DEPENDS= go:lang/go +RUN_DEPENDS= ca_root_nss>=3:security/ca_root_nss -USES= libtool localbase pathfix -GNU_CONFIGURE= yes +USES= gmake +USE_GITHUB= yes +GH_ACCOUNT= maxmind +MAKE_ENV+= GOPATH=${WRKSRC} + OPTIONS_DEFINE= DOCS -post-install: +PLIST_FILES= bin/geoipupdate \ + '@sample etc/GeoIP.conf.sample' \ + '@dir share/GeoIP' +PORTDOCS= GeoIP.conf.md geoipupdate.md + +post-patch: + ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/Makefile + +do-build: + ${MV} ${WRKSRC}/vendor ${WRKSRC}/src + ${DO_MAKE_BUILD} -C ${WRKSRC} + +do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/GeoIP - ${MV} ${STAGEDIR}${DOCSDIR}/GeoIP.conf.default \ - ${STAGEDIR}${PREFIX}/etc/GeoIP.conf.sample + ${INSTALL_PROGRAM} ${WRKSRC}/build/geoipupdate ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/build/GeoIP.conf ${STAGEDIR}${PREFIX}/etc/GeoIP.conf.sample + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/build && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Modified: head/net/geoipupdate/distinfo ============================================================================== --- head/net/geoipupdate/distinfo Tue Jan 15 18:29:45 2019 (r490398) +++ head/net/geoipupdate/distinfo Tue Jan 15 18:59:11 2019 (r490399) @@ -1,3 +1,3 @@ -TIMESTAMP = 1536615979 -SHA256 (geoipupdate-3.1.1.tar.gz) = 3de22e3fe3282024288a00807bbea9a1ffa2d1e8fe9c611f4b14a5b4d8ebe08a -SIZE (geoipupdate-3.1.1.tar.gz) = 366789 +TIMESTAMP = 1547578530 +SHA256 (maxmind-geoipupdate-v4.0.0_GH0.tar.gz) = 89e86d6e54d26d4482f4b5f1c75409e23b4f202ad1f4425e6f97341ea7731e61 +SIZE (maxmind-geoipupdate-v4.0.0_GH0.tar.gz) = 105955
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901151859.x0FIxBBY045264>