<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5be15d82debc150a796027cc3d3fe7735985c482">https://github.com/macports/macports-ports/commit/5be15d82debc150a796027cc3d3fe7735985c482</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5be15d82debc150a796027cc3d3fe7735985c482
</span>Author: Allan Que <allan.que@gmail.com>
AuthorDate: Thu Nov 23 23:34:28 2023 -0600
<span style='display:block; white-space:pre;color:#404040;'> geoipupdate: update to 6.0.0
</span>---
devel/geoipupdate/Portfile | 132 +++++++++++++++++++++++++++++++++++++++------
1 file changed, 116 insertions(+), 16 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/geoipupdate/Portfile b/devel/geoipupdate/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0533986f499..940af034e67 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/geoipupdate/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/geoipupdate/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,37 +1,137 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup legacysupport 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup golang 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup maxmind geoipupdate 3.1.1 v
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+go.setup github.com/maxmind/geoipupdate 6.0.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> categories devel net
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> maintainers nomaintainer
description Maxmind geoip databse updater
license {Apache-2 MIT}
long_description {*}${description}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://dev.maxmind.com/geoip/geoipupdate/
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://dev.maxmind.com/geoip/geoipupdate/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-github.tarball_from releases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:zlib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:curl
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 22370b2590f934747ee2b5a82221b82a1f6043f8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 3de22e3fe3282024288a00807bbea9a1ffa2d1e8fe9c611f4b14a5b4d8ebe08a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 366789
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pandoc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:perl5
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:zlib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:curl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums ${distname}${extract.suffix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 417e901b848d8f334c955f9967a3bae31180cf1a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 569dd5995e6c7dd14cec75a8371265d22f22d84ca70496779f451298448a6465 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 46529
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+go.vendors gopkg.in/yaml.v3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock v3.0.1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 e85ac1368fb7f9ef945b7fd7bd608a1f0d261c12 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f3ea6be3f405ec25f8799773355aba54f8831d11f5315a01155bdc69b92eca7b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 91208 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gopkg.in/check.v1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock 038fdea0a05b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 0f1896097db9d42b2fb5d62999bb52c77635f758 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a82bd5c6960aa523c4dd8b30d52c3a7e8a5382e91f25862ef277bedf5c107007 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 31647 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ golang.org/x/sys \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock v0.8.0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 e678fbf405f6f2de2dd29b0a8b71baec9f1f1321 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 8c0922a390cb8c22c340d69aa24ecf3cd923b30ca28dc96965d32d4b3a4e917d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1436856 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ golang.org/x/sync \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock v0.5.0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 510a82f4888a99756ad7287f8129821003540e2b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 7941823efeb75c83632f4a652286074917418f2539a05abf8fee6c09329711b3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 17575 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.com/stretchr/testify \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock v1.8.4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 8e1645055c9b1d8e117df7974034e74b7f600d27 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6d0a77075bbe0f8f1c0cbed51dd4d174579db976fef39d9ae6b500aab8917d6a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 104469 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.com/spf13/pflag \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock v1.0.5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 2ce81608a38c6f383a35bccd24d64361df5828c9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 7f41acdcba65b1fab5b9b633947a139f9915b60f94bdab486cdbe9d90c54f61e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 50815 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.com/pmezard/go-difflib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock v1.0.0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 fc879bfbdef9e3ff50844def58404e2b5a613ab8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 7cd492737641847266115f3060489a67f63581e521a8ec51efbc280c33fc991f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 11409 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.com/niemeyer/pretty \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock a10e7caefd8e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 46bcfc3db9e3d98acbacd1f96d9483fa360f88b7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 97b952a32175ba84349ef352e523bfa15bf3a06e07e44458a908061fbc519b40 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 9405 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.com/kr/text \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock v0.2.0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 48558c7e8ff67d510f83c66883907e95f4783163 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 2f2e21ac8a9d523e88cbba4039441defc4a66bfaa78811c900a88fcf28729c4c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 8702 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.com/gofrs/flock \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock v0.8.1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 7ccfc1c50e85c62dab7e3ad2b0c7a0212c4f481c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6e35685e7796d4b36b90d4a908270e16868a44e06fcb890c1ec13d34cbb092ea \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 9059 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.com/davecgh/go-spew \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock v1.1.1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 7c02883aa81f81aca14e13a27fdca9e7fbc136f7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e85d6afa83e64962e0d63dd4812971eccf2b9b5445eda93f46a4406f0c177d5f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 42171 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.com/cenkalti/backoff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock v4.2.1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 e4ac343410906a6a1ab0acd578ce034783b5ab42 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f30a8b3e79935ada4f425a1e19ba42863bc00e42a981d5b936f7555bd326651d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 10399
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args "-ldflags '" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-X main.defaultConfigFile=${prefix}/etc/GeoIP.conf" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-X main.defaultDatabaseDirectory=${prefix}/share/GeoIP" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-X main.version=${version}'" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ./cmd/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set docs_path ${worksrcpath}/doc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set conf_path ${worksrcpath}/conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.cmd ${worksrcpath}/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.target {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.args "-V"
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #- move default conf to GeoIP.conf.default
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file rename ${destroot}${prefix}/etc/GeoIP.conf ${destroot}${prefix}/etc/GeoIP.conf.default
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach f [concat [glob -type f -dir ${docs_path} *.md] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${conf_path}/GeoIP.conf.default] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # update paths before generating man pages
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q "s|CONFFILE|${prefix}/etc/GeoIP.conf|g" ${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q "s|DATADIR|${prefix}/share/GeoIP|g" ${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q "s|\$\$||g" ${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|#!/usr/bin/env perl|#!${prefix}/bin/perl5|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/dev-bin/make-man-pages.pl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${docs_path} "${worksrcpath}/dev-bin/make-man-pages.pl ${docs_path}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.keepdirs ${destroot}${prefix}/share/GeoIP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # install bin file, man pages and config file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${docs_path}/${name}.1 ${destroot}${prefix}/share/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${docs_path}/GeoIP.conf.5 ${destroot}${prefix}/share/man/man5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${conf_path}/GeoIP.conf.default ${destroot}${prefix}/etc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # install doc files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -W ${worksrcpath} -m 0444 CHANGELOG.md LICENSE-APACHE LICENSE-MIT \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/doc/${name}
</span> }
post-activate {
#- set up to use the free DBs if we don't already have a configuration
if {![file exists ${prefix}/etc/GeoIP.conf]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy ${prefix}/etc/GeoIP.conf.default ${prefix}/etc/GeoIP.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file rename ${prefix}/etc/GeoIP.conf.default ${prefix}/etc/GeoIP.conf
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>