public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Howarth <paul@city-fan.org>
To: git-commits@fedoraproject.org
Subject: [rpms/geoipupdate] epel10: Update to 2.2.2
Date: Wed, 25 Nov 2026 19:40:53 GMT	[thread overview]
Message-ID: <179563565332.1.1485041229580712965.rpms-geoipupdate-55a609c9b591@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/geoipupdate
            Branch : epel10
            Commit : 55a609c9b59183fad9d6b659fa6ed35b4b985d91
            Author : Paul Howarth <paul@city-fan.org>
            Date   : 2016-01-22T13:09:22+00:00
            Stats  : +328/-324 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/geoipupdate/c/55a609c9b59183fad9d6b659fa6ed35b4b985d91?branch=epel10

            Log:
            Update to 2.2.2

- New upstream release 2.2.2
  - geoipupdate now calls fsync on the database directory after a rename to
    make it durable in the event of a crash
- Update autotools patch

---
diff --git a/.gitignore b/.gitignore
index 40015bc..bd3ab19 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /geoipupdate-2.1.0.tar.gz
 /geoipupdate-2.2.1.tar.gz
+/geoipupdate-2.2.2.tar.gz

diff --git a/geoipupdate-2.2.1-autotools.patch b/geoipupdate-2.2.1-autotools.patch
deleted file mode 100644
index abbf75b..0000000
--- a/geoipupdate-2.2.1-autotools.patch
+++ /dev/null
@@ -1,320 +0,0 @@
---- aclocal.m4
-+++ aclocal.m4
-@@ -1,4 +1,5 @@
- # generated automatically by aclocal 1.14.1 -*- Autoconf -*-
-+# and touched to get build order right
- 
- # Copyright (C) 1996-2013 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 = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
- am__make_running_with_option = \
-@@ -79,8 +78,7 @@ POST_UNINSTALL = :
- build_triplet = @build@
- host_triplet = @host@
- subdir = conf
--DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
--	$(dist_sysconf_DATA)
-+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- am__aclocal_m4_deps = $(top_srcdir)/configure.ac
- am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-@@ -107,35 +105,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)
- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- ACLOCAL = @ACLOCAL@
-@@ -253,7 +222,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
- 
-@@ -294,27 +262,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:
-@@ -354,11 +301,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
-@@ -415,7 +359,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
-@@ -454,7 +398,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
-@@ -462,19 +406,21 @@ 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
- 
- 
- 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 = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
- am__make_running_with_option = \
-@@ -80,7 +81,7 @@ host_triplet = @host@
- subdir = .
- DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
- 	$(top_srcdir)/configure $(am__configure_deps) compile \
--	config.guess config.sub install-sh missing ltmain.sh
-+	config.guess config.sub depcomp install-sh missing ltmain.sh
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- am__aclocal_m4_deps = $(top_srcdir)/configure.ac
- am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-@@ -117,6 +118,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 = \
-@@ -311,6 +341,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:
-@@ -357,6 +388,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.
-@@ -654,9 +706,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
-@@ -709,7 +764,7 @@ info: info-recursive
- 
- info-am:
- 
--install-data-am:
-+install-data-am: install-docDATA
- 
- install-dvi: install-dvi-recursive
- 
-@@ -755,7 +810,7 @@ ps: ps-recursive
- 
- ps-am:
- 
--uninstall-am:
-+uninstall-am: uninstall-docDATA
- 
- .MAKE: $(am__recursive_targets) install-am install-strip
- 
-@@ -766,14 +821,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
- 
- 
- # Tell versions [3.59,3.63) of GNU make to not export all variables.

diff --git a/geoipupdate-2.2.2-autotools.patch b/geoipupdate-2.2.2-autotools.patch
new file mode 100644
index 0000000..7b7d7b5
--- /dev/null
+++ b/geoipupdate-2.2.2-autotools.patch
@@ -0,0 +1,313 @@
+--- 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 168356b..ea24aa5 100644
--- a/geoipupdate.spec
+++ b/geoipupdate.spec
@@ -4,8 +4,8 @@
 %global _hardened_build 1
 
 Name:		geoipupdate
-Version:	2.2.1
-Release:	3%{?dist}
+Version:	2.2.2
+Release:	1%{?dist}
 Summary:	Update GeoIP2 and GeoIP Legacy binary databases from MaxMind
 Group:		Development/Tools
 License:	GPLv2
@@ -14,9 +14,12 @@ Source0:	http://github.com/maxmind/geoipupdate/releases/download/v%{version}/geo
 Source1:	geoipupdate.cron
 Source2:	geoipupdate6.cron
 Patch0:		geoipupdate-2.2.1-docdir.patch
-Patch1:		geoipupdate-2.2.1-autotools.patch
+Patch1:		geoipupdate-2.2.2-autotools.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+BuildRequires:	coreutils
 BuildRequires:	curl-devel
+BuildRequires:	gcc
+BuildRequires:	make
 BuildRequires:	zlib-devel
 # Perl modules used by IPv6 cron script
 BuildRequires:	perl(File::Copy)
@@ -122,6 +125,12 @@ rm -rf %{buildroot}
 %ghost %{_datadir}/GeoIP/download/GeoIPASNumv6.dat.gz
 
 %changelog
+* Fri Jan 22 2016 Paul Howarth <paul@city-fan.org> - 2.2.2-1
+- Update to 2.2.2
+  - geoipupdate now calls fsync on the database directory after a rename to
+    make it durable in the event of a crash
+- Update autotools patch
+
 * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
@@ -156,3 +165,4 @@ rm -rf %{buildroot}
 
 * Mon Jan 26 2015 Philip A. Prindeville <philipp@fedoraproject.org> - 2.1.0-1
 - Initial review package (generated by rpmdev-newspec)
+

diff --git a/sources b/sources
index 306a861..f6f5a9b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-abfd4bb9dd7fd489c103888dde5f2a57  geoipupdate-2.2.1.tar.gz
+06284bd7bcb298d078d794eb630dae55  geoipupdate-2.2.2.tar.gz

                 reply	other threads:[~2026-11-25 19:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179563565332.1.1485041229580712965.rpms-geoipupdate-55a609c9b591@fedoraproject.org \
    --to=paul@city-fan.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox