summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/rsyslog
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-extended/rsyslog')
-rw-r--r--meta-oe/recipes-extended/rsyslog/libfastjson_1.2304.0.bb3
-rw-r--r--meta-oe/recipes-extended/rsyslog/librelp/0001-relp-fix-build-against-upcoming-gcc-14-Werror-calloc.patch37
-rw-r--r--meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb22
-rw-r--r--meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-disable-the-check-for-inotify.patch11
-rw-r--r--meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-tcpflood.c-Pass-correct-parameter-type-to-send.patch32
-rw-r--r--meta-oe/recipes-extended/rsyslog/rsyslog/use-pkgconfig-to-check-libgcrypt.patch9
-rw-r--r--meta-oe/recipes-extended/rsyslog/rsyslog_8.2504.0.bb (renamed from meta-oe/recipes-extended/rsyslog/rsyslog_8.2402.0.bb)49
7 files changed, 119 insertions, 44 deletions
diff --git a/meta-oe/recipes-extended/rsyslog/libfastjson_1.2304.0.bb b/meta-oe/recipes-extended/rsyslog/libfastjson_1.2304.0.bb
index f16126d936..f1235d7b96 100644
--- a/meta-oe/recipes-extended/rsyslog/libfastjson_1.2304.0.bb
+++ b/meta-oe/recipes-extended/rsyslog/libfastjson_1.2304.0.bb
@@ -10,6 +10,7 @@ SRC_URI = "git://github.com/rsyslog/libfastjson.git;protocol=https;branch=master
10 10
11SRCREV = "3a8402c1de7c7747c95229db26d8d32fb85a7a52" 11SRCREV = "3a8402c1de7c7747c95229db26d8d32fb85a7a52"
12 12
13S = "${WORKDIR}/git" 13
14CVE_PRODUCT = "rsyslog:libfastjson"
14 15
15inherit autotools 16inherit autotools
diff --git a/meta-oe/recipes-extended/rsyslog/librelp/0001-relp-fix-build-against-upcoming-gcc-14-Werror-calloc.patch b/meta-oe/recipes-extended/rsyslog/librelp/0001-relp-fix-build-against-upcoming-gcc-14-Werror-calloc.patch
new file mode 100644
index 0000000000..cf4f4080a6
--- /dev/null
+++ b/meta-oe/recipes-extended/rsyslog/librelp/0001-relp-fix-build-against-upcoming-gcc-14-Werror-calloc.patch
@@ -0,0 +1,37 @@
1From baf992f82aa987c608731866876adb856847ea45 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 6 May 2024 18:03:40 -0700
4Subject: [PATCH] relp: fix build against upcoming `gcc-14`
5 (`-Werror=calloc-transposed-args`)
6
7`gcc-14` added a new `-Wcalloc-transposed-args` warning recently. It
8 detected minor infelicity in `calloc()` API usage
9
10Fixes
11../../git/src/relp.c: In function 'addToEpollSet':
12../../git/src/relp.c:101:39: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
13 101 | CHKmalloc(epd = calloc(sizeof(epolld_t), 1));
14 | ^~~~~~~~
15
16Upstream-Status: Submitted [https://github.com/rsyslog/librelp/pull/264]
17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18---
19 src/relp.c | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/src/relp.c b/src/relp.c
23index eadda36..6268f1d 100644
24--- a/src/relp.c
25+++ b/src/relp.c
26@@ -98,7 +98,7 @@ addToEpollSet(relpEngine_t *const pThis, epolld_type_t typ, void *ptr, int sock,
27 epolld_t *epd = NULL;
28 ENTER_RELPFUNC;
29
30- CHKmalloc(epd = calloc(sizeof(epolld_t), 1));
31+ CHKmalloc(epd = calloc(1, sizeof(epolld_t)));
32 epd->typ = typ;
33 epd->ptr = ptr;
34 epd->sock = sock;
35--
362.45.0
37
diff --git a/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb b/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb
index 9d949c6303..3ccb87a9c5 100644
--- a/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb
+++ b/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb
@@ -11,12 +11,14 @@ SRC_URI = "git://github.com/rsyslog/librelp.git;protocol=https;branch=stable \
11 file://0001-tests-Fix-callback-prototype.patch \ 11 file://0001-tests-Fix-callback-prototype.patch \
12 file://0001-tcp-fix-some-compiler-warnings-with-enable-tls-opens.patch \ 12 file://0001-tcp-fix-some-compiler-warnings-with-enable-tls-opens.patch \
13 file://0001-tests-Include-missing-sys-time.h.patch \ 13 file://0001-tests-Include-missing-sys-time.h.patch \
14 file://0001-relp-fix-build-against-upcoming-gcc-14-Werror-calloc.patch \
14 file://run-ptest \ 15 file://run-ptest \
15" 16"
16 17
17SRCREV = "b421f56d9ee31a966058d23bd23c966221c91396" 18SRCREV = "b421f56d9ee31a966058d23bd23c966221c91396"
18 19
19S = "${WORKDIR}/git" 20
21CVE_PRODUCT = "rsyslog:librelp"
20 22
21inherit autotools pkgconfig ptest 23inherit autotools pkgconfig ptest
22 24
@@ -58,14 +60,16 @@ do_install_ptest() {
58 # some tests need to write to this directory 60 # some tests need to write to this directory
59 chmod 777 -R ${D}${PTEST_PATH}/${TESTDIR} 61 chmod 777 -R ${D}${PTEST_PATH}/${TESTDIR}
60 62
61 # do NOT need to rebuild Makefile or $(check_PROGRAMS) 63 sed -e '# do NOT need to rebuild Makefile or $(check_PROGRAMS)' \
62 sed -i 's/^Makefile:.*$/Makefile:/' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 64 -e 's/^Makefile:.*$/Makefile:/' \
63 sed -i 's/^check-TESTS:.*$/check-TESTS:/' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 65 -e 's/^check-TESTS:.*$/check-TESTS:/' \
64 66 -e '# fix the srcdir, top_srcdir, abs_top_builddir' \
65 # fix the srcdir, top_srcdir, abs_top_builddir 67 -e 's,^\(srcdir = \).*,\1${PTEST_PATH}/${TESTDIR},' \
66 sed -i 's,^\(srcdir = \).*,\1${PTEST_PATH}/${TESTDIR},' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 68 -e 's,^\(top_srcdir = \).*,\1${PTEST_PATH}/${TESTDIR},' \
67 sed -i 's,^\(top_srcdir = \).*,\1${PTEST_PATH}/${TESTDIR},' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 69 -e 's,^\(abs_top_builddir = \).*,\1${PTEST_PATH}/,' \
68 sed -i 's,^\(abs_top_builddir = \).*,\1${PTEST_PATH}/,' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 70 -e '# fix the path to test-driver' \
71 -e '/^SH_LOG_DRIVER =/s/(top_srcdir)/(top_builddir)/' \
72 -i ${D}${PTEST_PATH}/${TESTDIR}/Makefile
69 73
70 # install test-driver 74 # install test-driver
71 install -m 644 ${S}/test-driver ${D}${PTEST_PATH} 75 install -m 644 ${S}/test-driver ${D}${PTEST_PATH}
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-disable-the-check-for-inotify.patch b/meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-disable-the-check-for-inotify.patch
index c1480406fe..a506b7a6dc 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-disable-the-check-for-inotify.patch
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-disable-the-check-for-inotify.patch
@@ -1,4 +1,4 @@
1From 194e199ce08acc2192f6a63420ff24d9064666e5 Mon Sep 17 00:00:00 2001 1From 1b02236e84aaed5d80d4a67afb418eadb687d65f Mon Sep 17 00:00:00 2001
2From: Yi Fan Yu <yifan.yu@windriver.com> 2From: Yi Fan Yu <yifan.yu@windriver.com>
3Date: Sat, 27 Mar 2021 19:18:25 -0400 3Date: Sat, 27 Mar 2021 19:18:25 -0400
4Subject: [PATCH] tests: disable the check for inotify 4Subject: [PATCH] tests: disable the check for inotify
@@ -20,10 +20,10 @@ Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
20 1 file changed, 2 insertions(+), 2 deletions(-) 20 1 file changed, 2 insertions(+), 2 deletions(-)
21 21
22diff --git a/tests/diag.sh b/tests/diag.sh 22diff --git a/tests/diag.sh b/tests/diag.sh
23index 6cd60ea88..7424f48c5 100755 23index a9c2a75..0b017c5 100755
24--- a/tests/diag.sh 24--- a/tests/diag.sh
25+++ b/tests/diag.sh 25+++ b/tests/diag.sh
26@@ -2672,7 +2672,7 @@ case $1 in 26@@ -2979,7 +2979,7 @@ case $1 in
27 fi 27 fi
28 ;; 28 ;;
29 'check-inotify') # Check for inotify/fen support 29 'check-inotify') # Check for inotify/fen support
@@ -32,7 +32,7 @@ index 6cd60ea88..7424f48c5 100755
32 echo [inotify mode] 32 echo [inotify mode]
33 elif [ -n "$(find /usr/include/sys/ -name 'port.h' -print -quit)" ]; then 33 elif [ -n "$(find /usr/include/sys/ -name 'port.h' -print -quit)" ]; then
34 grep -qF "PORT_SOURCE_FILE" < /usr/include/sys/port.h 34 grep -qF "PORT_SOURCE_FILE" < /usr/include/sys/port.h
35@@ -2687,7 +2687,7 @@ case $1 in 35@@ -2994,7 +2994,7 @@ case $1 in
36 fi 36 fi
37 ;; 37 ;;
38 'check-inotify-only') # Check for ONLY inotify support 38 'check-inotify-only') # Check for ONLY inotify support
@@ -41,6 +41,3 @@ index 6cd60ea88..7424f48c5 100755
41 echo [inotify mode] 41 echo [inotify mode]
42 else 42 else
43 echo [inotify not supported, skipping...] 43 echo [inotify not supported, skipping...]
44--
452.29.2
46
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-tcpflood.c-Pass-correct-parameter-type-to-send.patch b/meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-tcpflood.c-Pass-correct-parameter-type-to-send.patch
new file mode 100644
index 0000000000..884086bfc3
--- /dev/null
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-tcpflood.c-Pass-correct-parameter-type-to-send.patch
@@ -0,0 +1,32 @@
1From 59753fe14e9eef4909a535b6e00967e546cc29ea Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 11 May 2024 23:31:46 -0700
4Subject: [PATCH] tests/tcpflood.c: Pass correct parameter type to sendto()
5
6Fixes build with GCC-14 and musl
7
8../../rsyslog-8.2404.0/tests/tcpflood.c:811:70: error: passing argument 5 of 'sendto' from incompatible pointer type [-Wincompatible-pointer-types]
9 811 | lenSend = sendto(udpsockout, buf, lenBuf, 0, &udpRcvr, sizeof(udpRcvr));
10 | ^~~~~~~~
11 | |
12 | struct sockaddr_in *
13
14Upstream-Status: Pending
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 tests/tcpflood.c | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/tests/tcpflood.c b/tests/tcpflood.c
21index 5e6f13a..09cedbb 100644
22--- a/tests/tcpflood.c
23+++ b/tests/tcpflood.c
24@@ -836,7 +836,7 @@ int sendMessages(struct instdata *inst)
25 }
26 lenSend = sendPlainTCP(socknum, buf, lenBuf, &error_number);
27 } else if(transport == TP_UDP) {
28- lenSend = sendto(udpsockout, buf, lenBuf, 0, &udpRcvr, sizeof(udpRcvr));
29+ lenSend = sendto(udpsockout, buf, lenBuf, 0, (const struct sockaddr *)&udpRcvr, sizeof(udpRcvr));
30 error_number = errno;
31 } else if(transport == TP_TLS) {
32 if(sockArray[socknum] == -1) {
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog/use-pkgconfig-to-check-libgcrypt.patch b/meta-oe/recipes-extended/rsyslog/rsyslog/use-pkgconfig-to-check-libgcrypt.patch
index 0352587268..f5ae65fb58 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog/use-pkgconfig-to-check-libgcrypt.patch
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog/use-pkgconfig-to-check-libgcrypt.patch
@@ -1,4 +1,4 @@
1From d0852006bf3d305e8984b85b41997d43d4476937 Mon Sep 17 00:00:00 2001 1From d2dd13d930c91e45417c7361908f0af75e0e6c00 Mon Sep 17 00:00:00 2001
2From: Roy Li <rongqing.li@windriver.com> 2From: Roy Li <rongqing.li@windriver.com>
3Date: Wed, 18 Jun 2014 13:46:52 +0800 3Date: Wed, 18 Jun 2014 13:46:52 +0800
4Subject: [PATCH] use pkgconfig to check libgcrypt 4Subject: [PATCH] use pkgconfig to check libgcrypt
@@ -10,16 +10,15 @@ libgcrypt does no longer provide libgcrypt-config, and provide
10 10
11Signed-off-by: Roy Li <rongqing.li@windriver.com> 11Signed-off-by: Roy Li <rongqing.li@windriver.com>
12Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> 12Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13
14--- 13---
15 configure.ac | 15 +-------------- 14 configure.ac | 15 +--------------
16 1 file changed, 1 insertion(+), 14 deletions(-) 15 1 file changed, 1 insertion(+), 14 deletions(-)
17 16
18diff --git a/configure.ac b/configure.ac 17diff --git a/configure.ac b/configure.ac
19index 62178c3..b56c9c7 100644 18index f8c0ac8..794bfb3 100644
20--- a/configure.ac 19--- a/configure.ac
21+++ b/configure.ac 20+++ b/configure.ac
22@@ -889,20 +889,7 @@ AC_ARG_ENABLE(libgcrypt, 21@@ -1217,20 +1217,7 @@ AC_ARG_ENABLE(libgcrypt,
23 [enable_libgcrypt=yes] 22 [enable_libgcrypt=yes]
24 ) 23 )
25 if test "x$enable_libgcrypt" = "xyes"; then 24 if test "x$enable_libgcrypt" = "xyes"; then
@@ -40,4 +39,4 @@ index 62178c3..b56c9c7 100644
40+ PKG_CHECK_MODULES(LIBGCRYPT, libgcrypt) 39+ PKG_CHECK_MODULES(LIBGCRYPT, libgcrypt)
41 fi 40 fi
42 AM_CONDITIONAL(ENABLE_LIBGCRYPT, test x$enable_libgcrypt = xyes) 41 AM_CONDITIONAL(ENABLE_LIBGCRYPT, test x$enable_libgcrypt = xyes)
43 AC_SUBST(LIBGCRYPT_CFLAGS) 42 AM_CONDITIONAL(ENABLE_RSCRYUTIL, test x$enable_libgcrypt = xyes || test x$enable_openssl_crypto_provider = xyes)
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog_8.2402.0.bb b/meta-oe/recipes-extended/rsyslog/rsyslog_8.2504.0.bb
index af46cc14d7..c4ddb72bcc 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog_8.2402.0.bb
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog_8.2504.0.bb
@@ -25,25 +25,28 @@ SRC_URI = "https://www.rsyslog.com/files/download/rsyslog/${BPN}-${PV}.tar.gz \
25 file://use-pkgconfig-to-check-libgcrypt.patch \ 25 file://use-pkgconfig-to-check-libgcrypt.patch \
26 file://run-ptest \ 26 file://run-ptest \
27 file://0001-tests-disable-the-check-for-inotify.patch \ 27 file://0001-tests-disable-the-check-for-inotify.patch \
28 file://0001-tests-tcpflood.c-Pass-correct-parameter-type-to-send.patch \
28" 29"
29 30
30SRC_URI:append:libc-musl = " \ 31SRC_URI:append:libc-musl = " \
31 file://0001-Include-sys-time-h.patch \ 32 file://0001-Include-sys-time-h.patch \
32 file://disable-omfile-outchannel.patch \ 33 file://disable-omfile-outchannel.patch \
33" 34"
35SRC_URI[sha256sum] = "5092a20ed40987c74cc604ebfcd6c749e47eb9fc34adc1c2637e6553e7f047ab"
34 36
35SRC_URI[sha256sum] = "acbdd8579489df36b4a383dc6909a61b7623807f0aff54c062115f2de7ea85ba" 37UPSTREAM_CHECK_URI = "https://github.com/rsyslog/rsyslog/tags"
36
37UPSTREAM_CHECK_URI = "https://github.com/rsyslog/rsyslog/releases"
38UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" 38UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
39 39
40CVE_PRODUCT = "rsyslog:rsyslog"
41
40inherit autotools pkgconfig systemd update-rc.d ptest 42inherit autotools pkgconfig systemd update-rc.d ptest
41 43
42EXTRA_OECONF += "--disable-generate-man-pages ap_cv_atomic_builtins=yes" 44EXTRA_OECONF += "--enable-imfile-tests ${ATOMICS}"
43EXTRA_OECONF += "--enable-imfile-tests" 45ATOMICS = "ap_cv_atomic_builtins_64=yes ap_cv_atomic_builtins=yes"
44EXTRA_OECONF:remove:mipsarch = "ap_cv_atomic_builtins=yes" 46ATOMICS:mipsarch = ""
45EXTRA_OECONF:remove:powerpc = "ap_cv_atomic_builtins=yes" 47ATOMICS:powerpc = ""
46EXTRA_OECONF:remove:riscv32 = "ap_cv_atomic_builtins=yes" 48ATOMICS:riscv32 = ""
49ATOMICS:armv5 = ""
47 50
48# first line is default yes in configure 51# first line is default yes in configure
49PACKAGECONFIG ??= " \ 52PACKAGECONFIG ??= " \
@@ -99,16 +102,18 @@ do_install_ptest() {
99 # some tests need to write to this directory as user 'daemon' 102 # some tests need to write to this directory as user 'daemon'
100 chmod 777 -R ${D}${PTEST_PATH}/tests 103 chmod 777 -R ${D}${PTEST_PATH}/tests
101 104
102 # do NOT need to rebuild Makefile itself 105 sed -e '# do NOT need to rebuild Makefile itself' \
103 sed -i 's/^Makefile:.*$/Makefile:/' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 106 -e 's/^Makefile:.*$/Makefile:/' \
104 # do NOT need to rebuild $(check_PROGRAMS) 107 -e '# do NOT need to rebuild $(check_PROGRAMS)' \
105 sed -i 's/^check-TESTS:.*$/check-TESTS:/' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 108 -e 's/^check-TESTS:.*$/check-TESTS:/' \
106 109 -e '# fix the srcdir, top_srcdir' \
107 # fix the srcdir, top_srcdir 110 -e 's,^\(srcdir = \).*,\1${PTEST_PATH}/tests,' \
108 sed -i 's,^\(srcdir = \).*,\1${PTEST_PATH}/tests,' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 111 -e 's,^\(top_srcdir = \).*,\1${PTEST_PATH}/tests,' \
109 sed -i 's,^\(top_srcdir = \).*,\1${PTEST_PATH}/tests,' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 112 -e '# fix the abs_top_builddir' \
110 # fix the abs_top_builddir 113 -e 's,^\(abs_top_builddir = \).*,\1${PTEST_PATH}/,' \
111 sed -i 's,^\(abs_top_builddir = \).*,\1${PTEST_PATH}/,' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 114 -e '# fix the path to test-driver' \
115 -e '/^\(SH_\)\?LOG_DRIVER/s/(top_srcdir)/(top_builddir)/' \
116 -i ${D}${PTEST_PATH}/${TESTDIR}/Makefile
112 117
113 # install test-driver 118 # install test-driver
114 install -m 644 ${S}/test-driver ${D}${PTEST_PATH} 119 install -m 644 ${S}/test-driver ${D}${PTEST_PATH}
@@ -137,9 +142,9 @@ do_install_ptest() {
137do_install:append() { 142do_install:append() {
138 install -d "${D}${sysconfdir}/init.d" 143 install -d "${D}${sysconfdir}/init.d"
139 install -d "${D}${sysconfdir}/logrotate.d" 144 install -d "${D}${sysconfdir}/logrotate.d"
140 install -m 755 ${WORKDIR}/initscript ${D}${sysconfdir}/init.d/syslog 145 install -m 755 ${UNPACKDIR}/initscript ${D}${sysconfdir}/init.d/syslog
141 install -m 644 ${WORKDIR}/rsyslog.conf ${D}${sysconfdir}/rsyslog.conf 146 install -m 644 ${UNPACKDIR}/rsyslog.conf ${D}${sysconfdir}/rsyslog.conf
142 install -m 644 ${WORKDIR}/rsyslog.logrotate ${D}${sysconfdir}/logrotate.d/logrotate.rsyslog 147 install -m 644 ${UNPACKDIR}/rsyslog.logrotate ${D}${sysconfdir}/logrotate.d/logrotate.rsyslog
143 sed -i -e "s#@BINDIR@#${bindir}#g" ${D}${sysconfdir}/logrotate.d/logrotate.rsyslog 148 sed -i -e "s#@BINDIR@#${bindir}#g" ${D}${sysconfdir}/logrotate.d/logrotate.rsyslog
144 149
145 if ${@bb.utils.contains('PACKAGECONFIG', 'imjournal', 'true', 'false', d)}; then 150 if ${@bb.utils.contains('PACKAGECONFIG', 'imjournal', 'true', 'false', d)}; then
@@ -152,7 +157,7 @@ do_install:append() {
152 fi 157 fi
153 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 158 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
154 install -d ${D}${systemd_system_unitdir} 159 install -d ${D}${systemd_system_unitdir}
155 install -m 644 ${WORKDIR}/rsyslog.service ${D}${systemd_system_unitdir} 160 install -m 644 ${UNPACKDIR}/rsyslog.service ${D}${systemd_system_unitdir}
156 sed -i -e "s,@sbindir@,${sbindir},g" ${D}${systemd_system_unitdir}/rsyslog.service 161 sed -i -e "s,@sbindir@,${sbindir},g" ${D}${systemd_system_unitdir}/rsyslog.service
157 fi 162 fi
158} 163}