Commit graph

90 commits

Author SHA1 Message Date
Adam Weinberger
87f97087db Update to 1.6.6. 2015-08-15 15:50:51 +00:00
Adam Weinberger
59b6b01294 Stop trying to be a parselmouth. 2015-05-08 17:22:58 +00:00
Adam Weinberger
03f6bff777 Support fetching the GeoLite City and GeoLite ASN databases.
Requested by:	Scott Loga
2015-05-08 17:19:04 +00:00
Adam Weinberger
b16439d863 Allow the server for the GeoIP database to be altered by an environment
variable.

PR:		199768

While here, regenerate patch with 'make makepatch' to appease portlint.
2015-04-30 04:28:27 +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
bdb7263c05 Update to 1.6.5. 2015-02-26 19:09:47 +00:00
Adam Weinberger
8073e78977 Update WWW. Old URL no longer exists. 2015-01-31 15:10:24 +00:00
Adam Weinberger
055244168e Update to 1.6.4. 2015-01-13 16:38:35 +00:00
Adam Weinberger
d9582fb7f0 DATADIR needs to be created as an empty dir for geoipupdate.sh.
Submitted by:	Herbert J. Skuhra
2014-11-16 16:25:46 +00:00
Adam Weinberger
607b7700df Update to 1.6.3. Add LICENSE. 2014-10-29 21:47:25 +00:00
Adam Weinberger
d3d9a5a97e Create the temporary directory within DATADIR, to ensure they're created
on the same device as their destination.

While here, use USES=autoreconf, and remove the @dirrm.

PR:		194086
Submitted by:	Yasuhito FUTATSUKI
2014-10-13 01:31:28 +00:00
Adam Weinberger
6ade92e79b Rather than fetching the data files and piping them through gunzip,
download them completely and then gunzip them. This preserves the
modtimes, and is the only way of knowing the actual age of the
data files.

Suggested by:	ache
2014-09-06 23:03:41 +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
Adam Weinberger
38ec20b411 Ensure that DATADIR exists before attempting to fetch the data files
into it. Also, make the script more robust and ask fewer questions in
adverse conditions.

PORTREVISION bump.

PR:		192597
Submitted by:	mandree
2014-08-11 20:16:28 +00:00
Matthias Andree
bbfe5de965 Fix build as unprivileged user again, adding patch-man__Makefile.am.
Approved by:	portmgr (blanket "just fix it" approval)
2014-08-11 18:41:31 +00:00
Adam Weinberger
c66fafa193 Remove :oldver from GeoIP's USES=libtool. This allows the port to install
the proper shlib version, and removes libGeoIP.la.
2014-08-11 17:04:17 +00:00
Adam Weinberger
d4c6da7c6e Give at least some indication of what is happening. 2014-07-28 15:35:36 +00:00
Adam Weinberger
07fb5e0167 Update GeoIP to 1.6.0.
With this update, GeoIP no longer ships with the GeoIP data files, so
you MUST fetch them yourself, by running the geoipupdate.sh script.
2014-07-28 15:26:32 +00:00
Matthias Andree
8c9b5cff7c Fix unprivileged build. Remove libtool from USE_AUTOTOOLS.
Make sure that Makefile.am is patched, a Makefile.in patch is useless
with USE_AUTOTOOLS=automake.

Remove libtool from USE_AUTOTOOLS, USES already contains libtool, to
fix a DEVELOPER=yes warning.

Approved by:	portmgr (blanket "just fix it" approval)
2014-07-23 19:27:16 +00:00
Adam Weinberger
cb0167cf82 Fetch the GeoIPv6 data along with the IPv4 data. This change
means that to update the IPv6 data you must use the included
geoipupdate.sh script, not the source-provided geoipdate command.
Add a pkg-message about how to update.

PR:		189618
Submitted by:	futatuki@yf.bsdclub.org

Also,
PR:		187906
Submitted by:	Miroslav Lachman
2014-07-22 12:24:58 +00:00
Adam Weinberger
9426d28e77 Attempt to fix port on amd64 by running autoeverything. 2014-07-01 17:32:18 +00:00
Adam Weinberger
cb00e89e4a General cleanups and simplification. Because the port includes
scripts to update the data file, turn use @sample on the data
file included in the port. PORTREVISION bump for this change.
2014-06-12 21:37:01 +00:00
Adam Weinberger
e1932e4c5a Take these two. 2014-06-12 20:40:41 +00:00
Dmitry Marakasov
b40ca8037d - Swith to USES=libtool
- Fix install as non-root
- Whitespace fix

