1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
Commit Graph

26 Commits

Author SHA1 Message Date
Adam Weinberger
a875d7c7f0 Update geoipupdate to 4.0.2 2019-01-18 20:23:46 +00:00
Adam Weinberger
c2d934fcc4 The patch (previous commit) should make this jobs-safe 2019-01-18 04:17:14 +00:00
Adam Weinberger
71a8517b7c Update to 4.0.1
Add a MANPAGES option. If you're building this from source and don't
want to spend 2 hours on 200 ports, the manpages are the same as the
DOCS. Just use those.
2019-01-18 04:14:23 +00:00
Adam Weinberger
7efdd8f843 Remove a remnant of that one time I tried to make USES=gmake play
nicely with USES=go.
2019-01-15 23:03:09 +00:00
Adam Weinberger
5a4d9e71b8 Pass variables to make(1), rather than patching 2019-01-15 21:30:11 +00:00
Adam Weinberger
1763ef1033 Update geoipupdate to 4.0.0
It is now written in go, for reasons I guess.
2019-01-15 18:59:11 +00:00
Adam Weinberger
26164efa00 Make the GeoIP and geoipupdate descriptions reflect reality
The difference is no longer paid vs. unpaid. There are free
versions of the GeoIP2 databases, and they are preferred when
supported.
2018-09-28 12:35:42 +00:00
Adam Weinberger
0d17a979ec Update geoipupdate to 3.1.1 and tag the LICENSE_FILE 2018-09-10 21:48:05 +00:00
Adam Weinberger
ce52ad6b92 Update geoipupdate to 3.1.0 2018-08-16 15:44:52 +00:00
Adam Weinberger
1a19dd5cee Update geoipupdate to 3.0.1 2018-08-14 18:38:02 +00:00
Adam Weinberger
cee90b66c0 Update geoipupdate to 3.0.0
Also, sort plist.

* BREAKING CHANGE: When downloading the free databases without a
  MaxMind account, you must either not have `AccountID`, `UserId`,
  or `LicenseKey` set in your configuration file or they must be set
  to the zero values previously recommended in our documentation. Any
  other value will cause an authorization error.
* BREAKING CHANGE: The configuration options `Protocol`,
  `SkipPeerVerification`, and `SkipHostnameVerification` are no longer
  supported. If they are present in the configuration file, they will
  be ignored. HTTPS with peer and hostname verification will be used
  on all requests.
* BREAKING CHANGE: The configuration file must have the `AccountID`
  or the deprecated `UserId` when downloading a paid database.
  Previously, when downloading the GeoIP Legacy Country database, you
  were able to only provide the `LicenseKey`.
* IMPORTANT: `geoipupdate-pureperl.pl` has been removed and will no
  longer be distributed with `geoipupdate`. This Perl script had known
  issues and did not have feature parity with the C implementation. If
  you were using the Perl version, we recommend that you switch to the
  C version. If you are not able to do this, you may continue using the
  Perl version distributed with 2.5.0.
* This program no longer uses the following endpoints:
  `/app/update_getipaddr`, `/app/update`, and `/app/update_secure`.
  `/geoip/databases/{edition_id}/update` is now used instead.
* Fixed issue in `gu_strnlen()` dereferencing a pointer before checking
  that it was in array bounds. Issue found by fcntl.
* We now update the default GeoIP.conf during installation so that
  directory paths match build parameters. Previously this config always
  said the data directory was under /usr/local/share which was not always
  accurate.
* Improve the error checking and display the underlying reason for the
  error when possible. Reported by Jonathan Kosgei. GitHub #82.
* Document that the `LockFile` is not removed from the filesystem after
  a successful exit from the program. GitHub issue #79.
* Make default configuration directory agree with default installation
  directory.
2018-08-13 20:43:36 +00:00
Adam Weinberger
792e88d540 Don't uselessly patch Makefile.am when automake isn't being run 2018-07-19 14:43:49 +00:00
Adam Weinberger
5d1c0c0741 Use the pre-rolled tarball to avoid autoreconf 2018-05-18 18:33:43 +00:00
Adam Weinberger
472a79e701 Update to 2.5.0
Also, create PREFIX/share/GeoIP, as it's needed with the default
configuration.

Note that conf option names have changed with this release, but the
old names will continue to work.

* Replace use of strnlen() due to lack of universal availability. First
  reported by Bill Cole. GitHub issue #71.
* Document the LockFile option in the GeoIP.conf man page. GitHub
  issue #64.
* Remove unused base64 library. PR by Mikhail Teterin. GitHub PR #68.
* Add the new configuration option PreserveFileTimes. If set,
  the downloaded files will get the same modification times as
  their original on the server. Default is 0 (unset).
  PR by Rainer Jung. GitHub PR #63.
