diff --git a/net/geoipupdate/Makefile b/net/geoipupdate/Makefile index 8059edfff214..bb20ec57ad18 100644 --- a/net/geoipupdate/Makefile +++ b/net/geoipupdate/Makefile @@ -1,61 +1,61 @@ PORTNAME= geoipupdate -PORTVERSION= 5.0.4 +PORTVERSION= 5.1.0 DISTVERSIONPREFIX= v 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/v5 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= man/man1/geoipupdate.1.gz \ 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}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/build/GeoIP.conf.5 ${STAGEDIR}${MANPREFIX}/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 46c606037b06..573c9201f1be 100644 --- a/net/geoipupdate/distinfo +++ b/net/geoipupdate/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1681816727 -SHA256 (go/net_geoipupdate/geoipupdate-v5.0.4/v5.0.4.mod) = 7939b6e2b56c03ddc5d407e41b956e2f6bc8de7da5815c4f744796c47f21546c -SIZE (go/net_geoipupdate/geoipupdate-v5.0.4/v5.0.4.mod) = 432 -SHA256 (go/net_geoipupdate/geoipupdate-v5.0.4/v5.0.4.zip) = 5698c395a690a5a4a130d788ee5a1ad3c0f512f0a8b1ea2cc1b1aab39729faeb -SIZE (go/net_geoipupdate/geoipupdate-v5.0.4/v5.0.4.zip) = 59415 +TIMESTAMP = 1683329879 +SHA256 (go/net_geoipupdate/geoipupdate-v5.1.0/v5.1.0.mod) = 6be6e5d22de91ea94b660c9ec8dc7901e2e5b00c694b29ebfa8afbc09f71927b +SIZE (go/net_geoipupdate/geoipupdate-v5.1.0/v5.1.0.mod) = 551 +SHA256 (go/net_geoipupdate/geoipupdate-v5.1.0/v5.1.0.zip) = 93010246b28d915faa3d49fa3af2b8a9733b25bf1e9059abe95a568493bc9dfc +SIZE (go/net_geoipupdate/geoipupdate-v5.1.0/v5.1.0.zip) = 62525