libloc: Update to 0.9.0 (Git rev: cd022c)

* Includes fix for database verification
* The public gpg signing key
* Datadir has been moved to /var/lib/location

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2019-12-12 09:14:30 +01:00
parent 9a240b7144
commit c3b612bb6c
2 changed files with 9 additions and 3 deletions

View File

@@ -26,3 +26,6 @@ usr/lib/perl5/site_perl/5.30.0/MACHINE-linux-thread-multi/auto/Location/Location
usr/lib/python3.6/site-packages/location.so
#usr/share/locale/de/LC_MESSAGES/libloc.mo
#usr/share/man/man3/Location.3
var/lib/location
var/lib/location/signing-key.pem

View File

@@ -25,11 +25,12 @@
include Config
VER = 0.9.0
GIT_REV = cd022c
THISAPP = libloc-$(VER)
THISAPP = libloc-$(VER)-$(GIT_REV)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
DIR_APP = $(DIR_SRC)/libloc-$(VER)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
@@ -40,7 +41,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 320eeb00e8876af1983a9ed969372a55
$(DL_FILE)_MD5 = a40fcbdd5585f720ca801166befeef85
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
@@ -74,6 +75,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xvf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-manpages
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install