* Use the correct types when calling curl_easy_setopt(). This fixes
  warnings generated by libcurl's typecheck-gcc.h. PR by Michael
  Kaufmann. GitHub PR #61.
* In GeoIP.conf, the UserId option was renamed to AccountID and the
  ProductIds option was renamed to EditionIDs. The old options will
  continue to work, but upgrading to the new names is recommended for
  forward compatibility.
2017-10-31 01:24:28 +00:00
Adam Weinberger
dd6b2a3772 Update to 2.4.0.
* geoipupdate now checks that the database directory is writable.
    If it is not, it reports the problem and aborts.

  * geoipupdate now acquires a lock when starting up to ensure only
    one instance may run at a time. A new option, LockFile, exists to
    set the file to use as a lock. By default, LockFile is the file
    .geoipupdate.lock in the database directory.

  * geoipupdate now prints out additional information from the server
    when a download request results in something other than HTTP
    status 2xx. This provides more information when the API does not
    respond with a database file. In conjunction with changes to the
    download service itself, errors such as lacking a subscription no
    longer show up with the message "not a valid gzip file".

  * ${datarootdir}/GeoIP is now created on make install. Reported by
    Antonios Karagiannis. GitHub #29.

  * Previously, a variable named ERROR was used. This caused issues
    building on Windows. Reported by Gisle Vanem. GitHub #36.
2017-05-26 17:13:19 +00:00
Adam Weinberger
646b57cc56 Update to 2.3.1. 2017-01-05 14:16:45 +00:00
Adam Weinberger
cf7a2832a3 Update to 2.3.0.
* geoipupdate now uses TCP keep-alive when compiled with cURL 7.25 or
    greater.
  * Previously, on an invalid gzip file, geoipupdate would output binary data
    to stderr. It now displays an appropriate error message.
2017-01-04 22:34:57 +00:00
Mathieu Arnold
a0bcd2cf68 Use USES=pathfix where applicable.
PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8093
2016-10-21 15:21:13 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Adam Weinberger
6c4cfd8e8e Fix order of @sample args.
Caught by:	danfe
2016-01-29 03:47:18 +00:00
Adam Weinberger
5c6f3dddec Update to 2.2.2.
Also, use localbase.mk instead of setting CPPFLAGS/LDFLAGS manually, and
use the new two-argument @sample instead of renaming and sed-ing.
2016-01-27 01:16:01 +00:00
Bryan Drewery
aa6ad6e726 USE_GITHUB: For the new support, fix DISTNAME to be more consistent.
When using GH_TAGNAME the DISTNAME would have GH_PROJECT and GH_ACCOUNT in
it. When not using GH_TAGNAME it would not have this. Now both cases
will add in the GH_PROJECT and GH_ACCOUNT.

Add special care to ensure that the DISTVERSION is not added in twice. If
a port does GH_TAGNAME=v${PORTVERSION} it will be added in twice though. For
that case DISTVERSIONPREFIX=v should be set and no GH_TAGNAME should be used.

empty() is used rather than (!defined || !${}) to support fmake.

The purpose of setting DISTNAME at all in these cases is to make it more clear
that the distfile is from *GITHUB* and to avoid collisions if a project were
to be renamed or moved. Without adding in GH_PROJECT and GH_ACCOUNT then there
are real risks that collisions on filenames would happen on renamed or moved
projects, which is fairly common. A GITHUB-generated file may not match
a custom-rolled or git-archive-rolled distfile.

PR:		199069
With hat:	portmgr
Testing done:	All USE_GITHUB ports without GH_COMMIT were checksum/fetch/extract/WRKSRC tested.
2015-04-28 18:44:04 +00:00
Adam Weinberger
d9090d1f1b Use the new USE_GITHUB format. 2015-04-19 19:19:35 +00:00
Adam Weinberger
193b3a7946 Update to 2.2.1. 2015-02-26 19:12:04 +00:00
Adam Weinberger
d75e43386f Update to 2.1.0. 2014-11-06 23:31:09 +00:00
Adam Weinberger
103461f308 - Update GeoIP to 1.6.2 and switch to its new github location.
- Add net/geoipupdate, the formal tool to fetch updates. It is for paid
  subscribers. People using the free version should continue using the
  geoipupdate.sh script in net/GeoIP.

This program is used to fetch the GeoIP2 and GeoIP databases. It requires
an active GeoIP subscription.

Please see https://www.maxmind.com/en/geolocation_landing for details about
obtaining a subscription.

If you wish to install the free versions of the GeoIP databases, please
use the geoipudate.sh script provided in net/GeoIP.

WWW: https://github.com/maxmind/geoipupdate
2014-08-27 15:53:24 +00:00