From: Michael Tremer <git@ipfire.org>
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 277721c2b7d373ab232645ea7e8699592a084054
Date: Thu, 24 Sep 2020 17:42:33 +0000 [thread overview]
Message-ID: <4By2S96lCqz2xdj@people01.haj.ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 10582 bytes --]
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, master has been updated
via 277721c2b7d373ab232645ea7e8699592a084054 (commit)
via d3e88e3485f057dfc4721689912ec48f48b153da (commit)
via b57d9769b573770473bcd80addd856273fe948f4 (commit)
via 4522b5f6b005a3b4094aca6b3d6eed4c6343fc52 (commit)
via 05ca47a0a712d65c55d0c8a0d093bb2446aad49b (commit)
via 97f68af983562e35a420459e849e1ff78e8787e4 (commit)
via bf6c700798271cb9df71369132a45a398b86c772 (commit)
from 962f7923f515525e5e62f28de9b50bc6ff3c9f6e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 277721c2b7d373ab232645ea7e8699592a084054
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Thu Sep 24 17:41:41 2020 +0000
core150: Ship libloc
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
commit d3e88e3485f057dfc4721689912ec48f48b153da
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Thu Sep 24 15:25:27 2020 +0000
crontab: Update misleading comment
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
commit b57d9769b573770473bcd80addd856273fe948f4
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Thu Sep 24 10:08:41 2020 +0000
fcron: Fix invalid syntax in update-location-database cronjob
Fixes: #12484
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
commit 4522b5f6b005a3b4094aca6b3d6eed4c6343fc52
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Thu Sep 24 17:15:57 2020 +0000
libloc: Update rootfile
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
commit 05ca47a0a712d65c55d0c8a0d093bb2446aad49b
Author: Stefan Schantl <stefan.schantl(a)ipfire.org>
Date: Tue Sep 22 20:25:09 2020 +0200
libloc: Update to 0.9.4
Also update to the shipped database to 2020-09-21.
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
commit 97f68af983562e35a420459e849e1ff78e8787e4
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Thu Sep 24 10:24:56 2020 +0000
xinetd: Depend on libtirpc
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
commit bf6c700798271cb9df71369132a45a398b86c772
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Mon Sep 21 15:09:20 2020 +0000
openvmtools: Depend on libtirpc
Fixes: #12487
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
config/cron/crontab | 4 ++--
config/rootfiles/common/libloc | 4 ++--
.../{oldcore/148 => core/150}/filelists/libloc | 0
config/rootfiles/core/150/update.sh | 5 +++++
lfs/libloc | 12 ++++-------
lfs/openvmtools | 4 ++--
lfs/xinetd | 4 +++-
...rminate-buffer-when-reading-from-database.patch | 24 ----------------------
...libloc-0.9.3-location-provide-return-code.patch | 22 --------------------
9 files changed, 18 insertions(+), 61 deletions(-)
copy config/rootfiles/{oldcore/148 => core/150}/filelists/libloc (100%)
delete mode 100644 src/patches/libloc-0.9.3-country-terminate-buffer-when-reading-from-database.patch
delete mode 100644 src/patches/libloc-0.9.3-location-provide-return-code.patch
Difference in files:
diff --git a/config/cron/crontab b/config/cron/crontab
index 331eaa4a5..f1ac3666d 100644
--- a/config/cron/crontab
+++ b/config/cron/crontab
@@ -59,8 +59,8 @@ HOME=/
00 3 * 3 0 /usr/local/bin/timezone-transition /usr/local/bin/firewallctrl
00 2 * 10-11 0 /usr/local/bin/timezone-transition /usr/local/bin/firewallctrl
-# Update location database once a month
-%hourly,random * * * [ -f "/var/ipfire/red/active" ] && /usr/local/bin/update-location-database >/dev/null 2>&1
+# Update location database
+%hourly,random * [ -f "/var/ipfire/red/active" ] && /usr/local/bin/update-location-database >/dev/null 2>&1
# Retry sending spooled mails regularly
%hourly * /usr/sbin/dma -q
diff --git a/config/rootfiles/common/libloc b/config/rootfiles/common/libloc
index 9985b939f..b12052074 100644
--- a/config/rootfiles/common/libloc
+++ b/config/rootfiles/common/libloc
@@ -14,8 +14,8 @@ usr/bin/location
#usr/include/libloc/writer.h
#usr/lib/libloc.la
#usr/lib/libloc.so
-usr/lib/libloc.so.0
-usr/lib/libloc.so.0.0.0
+usr/lib/libloc.so.1
+usr/lib/libloc.so.1.0.0
usr/lib/perl5/site_perl/5.30.0/xxxMACHINExxx-linux-thread-multi/Location.pm
#usr/lib/perl5/site_perl/5.30.0/xxxMACHINExxx-linux-thread-multi/auto/Location
#usr/lib/perl5/site_perl/5.30.0/xxxMACHINExxx-linux-thread-multi/auto/Location/.packlist
diff --git a/config/rootfiles/core/150/filelists/libloc b/config/rootfiles/core/150/filelists/libloc
new file mode 120000
index 000000000..ff4a92429
--- /dev/null
+++ b/config/rootfiles/core/150/filelists/libloc
@@ -0,0 +1 @@
+../../../common/libloc
\ No newline at end of file
diff --git a/config/rootfiles/core/150/update.sh b/config/rootfiles/core/150/update.sh
index c125c058c..cb8d53261 100644
--- a/config/rootfiles/core/150/update.sh
+++ b/config/rootfiles/core/150/update.sh
@@ -103,6 +103,11 @@ ldconfig
# Filesytem cleanup
/usr/local/bin/filesystem-cleanup
+# Fix invalid cronjob syntax
+sed -e "s/^%hourly,random \* \* \*/%hourly,random */g" \
+ -i /var/spool/cron/root.orig
+fcrontab -z
+
# Start services
/etc/init.d/collectd start
diff --git a/lfs/libloc b/lfs/libloc
index 178f9f9cc..da53e5149 100644
--- a/lfs/libloc
+++ b/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
diff --git a/lfs/openvmtools b/lfs/openvmtools
index fe0e0b16b..fb0d312a5 100644
--- a/lfs/openvmtools
+++ b/lfs/openvmtools
@@ -33,9 +33,9 @@ DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
SUP_ARCH = x86_64 i586
PROG = openvmtools
-PAK_VER = 5
+PAK_VER = 6
-DEPS =
+DEPS = libtirpc
CFLAGS += -Wno-error=array-bounds
diff --git a/lfs/xinetd b/lfs/xinetd
index 9e14279d4..d3196beef 100644
--- a/lfs/xinetd
+++ b/lfs/xinetd
@@ -32,7 +32,9 @@ DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = xinetd
-PAK_VER = 1
+PAK_VER = 2
+
+DEPS = libtirpc
CFLAGS += -fcommon -I/usr/include/tirpc -Wl,-ltirpc
diff --git a/src/patches/libloc-0.9.3-country-terminate-buffer-when-reading-from-database.patch b/src/patches/libloc-0.9.3-country-terminate-buffer-when-reading-from-database.patch
deleted file mode 100644
index 0ad9229fd..000000000
--- a/src/patches/libloc-0.9.3-country-terminate-buffer-when-reading-from-database.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-commit 61d3516bbfce6b4e6393825329c07b1e2a88d47d
-Author: Michael Tremer <michael.tremer(a)ipfire.org>
-Date: Mon Jul 13 10:47:30 2020 +0000
-
- country: Terminate buffer when reading from database
-
- Compilers on ARM do not seem to initialise the buffer.
-
- Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
-
-diff --git a/src/country.c b/src/country.c
-index d6ddf50..2ba93e6 100644
---- a/src/country.c
-+++ b/src/country.c
-@@ -125,6 +125,9 @@ int loc_country_new_from_database_v1(struct loc_ctx* ctx, struct loc_stringpool*
- // Read country code
- loc_country_code_copy(buffer, dbobj->code);
-
-+ // Terminate buffer
-+ buffer[2] = '\0';
-+
- // Create a new country object
- int r = loc_country_new(ctx, country, buffer);
- if (r)
diff --git a/src/patches/libloc-0.9.3-location-provide-return-code.patch b/src/patches/libloc-0.9.3-location-provide-return-code.patch
deleted file mode 100644
index 2382145c3..000000000
--- a/src/patches/libloc-0.9.3-location-provide-return-code.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-commit 1be0681cc4bcc006369e69d90dc4439eaa6f58d5
-Author: Stefan Schantl <stefan.schantl(a)ipfire.org>
-Date: Wed Jul 29 18:50:20 2020 +0200
-
- location: Provide a return code if the database does not need to be
- updated.
-
- Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
-
-diff --git a/src/python/location.in b/src/python/location.in
-index 5211b28..8cdd140 100644
---- a/src/python/location.in
-+++ b/src/python/location.in
-@@ -416,7 +416,7 @@ class CLI(object):
- _("The datase has recently be updated recently (%s)") % \
- format_timedelta(now - t),
- )
-- return
-+ return 3
-
- # Fetch the timestamp we need from DNS
- t = location.discover_latest_version()
hooks/post-receive
--
IPFire 2.x development tree
reply other threads:[~2020-09-24 17:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4By2S96lCqz2xdj@people01.haj.ipfire.org \
--to=git@ipfire.org \
--cc=ipfire-scm@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox