diff --git a/net/geoipupdate/Makefile b/net/geoipupdate/Makefile index 785128f3f034..7b632efd911c 100644 --- a/net/geoipupdate/Makefile +++ b/net/geoipupdate/Makefile @@ -1,62 +1,61 @@ PORTNAME= geoipupdate -PORTVERSION= 7.1.1 +PORTVERSION= 8.0.0 DISTVERSIONPREFIX= v -PORTREVISION= 14 CATEGORIES= net geography MAINTAINER= adamw@FreeBSD.org COMMENT= Fetch the latest copies of the GeoIP2 databases WWW= https://github.com/maxmind/geoipupdate LICENSE= APACHE20 MIT LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT USES= gmake go:modules,no_targets -GO_MODULE= github.com/maxmind/geoipupdate/v7 +GO_MODULE= github.com/maxmind/geoipupdate/v8 MAKE_ENV+= ${GO_ENV} \ CONFFILE=${PREFIX}/etc/GeoIP.conf \ DATADIR=${PREFIX}/share/GeoIP \ VERSION=${DISTVERSIONFULL} OPTIONS_DEFINE= DOCS MANPAGES OPTIONS_DEFAULT=MANPAGES MANPAGES_BUILD_DEPENDS= lowdown:textproc/lowdown MANPAGES_PLIST_FILES= share/man/man1/geoipupdate.1.gz \ share/man/man5/GeoIP.conf.5.gz PLIST_FILES= bin/geoipupdate \ '@sample etc/GeoIP.conf.sample' \ '@dir share/GeoIP' PORTDOCS= GeoIP.conf.md geoipupdate.md SUB_FILES= pkg-message do-build-MANPAGES-on: # lowdown generates everything as section 7 { ${PRINTF} "title: geoipupdate\n\n" && ${CAT} ${WRKSRC}/doc/geoipupdate.md; } \ | ${LOCALBASE}/bin/lowdown -s -Tman \ | ${SED} -e '1s/7/1/' > ${WRKSRC}/build/geoipupdate.1 { ${PRINTF} "title: GeoIP.conf\n\n" && ${CAT} ${WRKSRC}/doc/GeoIP.conf.md; } \ | ${LOCALBASE}/bin/lowdown -s -Tman \ | ${SED} -e '1s/7/5/' > ${WRKSRC}/build/GeoIP.conf.5 do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/GeoIP ${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} do-install-MANPAGES-on: ${INSTALL_MAN} ${WRKSRC}/build/geoipupdate.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_MAN} ${WRKSRC}/build/GeoIP.conf.5 ${STAGEDIR}${PREFIX}/share/man/man5 do-test: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} test ${GO_TESTFLAGS} ./... .include diff --git a/net/geoipupdate/distinfo b/net/geoipupdate/distinfo index a70907521f10..76208b57ecef 100644 --- a/net/geoipupdate/distinfo +++ b/net/geoipupdate/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1752109164 -SHA256 (go/net_geoipupdate/geoipupdate-v7.1.1/v7.1.1.mod) = 74cefc240709c6b0acd6fe4d8b9950a267c8a4ebc83522e0c05df89122fe5a14 -SIZE (go/net_geoipupdate/geoipupdate-v7.1.1/v7.1.1.mod) = 723 -SHA256 (go/net_geoipupdate/geoipupdate-v7.1.1/v7.1.1.zip) = 51fbb70cbcb42e02b40449d195390f775d79d340f687cbe2465411cb003c2f25 -SIZE (go/net_geoipupdate/geoipupdate-v7.1.1/v7.1.1.zip) = 76876 +TIMESTAMP = 1783715708 +SHA256 (go/net_geoipupdate/geoipupdate-v8.0.0/v8.0.0.mod) = ad0e8fb231d9ddcd8a9a53291436493d22884766dd7d262aaa51990666bc14b4 +SIZE (go/net_geoipupdate/geoipupdate-v8.0.0/v8.0.0.mod) = 574 +SHA256 (go/net_geoipupdate/geoipupdate-v8.0.0/v8.0.0.zip) = c835e9f6691bab33097d015240dd1d49f6aa4d52942cb3881ec19331819482b6 +SIZE (go/net_geoipupdate/geoipupdate-v8.0.0/v8.0.0.zip) = 89174