Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-process/runit: ChangeLog runit-2.0.0.ebuild
Date: Thu, 25 Dec 2008 22:24:56
Message-Id: E1LFydJ-00073c-G5@stork.gentoo.org
1 vapier 08/12/25 22:24:45
2
3 Modified: ChangeLog
4 Added: runit-2.0.0.ebuild
5 Log:
6 Version bump #190983 by Daniel Pielmeier (billie).
7 (Portage version: 2.2_rc18/cvs/Linux 2.6.28 x86_64)
8
9 Revision Changes Path
10 1.30 sys-process/runit/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/runit/ChangeLog?rev=1.30&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/runit/ChangeLog?rev=1.30&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/runit/ChangeLog?r1=1.29&r2=1.30
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-process/runit/ChangeLog,v
19 retrieving revision 1.29
20 retrieving revision 1.30
21 diff -u -r1.29 -r1.30
22 --- ChangeLog 14 Oct 2008 15:00:28 -0000 1.29
23 +++ ChangeLog 25 Dec 2008 22:24:45 -0000 1.30
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-process/runit
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/ChangeLog,v 1.29 2008/10/14 15:00:28 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/ChangeLog,v 1.30 2008/12/25 22:24:45 vapier Exp $
29 +
30 +*runit-2.0.0 (25 Dec 2008)
31 +
32 + 25 Dec 2008; Mike Frysinger <vapier@g.o> +runit-2.0.0.ebuild:
33 + Version bump #190983 by Daniel Pielmeier (billie).
34
35 14 Oct 2008; Diego Pettenò <flameeyes@g.o> runit-1.7.0.ebuild:
36 Set compiler and linker during src_compile rather than unpack.
37
38
39
40 1.1 sys-process/runit/runit-2.0.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/runit/runit-2.0.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/runit/runit-2.0.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: runit-2.0.0.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-process/runit/runit-2.0.0.ebuild,v 1.1 2008/12/25 22:24:45 vapier Exp $
50
51 inherit toolchain-funcs flag-o-matic
52
53 DESCRIPTION="A UNIX init scheme with service supervision"
54 HOMEPAGE="http://smarden.org/runit/"
55 SRC_URI="http://smarden.org/runit/${P}.tar.gz"
56
57 LICENSE="BSD"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
60 IUSE="static"
61
62 DEPEND=""
63
64 S=${WORKDIR}/admin/${P}
65
66 src_unpack() {
67 unpack ${A}
68 cd "${S}"
69
70 # we either build everything or nothing static
71 sed -i -e 's:-static: :' src/Makefile
72 }
73
74 src_compile() {
75 cd src
76 use static && append-ldflags -static
77
78 echo "$(tc-getCC) ${CFLAGS}" > conf-cc
79 echo "$(tc-getCC) ${LDFLAGS}" > conf-ld
80
81 emake || die "make failed"
82 }
83
84 src_install() {
85 dodir /var
86 keepdir /etc/runit{,/runsvdir{,/default,/all}}
87 dosym default /etc/runit/runsvdir/current
88 dosym ../etc/runit/runsvdir/current /var/service
89
90 cd src
91 dobin $(<../package/commands) || die "dobin"
92 dodir /sbin
93 mv "${D}"/usr/bin/{runit-init,runit,utmpset} "${D}"/sbin/ || die "dosbin"
94
95 cd "${S}"
96 dodoc package/{CHANGES,README,THANKS,TODO}
97 dohtml doc/*.html
98 doman man/*.[18]
99
100 exeinto /etc/runit
101 doexe "${FILESDIR}"/{1,2,ctrlaltdel} || die
102 newexe "${FILESDIR}"/3-1.4 3 || die
103 for tty in tty1 tty2 tty3 tty4 tty5 tty6; do
104 exeinto /etc/runit/runsvdir/all/getty-$tty/
105 for script in run finish; do
106 newexe "${FILESDIR}"/$script.getty $script
107 dosed "s:TTY:${tty}:g" /etc/runit/runsvdir/all/getty-$tty/$script
108 done
109 dosym ../all/getty-$tty /etc/runit/runsvdir/default/getty-$tty
110 done
111 }