diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-04-20 03:18:13 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-04-20 03:18:13 +0000 |
commit | 15a49969a774613b9ed6d75653f0e3d77e6f210c (patch) | |
tree | 093523a7d0253c93f9e29b5bdd18d9dc90b8d218 /sys-process | |
parent | New initscript by Radek Podgorny #128918. (diff) | |
download | gentoo-2-15a49969a774613b9ed6d75653f0e3d77e6f210c.tar.gz gentoo-2-15a49969a774613b9ed6d75653f0e3d77e6f210c.tar.bz2 gentoo-2-15a49969a774613b9ed6d75653f0e3d77e6f210c.zip |
Version bump #130519 by Radek Podgorny.
(Portage version: 2.1_pre9)
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/runit/ChangeLog | 7 | ||||
-rw-r--r-- | sys-process/runit/files/digest-runit-1.5.0 | 3 | ||||
-rw-r--r-- | sys-process/runit/runit-1.5.0.ebuild | 64 |
3 files changed, 73 insertions, 1 deletions
diff --git a/sys-process/runit/ChangeLog b/sys-process/runit/ChangeLog index 343693e445b6..7c620ce95007 100644 --- a/sys-process/runit/ChangeLog +++ b/sys-process/runit/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-process/runit # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/ChangeLog,v 1.9 2006/04/20 03:16:02 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/ChangeLog,v 1.10 2006/04/20 03:18:13 vapier Exp $ + +*runit-1.5.0 (20 Apr 2006) + + 20 Apr 2006; Mike Frysinger <vapier@gentoo.org> +runit-1.5.0.ebuild: + Version bump #130519 by Radek Podgorny. 20 Apr 2006; Mike Frysinger <vapier@gentoo.org> +files/3-1.4, runit-1.4.1.ebuild: diff --git a/sys-process/runit/files/digest-runit-1.5.0 b/sys-process/runit/files/digest-runit-1.5.0 new file mode 100644 index 000000000000..b661271a92d2 --- /dev/null +++ b/sys-process/runit/files/digest-runit-1.5.0 @@ -0,0 +1,3 @@ +MD5 843af31bb292052c2ba7e1a05ef57181 runit-1.5.0.tar.gz 103244 +RMD160 0439823727e804e5419b6dccb9a7d962bc4e603a runit-1.5.0.tar.gz 103244 +SHA256 2d5eb3eba460a063ba733663b20269cabe8a306c939c798314054d345c17db77 runit-1.5.0.tar.gz 103244 diff --git a/sys-process/runit/runit-1.5.0.ebuild b/sys-process/runit/runit-1.5.0.ebuild new file mode 100644 index 000000000000..eb3f68ae10a9 --- /dev/null +++ b/sys-process/runit/runit-1.5.0.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.5.0.ebuild,v 1.1 2006/04/20 03:18:13 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 $(<../package/commands) || die "dobin" + dodir /sbin + mv "${D}"/usr/bin/{runit-init,runit,utmpset} "${D}"/sbin/ || die "dosbin" + + cd "${S}" + dodoc package/{CHANGES,README,THANKS,TODO} + dohtml doc/*.html + doman man/*.[18] + + exeinto /etc/runit + doexe "${FILESDIR}"/{1,2,ctrlaltdel} || die + newexe "${FILESDIR}"/3-1.4 3 || die + 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 +} |