geoipupdate: Update to 4.1.0
This commit is contained in:
parent
b94e61b13d
commit
88d2d3caf6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=517013
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= geoipupdate
|
||||
PORTVERSION= 4.0.5
|
||||
PORTVERSION= 4.1.0
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= net geography
|
||||
|
||||
@ -28,7 +28,7 @@ GH_SUBDIR= src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME}
|
||||
# Not needed: go-spew, pretty, testify
|
||||
GH_TUPLE= gofrs:flock:v0.7.1:flock/src/github.com/gofrs/flock \
|
||||
pkg:errors:v0.8.1:pkg/src/github.com/pkg/errors \
|
||||
spf13:pflag:v1.0.3:pflag/src/github.com/spf13/pflag
|
||||
spf13:pflag:v1.0.5:pflag/src/github.com/spf13/pflag
|
||||
|
||||
OPTIONS_DEFINE= DOCS MANPAGES
|
||||
OPTIONS_DEFAULT=MANPAGES
|
||||
@ -42,9 +42,8 @@ PLIST_FILES= bin/geoipupdate \
|
||||
'@dir share/GeoIP'
|
||||
PORTDOCS= GeoIP.conf.md geoipupdate.md
|
||||
|
||||
post-patch:
|
||||
post-extract:
|
||||
${RM} ${WRKSRC}/go.mod
|
||||
${REINPLACE_CMD} -e '/make-man-pages.pl/d' ${WRKSRC}/Makefile
|
||||
|
||||
do-build-MANPAGES-on:
|
||||
{ ${PRINTF} "title: geoipupdate\n\n" && ${CAT} ${WRKSRC}/doc/geoipupdate.md; } \
|
||||
|
@ -1,9 +1,9 @@
|
||||
TIMESTAMP = 1568387349
|
||||
SHA256 (maxmind-geoipupdate-v4.0.5_GH0.tar.gz) = c13a919ffd5ae3cc61469d26672bddd39c682a93928ff980f8b4b19f341009d3
|
||||
SIZE (maxmind-geoipupdate-v4.0.5_GH0.tar.gz) = 23529
|
||||
TIMESTAMP = 1573160162
|
||||
SHA256 (maxmind-geoipupdate-v4.1.0_GH0.tar.gz) = 8784286560a6c3f93516f5bf31bb21f0c1c4f804777a4a2461745d6a6fd124ab
|
||||
SIZE (maxmind-geoipupdate-v4.1.0_GH0.tar.gz) = 24774
|
||||
SHA256 (gofrs-flock-v0.7.1_GH0.tar.gz) = d4e33c3923e671fe6288a6dcb6618b7c46834c1a387653f482f5247c5a132dea
|
||||
SIZE (gofrs-flock-v0.7.1_GH0.tar.gz) = 7294
|
||||
SHA256 (pkg-errors-v0.8.1_GH0.tar.gz) = 7a428967c6fc2e80cd84a0d9469ab6bd4dbe6b13493ba6294322a933a5a7e356
|
||||
SIZE (pkg-errors-v0.8.1_GH0.tar.gz) = 11009
|
||||
SHA256 (spf13-pflag-v1.0.3_GH0.tar.gz) = 9e57f86f493f04d9077fccd04e7139ebf243dd544e917ab83d35729b3e54a124
|
||||
SIZE (spf13-pflag-v1.0.3_GH0.tar.gz) = 46002
|
||||
SHA256 (spf13-pflag-v1.0.5_GH0.tar.gz) = 9a2cae1f8e8ab0d2cc8ebe468e871af28d9ac0962cf0520999e3ba85f0c7b808
|
||||
SIZE (spf13-pflag-v1.0.5_GH0.tar.gz) = 50796
|
||||
|
20
net/geoipupdate/files/patch-Makefile
Normal file
20
net/geoipupdate/files/patch-Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
--- Makefile.orig 2019-11-07 20:59:07 UTC
|
||||
+++ Makefile
|
||||
@@ -41,9 +41,6 @@ $(BUILDDIR):
|
||||
mkdir -p $(BUILDDIR)
|
||||
|
||||
$(BUILDDIR)/geoipupdate: $(BUILDDIR)
|
||||
- go fmt ./...
|
||||
- golangci-lint run
|
||||
- go test ./...
|
||||
(cd cmd/geoipupdate && go build -ldflags '-X main.defaultConfigFile=$(CONFFILE) -X main.defaultDatabaseDirectory=$(DATADIR) -X "main.version=$(VERSION)"')
|
||||
cp cmd/geoipupdate/geoipupdate $(BUILDDIR)
|
||||
|
||||
@@ -57,7 +54,6 @@ $(BUILDDIR)/geoipupdate.md: $(BUILDDIR) doc/geoipupdat
|
||||
sed -e 's|CONFFILE|$(CONFFILE)|g' -e 's|DATADIR|$(DATADIR)|g' -e 's|$$|$(MAYBE_CR)|g' doc/geoipupdate.md > $(BUILDDIR)/geoipupdate.md
|
||||
|
||||
$(BUILDDIR)/GeoIP.conf.5: $(BUILDDIR)/GeoIP.conf.md $(BUILDDIR)/geoipupdate.md
|
||||
- dev-bin/make-man-pages.pl "$(BUILDDIR)"
|
||||
|
||||
$(BUILDDIR)/geoipupdate.1: $(BUILDDIR)/GeoIP.conf.5
|
||||
|
Loading…
Reference in New Issue
Block a user