From owner-svn-ports-head@freebsd.org Tue Jan 15 18:59:12 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 589841493423; Tue, 15 Jan 2019 18:59:12 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F2F406CFC2; Tue, 15 Jan 2019 18:59:11 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D7D981EF83; Tue, 15 Jan 2019 18:59:11 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0FIxBiE045266; Tue, 15 Jan 2019 18:59:11 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0FIxBBY045264; Tue, 15 Jan 2019 18:59:11 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201901151859.x0FIxBBY045264@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Tue, 15 Jan 2019 18:59:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r490399 - head/net/geoipupdate X-SVN-Group: ports-head X-SVN-Commit-Author: adamw X-SVN-Commit-Paths: head/net/geoipupdate X-SVN-Commit-Revision: 490399 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: F2F406CFC2 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2019 18:59:12 -0000 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 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