Debian Patches

Status for openrc/0.56-1

Patch Description Author Forwarded Bugs Origin Last update
0003-dependency-loop-resolver.patch remove the weak dependency loop in rc-update -u, while exit on strong loop. Benda Xu <heroxbd@gentoo.org> Dmitry Yu Okunev <dyokunev@ut.mephi.ru> yes https://github.com/xaionaro/openrc 2017-01-04
0004-consider-initd-shebangs.patch Allow non-sh shebang in init.d scripts. If /bin/sh is not detected in initscript shebang, to avoid for instance
bashisms /bin/sh can't understand, runscript re-runs itself with non-sh
shell. This workarounds failures starting non-sh initscript.
Gabriele Giacone <1o5g4r8o@gmail.com> no 2017-01-04
0005-Fix-FTBFS-on-Hurd.patch [PATCH] Fix FTBFS on Hurd. Mark Hindley <mark@hindley.org.uk> no 2022-07-25
0010-cgroups-after-mountkernfs.patch cgroups starts after sysfs, named mountkernfs in Debian. Benda Xu <heroxbd@gentoo.org> not-needed 2020-05-15
0006-Fix-build-on-GNU-Hurd-define-_GNU_SOURCE-so-unistd.h.patch Fix build on GNU Hurd: define _GNU_SOURCE so unistd.h declares pipe2.

cc -Isrc/start-stop-daemon/start-stop-daemon.p -Isrc/start-stop-daemon -I../src/start-stop-daemon -Isrc/shared -I../src/shared -Isrc/libeinfo -I../src/libeinfo -Isrc/librc -I../src/librc -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c99 -D_DEFAULT_SOURCE -DMAXPATHLEN=4096 -DPATH_MAX=4096 -Wcast-align -Wcast-qual -Wdeclaration-after-statement -Wformat=2 -Winline -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsequence-point -Wshadow -Wwrite-strings -Werror=implicit-function-declaration -DHAVE_MALLOC_EXTENDED_ATTRIBUTE -DHAVE_CLOSEFROM -DHAVE_CLOSE_RANGE_CLOEXEC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ src/start-stop-daemon/start-stop-daemon.p/start-stop-daemon.c.o -MF src/start-stop-daemon/start-stop-daemon.p/start-stop-daemon.c.o.d -o src/start-stop-daemon/start-stop-daemon.p/start-stop-daemon.c.o -c ../src/start-stop-daemon/start-stop-daemon.c
../src/start-stop-daemon/start-stop-daemon.c: In function ‘main’:
../src/start-stop-daemon/start-stop-daemon.c:865:13: error: implicit declaration of function ‘pipe2’; did you mean ‘pipe’? [-Werror=implicit-function-declaration]
865 | if (pipe2(pipefd, O_CLOEXEC) == -1)
| ^~~~~
| pipe

Although this is triggered on HURD, according to glibc pipe2(2), this is
required for the 2 argument form irresepctive of arch.

SYNOPSIS
#include <unistd.h>

int pipe(int pipefd[2]);

#define _GNU_SOURCE /* See feature_test_macros(7) */
#include <fcntl.h> /* Definition of O_* constants */
#include <unistd.h>

int pipe2(int pipefd[2], int flags);
Mark Hindley <mark@hindley.org.uk> no 2023-04-23
0002-lsb-header-support.patch This patch adds support for the sysv-rc LSB headers This is the take 2 of the LSB headers patch. The first version was using a
perl script, which isn't good enough (because of /usr/bin/perl, we need to
have /usr mounted early, which isn't possible). This rewrite in C fixes the
issue.
Dmitry Yu Okunev <dyokunev@ut.mephi.ru> no 2017-01-04

All known versions for source package 'openrc'

Links