[crux-commits] ports/core (3.6): sysklogd: fix kernel logging

crux at crux.nu crux at crux.nu
Mon Jul 5 14:19:47 UTC 2021


commit a9ca4c60b607e75854c41a5b309d1e7dfe1ab224
Author: Juergen Daubert <jue at jue.li>
Date:   Mon Jul 5 16:19:29 2021 +0200

    sysklogd: fix kernel logging

diff --git a/sysklogd/.signature b/sysklogd/.signature
index d77b6d8e..55c37322 100644
--- a/sysklogd/.signature
+++ b/sysklogd/.signature
@@ -1,9 +1,9 @@
 untrusted comment: verify with /etc/ports/core.pub
-RWRJc1FUaeVeqgmEiqwcF6ImCeY/RGWjX5BFY8TtD8Tq+elF+3bScOTe7UgFt6oTEjJn0o8GJnh7HBMdiFV8t8LWcMrHQWnB5gQ=
-SHA256 (Pkgfile) = 225f71ac8e1046c99fca10ab8b9205dfc1c8eedd1bfc9c7761d048bc6b66efb2
+RWRJc1FUaeVeqlSUMvRLOzDzHepsWoT6fk9eQzeBG7rTtnXCd9bi4nEj+KHPu5W5Us3e34vRULnvr1r7zAeJeJZroU4ThsDVEQY=
+SHA256 (Pkgfile) = 1a001286c293a59103ea97fdee683dc0c537ab377d1596e8489bfb4d98e84751
 SHA256 (.footprint) = 31677d7ab33846d1a9b4a78c8570273d37f05e2ded2e784698af56586e603cd6
 SHA256 (sysklogd-2.2.3.tar.gz) = e7ea09c15511a63c430e84f65ce3bf55a0386ee419ab52e9341c4a9fabae59ad
 SHA256 (rotatelog) = 4f51230e8c371d61018d88f6d88d1c6bf6b9aee054302fbf4285c82084bdc98f
 SHA256 (syslog) = fc29247aaee9baec087d29a6ffef469d8301bddef913bb7eee67151fceba7112
 SHA256 (syslog.conf) = b38189cac2b80dcd7d74d8759dddcdd57a203becdbece27253d6d2ba25be95c2
-SHA256 (sysklogd) = 001f538fd45368fa55356f1c347b727570cb6790d9cb2f05824726b3af751904
+SHA256 (sysklogd) = 2bbf42b9cdb6a7e1f1d89d0ad248cba1346ed5363191c9c4cb8d2b18a984f21d
diff --git a/sysklogd/Pkgfile b/sysklogd/Pkgfile
index db623cc1..7d77948a 100644
--- a/sysklogd/Pkgfile
+++ b/sysklogd/Pkgfile
@@ -4,7 +4,7 @@
 
 name=sysklogd
 version=2.2.3
-release=1
+release=2
 source=(https://github.com/troglobit/sysklogd/releases/download/v$version/$name-$version.tar.gz \
 	rotatelog syslog syslog.conf sysklogd)
 
@@ -15,6 +15,7 @@ build() {
 		--prefix=/usr \
 		--sysconfdir=/etc \
 		--localstatedir=/var \
+		--runstatedir=/run \
 		--without-logger
 
 	make
diff --git a/sysklogd/sysklogd b/sysklogd/sysklogd
index 4edced7f..55129ae2 100644
--- a/sysklogd/sysklogd
+++ b/sysklogd/sysklogd
@@ -6,14 +6,13 @@
 SSD=/sbin/start-stop-daemon
 PROG=/usr/sbin/syslogd
 OPTS=-ss
-PID=/var/run/syslogd.pid
+PID=/run/syslogd.pid
 
 case $1 in
 start)
 	$SSD --start --oknodo --pidfile $PID --exec $PROG  -- $OPTS
 	;;
 stop)
-	pkill -x klogd
 	$SSD --stop --retry 10 --pidfile $PID 
 	;;
 restart)


More information about the crux-commits mailing list