From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arne Fitzenreiter To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. ca33424de57b2530f11e99e40501251dda26f5c0 Date: Tue, 26 May 2020 11:14:04 +0000 Message-ID: <49WWYn3n5qz2xg1@people01.haj.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4244511450486756202==" List-Id: --===============4244511450486756202== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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, next has been updated via ca33424de57b2530f11e99e40501251dda26f5c0 (commit) via 6e670b9c9d16919164e269224cf728d9e25a35f9 (commit) via 6d78ec1a1ccfdc42f18b92bd5fcacab3be05f0b9 (commit) via 75bb55e716f57667d6a34a99f15fc0cdacc1081b (commit) via 5336aaa6fa24092ad3ea392516a52633a7278a31 (commit) via 442717a1270fe40ebfc5a02e8eea9bd8ef24e79f (commit) from 91b23ce05b77dc96b38de3589049cbe8350ba9ad (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 ca33424de57b2530f11e99e40501251dda26f5c0 Author: Matthias Fischer Date: Mon May 25 14:54:56 2020 +0200 minidlna: Update to 1.2.1 =20 For details see: https://sourceforge.net/projects/minidlna/files/minidlna/1.2.1/ =20 Signed-off-by: Matthias Fischer Reviewed-by: Michael Tremer Signed-off-by: Arne Fitzenreiter commit 6e670b9c9d16919164e269224cf728d9e25a35f9 Author: Matthias Fischer Date: Mon May 25 13:23:57 2020 +0200 ffmpeg: Update to 4.2.3 =20 For details see: http://ffmpeg.org/download.html#release_4.2 =20 Signed-off-by: Matthias Fischer Reviewed-by: Michael Tremer Signed-off-by: Arne Fitzenreiter commit 6d78ec1a1ccfdc42f18b92bd5fcacab3be05f0b9 Author: Michael Tremer Date: Mon May 25 10:17:30 2020 +0100 core145: Enable OpenVPN metrics collection =20 Signed-off-by: Michael Tremer Signed-off-by: Arne Fitzenreiter commit 75bb55e716f57667d6a34a99f15fc0cdacc1081b Author: Michael Tremer Date: Mon May 25 10:17:29 2020 +0100 openvpn: Create database schema if not exists =20 Signed-off-by: Michael Tremer Signed-off-by: Arne Fitzenreiter commit 5336aaa6fa24092ad3ea392516a52633a7278a31 Author: Matthias Fischer Date: Mon May 25 00:13:50 2020 +0200 make.sh: Suppress 'ls :cannot access *.bz2'-message =20 The message "ls: cannot access '*.bz2': No such file or directory" comes from the 'ls' command prior to creating the *.md5-files for *.bz2, *.img.= xz and *.iso files. =20 But on most builds we have especially no more bzip2 compressed images any= more. =20 This message can usually be ignored and is just irritating. =20 Signed-off-by: Matthias Fischer Reviewed-by: Michael Tremer Signed-off-by: Arne Fitzenreiter commit 442717a1270fe40ebfc5a02e8eea9bd8ef24e79f Author: Matthias Fischer Date: Sun May 24 20:03:52 2020 +0200 nano: Update to 4.9.3 =20 For details see: https://www.nano-editor.org/news.php =20 "One more bug introduced in version 4.9 is fixed: a crash when the terminal screen is resized while at a lock-file prompt." =20 Signed-off-by: Matthias Fischer Reviewed-by: Michael Tremer Signed-off-by: Arne Fitzenreiter ----------------------------------------------------------------------- Summary of changes: config/rootfiles/core/145/update.sh | 7 +++++++ config/rootfiles/packages/minidlna | 1 + html/cgi-bin/logs.cgi/ovpnclients.dat | 15 +++++++++++++++ lfs/ffmpeg | 6 +++--- lfs/minidlna | 6 +++--- lfs/nano | 6 +++--- make.sh | 2 +- 7 files changed, 33 insertions(+), 10 deletions(-) Difference in files: diff --git a/config/rootfiles/core/145/update.sh b/config/rootfiles/core/145/= update.sh index 5f5394f78..9ff64f7f9 100644 --- a/config/rootfiles/core/145/update.sh +++ b/config/rootfiles/core/145/update.sh @@ -73,6 +73,13 @@ for package in perl-DBI perl-DBD-SQLite; do rm -f /opt/pakfire/db/rootfiles/$package done =20 +# Enable OpenVPN metrics collection +cat <> /var/ipfire/ovpn/server.conf +# Log clients connecting/disconnecting +client-connect "/usr/sbin/openvpn-metrics client-connect" +client-disconnect "/usr/sbin/openvpn-metrics client-disconnect" +EOF + # Start services /etc/init.d/vnstat start /etc/init.d/unbound restart diff --git a/config/rootfiles/packages/minidlna b/config/rootfiles/packages/m= inidlna index f0b953653..42a83f8da 100644 --- a/config/rootfiles/packages/minidlna +++ b/config/rootfiles/packages/minidlna @@ -7,6 +7,7 @@ usr/sbin/minidlnad #usr/share/locale/fr/LC_MESSAGES/minidlna.mo #usr/share/locale/it/LC_MESSAGES/minidlna.mo #usr/share/locale/ja/LC_MESSAGES/minidlna.mo +#usr/share/locale/ko/LC_MESSAGES/minidlna.mo #usr/share/locale/nb/LC_MESSAGES/minidlna.mo #usr/share/locale/nl/LC_MESSAGES/minidlna.mo #usr/share/locale/pl/LC_MESSAGES/minidlna.mo diff --git a/html/cgi-bin/logs.cgi/ovpnclients.dat b/html/cgi-bin/logs.cgi/ov= pnclients.dat index 2009990ec..a064893a1 100755 --- a/html/cgi-bin/logs.cgi/ovpnclients.dat +++ b/html/cgi-bin/logs.cgi/ovpnclients.dat @@ -95,6 +95,21 @@ unless ($to_datestring ge $from_datestring) { $errormessage =3D "$Lang::tr{'error the to date has to be later than the fr= om date'}"; } =20 +# Initialise database +my $cursor =3D $database_handle->prepare(" + CREATE TABLE IF NOT EXISTS sessions( + common_name TEXT NOT NULL, + connected_at TEXT NOT NULL, + disconnected_at TEXT, + bytes_received INTEGER, + bytes_sent INTEGER + ); + + -- Create index for speeding up searches + CREATE INDEX IF NOT EXISTS sessions_common_name ON sessions(common_name); +"); +$cursor->execute(); + my $database_query =3D qq( SELECT common_name, SUM( diff --git a/lfs/ffmpeg b/lfs/ffmpeg index ed013bc22..0795afff8 100644 --- a/lfs/ffmpeg +++ b/lfs/ffmpeg @@ -24,7 +24,7 @@ =20 include Config =20 -VER =3D 4.2.2 +VER =3D 4.2.3 =20 THISAPP =3D ffmpeg-$(VER) DL_FILE =3D $(THISAPP).tar.bz2 @@ -32,7 +32,7 @@ DL_FROM =3D $(URL_IPFIRE) DIR_APP =3D $(DIR_SRC)/$(THISAPP) TARGET =3D $(DIR_INFO)/$(THISAPP) PROG =3D ffmpeg -PAK_VER =3D 9 +PAK_VER =3D 10 =20 DEPS =3D sdl lame libvorbis xvid =20 @@ -44,7 +44,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_MD5 =3D 829d56f158832dbf669b5b417af48060 +$(DL_FILE)_MD5 =3D 695fad11f3baf27784e24cb0e977b65a =20 install : $(TARGET) =20 diff --git a/lfs/minidlna b/lfs/minidlna index 67ba1f959..1b6e6b51c 100644 --- a/lfs/minidlna +++ b/lfs/minidlna @@ -24,7 +24,7 @@ =20 include Config =20 -VER =3D 1.1.3 +VER =3D 1.2.1 =20 THISAPP =3D minidlna-$(VER) DL_FILE =3D minidlna-$(VER).tar.gz @@ -32,7 +32,7 @@ DL_FROM =3D $(URL_IPFIRE) DIR_APP =3D $(DIR_SRC)/$(THISAPP) TARGET =3D $(DIR_INFO)/$(THISAPP) PROG =3D minidlna -PAK_VER =3D 5 +PAK_VER =3D 6 =20 DEPS =3D ffmpeg flac libexif libid3tag libogg =20 @@ -44,7 +44,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_MD5 =3D 879027192c89e5376cdd2ae2d1aa33b4 +$(DL_FILE)_MD5 =3D a968d3d84971322471cabda3669cc0f8 =20 install : $(TARGET) =20 diff --git a/lfs/nano b/lfs/nano index c18288796..c169282c0 100644 --- a/lfs/nano +++ b/lfs/nano @@ -24,7 +24,7 @@ =20 include Config =20 -VER =3D 4.9.2 +VER =3D 4.9.3 =20 THISAPP =3D nano-$(VER) DL_FILE =3D $(THISAPP).tar.xz @@ -32,7 +32,7 @@ DL_FROM =3D $(URL_IPFIRE) DIR_APP =3D $(DIR_SRC)/$(THISAPP) TARGET =3D $(DIR_INFO)/$(THISAPP) PROG =3D nano -PAK_VER =3D 30 +PAK_VER =3D 31 =20 DEPS =3D "" =20 @@ -44,7 +44,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_MD5 =3D 10df0100ebf4aa7bb4806428c11751eb +$(DL_FILE)_MD5 =3D 52137a960ae8b3ca6d7dab6767fe6e5f =20 install : $(TARGET) =20 diff --git a/make.sh b/make.sh index 4acce807f..2e8faa38d 100755 --- a/make.sh +++ b/make.sh @@ -1707,7 +1707,7 @@ buildpackages() { # remove not useable iso on armv5tel (needed to build flash images) [ "${BUILD_ARCH}" =3D "armv5tel" ] && rm -rf *.iso =20 - for i in `ls *.bz2 *.img.xz *.iso`; do + for i in $(ls *.bz2 *.img.xz *.iso 2>/dev/null); do md5sum $i > $i.md5 done cd $PWD hooks/post-receive -- IPFire 2.x development tree --===============4244511450486756202==--