Pull in a patch which upstream have acked on the upstream bug but
not yet merged/put in a release. This fixes criterion's testsuite.
Thanks to matoro and emily.
Closes: https://bugs.gentoo.org/934665
Signed-off-by: Sam James <sam@gentoo.org>
runit can be used either as a replacement of init (pid 1) or as a process
supervisor. We're discussing the first case here. Currently, Gentoo use openrc
to handle service startup and stop in runit's stage 1 & 3, which might be too
heavy for a lighweight init. Most people who choose runit as init will likely
to write their own scripts. Therefore, the call of openrc is changed to a
template script, and won't be called by default.
Additionally, to provide users with more options, a new USE "scripts" is added.
If disabled, no script(s) will be installed into /etc/runit.
1. remove dependency on openrc, add USE scripts (enabled by default), if
disabled, will keep /etc/runit clean.
2. replace /bin/sh w/ /bin/bash for stage 1 & 3 scripts.
3. add /etc/runit/rc.sh to call user-defined scripts during stage 1 & 3
4. move the call of openrc in /etc/runit/{1,3} to /etc/runit/rc/{1,3}.openrc.example
Closes: https://bugs.gentoo.org/611846
Reviewed-by: Alex Efros <powerman-asdf@yandex.ru>
Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39776
Signed-off-by: Sam James <sam@gentoo.org>
1. USE="irc-plus" is default enabled now
2. /etc/ngircd/{,ngircd.conf} owned by root:ngircd, and update permissions
3. configure report getaddrinfo not works because of stricter compiler check:
checking whether getaddrinfo() works... no
configure:6303: x86_64-pc-linux-gnu-gcc -o conftest -g -O2 -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes -fstack-protector -DSYSCONFDIR='"$(sysconfdir)"' -DDOCDIR='"$(docdir)"' conftest.c >&5
conftest.c: In function 'main':
conftest.c:99:9: error: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
configure.ac still use de-ANSI-fication (which is only available in
old automake) in order to support old systems. So we can't patch
configure.ac and run eautoreconf. see
https://github.com/ngircd/ngircd/issues/261
It's important to make sure ngircd-26.1-configure-getaddrinfo.patch
works correctly for each new release.
[sam: Committing as stable here given the IPv6 issue is bad and currently
broken in stable.]
Closes: https://bugs.gentoo.org/719256
Closes: https://bugs.gentoo.org/900082
Closes: https://bugs.gentoo.org/908349
Closes: https://bugs.gentoo.org/946998
Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39860
Signed-off-by: Sam James <sam@gentoo.org>