1 |
mschiff 11/11/30 00:19:33 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: runit-2.1.1-r1.ebuild |
5 |
Log: |
6 |
Added rev 2.2.1-r1. Fixes #392453. |
7 |
|
8 |
(Portage version: 2.1.10.11/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.33 sys-process/runit/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/runit/ChangeLog?rev=1.33&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/runit/ChangeLog?rev=1.33&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/runit/ChangeLog?r1=1.32&r2=1.33 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-process/runit/ChangeLog,v |
20 |
retrieving revision 1.32 |
21 |
retrieving revision 1.33 |
22 |
diff -u -r1.32 -r1.33 |
23 |
--- ChangeLog 15 Jun 2011 18:55:12 -0000 1.32 |
24 |
+++ ChangeLog 30 Nov 2011 00:19:33 -0000 1.33 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-process/runit |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/ChangeLog,v 1.32 2011/06/15 18:55:12 flameeyes Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/ChangeLog,v 1.33 2011/11/30 00:19:33 mschiff Exp $ |
30 |
+ |
31 |
+*runit-2.1.1-r1 (30 Nov 2011) |
32 |
+ |
33 |
+ 30 Nov 2011; Marc Schiffbauer <mschiff@g.o> +runit-2.1.1-r1.ebuild: |
34 |
+ Added rev 2.2.1-r1. Fixes #392453. |
35 |
|
36 |
15 Jun 2011; Diego E. Pettenò <flameeyes@g.o> runit-2.1.1.ebuild: |
37 |
QA: actually make runit build, since it was broken with a blind version bump. |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-process/runit/runit-2.1.1-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/runit/runit-2.1.1-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/runit/runit-2.1.1-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: runit-2.1.1-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/runit-2.1.1-r1.ebuild,v 1.1 2011/11/30 00:19:33 mschiff Exp $ |
51 |
|
52 |
EAPI="3" |
53 |
|
54 |
inherit toolchain-funcs flag-o-matic |
55 |
|
56 |
DESCRIPTION="A UNIX init scheme with service supervision" |
57 |
HOMEPAGE="http://smarden.org/runit/" |
58 |
SRC_URI="http://smarden.org/runit/${P}.tar.gz" |
59 |
|
60 |
LICENSE="BSD" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
63 |
IUSE="static" |
64 |
|
65 |
S=${WORKDIR}/admin/${P}/src |
66 |
|
67 |
src_prepare() { |
68 |
# we either build everything or nothing static |
69 |
sed -i -e 's:-static: :' src/Makefile |
70 |
} |
71 |
|
72 |
src_configure() { |
73 |
use static && append-ldflags -static |
74 |
|
75 |
echo "$(tc-getCC) ${CFLAGS}" > conf-cc |
76 |
echo "$(tc-getCC) ${LDFLAGS}" > conf-ld |
77 |
} |
78 |
|
79 |
src_install() { |
80 |
dodir /var |
81 |
keepdir /etc/runit{,/runsvdir{,/default,/all}} |
82 |
dosym default /etc/runit/runsvdir/current |
83 |
dosym ../etc/runit/runsvdir/current /var/service |
84 |
dosym ../etc/runit/2 /sbin/runsvdir-start |
85 |
|
86 |
dobin $(<../package/commands) || die "dobin" |
87 |
dodir /sbin |
88 |
mv "${D}"/usr/bin/{runit-init,runit,utmpset} "${D}"/sbin/ || die "dosbin" |
89 |
|
90 |
cd "${S}"/.. |
91 |
dodoc package/{CHANGES,README,THANKS,TODO} |
92 |
dohtml doc/*.html |
93 |
doman man/*.[18] |
94 |
|
95 |
exeinto /etc/runit |
96 |
doexe "${FILESDIR}"/{1,2,ctrlaltdel} || die |
97 |
newexe "${FILESDIR}"/3-1.4 3 || die |
98 |
for tty in tty1 tty2 tty3 tty4 tty5 tty6; do |
99 |
exeinto /etc/runit/runsvdir/all/getty-$tty/ |
100 |
for script in run finish; do |
101 |
newexe "${FILESDIR}"/$script.getty $script |
102 |
dosed "s:TTY:${tty}:g" /etc/runit/runsvdir/all/getty-$tty/$script |
103 |
done |
104 |
dosym ../all/getty-$tty /etc/runit/runsvdir/default/getty-$tty |
105 |
done |
106 |
|
107 |
# make sv command work |
108 |
cd "${S}" |
109 |
insinto /etc/env.d |
110 |
cat <<-EOF > env.d |
111 |
#/etc/env.d/20runit |
112 |
SVDIR="/var/service/" |
113 |
EOF |
114 |
newins env.d 20runit |
115 |
} |
116 |
|
117 |
pkg_postinst() { |
118 |
env-update |
119 |
ewarn "/etc/profile was updated. Please run:" |
120 |
ewarn "source /etc/profile" |
121 |
ewarn "to make 'sv' work correctly on your currently open shells" |
122 |
} |