summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* doc/install.html: add link to sha256sum.ascGerrit Pape2024-09-272-0/+2
|
* doc: change mail addressGerrit Pape2024-09-263-3/+4
|
* package/TODO: removeGerrit Pape2024-09-262-8/+1
|
* package/README,COPYING: Copyright dateGerrit Pape2024-09-263-2/+3
|
* CHANGESGerrit Pape2024-09-261-0/+2
|
* fix compilation warning(s): -WunsequencedZ. Liu2024-09-261-1/+2
| | | | | | | | | | | | | | found by using clang 18 with CFLAGS: -Wall link of debian's patches is: https://salsa.debian.org/debian/runit/-/tree/master/debian/patches 0016-fix-warning-for-undefined-operation-on-sequence-poin.patch chpst.c:312:33: warning: unsequenced modification and access to 'subgetoptarg' [-Wunsequenced] 312 | if (optarg[scan_ulong(++optarg, &ul)]) usage(); nicelvl =ul; | ~~~~~~ ^ gcc report: chpst.c:312:33: warning: operation on 'subgetoptarg' may be undefined [-Wsequence-point]
* CHANGESGerrit Pape2024-09-251-0/+1
|
* svlogd.c: Initialize all fields of sockaddr_in.Érico Rolim2024-09-251-0/+1
| | | | http://skarnet.org/cgi-bin/archive.cgi?2:mss:1163:201602:gpiglpbjdemlioaeabbn
* CHANGESGerrit Pape2024-09-251-0/+2
|
* add sleep_microseconds to encapsulate (u|nano)sleepZ. Liu2024-09-251-1/+13
| | | | | | | | | | | man 3 usleep: POSIX.1-2001 declares it obsolete, suggesting nanosleep(2) instead. Removed in POSIX.1-2008. we use a feature test macro to select usleep or naosleep, while debian's patch replace usleep with nanosleep. links of debian's patches is: https://salsa.debian.org/debian/runit/-/tree/master/debian/patches 0017-fix-replace-obsolete-usleep-with-nanosleep.patch
* CHANGESGerrit Pape2024-09-251-0/+6
|
* add/update doc & man page of chpst and runsvZ. Liu2024-09-256-18/+77
| | | | | | | | | | | | | | | 1. fix error in runsv for log/finish: Log ./finish script is not actually invoked. It is not clear, whether this limitation is worth lifting. 2. add options -t and -V to chpst man page; ignore -r since it's obsolete. 3. clarify in runsv.8 manpage how signal override works with control/dx copied from debian's patch: 0009-fix-error-in-manpage.patch 0027-Clarify-runsv-8-control-dx.patch 0027-Add-missing-options-to-chpst-manpage.patch links of debian's patches is: https://salsa.debian.org/debian/runit/-/tree/master/debian/patches
* CHANGESGerrit Pape2024-09-251-0/+2
|
* support /etc/runit/nosync file to make sync on shutdown/reboot optionalAndras Korn2024-09-254-5/+18
| | | | https://bugs.debian.org/695281
* no longer check for shortsetgroups, setgroups is used directlyGerrit Pape2024-09-258-86/+8
| | | | Thx Leah Neukirchen.
* utmpset.c: mixes "int32_t *" and "time_t *"Gerrit Pape2024-09-252-2/+7
| | | | | Don't pass int32_t to time(), thx Lorenzo Beretta, https://bugs.debian.org/754849
* CHANGESGerrit Pape2024-09-251-0/+4
|
* fix compilation warning(s): -Wincompatible-pointer-types-discards-qualifiersZ. Liu2024-09-2512-33/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | found by using clang 18 with CFLAGS: -Wall since gcc 14, certain warnings (including this one, gcc report as -Wincompatible-pointer-types) are now errors, see https://gcc.gnu.org/gcc-14/porting_to.html link of debian's patches is: https://salsa.debian.org/debian/runit/-/tree/master/debian/patches 0014-fix-implicit-declarations-incompatible-types-argv-ty.patch pathexec_run.c: warning: passing 'const char *const *' to parameter of type 'char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 19 | execve(file,argv,envp); | ^~~~ ^~~~ 36 | execve(tmp.s,argv,envp); | ^~~~ ^~~~ pathexec_env.c:67:21: warning: passing 'const char *const *' to parameter of type 'char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 67 | pathexec_run(file,argv,e); | ^~~~ pathexec_env.c:67:26: warning: passing 'const char **' to parameter of type 'char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 67 | pathexec_run(file,argv,e); | ^ runsvdir.c:74:25: warning: passing 'const char *[3]' to parameter of type 'char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 74 | pathexec_run(*prog, prog, (const char* const*)environ); | ^~~~ runsvdir.c:74:31: warning: passing 'const char *const *' to parameter of type 'char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 74 | pathexec_run(*prog, prog, (const char* const*)environ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
* CHANGESGerrit Pape2024-09-251-0/+3
|
* fix compilation errors(s)/warning(s) of x86_cpuid.cZ. Liu2024-09-251-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | found by using clang 18 with CFLAGS: -Wall link of debian's patches is: https://salsa.debian.org/debian/runit/-/tree/master/debian/patches 0029-fix-ftbfs-with-gcc14.patch x86cpuid.c:7:3: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 7 | exit(1); | ^ x86cpuid.c:34:7: error: call to undeclared function 'putchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | putchar(c); | ^ x86cpuid.c:37:3: error: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | printf("-%08x-%08x\n",y[0],y[3]); | ^ x86cpuid.c:37:25: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 37 | printf("-%08x-%08x\n",y[0],y[3]); | ~~~~ ^~~~ | %08lx x86cpuid.c:37:30: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 37 | printf("-%08x-%08x\n",y[0],y[3]); | ~~~~ ^~~~ | %08lx gcc report: x86cpuid.c:7:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] x86cpuid.c:7:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] x86cpuid.c:34:7: warning: implicit declaration of function 'putchar' [-Wimplicit-function-declaration] x86cpuid.c:37:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] x86cpuid.c:37:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch] x86cpuid.c:37:15: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] x86cpuid.c:37:20: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
* CHANGESGerrit Pape2024-09-251-0/+3
|
* fix compilation error(s): call to undeclared function for C99 and laterZ. Liu2024-09-254-0/+5
| | | | | | | | | | found by using clang 18 with CFLAGS: -Wall error: call to undeclared function '...'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] chpst.c: setgroups pathexec_run.c: execve prot.c: setgroups, setgid, setuid seek_set.c: lseek
* CHANGESGerrit Pape2024-09-251-0/+8
|
* fix undesired compilation error(s) of feature testZ. Liu2024-09-259-4/+14
| | | | | | | | | | | | | | | | | | | | If don't fix, the feature test will generate undesired .h which will be used in later compilation, some will cause build failed. see *.h{1,2} for details, run following cmd to see difference: diff -uprN <(more *.h1|sed 's:\.h1$:.h:g') <(more *.h2|sed 's:\.h2$:.h:g') found by using clang 18 with CFLAGS: -Wall link of debian's patches is: https://salsa.debian.org/debian/runit/-/tree/master/debian/patches 0029-fix-ftbfs-with-gcc14.patch chkshsgr.c trycpp.c trypoll.c tryshsgr.c tryulong64.c: error: call to undeclared function '...'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] functions are: _exit, exit, getgroups, printf, setgroups tryflock.c trysgact.c trysgprm.c trywaitp.c: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
* archive. v2.1.2Gerrit Pape2014-08-101-0/+0
|
* release 2.1.2.Gerrit Pape2014-08-107-13/+14
|
* * doc/index.html: reorder, cleanup links to distributions; add LinuxGerrit Pape2014-08-102-10/+16
| | | | from Scratch, Finnix, VServer.
* update htmlGerrit Pape2014-08-101-62/+73
|
* * sv.c: properly format status command's output on failure cases.Gerrit Pape2014-08-103-9/+14
|
* src/sv.dist: adapt.Gerrit Pape2014-08-041-1/+1
|
* * sv.c: support optional LSB init script actions reload andGerrit Pape2014-08-013-1/+20
| | | | | | try-restart. http://bugs.debian.org/545227
* * man/sv.8: "sv exit" does not send a TERM signal to the log serviceGerrit Pape2014-07-312-2/+5
| | | | | | (thx Jonathan Nieder). See https://bugs.debian.org/627574
* * fmt_ptime.c: 64 bits time_t fix for svlogd (tnx JérémieGerrit Pape2014-07-302-1/+3
| | | | | | | Courrèges-Anglas). Patch fetched from the OpenBSD ports tree http://openbsd.cs.toronto.edu/cgi-bin/cvsweb/ports/sysutils/runit/patches/patch-src_fmt_ptime_c?rev=1.1&content-type=text/x-cvsweb-markup
* * sv.c: fix typo that may lead to wrong output from sv when reportingGerrit Pape2014-07-302-1/+3
| | | | | | | | | | | | | | | | | | | | | | | status of multiple service directories. Thx Jamie Heilman, https://bugs.debian.org/715512: > Given two service directories: > > # ls testapp1 > run supervise > # ls testapp2 > log run supervise > > where testapp1 is running, and testapp2 isn't: > > # sv status ./testapp1 > run: ./testapp1: (pid 3682) 408178s > # sv status ./testapp2 > fail: ./testapp2: runsv not running > # sv status ./testapp1 ./testapp2 > run: ./testapp1: (pid 3682) 408184s > fail: ./testapp2: runsv not running > run: ./testapp2: (pid 3682) 408184sfail: ./testapp2: runsv not running
* * doc/index.html: add ArchLinux to list of distributions that includeGerrit Pape2011-07-212-0/+4
| | | | runit (thx Kevin Berry).
* * doc/index.html: add Dragora GNU/Linux to list of distributions thatGerrit Pape2010-02-182-0/+4
| | | | use runit as default init scheme (thx Matias A. Fonzo).
* * doc/useinit.html: update description on how to use with upstartGerrit Pape2009-10-072-10/+13
| | | | (thx Gabriel de Perthuis).
* * doc/index.html: add deepOfix Mail Server to list of distributionsGerrit Pape2009-10-062-0/+7
| | | | that include runit (thx Debayan Banerjee).
* archive. v2.1.1Gerrit Pape2009-10-041-0/+0
|
* release 2.1.1.Gerrit Pape2009-10-046-12/+13
|
* update chpst.dist, sv.distGerrit Pape2009-10-043-5/+5
|
* * sv.c: on 'down', send runsv the 'down' command properly if not yetGerrit Pape2009-10-042-1/+4
| | | | done (e.g. when taken up with 'once').
* * doc/upgrade.html: fix typo.Gerrit Pape2009-09-292-1/+5
|
* archive. v2.1.0Gerrit Pape2009-09-241-0/+0
|
* release 2.1.0.Gerrit Pape2009-09-247-12/+17
|
* update html.Gerrit Pape2009-09-242-3/+7
|
* * man/sv.8: clarify which return values apply to the LSB init scriptGerrit Pape2009-09-242-5/+6
| | | | interface.
* * runsv.c: exit with error if [log/]supervise/control exists, but isGerrit Pape2009-09-242-0/+10
| | | | not a fifo (thx Charlie Brady).
* * chpst.c, svwaitdown.c, svwaitup.c: fix checks for return value ofGerrit Pape2009-09-244-3/+5
| | | | open_* functions (thx David Reiss).
* * sv.c: fix exit code of status command in lsb mode (thx MathieuGerrit Pape2009-09-242-4/+8
| | | | Poumeyrol)