diff --git a/net/geoipupdate/Makefile b/net/geoipupdate/Makefile index 154b56f87b85..b661f290ff8f 100644 --- a/net/geoipupdate/Makefile +++ b/net/geoipupdate/Makefile @@ -1,58 +1,61 @@ PORTNAME= geoipupdate -PORTVERSION= 4.11.0 +PORTVERSION= 4.11.1 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/v4 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 2f899addcf4a..9222a8c54f38 100644 --- a/net/geoipupdate/distinfo +++ b/net/geoipupdate/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1678913650 -SHA256 (go/net_geoipupdate/geoipupdate-v4.11.0/v4.11.0.mod) = 181ca2182b5008570c82982204b7d278b90346947fe6238308700fa5a8028806 -SIZE (go/net_geoipupdate/geoipupdate-v4.11.0/v4.11.0.mod) = 406 -SHA256 (go/net_geoipupdate/geoipupdate-v4.11.0/v4.11.0.zip) = 302d53a115d313619c93e363e9ed2d357fc1ffd0d5efe53906f816f66a211fa9 -SIZE (go/net_geoipupdate/geoipupdate-v4.11.0/v4.11.0.zip) = 53864 +TIMESTAMP = 1678981421 +SHA256 (go/net_geoipupdate/geoipupdate-v4.11.1/v4.11.1.mod) = 181ca2182b5008570c82982204b7d278b90346947fe6238308700fa5a8028806 +SIZE (go/net_geoipupdate/geoipupdate-v4.11.1/v4.11.1.mod) = 406 +SHA256 (go/net_geoipupdate/geoipupdate-v4.11.1/v4.11.1.zip) = 6c5c9700dd613ab209075a1b19329c0d7a4401791c3bbb508df28acd9210068e +SIZE (go/net_geoipupdate/geoipupdate-v4.11.1/v4.11.1.zip) = 53880