diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-15 19:16:09 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-15 19:16:09 +0000 |
commit | 7fe7b39842e60200cabf1d7fd5a13c95a58076f6 (patch) | |
tree | 095fc5c29a7174f600ba64b1f4b9634bce4a8a82 /sys-process | |
parent | Stable on alpha wrt #113832 (diff) | |
download | gentoo-2-7fe7b39842e60200cabf1d7fd5a13c95a58076f6.tar.gz gentoo-2-7fe7b39842e60200cabf1d7fd5a13c95a58076f6.tar.bz2 gentoo-2-7fe7b39842e60200cabf1d7fd5a13c95a58076f6.zip |
Version bump #119069 by Torne Wuff.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/runit/ChangeLog | 9 | ||||
-rw-r--r-- | sys-process/runit/files/digest-runit-1.3.3 | 1 | ||||
-rw-r--r-- | sys-process/runit/runit-1.3.3.ebuild | 64 |
3 files changed, 72 insertions, 2 deletions
diff --git a/sys-process/runit/ChangeLog b/sys-process/runit/ChangeLog index 39048784bb4f..e4378b8bed97 100644 --- a/sys-process/runit/ChangeLog +++ b/sys-process/runit/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-process/runit -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/ChangeLog,v 1.3 2005/07/26 12:55:38 caleb Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/ChangeLog,v 1.4 2006/01/15 19:16:09 vapier Exp $ + +*runit-1.3.3 (15 Jan 2006) + + 15 Jan 2006; Mike Frysinger <vapier@gentoo.org> +runit-1.3.3.ebuild: + Version bump #119069 by Torne Wuff. *runit-1.3.0 (26 Jul 2005) diff --git a/sys-process/runit/files/digest-runit-1.3.3 b/sys-process/runit/files/digest-runit-1.3.3 new file mode 100644 index 000000000000..2832db028e97 --- /dev/null +++ b/sys-process/runit/files/digest-runit-1.3.3 @@ -0,0 +1 @@ +MD5 832041744965df6ae1256b5c6373884a runit-1.3.3.tar.gz 99271 diff --git a/sys-process/runit/runit-1.3.3.ebuild b/sys-process/runit/runit-1.3.3.ebuild new file mode 100644 index 000000000000..3ad8b94d1936 --- /dev/null +++ b/sys-process/runit/runit-1.3.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/runit-1.3.3.ebuild,v 1.1 2006/01/15 19:16:09 vapier Exp $ + +inherit toolchain-funcs flag-o-matic + +DESCRIPTION="A UNIX init scheme with service supervision" +HOMEPAGE="http://smarden.org/runit/" +SRC_URI="http://smarden.org/runit/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="static" + +DEPEND="" + +S=${WORKDIR}/admin/${P} + +src_unpack() { + unpack ${A} + cd ${S} + + # we either build everything or nothing static + sed -i -e 's:-static: :' src/Makefile + use static && append-ldflags -static + + echo "$(tc-getCC) ${CFLAGS}" > src/conf-cc + echo "$(tc-getCC) ${LDFLAGS}" > src/conf-ld +} + +src_compile() { + cd src + emake || die "make failed" +} + +src_install() { + dodir /var + keepdir /etc/runit{,/runsvdir{,/default,/all}} + dosym default /etc/runit/runsvdir/current + dosym ../etc/runit/runsvdir/current /var/service + + cd src + dobin chpst runsv runsvchdir runsvctrl runsvdir \ + runsvstat sv svlogd svwaitdown svwaitup || die "dobin" + into / + dosbin runit-init runit utmpset || die "dosbin" + + cd ${S} + dodoc package/{CHANGES,README,THANKS} + dohtml doc/*.html + doman man/* + + exeinto /etc/runit/ + doexe ${FILESDIR}/{1,2,3,ctrlaltdel} + for tty in tty1 tty2 tty3 tty4 tty5 tty6; do + exeinto /etc/runit/runsvdir/all/getty-$tty/ + for script in run finish; do + newexe ${FILESDIR}/$script.getty $script + dosed "s:TTY:${tty}:g" /etc/runit/runsvdir/all/getty-$tty/$script + done + dosym ../all/getty-$tty /etc/runit/runsvdir/default/getty-$tty + done +} |