From: Arne Fitzenreiter Date: Sat, 24 Aug 2019 13:42:27 +0000 (+0200) Subject: xt_geoip_update: fix date and add maxmind copyright to GeoIP.dat X-Git-Tag: v2.23-core136~7^2~52 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9e20c024b0ea76fd797447b745fb4d6e5afe0012;p=ipfire-2.x.git xt_geoip_update: fix date and add maxmind copyright to GeoIP.dat Signed-off-by: Arne Fitzenreiter --- diff --git a/src/scripts/xt_geoip_update b/src/scripts/xt_geoip_update index b9490dbcfc..9ea66e0067 100644 --- a/src/scripts/xt_geoip_update +++ b/src/scripts/xt_geoip_update @@ -91,7 +91,8 @@ function build_legacy() { cat $DB_PATH/GeoLite2-Country-Blocks-IPv4.csv | \ $DB1_PATH/bin/geolite2-to-legacy-csv.sh $DB1_PATH/bin/countryInfo.txt > \ $TMP_FILE - $DB1_PATH/bin/geoip-generator -v -4 --info="$(date -u +'GEO-106FREE %Y%m%d Build')" -o \ + $DB1_PATH/bin/geoip-generator -v -4 --info="$(date -u +'GEO-106FREE %Y%m%d Build -IPFire-' \ + -r $DB_PATH/GeoLite2-Country-Blocks-IPv4.csv) $(<$DB_PATH/COPYRIGHT.txt)" -o \ $DB1_PATH/GeoIP.dat $TMP_FILE return 0