public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/geoipupdate] epel10.3: Update to 2.3.1
@ 2026-11-25 19:41 Paul Howarth
0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-11-25 19:41 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/geoipupdate
Branch : epel10.3
Commit : 54918eda07389e4f9fa9b8019f709273c8dc2c48
Author : Paul Howarth <paul@city-fan.org>
Date : 2017-01-05T11:04:34+00:00
Stats : +16/-363 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/geoipupdate/c/54918eda07389e4f9fa9b8019f709273c8dc2c48?branch=epel10.3
Log:
Update to 2.3.1
- New upstream release 2.3.1
- 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 (GH#33)
- $(sysconfdir) is now created if it doesn't exist (GH#33)
- The sample config file is now usable (GH#33)
---
diff --git a/.gitignore b/.gitignore
index bd3ab19..9243c59 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/geoipupdate-2.1.0.tar.gz
/geoipupdate-2.2.1.tar.gz
/geoipupdate-2.2.2.tar.gz
+/geoipupdate-2.3.1.tar.gz
diff --git a/geoipupdate-2.2.1-docdir.patch b/geoipupdate-2.2.1-docdir.patch
deleted file mode 100644
index 7f3d6a8..0000000
--- a/geoipupdate-2.2.1-docdir.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- configure.ac
-+++ configure.ac
-@@ -10,6 +10,7 @@ AC_PREREQ
-
- AC_PROG_CC_C99
- AC_PROG_LIBTOOL
-+AC_PROG_MKDIR_P
-
- AC_CHECK_TYPE(byte,[AC_DEFINE(HAVE_BYTE_TYPEDEF)],[])
- AC_CHECK_TYPE(ushort,[AC_DEFINE(HAVE_USHORT_TYPEDEF)],[])
---- conf/Makefile.am
-+++ conf/Makefile.am
-@@ -1,8 +1,10 @@
--dist_sysconf_DATA = GeoIP.conf.default
--
- DEFAULT_CONFIG_FILE = $(sysconfdir)/GeoIP.conf
-
- install-exec-hook:
-+ @if test ! -d "$(DESTDIR)$(sysconfdir)" ; then \
-+ echo "$(MKDIR_P) $(DESTDIR)$(sysconfdir)" ; \
-+ $(MKDIR_P) "$(DESTDIR)$(sysconfdir)" ; \
-+ fi
- @if test -f "$(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; then \
- echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; \
- else \
---- Makefile.am
-+++ Makefile.am
-@@ -8,3 +8,5 @@ SUBDIRS = \
- man
-
- EXTRA_DIST = ChangeLog.md LICENSE README.md bootstrap
-+
-+doc_DATA = ChangeLog.md README.md conf/GeoIP.conf.default
diff --git a/geoipupdate-2.2.2-autotools.patch b/geoipupdate-2.2.2-autotools.patch
deleted file mode 100644
index 7b7d7b5..0000000
--- a/geoipupdate-2.2.2-autotools.patch
+++ /dev/null
@@ -1,313 +0,0 @@
---- aclocal.m4
-+++ aclocal.m4
-@@ -1,4 +1,5 @@
- # generated automatically by aclocal 1.15 -*- Autoconf -*-
-+# and touched to get build order right
-
- # Copyright (C) 1996-2014 Free Software Foundation, Inc.
-
---- configure
-+++ configure
-@@ -11796,6 +11796,7 @@ CC="$lt_save_CC"
-
-
-
-+
- ac_fn_c_check_type "$LINENO" "byte" "ac_cv_type_byte" "$ac_includes_default"
- if test "x$ac_cv_type_byte" = xyes; then :
- $as_echo "#define HAVE_BYTE_TYPEDEF 1" >>confdefs.h
---- conf/Makefile.in
-+++ conf/Makefile.in
-@@ -13,7 +13,6 @@
- # PARTICULAR PURPOSE.
-
- @SET_MAKE@
--
- VPATH = @srcdir@
- am__is_gnu_make = { \
- if test -z '$(MAKELEVEL)'; then \
-@@ -93,8 +92,7 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- am__aclocal_m4_deps = $(top_srcdir)/configure.ac
- am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
--DIST_COMMON = $(srcdir)/Makefile.am $(dist_sysconf_DATA) \
-- $(am__DIST_COMMON)
-+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
- mkinstalldirs = $(install_sh) -d
- CONFIG_CLEAN_FILES =
- CONFIG_CLEAN_VPATH_FILES =
-@@ -117,35 +115,6 @@ am__can_run_installinfo = \
- n|no|NO) false;; \
- *) (install-info --version) >/dev/null 2>&1;; \
- esac
--am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
--am__vpath_adj = case $$p in \
-- $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-- *) f=$$p;; \
-- esac;
--am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
--am__install_max = 40
--am__nobase_strip_setup = \
-- srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
--am__nobase_strip = \
-- for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
--am__nobase_list = $(am__nobase_strip_setup); \
-- for p in $$list; do echo "$$p $$p"; done | \
-- sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-- $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-- if (++n[$$2] == $(am__install_max)) \
-- { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-- END { for (dir in files) print dir, files[dir] }'
--am__base_list = \
-- sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-- sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
--am__uninstall_files_from_dir = { \
-- test -z "$$files" \
-- || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-- || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-- $(am__cd) "$$dir" && rm -f $$files; }; \
-- }
--am__installdirs = "$(DESTDIR)$(sysconfdir)"
--DATA = $(dist_sysconf_DATA)
- am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
- am__DIST_COMMON = $(srcdir)/Makefile.in
- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-@@ -264,7 +233,6 @@ target_alias = @target_alias@
- top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--dist_sysconf_DATA = GeoIP.conf.default
- DEFAULT_CONFIG_FILE = $(sysconfdir)/GeoIP.conf
- all: all-am
-
-@@ -304,27 +272,6 @@ mostlyclean-libtool:
-
- clean-libtool:
- -rm -rf .libs _libs
--install-dist_sysconfDATA: $(dist_sysconf_DATA)
-- @$(NORMAL_INSTALL)
-- @list='$(dist_sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
-- if test -n "$$list"; then \
-- echo " $(MKDIR_P) '$(DESTDIR)$(sysconfdir)'"; \
-- $(MKDIR_P) "$(DESTDIR)$(sysconfdir)" || exit 1; \
-- fi; \
-- for p in $$list; do \
-- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-- echo "$$d$$p"; \
-- done | $(am__base_list) | \
-- while read files; do \
-- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sysconfdir)'"; \
-- $(INSTALL_DATA) $$files "$(DESTDIR)$(sysconfdir)" || exit $$?; \
-- done
--
--uninstall-dist_sysconfDATA:
-- @$(NORMAL_UNINSTALL)
-- @list='$(dist_sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
-- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-- dir='$(DESTDIR)$(sysconfdir)'; $(am__uninstall_files_from_dir)
- tags TAGS:
-
- ctags CTAGS:
-@@ -364,11 +311,8 @@ distdir: $(DISTFILES)
- done
- check-am: all-am
- check: check-am
--all-am: Makefile $(DATA)
-+all-am: Makefile
- installdirs:
-- for dir in "$(DESTDIR)$(sysconfdir)"; do \
-- test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-- done
- install: install-am
- install-exec: install-exec-am
- install-data: install-data-am
-@@ -425,7 +369,7 @@ install-dvi: install-dvi-am
-
- install-dvi-am:
-
--install-exec-am: install-dist_sysconfDATA
-+install-exec-am:
- @$(NORMAL_INSTALL)
- $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
- install-html: install-html-am
-@@ -464,7 +408,7 @@ ps: ps-am
-
- ps-am:
-
--uninstall-am: uninstall-dist_sysconfDATA
-+uninstall-am:
- @$(NORMAL_INSTALL)
- $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
- .MAKE: install-am install-exec-am install-strip uninstall-am
-@@ -472,21 +416,23 @@ uninstall-am: uninstall-dist_sysconfDATA
- .PHONY: all all-am check check-am clean clean-generic clean-libtool \
- cscopelist-am ctags-am distclean distclean-generic \
- distclean-libtool distdir dvi dvi-am html html-am info info-am \
-- install install-am install-data install-data-am \
-- install-dist_sysconfDATA install-dvi install-dvi-am \
-- install-exec install-exec-am install-exec-hook install-html \
-- install-html-am install-info install-info-am install-man \
-- install-pdf install-pdf-am install-ps install-ps-am \
-- install-strip installcheck installcheck-am installdirs \
-- maintainer-clean maintainer-clean-generic mostlyclean \
-- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-- tags-am uninstall uninstall-am uninstall-dist_sysconfDATA \
-- uninstall-hook
-+ install install-am install-data install-data-am install-dvi \
-+ install-dvi-am install-exec install-exec-am install-exec-hook \
-+ install-html install-html-am install-info install-info-am \
-+ install-man install-pdf install-pdf-am install-ps \
-+ install-ps-am install-strip installcheck installcheck-am \
-+ installdirs maintainer-clean maintainer-clean-generic \
-+ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
-+ ps ps-am tags-am uninstall uninstall-am uninstall-hook
-
- .PRECIOUS: Makefile
-
-
- install-exec-hook:
-+ @if test ! -d "$(DESTDIR)$(sysconfdir)" ; then \
-+ echo "$(MKDIR_P) $(DESTDIR)$(sysconfdir)" ; \
-+ $(MKDIR_P) "$(DESTDIR)$(sysconfdir)" ; \
-+ fi
- @if test -f "$(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; then \
- echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; \
- else \
---- Makefile.in
-+++ Makefile.in
-@@ -13,6 +13,7 @@
- # PARTICULAR PURPOSE.
-
- @SET_MAKE@
-+
- VPATH = @srcdir@
- am__is_gnu_make = { \
- if test -z '$(MAKELEVEL)'; then \
-@@ -126,6 +127,35 @@ am__can_run_installinfo = \
- n|no|NO) false;; \
- *) (install-info --version) >/dev/null 2>&1;; \
- esac
-+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-+am__vpath_adj = case $$p in \
-+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-+ *) f=$$p;; \
-+ esac;
-+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-+am__install_max = 40
-+am__nobase_strip_setup = \
-+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-+am__nobase_strip = \
-+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-+am__nobase_list = $(am__nobase_strip_setup); \
-+ for p in $$list; do echo "$$p $$p"; done | \
-+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-+ if (++n[$$2] == $(am__install_max)) \
-+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-+ END { for (dir in files) print dir, files[dir] }'
-+am__base_list = \
-+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-+am__uninstall_files_from_dir = { \
-+ test -z "$$files" \
-+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-+ $(am__cd) "$$dir" && rm -f $$files; }; \
-+ }
-+am__installdirs = "$(DESTDIR)$(docdir)"
-+DATA = $(doc_DATA)
- RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
- distclean-recursive maintainer-clean-recursive
- am__recursive_targets = \
-@@ -322,6 +352,7 @@ SUBDIRS = \
- man
-
- EXTRA_DIST = ChangeLog.md LICENSE README.md bootstrap
-+doc_DATA = ChangeLog.md README.md conf/GeoIP.conf.default
- all: all-recursive
-
- .SUFFIXES:
-@@ -367,6 +398,27 @@ clean-libtool:
-
- distclean-libtool:
- -rm -f libtool config.lt
-+install-docDATA: $(doc_DATA)
-+ @$(NORMAL_INSTALL)
-+ @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
-+ if test -n "$$list"; then \
-+ echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \
-+ $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \
-+ fi; \
-+ for p in $$list; do \
-+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-+ echo "$$d$$p"; \
-+ done | $(am__base_list) | \
-+ while read files; do \
-+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \
-+ $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \
-+ done
-+
-+uninstall-docDATA:
-+ @$(NORMAL_UNINSTALL)
-+ @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
-+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-+ dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir)
-
- # This directory's subdirectories are mostly independent; you can cd
- # into them and run 'make' without going through this Makefile.
-@@ -664,9 +716,12 @@ distcleancheck: distclean
- exit 1; } >&2
- check-am: all-am
- check: check-recursive
--all-am: Makefile
-+all-am: Makefile $(DATA)
- installdirs: installdirs-recursive
- installdirs-am:
-+ for dir in "$(DESTDIR)$(docdir)"; do \
-+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-+ done
- install: install-recursive
- install-exec: install-exec-recursive
- install-data: install-data-recursive
-@@ -719,7 +774,7 @@ info: info-recursive
-
- info-am:
-
--install-data-am:
-+install-data-am: install-docDATA
-
- install-dvi: install-dvi-recursive
-
-@@ -765,7 +820,7 @@ ps: ps-recursive
-
- ps-am:
-
--uninstall-am:
-+uninstall-am: uninstall-docDATA
-
- .MAKE: $(am__recursive_targets) install-am install-strip
-
-@@ -776,14 +831,15 @@ uninstall-am:
- dist-xz dist-zip distcheck distclean distclean-generic \
- distclean-libtool distclean-tags distcleancheck distdir \
- distuninstallcheck dvi dvi-am html html-am info info-am \
-- install install-am install-data install-data-am install-dvi \
-- install-dvi-am install-exec install-exec-am install-html \
-- install-html-am install-info install-info-am install-man \
-- install-pdf install-pdf-am install-ps install-ps-am \
-- install-strip installcheck installcheck-am installdirs \
-- installdirs-am maintainer-clean maintainer-clean-generic \
-- mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
-- ps ps-am tags tags-am uninstall uninstall-am
-+ install install-am install-data install-data-am \
-+ install-docDATA install-dvi install-dvi-am install-exec \
-+ install-exec-am install-html install-html-am install-info \
-+ install-info-am install-man install-pdf install-pdf-am \
-+ install-ps install-ps-am install-strip installcheck \
-+ installcheck-am installdirs installdirs-am maintainer-clean \
-+ maintainer-clean-generic mostlyclean mostlyclean-generic \
-+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
-+ uninstall-am uninstall-docDATA
-
- .PRECIOUS: Makefile
-
diff --git a/geoipupdate.spec b/geoipupdate.spec
index 80c7003..b1c187a 100644
--- a/geoipupdate.spec
+++ b/geoipupdate.spec
@@ -4,8 +4,8 @@
%global _hardened_build 1
Name: geoipupdate
-Version: 2.2.2
-Release: 2%{?dist}
+Version: 2.3.1
+Release: 1%{?dist}
Summary: Update GeoIP2 and GeoIP Legacy binary databases from MaxMind
Group: Development/Tools
License: GPLv2
@@ -13,8 +13,6 @@ URL: http://dev.maxmind.com/geoip/geoipupdate/
Source0: http://github.com/maxmind/geoipupdate/releases/download/v%{version}/geoipupdate-%{version}.tar.gz
Source1: geoipupdate.cron
Source2: geoipupdate6.cron
-Patch0: geoipupdate-2.2.1-docdir.patch
-Patch1: geoipupdate-2.2.2-autotools.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildRequires: coreutils
BuildRequires: curl-devel
@@ -65,13 +63,6 @@ Cron job for weekly updates to GeoIP IPv6 Legacy database from MaxMind.
%prep
%setup -q
-# GeoIP.conf.default should install into $(docdir) and not $(sysconfdir)
-# https://github.com/maxmind/geoipupdate/issues/26
-%patch0
-
-# Changes to autotools-generated files as a result of previous patch
-%patch1
-
%build
%configure --disable-static --disable-dependency-tracking
make %{?_smp_mflags}
@@ -83,11 +74,8 @@ make install DESTDIR=%{buildroot}
# We'll package the documentation ourselves
rm -rf %{buildroot}%{_datadir}/doc/geoipupdate
-# Fix up the config file to have geoipupdate fetch the free products by default
-sed -i \
- -e 's/YOUR_USER_ID_HERE$/999999/' \
- -e 's/YOUR_LICENSE_KEY_HERE$/000000000000/' \
- -e 's/^\(ProductIds\) .*$/\1 506 517 533/' \
+# Fix up the config file to have geoipupdate fetch the free legacy databases by default
+sed -i -e 's/^\(ProductIds\) .*$/\1 506 517 533/' \
%{buildroot}%{_sysconfdir}/GeoIP.conf
install -D -m 755 %{SOURCE1} %{buildroot}%{_sysconfdir}/cron.weekly/geoipupdate
@@ -126,6 +114,16 @@ rm -rf %{buildroot}
%ghost %{_datadir}/GeoIP/download/GeoIPASNumv6.dat.gz
%changelog
+* Thu Jan 5 2017 Paul Howarth <paul@city-fan.org> - 2.3.1-1
+- Update to 2.3.1
+ - 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 (GH#33)
+ - $(sysconfdir) is now created if it doesn't exist (GH#33)
+ - The sample config file is now usable (GH#33)
+
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
diff --git a/sources b/sources
index f6f5a9b..68dffd2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-06284bd7bcb298d078d794eb630dae55 geoipupdate-2.2.2.tar.gz
+SHA512 (geoipupdate-2.3.1.tar.gz) = 98537e17ea03dbc0e377bf3fd045a96cbcf2f36f1fbcdf494f0a60d15f9ea5d2f0cd5e127245c6425e0ff8b77028147a2a6316034752298c8e9671007b7245a1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-25 19:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-25 19:41 [rpms/geoipupdate] epel10.3: Update to 2.3.1 Paul Howarth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox