runit

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

commit d2fb4107813931691e9409387ca5f9b27fbbf4cf
parent d16149535ff5aaa78bc909acd082b1a8e1d0c909
Author: Gerrit Pape <pape@smarden.org>
Date:   Thu, 17 Oct 2002 08:43:59 +0000

remove runi-run package, it now has its own source.

Diffstat:
Mdebian/control | 20++------------------
Mdebian/rules | 22+++++++++++-----------
Ddebian/runit-run.README.Debian | 25-------------------------
Ddebian/runit-run.dirs | 2--
Ddebian/runit-run.docs | 0
Ddebian/runit-run.links | 9---------
Ddebian/runit-run.postinst | 50--------------------------------------------------
Ddebian/runit-run.postrm | 44--------------------------------------------
Ddebian/runit-run.preinst | 60------------------------------------------------------------
Drunit-run/Makefile | 8--------
Drunit-run/getty-2/finish | 2--
Drunit-run/getty-2/run | 2--
Drunit-run/getty-3/finish | 2--
Drunit-run/getty-3/run | 2--
Drunit-run/getty-4/finish | 2--
Drunit-run/getty-4/run | 2--
16 files changed, 13 insertions(+), 239 deletions(-)

diff --git a/debian/control b/debian/control @@ -17,25 +17,9 @@ Description: a UNIX init scheme with service supervision services (via the runsvdir program). Stage 3 handles the tasks necessary to shutdown and halt or reboot. . + The runit programs are compiled and linked statically with the diet libc. + . See http://smarden.org/runit/ for more information. . This package does not replace the /sbin/init binary. To do so you need to follow the documentation or install the runit-run package. - -Package: runit-run -Architecture: all -Depends: runit, sysvinit (>> 2.84-0) -Replaces: daemontools-run -Description: a UNIX init scheme with service supervision - runit is a daemontools alike replacement for SysV-init and other init - schemes. runit currently runs on Debian GNU/Linux, OpenBSD, FreeBSD, - and may be easily adapted to other unix operating systems. runit - implements a simple three-stage concept. Stage 1 performs the system's - one-time initialization tasks. Stage 2 starts the system's uptime - services (via the runsvdir program). Stage 3 handles the tasks necessary - to shutdown and halt or reboot. - . - See http://smarden.org/runit/ for more information. - . - This package replaces the /sbin/init binary and configures runit to run - as process no 1 after the next reboot. diff --git a/debian/rules b/debian/rules @@ -128,10 +128,10 @@ install: build # Build architecture-independent files here. # Pass -i to all debhelper commands in this target to reduce clutter. binary-indep: build install - dh_testdir -i - dh_testroot -i +# dh_testdir -i +# dh_testroot -i # dh_installdebconf -i - dh_installdocs -i +# dh_installdocs -i # dh_installexamples -i # dh_installmenu -i # dh_installlogrotate -i @@ -143,15 +143,15 @@ binary-indep: build install # dh_installman -i # dh_installinfo -i # dh_undocumented -i - dh_installchangelogs -i - dh_link -i - dh_compress -i - dh_fixperms -i - dh_installdeb -i +# dh_installchangelogs -i +# dh_link -i +# dh_compress -i +# dh_fixperms -i +# dh_installdeb -i # dh_perl -i - dh_gencontrol -i - dh_md5sums -i - dh_builddeb -i +# dh_gencontrol -i +# dh_md5sums -i +# dh_builddeb -i # Build architecture-dependent files here. binary-arch: build install diff --git a/debian/runit-run.README.Debian b/debian/runit-run.README.Debian @@ -1,25 +0,0 @@ -runit-run for Debian --------------------- - -This package diverts sysvinit's /sbin/init binary. Use - - # /sbin/init.sysv 6 - -to reboot the system with runit as process no 1 after the first -installation of runit-run. - -It's strongly recommended to read and understand the runit documentation -when using this package: http://smarden.org/runit/ - -runit's default directory for services is /var/service. - -This package also sets up the runit package to support runlevels, see -http://smarden.org/runit/runlevels.html. The runit init scheme doesn't use -init scripts, so new services must be added manually to runlevels. Also on -upgrades of packages providing services, the required action (e.g. -restarting of the service) must be done manually. - -For service migration from sysvinit to runit, please see -http://smarden.org/runit/replaceinit.html step 5. - - -- Gerrit Pape <pape@smarden.org>, Fri, 11 Oct 2002 14:14:06 +0200 diff --git a/debian/runit-run.dirs b/debian/runit-run.dirs @@ -1,2 +0,0 @@ -etc/runit/runsvdir/default -etc/runit/runsvdir/single diff --git a/debian/runit-run.docs b/debian/runit-run.docs diff --git a/debian/runit-run.links b/debian/runit-run.links @@ -1,9 +0,0 @@ -/sbin/runit-init /sbin/init -/usr/share/man/man8/runit-init.8.gz /usr/share/man/man8/init.8.gz -/etc/runit/runsvdir/default /etc/runit/runsvdir/current -/etc/runit/runsvdir/current /var/service -/etc/runit/getty-5 /etc/runit/runsvdir/single/getty-5 -/etc/runit/getty-2 /etc/runit/runsvdir/default/getty-2 -/etc/runit/getty-3 /etc/runit/runsvdir/default/getty-3 -/etc/runit/getty-4 /etc/runit/runsvdir/default/getty-4 -/etc/runit/getty-5 /etc/runit/runsvdir/default/getty-5 diff --git a/debian/runit-run.postinst b/debian/runit-run.postinst @@ -1,50 +0,0 @@ -#! /bin/sh -# postinst script for runit-run -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postinst> `configure' <most-recently-configured-version> -# * <old-postinst> `abort-upgrade' <new version> -# * <conflictor's-postinst> `abort-remove' `in-favour' <package> -# <new-version> -# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' -# <failed-install-package> <version> `removing' -# <conflicting-package> <version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package -# -# quoting from the policy: -# Any necessary prompting should almost always be confined to the -# post-installation script, and should be protected with a conditional -# so that unnecessary prompting doesn't happen if a package's -# installation fails and the `postinst' is called with `abort-upgrade', -# `abort-remove' or `abort-deconfigure'. - -case "$1" in - configure) - if test -d /var/service && ! test -h /var/service; then - cp -a /var/service/* /etc/runit/runsvdir/default/ - mv /var/service /var/service.old && \ - ln -s /etc/runit/runsvdir/current /var/service - fi - if ! test -e /var/service/getty-5; then - ln -s /etc/runit/getty-5 /var/service/getty-5 - fi - ;; - abort-upgrade|abort-remove|abort-deconfigure) - ;; - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/runit-run.postrm b/debian/runit-run.postrm @@ -1,44 +0,0 @@ -#! /bin/sh -# postrm script for runit-run -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postrm> `remove' -# * <postrm> `purge' -# * <old-postrm> `upgrade' <new-version> -# * <new-postrm> `failed-upgrade' <old-version> -# * <new-postrm> `abort-install' -# * <new-postrm> `abort-install' <old-version> -# * <new-postrm> `abort-upgrade' <old-version> -# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - -remove_diversion() { - dpkg-divert --package runit-run --remove --rename \ - --divert /sbin/init.sysv /sbin/init - dpkg-divert --package runit-run --remove --rename \ - --divert /usr/share/man/man8/init.sysv.8.gz /usr/share/man/man8/init.8.gz -} - -case "$1" in - remove) - remove_diversion - ;; - purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - ;; - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/runit-run.preinst b/debian/runit-run.preinst @@ -1,60 +0,0 @@ -#! /bin/sh -# preinst script for runit-run -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <new-preinst> `install' -# * <new-preinst> `install' <old-version> -# * <new-preinst> `upgrade' <old-version> -# * <old-preinst> `abort-upgrade' <new-version> -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - -add_diversion() { - dpkg-divert --package runit-run --add --rename \ - --divert /sbin/init.sysv /sbin/init - dpkg-divert --package runit-run --add --rename \ - --divert /usr/share/man/man8/init.sysv.8.gz /usr/share/man/man8/init.8.gz -} - -case "$1" in - install|upgrade) - if [ "$1" = "install" ] ; then - cat <<EOT - -This package diverts sysvinit's /sbin/init binary. Use - - # /sbin/init.sysv 6 - -to reboot the system with runit as process no 1 after installing this -package. - -Please read the runit documentation before proceeding: - - http://smarden.org/runit/ - -EOT - echo -n "Press ENTER to continue, press Ctrl-C to abort... " - read input - echo; echo - add_diversion - fi - ;; - abort-upgrade) - ;; - *) - echo "preinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/runit-run/Makefile b/runit-run/Makefile @@ -1,8 +0,0 @@ -DESTDIR= - -install: - for i in 2 3 4; do install -d $(DESTDIR)/etc/runit/getty-$$i; done - for i in 2 3 4; do \ - install -m0755 getty-$$i/run $(DESTDIR)/etc/runit/getty-$$i/run; \ - install -m0755 getty-$$i/finish $(DESTDIR)/etc/runit/getty-$$i/finish; \ - done diff --git a/runit-run/getty-2/finish b/runit-run/getty-2/finish @@ -1,2 +0,0 @@ -#!/bin/sh -exec utmpset -w tty2 diff --git a/runit-run/getty-2/run b/runit-run/getty-2/run @@ -1,2 +0,0 @@ -#!/bin/sh -exec getty 38400 tty2 linux diff --git a/runit-run/getty-3/finish b/runit-run/getty-3/finish @@ -1,2 +0,0 @@ -#!/bin/sh -exec utmpset -w tty3 diff --git a/runit-run/getty-3/run b/runit-run/getty-3/run @@ -1,2 +0,0 @@ -#!/bin/sh -exec getty 38400 tty3 linux diff --git a/runit-run/getty-4/finish b/runit-run/getty-4/finish @@ -1,2 +0,0 @@ -#!/bin/sh -exec utmpset -w tty4 diff --git a/runit-run/getty-4/run b/runit-run/getty-4/run @@ -1,2 +0,0 @@ -#!/bin/sh -exec getty 38400 tty4 linux