runit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit bd97317b23356b5d0e518d2bbd92182f2b84e04c
parent b2b5fbcf108c4ed7b6a1b9869c9c8910c7cdea4b
Author: Gerrit Pape <pape@smarden.org>
Date:   Tue, 20 Nov 2001 11:01:14 +0000

package moved to smarden.org.
0.1.1.

Diffstat:
MMakefile | 4++--
Mdebian/changelog | 4++--
Mdebian/postinst | 2+-
Mdebian/rules | 44++++++++++++++++++++++----------------------
Mdoc/index.html | 15+++++++--------
Mdoc/install.html | 14+++++++-------
Mdoc/replaceinit.html | 6+++---
Mdoc/runit-halt.8.html | 2+-
Mdoc/runit-init.8.html | 2+-
Mdoc/runit-reboot.8.html | 2+-
Mdoc/runit.8.html | 2+-
Mpackage/CHANGES | 4++++
Mpackage/README | 2+-
Mpackage/upgrade | 4++--
Msrc/Makefile | 4++++
15 files changed, 59 insertions(+), 52 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,6 +1,6 @@ DESTDIR= -PACKAGE=runit-0.1.0 +PACKAGE=runit-0.1.1 DIRS=doc man etc package src MANPAGES=man/runit.8 man/runit-init.8 man/runit-halt.8 man/runit-reboot.8 DAEMONTOOLS_PD=daemontools-pd-0.76 @@ -11,7 +11,7 @@ all: clean .manpages $(DAEMONTOOLS_PD).tar.gz $(PACKAGE).tar.gz for i in $(MANPAGES); do \ rman -S -f html -r '' < $$i | \ sed -e 's}NAME="sect\([0-9]*\)" HREF="#toc[0-9]*">\(.*\)}NAME="sect\1">\2}g ; \ - s}<A HREF="#toc">Table of Contents</A>}<a href="http://innominate.org/~pape/">G. Pape</a><br><A HREF="index.html">runit</A><hr>}g ; \ + s}<A HREF="#toc">Table of Contents</A>}<a href="http://smarden.org/pape/">G. Pape</a><br><A HREF="index.html">runit</A><hr>}g ; \ s}<!--.*-->}}g' \ > doc/`basename $$i`.html ; \ done ; \ diff --git a/debian/changelog b/debian/changelog @@ -1,8 +1,8 @@ -runit (0.1.0-1) unstable; urgency=low +runit (0.1.1-1) unstable; urgency=low * Initial Release. - -- Gerrit Pape <pape@smarden.org> Fri, 16 Nov 2001 14:01:27 +0100 + -- Gerrit Pape <pape@smarden.org> Tue, 20 Nov 2001 11:56:58 +0100 Local variables: mode: debian-changelog diff --git a/debian/postinst b/debian/postinst @@ -25,7 +25,7 @@ set -e case "$1" in configure) ( \ - cd /package/admin/runit-0.1.0 + cd /package/admin/runit-0.1.1 package/upgrade ) ;; diff --git a/debian/rules b/debian/rules @@ -24,18 +24,18 @@ build-stamp: # $(MAKE) #/usr/bin/docbook-to-man debian/runit.sgml > runit.1 - tar xfzvp runit-0.1.0.tar.gz - mkdir -p admin/runit-0.1.0/compile + tar xfzvp runit-0.1.1.tar.gz + mkdir -p admin/runit-0.1.1/compile tar xfzvp daemontools-pd-0.76.tar.gz \ - -C admin/runit-0.1.0/compile - ( cd admin/runit-0.1.0/compile ; \ + -C admin/runit-0.1.1/compile + ( cd admin/runit-0.1.1/compile ; \ ln -s daemontools-pd-0.76 support ) ( \ - cd admin/runit-0.1.0 ; \ + cd admin/runit-0.1.1 ; \ package/compile ; \ - echo "/package/admin/runit-0.1.0" > compile/home ; \ + echo "/package/admin/runit-0.1.1" > compile/home ; \ rm -f compile/src ; \ - ln -s /package/admin/runit-0.1.0/src compile/src ; \ + ln -s /package/admin/runit-0.1.1/src compile/src ; \ ) touch build-stamp @@ -62,40 +62,40 @@ install: build chmod 1755 debian/runit/package cp -a admin debian/runit/package/ - rm -rf debian/runit/package/admin/runit-0.1.0/compile - cp -a debian/runit/package/admin/runit-0.1.0/man . - rm -rf debian/runit/package/admin/runit-0.1.0/man - cp -a debian/runit/package/admin/runit-0.1.0/doc . - rm -rf debian/runit/package/admin/runit-0.1.0/doc - cp -a debian/runit/package/admin/runit-0.1.0/etc . - rm -rf debian/runit/package/admin/runit-0.1.0/etc - cp -a debian/runit/package/admin/runit-0.1.0/package . + rm -rf debian/runit/package/admin/runit-0.1.1/compile + cp -a debian/runit/package/admin/runit-0.1.1/man . + rm -rf debian/runit/package/admin/runit-0.1.1/man + cp -a debian/runit/package/admin/runit-0.1.1/doc . + rm -rf debian/runit/package/admin/runit-0.1.1/doc + cp -a debian/runit/package/admin/runit-0.1.1/etc . + rm -rf debian/runit/package/admin/runit-0.1.1/etc + cp -a debian/runit/package/admin/runit-0.1.1/package . # /etc/runit - cp -p admin/runit-0.1.0/etc/debian/[123] \ + cp -p admin/runit-0.1.1/etc/debian/[123] \ debian/runit/etc/runit/ - cp -p admin/runit-0.1.0/etc/debian/ctrlaltdel \ + cp -p admin/runit-0.1.1/etc/debian/ctrlaltdel \ debian/runit/etc/runit/ - cp -p admin/runit-0.1.0/etc/debian/getty-tty5/run \ + cp -p admin/runit-0.1.1/etc/debian/getty-tty5/run \ debian/runit/etc/runit/getty-tty5 # runit programs - cp -p debian/runit/package/admin/runit-0.1.0/command/runit* \ + cp -p debian/runit/package/admin/runit-0.1.1/command/runit* \ debian/runit/sbin/ # cleanup - rm -rf debian/runit/package/admin/runit-0.1.0/compile + rm -rf debian/runit/package/admin/runit-0.1.1/compile # create debian/links rm -f debian/links for i in \ - `cat debian/runit/package/admin/runit-0.1.0/package/commands` ; \ + `cat debian/runit/package/admin/runit-0.1.1/package/commands` ; \ do \ echo "/package/admin/runit/command/$$i /command/$$i" \ >> debian/links ; \ done # for i in \ -# `cat debian/runit/package/admin/runit-0.1.0/package/commands` ; \ +# `cat debian/runit/package/admin/runit-0.1.1/package/commands` ; \ # do \ # echo "/command/$$i /usr/local/bin/$$i" \ # >> debian/links ; \ diff --git a/doc/index.html b/doc/index.html @@ -4,7 +4,7 @@ <title>runit - minimal replacement for sysvinit</title> </head> <body> -<a href="http://innominate.org/~pape/">G. Pape</a> +<a href="http://smarden.org/pape/">G. Pape</a> <hr> <h1>runit - minimal replacement for <i>sysvinit</i></h1> <hr> @@ -27,20 +27,20 @@ you on any other operating system or linux distribution, please let me know. <p> <b>Warning:</b> Replacing <i>sysvinit</i> can cause the system's boot to fail. Make sure you are able to recover and repair your system, for example if you -run a bootloader, it should be able to pass <tt>init=/bin/sh</tt> to the +run a boot loader, it should be able to pass <tt>init=/bin/sh</tt> to the kernel. <hr> The command <a href="runit.8.html">runit</a> is intended to run as Unix process no 1, it is automatically started by the -<a href="runit-init.8.html">runit-init</a> replacement if this is started -by the kernel. +<a href="runit-init.8.html">runit-init</a> <tt>/sbin/init</tt>-replacement +if this is started by the kernel. <p> <a href="runit.8.html">runit</a> performs the system's <i>booting</i>, <i>running</i> and <i>shutting down</i> in <b>three stages</b>: <ul> <li><b>Stage 1:</b><br> <i>runit</i> starts <tt>/etc/runit/1</tt> and waits for it to - terminate. The system's one time tasks are done here. + terminate. The system's one time initialization tasks are done here. <li><b>Stage 2:</b><br> <i>runit</i> starts <tt>/etc/runit/2</tt> which should not return until the system is going to halt or reboot, if it crashes, it will be @@ -63,15 +63,14 @@ The command <a href="runit-init.8.html">runit-init</a> is intended to replace <tt>/sbin/init</tt>. sysvinit's command <tt>shutdown</tt> will keep working. Runlevels are not implemented in this Unix process no 1, such can easily be done in other programs, see -<a href="http://innominate.org/~pape/djb/daemontools/noinit.html"> +<a href="http://smarden.org/pape/djb/daemontools/noinit.html"> Dependencies and runlevels</a> for an example, the amount of code in process no 1 should be minimal. <hr> See <a href="replaceinit.html">How to replace init</a> for smoothly migrating from <i>sysvinit</i>. <hr> -See <a href="http://innominate.org/~pape/runit/"> -http://innominate.org/~pape/runit/</a> +See <a href="http://smarden.org/runit/">http://smarden.org/runit/</a> for recent informations. <hr> <address><a href="mailto:pape@smarden.org"> diff --git a/doc/install.html b/doc/install.html @@ -4,7 +4,7 @@ <title>runit - installation</title> </head> <body> -<a href="http://innominate.org/~pape/">G. Pape</a><br> +<a href="http://smarden.org/pape/">G. Pape</a><br> <a href="index.html">runit</a><br> <hr> <h1>runit - installation</h1> @@ -13,14 +13,14 @@ Check that you have the recent version of <a href="http://cr.yp.to/daemontools.html">daemontools</a> installed. <p> Download -<a href="ftp://ftp.innominate.org/pub/pape/runit/runit-0.1.0.tar.gz"> -runit-0.1.0.tar.gz</a> into <tt>/package</tt> and unpack the archive +<a href="ftp://ftp.innominate.org/pub/pape/runit/runit-0.1.1.tar.gz"> +runit-0.1.1.tar.gz</a> into <tt>/package</tt> and unpack the archive <pre> # cd /package - # gunzip runit-0.1.0.tar - # tar -xpf runit-0.1.0.tar - # rm runit-0.1.0.tar - # cd admin/runit-0.1.0 + # gunzip runit-0.1.1.tar + # tar -xpf runit-0.1.1.tar + # rm runit-0.1.1.tar + # cd admin/runit-0.1.1 </pre> Compile and install the <i>runit</i> programs <pre> diff --git a/doc/replaceinit.html b/doc/replaceinit.html @@ -4,7 +4,7 @@ <title>runit - replacing init</title> </head> <body> -<a href="http://innominate.org/~pape/">G. Pape</a><br> +<a href="http://smarden.org/pape/">G. Pape</a><br> <a href="index.html">runit</a> <hr> <h1>runit - replacing init</h1> @@ -56,7 +56,7 @@ the default boot behavior of your system, <i>lilo</i> will be told to use <li>reboot the system <li>enter the following on the lilo prompt:<br> <tt>init=/sbin/runit-init</tt> - <li>watch the console output while runit boots up the system + <li>watch the console output while <i>runit</i> boots up the system <li>switch to <tt>tty5</tt> when stage 2 is reached, a <tt>getty</tt> should run there, you are able to login. </ul> @@ -102,7 +102,7 @@ default Unix process no 1 <i>runit</i>. </pre> To report success: <pre> - # ( uname -a ; cat /etc/runit/[123] ) | mail pape-runit-0.1.0@smarden.org + # ( uname -a ; cat /etc/runit/[123] ) | mail pape-runit-0.1.1@smarden.org </pre> <hr> <address><a href="mailto:pape@smarden.org"> diff --git a/doc/runit-halt.8.html b/doc/runit-halt.8.html @@ -6,7 +6,7 @@ <TITLE>runit-halt(8) manual page</TITLE> </HEAD> <BODY bgcolor=white> -<a href="http://innominate.org/~pape/">G. Pape</a><br><A HREF="index.html">runit</A><hr><P> +<a href="http://smarden.org/pape/">G. Pape</a><br><A HREF="index.html">runit</A><hr><P> <H2><A NAME="sect0">Name</A></H2> runit-halt - stop the system diff --git a/doc/runit-init.8.html b/doc/runit-init.8.html @@ -6,7 +6,7 @@ <TITLE>runit-init(8) manual page</TITLE> </HEAD> <BODY bgcolor=white> -<a href="http://innominate.org/~pape/">G. Pape</a><br><A HREF="index.html">runit</A><hr><P> +<a href="http://smarden.org/pape/">G. Pape</a><br><A HREF="index.html">runit</A><hr><P> <H2><A NAME="sect0">Name</A></H2> init - the UNIX process no 1 diff --git a/doc/runit-reboot.8.html b/doc/runit-reboot.8.html @@ -6,7 +6,7 @@ <TITLE>runit-reboot(8) manual page</TITLE> </HEAD> <BODY bgcolor=white> -<a href="http://innominate.org/~pape/">G. Pape</a><br><A HREF="index.html">runit</A><hr><P> +<a href="http://smarden.org/pape/">G. Pape</a><br><A HREF="index.html">runit</A><hr><P> <H2><A NAME="sect0">Name</A></H2> runit-reboot - reboot the system diff --git a/doc/runit.8.html b/doc/runit.8.html @@ -6,7 +6,7 @@ <TITLE>runit(8) manual page</TITLE> </HEAD> <BODY bgcolor=white> -<a href="http://innominate.org/~pape/">G. Pape</a><br><A HREF="index.html">runit</A><hr><P> +<a href="http://smarden.org/pape/">G. Pape</a><br><A HREF="index.html">runit</A><hr><P> <H2><A NAME="sect0">Name</A></H2> runit - the UNIX process no 1 diff --git a/package/CHANGES b/package/CHANGES @@ -1,3 +1,7 @@ +runit 0.1.1 +Tue, 20 Nov 2001 11:56:58 +0100 + * package moved to smarden.org + runit 0.1.0 Fri, 16 Nov 2001 14:01:27 +0100 * documention diff --git a/package/README b/package/README @@ -1,3 +1,3 @@ Copyright 2001 G. Pape -http://innominate.org/~pape/runit/ +http://smarden.org/runit/ diff --git a/package/upgrade b/package/upgrade @@ -7,9 +7,9 @@ test -d src || ( echo 'Wrong working directory.'; exit 1 ) here=`env - PATH=$PATH pwd` parent=`dirname $here` -echo 'Creating symlink runit -> runit-0.1.0...' +echo 'Creating symlink runit -> runit-0.1.1...' rm -f runit -ln -s runit-0.1.0 runit +ln -s runit-0.1.1 runit mv -f runit .. echo 'Making command links in /command...' diff --git a/src/Makefile b/src/Makefile @@ -7,6 +7,10 @@ LDFLAGS=-Wall -O3 -s all: runit runit-init +set-tcp-env: djb-publicdomain set-tcp-env.o + $(CC) $(LDFLAGS) -o set-tcp-env \ + set-tcp-env.o support/unix.a support/byte.a + runit: djb-publicdomain runit.o $(CC) $(LDFLAGS) -o runit \ runit.o support/unix.a support/byte.a