@@ -13,6 +13,7 @@ usr/bin/location
#usr/include/libloc/format.h
#usr/include/libloc/libloc.h
#usr/include/libloc/network-list.h
+#usr/include/libloc/network-tree.h
#usr/include/libloc/network.h
#usr/include/libloc/private.h
#usr/include/libloc/resolv.h
@@ -22,6 +23,8 @@ usr/bin/location
#usr/lib/libloc.so
usr/lib/libloc.so.1
usr/lib/libloc.so.1.0.3
+#usr/lib/lua/5.4/location.la
+usr/lib/lua/5.4/location.so
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
@@ -35,7 +38,6 @@ usr/lib/python3.10/site-packages/location/__init__.py
usr/lib/python3.10/site-packages/location/downloader.py
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
@@ -1,7 +1,7 @@
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2025 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
@@ -24,8 +24,8 @@
include Config
-VER = 0.9.17
-DB_DATE = 2024-04-16
+VER = 0.9.18
+DB_DATE = 2025-03-11
DB_TIME = 03:45
THISAPP = libloc-$(VER)
@@ -44,8 +44,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_TIME).db.xz
-$(DL_FILE)_BLAKE2 = b0bf860ebaccd3cb49c58c066c430f7a1f936a2029957db9b88e22c04240af0268a8f6388e8ca512102f14033037a2ab8bbb93fe83e525b9859c790c5c382df4
-location-$(DB_DATE).db.xz_BLAKE2 = f60ca7c2e3ac7cb7e6dc94501f0028dfb76f65330ba4f35934addc65bac8af9b3ce0149956aa3ca9211c9843b34d94255328af840d250f1e4612d9af90e7b6e9
+$(DL_FILE)_BLAKE2 = ccb730684c98756ef318f0cd5698b42ee4a997083811025ac5bf650798efb70dca97e1638b3f20da5d7b38a204fe5214a87fa7b61b8b70d71e6c8ad0577b0839
+location-$(DB_DATE).db.xz_BLAKE2 = adce971179f19c28906842ac08e5b90d55f73d91e0ffa27f98777c1ce8882dc9c4d1df1e9d45e06cf829e010a927f973d98830105c3aca58a86be7a172974861
install : $(TARGET)
@@ -80,7 +80,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.17-Revert-Install-Perl-files-to-Perl-vendor-directory.patch
+ cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/libloc-0.9.18-Revert-Install-Perl-files-to-Perl-vendor-directory.patch
cd $(DIR_APP) && ./autogen.sh
cd $(DIR_APP) && ./configure \
similarity index 70%
rename from src/patches/libloc-0.9.17-Revert-Install-Perl-files-to-Perl-vendor-directory.patch
rename to src/patches/libloc-0.9.18-Revert-Install-Perl-files-to-Perl-vendor-directory.patch
@@ -1,19 +1,37 @@
-From e80f2517a230b73b1de554e6fe19e81947c2b665 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Peter=20M=C3=BCller?= <peter.mueller@ipfire.org>
-Date: Tue, 31 Jan 2023 10:04:31 +0000
-Subject: [PATCH] Revert "Install Perl files to Perl vendor directory"
-
-This reverts commit b26c2109eaf229d8c297266f12cd4757d7f14eb8.
----
- Makefile.am | 17 ++++++++---------
- configure.ac | 12 +-----------
- 2 files changed, 9 insertions(+), 20 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 7f0d8d0..049832f 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -241,8 +241,7 @@ build-perl: src/libloc.la
+diff -Naur libloc-0.9.18.orig/configure.ac libloc-0.9.18/configure.ac
+--- libloc-0.9.18.orig/configure.ac 2025-03-10 12:07:35.000000000 +0100
++++ libloc-0.9.18/configure.ac 2025-03-11 12:38:58.112546283 +0100
+@@ -265,18 +265,10 @@
+ AC_PATH_PROG(PERL, perl, no)
+ AC_SUBST(PERL)
+
+-AX_PROG_PERL_MODULES(Config ExtUtils::MakeMaker,, AC_MSG_WARN(Need some Perl modules))
++AX_PROG_PERL_MODULES(ExtUtils::MakeMaker,, AC_MSG_WARN(Need some Perl modules))
+
+ AC_ARG_ENABLE(perl, AS_HELP_STRING([--disable-perl], [do not build the perl modules]), [],[enable_perl=yes])
+ AM_CONDITIONAL(ENABLE_PERL, test "$enable_perl" = "yes")
+-AS_IF([test "$enable_perl" = "yes"],
+- [
+- PERL_MODPATH=$($PERL -MConfig -e 'print $Config{installvendorarch}')
+- PERL_MANPATH=$($PERL -MConfig -e 'print $Config{installvendorman3dir}')
+- AC_SUBST(PERL_MODPATH)
+- AC_SUBST(PERL_MANPATH)
+- ],
+-)
+
+ dnl Checking for libresolv
+ case "${host}" in
+@@ -323,6 +315,4 @@
+ Lua shared path: ${LUA_INSTALL_LMOD}
+ Lua module path: ${LUA_INSTALL_CMOD}
+ Perl: ${enable_perl}
+- Perl module path: ${PERL_MODPATH}
+- Perl manual path: ${PERL_MANPATH}
+ ])
+diff -Naur libloc-0.9.18.orig/Makefile.am libloc-0.9.18/Makefile.am
+--- libloc-0.9.18.orig/Makefile.am 2025-03-10 12:07:35.000000000 +0100
++++ libloc-0.9.18/Makefile.am 2025-03-11 12:47:38.043250613 +0100
+@@ -325,8 +325,7 @@
@test -e $(builddir)/src/perl/t/Location.t || ln -s --relative $(srcdir)/src/perl/t/Location.t $(builddir)/src/perl/t/
@test -e $(builddir)/src/perl/typemap || ln -s --relative $(srcdir)/src/perl/typemap $(builddir)/src/perl/
@@ -23,7 +41,7 @@ index 7f0d8d0..049832f 100644
INC="-I$(abs_srcdir)/src" LIBS="-L$(abs_builddir)/src/.libs -lloc"
cd $(builddir)/src/perl && $(MAKE)
touch build-perl
-@@ -254,20 +253,20 @@ check-perl: testdata.db build-perl
+@@ -338,20 +337,20 @@
.PHONY: install-perl
install-perl: build-perl
@@ -51,37 +69,3 @@ index 7f0d8d0..049832f 100644
bin_SCRIPTS = \
src/scripts/location \
-diff --git a/configure.ac b/configure.ac
-index 96e6b0e..f6d30f7 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -175,18 +175,10 @@ PKG_CHECK_MODULES([PYTHON], [python-${PYTHON_VERSION}])
- AC_PATH_PROG(PERL, perl, no)
- AC_SUBST(PERL)
-
--AX_PROG_PERL_MODULES(Config ExtUtils::MakeMaker,, AC_MSG_WARN(Need some Perl modules))
-+AX_PROG_PERL_MODULES(ExtUtils::MakeMaker,, AC_MSG_WARN(Need some Perl modules))
-
- AC_ARG_ENABLE(perl, AS_HELP_STRING([--disable-perl], [do not build the perl modules]), [],[enable_perl=yes])
- AM_CONDITIONAL(ENABLE_PERL, test "$enable_perl" = "yes")
--AS_IF([test "$enable_perl" = "yes"],
-- [
-- PERL_MODPATH=$($PERL -MConfig -e 'print $Config{installvendorarch}')
-- PERL_MANPATH=$($PERL -MConfig -e 'print $Config{installvendorman3dir}')
-- AC_SUBST(PERL_MODPATH)
-- AC_SUBST(PERL_MANPATH)
-- ],
--)
-
- dnl Checking for libresolv
- case "${host}" in
-@@ -232,6 +224,4 @@ AC_MSG_RESULT([
-
- Bindings:
- Perl: ${enable_perl}
-- Perl module path: ${PERL_MODPATH}
-- Perl manual path: ${PERL_MANPATH}
- ])
-2.35.3
-