From a92eaebc21a1d71e0fae9339b05e0f4b0ae27280 Mon Sep 17 00:00:00 2001 From: Carl George Date: Thu, 14 May 2020 17:50:33 -0500 Subject: [PATCH] Add note about upstream license change The license change means we will no longer be able to update this package. The best we can do is continue to ship the last CC-BY-SA release. --- geolite2.spec | 3 +++ update-check.sh | 10 ---------- 2 files changed, 3 insertions(+), 10 deletions(-) delete mode 100755 update-check.sh diff --git a/geolite2.spec b/geolite2.spec index de30184..989d7c9 100644 --- a/geolite2.spec +++ b/geolite2.spec @@ -5,6 +5,9 @@ created by MaxMind, available from http://www.maxmind.com.} Name: geolite2 +# Upstream changed their license on 2019-12-30. This is the last version +# released under CC-BY-SA. +# https://bugzilla.redhat.com/show_bug.cgi?id=1786211 Version: 20191217 Release: 2%{?dist} Summary: Free IP geolocation databases diff --git a/update-check.sh b/update-check.sh deleted file mode 100755 index 7f26733..0000000 --- a/update-check.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash - -function get_date { - curl --silent --head https://geolite.maxmind.com/download/geoip/database/GeoLite2-$1.tar.gz | grep -Po "(?<=GeoLite2-${1}_)\d+(?=\.tar\.gz)" -} - -echo -e "Spec file version: $(rpmspec geolite2.spec --srpm --query --queryformat '%{VERSION}')" -echo -e "City remote version: $(get_date City)" -echo -e "Country remote version: $(get_date Country)" -echo -e "ASN remote version: $(get_date ASN)"