Approved by:	portmgr blanket
2014-06-10 22:12:46 +00:00
Martin Wilke
66bbb742c7 - Stage support 2014-02-10 03:19:23 +00:00
Baptiste Daroussin
0c710c7b4e Add NO_STAGE all over the place in preparation for the staging support (cat: net) 2013-09-20 22:10:23 +00:00
Michael Scheidell
3c3ab07abe - Fix insecure handling of GeoIP download file
- Bump PORTREVISION since we change package

PR:		ports/145425
Submitted by:	anatoly pugachev <matorola@gmail.com>
Approved by:	dhn@ (maintainer)
2012-07-04 11:22:49 +00:00
Dennis Herrmann
7765b6e078 - Update URL in files/geoipupdate.sh
- Bump PORTREVISION

PR:		ports/165379
Submitted by:	Seiji Ariga <freebsd@khaotic.net>
2012-02-22 20:23:27 +00:00
Martin Wilke
e1c6649edf - Remove WITH_FBSD10_FIX, is no longer needed 2011-11-09 15:26:04 +00:00
Martin Wilke
69a39f5f38 - Fix build on FreeBSD 10
Reported by:	pointyhat
2011-10-29 10:03:08 +00:00
Koop Mast
0e682dded4 Remove USE_GNOME=gnometarget from ports. It has been a empty keyword since
mid 2008.

PR:		ports/159624
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-08-11 19:20:17 +00:00
Dennis Herrmann
e6dba568ae - Fix to install complete
- Bump PORTREVISION

PR:		ports/159145
Submitted by:	Barbara <barbara.xxx1975@libero.it>
2011-07-23 22:30:39 +00:00
Dennis Herrmann
9dd53ec712 - Update to 1.4.8 2011-07-23 16:39:41 +00:00
Dennis Herrmann
2fc7ab7c57 - Update to 1.4.7 2011-04-23 08:42:30 +00:00
Dennis Herrmann
58b6bf3176 - Remove memcpy/bcopy macro
- Bump PORTREVISION

PR:		ports/152548
Submitted by:	Dmitry Marakasov <amdmi3@amdmi3.ru>
2011-03-27 11:58:26 +00:00
Martin Wilke
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Jeremy Messenger
789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00
Dennis Herrmann
2b3b399de8 - Use my FreeBSD address on the ports I maintain
Approved by:	tabthorpe (co-mentor)
2009-03-06 18:14:36 +00:00
Martin Wilke
6b05f19d95 = Update to 1.4.6
PR:		132161
Submitted by:	Dennis Herrmann <adox@mcx2.org> (maintainer)
2009-02-27 14:40:43 +00:00
Pav Lucistnik
f7cab0037d - Update download locations 2009-01-20 15:03:24 +00:00
Martin Wilke
33372939c6 - Fix Country database url
PR:		129124
Submitted by:	Bogdan Culibrk <bc@default.rs>
Approved by:	maintainer
2008-12-01 21:15:44 +00:00
Martin Wilke
83e82afc89 - Update to 1.4.5
- Pass maintainership to submitter

PR:		128156
Submitted by:	Dennis Herrmann <adox@mcx2.org>
2008-10-19 14:39:52 +00:00
Yen-Ming Lee
b055fdf48b - add the missing file in my previous commit 2008-07-03 21:52:34 +00:00
Yen-Ming Lee
5ce08c8e52 - update geoipupdate.sh to update the free database (GeoLite country)
- bump PORTREVISION

Submitted by:	Peter Clark <clarkp at mtmary.edu>
2008-07-03 21:51:55 +00:00
Martin Wilke
014cdf7937 - Update to 1.4.4
PR:		121620
Submitted by:	Ports Fury
2008-03-14 20:40:52 +00:00
Shaun Amott
4ede838fe5 Return to pool. 2007-12-30 23:12:46 +00:00
Cheng-Lung Sung
9092e9d8e3 - Update to 1.4.3 (required by net/p5-Geo-IP 1.30)
PR:		ports/117181
Submitted by:	Olli Hauer <ohauer_AT_gmx dot de>
Approved by:	maintainer (timeout)
2007-12-30 09:12:57 +00:00
Frank J. Laszlo
6e17578b4d - Add even more ports to the new "geography" category
Approved by:	Pav (wearing portmgr hat)
2007-07-22 19:53:52 +00:00