diff --git a/net/geoipupdate/Makefile b/net/geoipupdate/Makefile index 39af7b5361eb..8e36c2a0b2f7 100644 --- a/net/geoipupdate/Makefile +++ b/net/geoipupdate/Makefile @@ -1,62 +1,61 @@ PORTNAME= geoipupdate -PORTVERSION= 6.0.0 -PORTREVISION= 4 +PORTVERSION= 6.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/v6 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 bfad19c1334b..eff1ba1e8f10 100644 --- a/net/geoipupdate/distinfo +++ b/net/geoipupdate/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1689197307 -SHA256 (go/net_geoipupdate/geoipupdate-v6.0.0/v6.0.0.mod) = c53be06e15330c2d393900c06607607f329bf89dd03b6185197cc63f3435bb7d -SIZE (go/net_geoipupdate/geoipupdate-v6.0.0/v6.0.0.mod) = 590 -SHA256 (go/net_geoipupdate/geoipupdate-v6.0.0/v6.0.0.zip) = d4fcc1a2412cfa6e9fab6b33115c35570b1e1ebec16800016fed832f1876de6e -SIZE (go/net_geoipupdate/geoipupdate-v6.0.0/v6.0.0.zip) = 64874 +TIMESTAMP = 1704887182 +SHA256 (go/net_geoipupdate/geoipupdate-v6.1.0/v6.1.0.mod) = bbd28076437417555180c0e79e750655ed5abd3dc63d28c41b4f069a2a5d24a5 +SIZE (go/net_geoipupdate/geoipupdate-v6.1.0/v6.1.0.mod) = 591 +SHA256 (go/net_geoipupdate/geoipupdate-v6.1.0/v6.1.0.zip) = 3e288595a1b50377acc5fc3e198788d8aa39ff4557fddb231311e193a1dc93e3 +SIZE (go/net_geoipupdate/geoipupdate-v6.1.0/v6.1.0.zip) = 65918