mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
libloc: Update to 0.9.4
Also update to the shipped database to 2020-09-21. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
33975f578d
commit
8be7a2206c
12
lfs/libloc
12
lfs/libloc
@@ -24,8 +24,8 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 0.9.3
|
||||
DB_DATE = 2020-07-10
|
||||
VER = 0.9.4
|
||||
DB_DATE = 2020-09-21
|
||||
|
||||
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)_MD5 = 61f1d543f67baf665b0140d3676fdade
|
||||
location-$(DB_DATE).db.xz_MD5 = 3f68f631e94c29b953c4e60454567540
|
||||
$(DL_FILE)_MD5 = 82770e9eba20f636c96e6fa42ff234b5
|
||||
location-$(DB_DATE).db.xz_MD5 = fa3069bf31170629d638317e283913c0
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -78,10 +78,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xvf $(DIR_DL)/$(DL_FILE)
|
||||
|
||||
# Apply upstream patches
|
||||
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/libloc-0.9.3-country-terminate-buffer-when-reading-from-database.patch
|
||||
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/libloc-0.9.3-location-provide-return-code.patch
|
||||
|
||||
# Add patch for i586 to disable strong stack protector.
|
||||
ifeq "$(BUILD_ARCH)" "i586"
|
||||
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/libloc-0.9.3-perl-i586-regular-stack-protector.patch
|
||||
|
||||
Reference in New Issue
Block a user