summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-08-25 18:27:49 +0000
committerMike Frysinger <vapier@gentoo.org>2007-08-25 18:27:49 +0000
commitf55ed3c0c0ac13d3dd6a45979840ced7d1d6a610 (patch)
tree4f013502d88b87a7b98c0a88cb2f84cff0675a40 /sys-process/runit
parentamd64 stable (diff)
downloadgentoo-2-f55ed3c0c0ac13d3dd6a45979840ced7d1d6a610.tar.gz
gentoo-2-f55ed3c0c0ac13d3dd6a45979840ced7d1d6a610.tar.bz2
gentoo-2-f55ed3c0c0ac13d3dd6a45979840ced7d1d6a610.zip
Version bump #180649 by Radek Podgorny.
(Portage version: 2.1.3.7)
Diffstat (limited to 'sys-process/runit')
-rw-r--r--sys-process/runit/ChangeLog7
-rw-r--r--sys-process/runit/files/digest-runit-1.7.03
-rw-r--r--sys-process/runit/runit-1.7.0.ebuild64
3 files changed, 73 insertions, 1 deletions
diff --git a/sys-process/runit/ChangeLog b/sys-process/runit/ChangeLog
index 32087fbf89ee..967ffc7e3cb7 100644
--- a/sys-process/runit/ChangeLog
+++ b/sys-process/runit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-process/runit
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/ChangeLog,v 1.21 2007/07/03 11:23:11 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/ChangeLog,v 1.22 2007/08/25 18:27:49 vapier Exp $
+
+*runit-1.7.0 (25 Aug 2007)
+
+ 25 Aug 2007; Mike Frysinger <vapier@gentoo.org> +runit-1.7.0.ebuild:
+ Version bump #180649 by Radek Podgorny.
03 Jul 2007; Raúl Porcel <armin76@gentoo.org> runit-1.5.0.ebuild:
alpha stable wrt #178046
diff --git a/sys-process/runit/files/digest-runit-1.7.0 b/sys-process/runit/files/digest-runit-1.7.0
new file mode 100644
index 000000000000..d06f45bb1cf1
--- /dev/null
+++ b/sys-process/runit/files/digest-runit-1.7.0
@@ -0,0 +1,3 @@
+MD5 504a4f4e7f5e43a49e8bfdc3c941a940 runit-1.7.0.tar.gz 101315
+RMD160 418db787290586a003481f938f4fa01934b9f063 runit-1.7.0.tar.gz 101315
+SHA256 f6bcd04bb300710ba4ade3b6c64298cb3e22090a8866455491ad086243453984 runit-1.7.0.tar.gz 101315
diff --git a/sys-process/runit/runit-1.7.0.ebuild b/sys-process/runit/runit-1.7.0.ebuild
new file mode 100644
index 000000000000..418764078f1d
--- /dev/null
+++ b/sys-process/runit/runit-1.7.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/runit-1.7.0.ebuild,v 1.1 2007/08/25 18:27:49 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 ~sh ~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
+}