[crux-commits] ports/core (3.6): start-stop-daemon: update to 20210417, sync with upstream 1.20.8

crux at crux.nu crux at crux.nu
Sun Apr 18 09:36:11 UTC 2021


commit b2e4a4bc6b77a06fff7c2f3d09ee6cfcbc5431f2
Author: Juergen Daubert <jue at jue.li>
Date:   Sun Apr 18 11:35:21 2021 +0200

    start-stop-daemon: update to 20210417, sync with upstream 1.20.8

diff --git a/start-stop-daemon/.signature b/start-stop-daemon/.signature
index f822de8c..114ccb91 100644
--- a/start-stop-daemon/.signature
+++ b/start-stop-daemon/.signature
@@ -1,8 +1,8 @@
 untrusted comment: verify with /etc/ports/core.pub
-RWRJc1FUaeVeqsNL6g8ZyJ5JvTcjHYjX1m9ID9Wdy+Strp6/sxdAHN2Lqp0sXfckN9afsjzhx2DAR7SUXYS3Vr8+SAPymIJmawU=
-SHA256 (Pkgfile) = 5808bc2dc26db91b17b3799250c742957fdaec7c99cf9590df1decdd4d26f78b
+RWRJc1FUaeVeqvMw2t6PikYaEjFQVlkyVVpKn3LKc95Ppuvs892tqxUl4FTh0/CLHw7CfhpkbHjl5rJwfhZh9f/Z7pi5EYuyKAA=
+SHA256 (Pkgfile) = 659d9bbb6007968396c34ea1e0bf3b1e2de4c3d6e03e90fa67cca4b6ddcdc76d
 SHA256 (.footprint) = a24924dba386364cd2326ad6abefd3be01927f37f8f2175b3f56845fc88bfb79
-SHA256 (start-stop-daemon.c) = 993487323a2d32c4bced321414ab5f66fc5e546b1863a9239aeb158423bedf7c
+SHA256 (start-stop-daemon.c) = d8d88dcd212db0b05f207f27a507f47c53cea055ca8a07b61da7e19e7a2ad7d0
 SHA256 (start-stop-daemon.pod) = c588a34af20e087a57ea79349a6c2494874f7b6b673e464661dcff68a0335ced
-SHA256 (crux-patch.diff) = f9ceec9a82d41ee663f12a3e351172cb26524664a6479062f49f1e50531f2608
+SHA256 (crux-patch.diff) = 86f706a6b8f4801fb002275b6b96f11ed525320580e8df20aac92aa5034d8850
 SHA256 (makefile) = 74de83342773a7de5928acbdbe79777e54169666b395d1d10bbae34386aed62a
diff --git a/start-stop-daemon/Pkgfile b/start-stop-daemon/Pkgfile
index e53d48d4..c3f48310 100644
--- a/start-stop-daemon/Pkgfile
+++ b/start-stop-daemon/Pkgfile
@@ -1,9 +1,9 @@
 # Description: Control the creation and termination of system-level processes
-# URL:         https://man7.org/linux/man-pages/man8/start-stop-daemon.8.html
-# Maintainer:  CRUX System Team, core-ports at crux dot nu
+# URL: https://man7.org/linux/man-pages/man8/start-stop-daemon.8.html
+# Maintainer: CRUX System Team, core-ports at crux dot nu
 
 name=start-stop-daemon
-version=20210109
+version=20210417
 release=1
 source=(start-stop-daemon.c start-stop-daemon.pod crux-patch.diff makefile)
 
diff --git a/start-stop-daemon/crux-patch.diff b/start-stop-daemon/crux-patch.diff
index a5865088..408eab8e 100644
--- a/start-stop-daemon/crux-patch.diff
+++ b/start-stop-daemon/crux-patch.diff
@@ -12,7 +12,7 @@ index d16f0ed..1c3ff78 100644
  
  #include <dpkg/macros.h>
 +#else
-+# define VERSION "20210109"
++# define VERSION "20210417"
 +# define CRUX "CRUX-Linux"
 +
 +# define WANT_SYSTEMD_NOTIFY 0 /* 1=yes */
diff --git a/start-stop-daemon/start-stop-daemon.c b/start-stop-daemon/start-stop-daemon.c
index d16f0ed2..98494b86 100644
--- a/start-stop-daemon/start-stop-daemon.c
+++ b/start-stop-daemon/start-stop-daemon.c
@@ -2593,7 +2593,7 @@ do_start(int argc, char **argv)
 			fatale("unable to open '%s'", "/dev/null");
 	}
 	if (background && output_io) {
-		output_fd = open(output_io, O_CREAT | O_WRONLY, 0664);
+		output_fd = open(output_io, O_CREAT | O_WRONLY | O_APPEND, 0664);
 		if (output_fd < 0)
 			fatale("unable to open '%s'", output_io);
 	}


More information about the crux-commits mailing list