Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

Commit

Permalink
Prepare for 2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Jan 5, 2017
1 parent 578f5b5 commit 4aae61d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
12 changes: 12 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
GeoIP Update Change Log
=======================

2.3.1 (2017-01-05)
------------------

* 2.3.0 was missing `GeoIP.conf.default`. This was added to the dist.
* The directory creation of `$(sysconfdir)` added in 2.3.0 incorrectly ran if
the directory already existed rather than if it did not exist.

2.3.0 (2017-01-04)
------------------

* `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.
* Install README, ChangeLog, GeoIP.conf.default etc into docdir. PR by
Philip Prindeville. GitHub #33.
* `$(sysconfdir)` is now created if it doesn't exist. PR by Philip
Prindeville. GitHub #33.
* The sample config file is now usable. PR by Philip Prindeville. GitHub #33.

2.2.2 (2016-01-21)
------------------
Expand Down
6 changes: 4 additions & 2 deletions conf/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
DEFAULT_CONFIG_FILE = $(sysconfdir)/GeoIP.conf

EXTRA_DIST=GeoIP.conf.default

install-exec-hook:
@if test -d "$(DESTDIR)$(sysconfdir)" ; then \
@if [ ! -d "$(DESTDIR)$(sysconfdir)" ]; then \
echo "$(MKDIR_P) $(DESTDIR)$(sysconfdir)" ; \
$(MKDIR_P) "$(DESTDIR)$(sysconfdir)" ; \
fi
@if test -f "$(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; then \
@if [ -f "$(DESTDIR)$(DEFAULT_CONFIG_FILE)" ]; then \
echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; \
else \
echo "$(INSTALL_DATA) GeoIP.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \
Expand Down

0 comments on commit 4aae61d

Please sign in to comment.