libloc: Update to version 0.9.17

Message ID 20230809211640.2571668-1-adolf.belka@ipfire.org
State Staged
Commit 0d46ef0ce7e7976009dd29bcba6f9f3b86cf150f
Headers
Series libloc: Update to version 0.9.17 |

Commit Message

Adolf Belka Aug. 9, 2023, 9:16 p.m. UTC
  - Update from version 0.9.16 to 0.9.17
- Update of rootfile
- Changelog
    0.9.17
	* The importer is now parsing Geofeeds where available. This helps us to create a
          database with better accuracy for large ISPs or cloud providers.
	* The database writer is trying to compress the database harder: It will now look
          for any duplicate networks and merge neighbouring networks which will reduce the
          size of the database by about half.
	* The importer has been improved so that it runs more efficient SQL queries to
          create the database faster.
	* Temuri Doghonadze contributed a Georgian translation.
	* Hans-Christoph Steiner contributed bash-completion for the location(8) command.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/libloc                         |  4 +++-
 lfs/libloc                                             | 10 +++++-----
 ...-Install-Perl-files-to-Perl-vendor-directory.patch} |  0
 3 files changed, 8 insertions(+), 6 deletions(-)
 rename src/patches/{libloc-0.9.16-Revert-Install-Perl-files-to-Perl-vendor-directory.patch => libloc-0.9.17-Revert-Install-Perl-files-to-Perl-vendor-directory.patch} (100%)
  

Patch

diff --git a/config/rootfiles/common/libloc b/config/rootfiles/common/libloc
index 7eb94217e..f6481ccd6 100644
--- a/config/rootfiles/common/libloc
+++ b/config/rootfiles/common/libloc
@@ -21,7 +21,7 @@  usr/bin/location
 #usr/lib/libloc.la
 #usr/lib/libloc.so
 usr/lib/libloc.so.1
-usr/lib/libloc.so.1.0.2
+usr/lib/libloc.so.1.0.3
 usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/Location.pm
 #usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Location
 #usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Location/.packlist
@@ -37,7 +37,9 @@  usr/lib/python3.10/site-packages/location/export.py
 usr/lib/python3.10/site-packages/location/i18n.py
 #usr/lib/python3.10/site-packages/location/importer.py
 usr/lib/python3.10/site-packages/location/logger.py
+usr/share/bash-completion/completions/location
 #usr/share/locale/de/LC_MESSAGES/libloc.mo
+#usr/share/locale/ka/LC_MESSAGES/libloc.mo
 #usr/share/man/man3/Location.3
 #var/lib/location
 var/lib/location/database.db
diff --git a/lfs/libloc b/lfs/libloc
index 45595e8e3..5c67d1195 100644
--- a/lfs/libloc
+++ b/lfs/libloc
@@ -24,8 +24,8 @@ 
 
 include Config
 
-VER        = 0.9.16
-DB_DATE    = 2023-06-25
+VER        = 0.9.17
+DB_DATE    = 2023-08-09
 
 THISAPP    = libloc-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -43,8 +43,8 @@  objects = $(DL_FILE) \
 $(DL_FILE)                    = https://source.ipfire.org/releases/libloc/$(DL_FILE)
 location-$(DB_DATE).db.xz     = https://location.ipfire.org/databases/1/archive/location-$(DB_DATE).db.xz
 
-$(DL_FILE)_BLAKE2 = dc9e5ce8e1084e6a385149521f5f5ea156f33502343b254b9f70c5c6e28f699466981ae704483681a80449c2acfd202301bcbcfc2b81d773c308575910db79e9
-location-$(DB_DATE).db.xz_BLAKE2 = 916644d348e16e7c84859862ed9137dfadce1e1c4cba6e7bdad373050d0afa632f97c208477150588fed4c2df9c8c9b0678e6048b71759d1eddf80a5df71ad35
+$(DL_FILE)_BLAKE2 = b0bf860ebaccd3cb49c58c066c430f7a1f936a2029957db9b88e22c04240af0268a8f6388e8ca512102f14033037a2ab8bbb93fe83e525b9859c790c5c382df4
+location-$(DB_DATE).db.xz_BLAKE2 = 24ad4dc2496d3c0a7fe645374a02c8d4bf4724796ccf4ed00d2de9adfaa08f31cb70314afa5d8f7b7acebd4ccbd4d1f8a15b8da09a27b0092d74412cf30aa721
 
 install : $(TARGET)
 
@@ -79,7 +79,7 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xvf $(DIR_DL)/$(DL_FILE)
 
 	# https://lists.ipfire.org/pipermail/development/2022-November/014763.html
-	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/libloc-0.9.16-Revert-Install-Perl-files-to-Perl-vendor-directory.patch
+	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/libloc-0.9.17-Revert-Install-Perl-files-to-Perl-vendor-directory.patch
 
 	cd $(DIR_APP) && ./autogen.sh
 	cd $(DIR_APP) && ./configure \
diff --git a/src/patches/libloc-0.9.16-Revert-Install-Perl-files-to-Perl-vendor-directory.patch b/src/patches/libloc-0.9.17-Revert-Install-Perl-files-to-Perl-vendor-directory.patch
similarity index 100%
rename from src/patches/libloc-0.9.16-Revert-Install-Perl-files-to-Perl-vendor-directory.patch
rename to src/patches/libloc-0.9.17-Revert-Install-Perl-files-to-Perl-vendor-directory.patch