public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Philip A. Prindeville <philipp@redfish-solutions.com>
To: git-commits@fedoraproject.org
Subject: [rpms/geoipupdate] epel10.3: Initial import (#1186889).
Date: Wed, 25 Nov 2026 19:41:44 GMT [thread overview]
Message-ID: <179563570449.1.8227421719795360802.rpms-geoipupdate-f030ce0e834e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/geoipupdate
Branch : epel10.3
Commit : f030ce0e834eb6066450ffcadbf44cb5f0a6111e
Author : Philip A. Prindeville <philipp@redfish-solutions.com>
Date : 2015-02-01T09:25:17-07:00
Stats : +89/-0 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/geoipupdate/c/f030ce0e834eb6066450ffcadbf44cb5f0a6111e?branch=epel10.3
Log:
Initial import (#1186889).
---
diff --git a/.gitignore b/.gitignore
index e69de29..c6a9639 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/geoipupdate-2.1.0.tar.gz
diff --git a/geoipupdate.cron b/geoipupdate.cron
new file mode 100644
index 0000000..0f92e43
--- /dev/null
+++ b/geoipupdate.cron
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# This updates the IPv4 databases based on product numbers in /etc/GeoIP.conf
+geoipupdate > /dev/null
diff --git a/geoipupdate.spec b/geoipupdate.spec
new file mode 100644
index 0000000..eeb9846
--- /dev/null
+++ b/geoipupdate.spec
@@ -0,0 +1,83 @@
+# Noarch subpackages available from Fedora 10, RHEL6
+%global noarch_subpkgs 0%{?fedora} > 9 || 0%{?rhel} > 5
+
+%global _hardened_build 1
+
+Name: geoipupdate
+Version: 2.1.0
+Release: 1%{?dist}
+Summary: Update GeoIP2 and GeoIP Legacy binary databases from MaxMind
+
+Group: Development/Tools
+License: GPLv2
+URL: http://dev.maxmind.com/geoip/geoipupdate/
+Source0: http://github.com/maxmind/geoipupdate/releases/download/v%{version}/geoipupdate-%{version}.tar.gz
+Source1: geoipupdate.cron
+
+BuildRequires: zlib-devel, libcurl-devel
+
+%description
+The GeoIP Update program performs automatic updates of GeoIP2 and GeoIP
+Legacy binary databases.
+
+
+%package cron
+Summary: Cron job to do weekly updates of GeoIP databases
+Group: Development/Tools
+%if %{noarch_subpkgs}
+BuildArch: noarch
+%endif
+Requires: %{name}%{?_isa} = %{version}-%{release}, crontabs
+Provides: GeoIP-cron = 1.6.0
+Obsoletes: GeoIP-cron < 1.6.0
+
+%description cron
+Cron job for weekly updates to GeoIP2 and GeoIP Legacy database from MaxMind.
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-static --disable-dependency-tracking
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%{__mkdir_p} %{buildroot}%{_docdir}/%{name}
+
+# 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/' \
+ %{buildroot}%{_sysconfdir}/GeoIP.conf
+
+install -D -m 755 %{SOURCE1} %{buildroot}%{_sysconfdir}/cron.weekly/geoipupdate
+
+
+# LICENSE file is being omitted from release tarball. As soon as this issue:
+# https://github.com/maxmind/geoipupdate/issues/25
+# is resolved we'll amend the spec file to include it in the packaging.
+
+# For now, see the LICENSE section in the README.md file below.
+
+%files
+%doc conf/GeoIP.conf.default README.md ChangeLog.md
+%config(noreplace) %{_sysconfdir}/GeoIP.conf
+%exclude %{_sysconfdir}/GeoIP.conf.default
+%{_bindir}/geoipupdate
+%{_mandir}/man1/geoipupdate.1.*
+%{_mandir}/man5/GeoIP.conf.5.*
+
+%files cron
+%config(noreplace) %{_sysconfdir}/cron.weekly/geoipupdate
+
+
+%changelog
+* 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 e69de29..5321830 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9107d082f15c8e482f4b6f1080e7deaf geoipupdate-2.1.0.tar.gz
reply other threads:[~2026-11-25 19:41 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=179563570449.1.8227421719795360802.rpms-geoipupdate-f030ce0e834e@fedoraproject.org \
--to=philipp@redfish-solutions.com \
--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