summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2020-09-23 16:45:05 +0800
committerKhem Raj <raj.khem@gmail.com>2020-09-23 19:45:53 -0700
commite61b73e6d388006375c6fe84cc194299c094a526 (patch)
treeb852825597f37b1ec0ded5c6b11c24f5bb50008b /meta-networking
parent592d9be3f6965321d5df47d193ee9617c576088a (diff)
downloadmeta-openembedded-e61b73e6d388006375c6fe84cc194299c094a526.tar.gz
strongswan: Remove obsolete setting regarding the Standard Output
The Standard output type "syslog" is obsolete, causing a warning since systemd version 246 [1]. Please consider using "journal" or "journal+console" [1] https://github.com/systemd/systemd/blob/master/NEWS#L202 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-support/strongswan/files/0001-Remove-obsolete-setting-regarding-the-Standard-Outpu.patch34
-rw-r--r--meta-networking/recipes-support/strongswan/strongswan_5.8.4.bb1
2 files changed, 35 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/strongswan/files/0001-Remove-obsolete-setting-regarding-the-Standard-Outpu.patch b/meta-networking/recipes-support/strongswan/files/0001-Remove-obsolete-setting-regarding-the-Standard-Outpu.patch
new file mode 100644
index 000000000..78adcf813
--- /dev/null
+++ b/meta-networking/recipes-support/strongswan/files/0001-Remove-obsolete-setting-regarding-the-Standard-Outpu.patch
@@ -0,0 +1,34 @@
1From 7b1e376d7d22244feab466e9889ba77561117357 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Wed, 23 Sep 2020 16:20:22 +0800
4Subject: [PATCH] Remove obsolete setting regarding the Standard Output
5
6The Standard output type "syslog" is obsolete, causing a warning since systemd
7version 246 [1].
8
9Please consider using "journal" or "journal+console"
10
11[1] https://github.com/systemd/systemd/blob/master/NEWS#L202
12
13Upstream-Status: Submitted [https://github.com/strongswan/strongswan/pull/181]
14
15Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
16---
17 init/systemd-starter/strongswan-starter.service.in | 1 -
18 1 file changed, 1 deletion(-)
19
20diff --git a/init/systemd-starter/strongswan-starter.service.in b/init/systemd-starter/strongswan-starter.service.in
21index 474284a19..6a0672352 100644
22--- a/init/systemd-starter/strongswan-starter.service.in
23+++ b/init/systemd-starter/strongswan-starter.service.in
24@@ -4,7 +4,6 @@ After=syslog.target network-online.target
25
26 [Service]
27 ExecStart=@SBINDIR@/@IPSEC_SCRIPT@ start --nofork
28-StandardOutput=syslog
29 Restart=on-abnormal
30
31 [Install]
32--
332.17.1
34
diff --git a/meta-networking/recipes-support/strongswan/strongswan_5.8.4.bb b/meta-networking/recipes-support/strongswan/strongswan_5.8.4.bb
index 0a2733195..8a8809243 100644
--- a/meta-networking/recipes-support/strongswan/strongswan_5.8.4.bb
+++ b/meta-networking/recipes-support/strongswan/strongswan_5.8.4.bb
@@ -10,6 +10,7 @@ DEPENDS = "gmp openssl flex-native flex bison-native"
10SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2 \ 10SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2 \
11 file://fix-funtion-parameter.patch \ 11 file://fix-funtion-parameter.patch \
12 file://0001-memory.h-Include-stdint.h-for-uintptr_t.patch \ 12 file://0001-memory.h-Include-stdint.h-for-uintptr_t.patch \
13 file://0001-Remove-obsolete-setting-regarding-the-Standard-Outpu.patch \
13 " 14 "
14 15
15SRC_URI[md5sum] = "0634e7f40591bd3f6770e583c3f27d29" 16SRC_URI[md5sum] = "0634e7f40591bd3f6770e583c3f27d29"