Gentoo Archives: gentoo-commits

From: "William Hubbs (williamh)" <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/openrc/files/9999: 0003-dont-wipe-wtmp.patch 0002-fix-iproute2-support.patch 0003-KV.patch 0002-useful-functions.patch
Date: Thu, 29 Oct 2009 02:29:06
Message-Id: E1N3Kl4-0006fi-9x@stork.gentoo.org
1 williamh 09/10/29 02:29:02
2
3 Added: 0003-dont-wipe-wtmp.patch
4 0002-fix-iproute2-support.patch
5 Removed: 0003-KV.patch 0002-useful-functions.patch
6 Log:
7 updated the patches for the live ebuild
8 (Portage version: 2.2_rc46/cvs/Linux i686)
9
10 Revision Changes Path
11 1.1 sys-apps/openrc/files/9999/0003-dont-wipe-wtmp.patch
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/openrc/files/9999/0003-dont-wipe-wtmp.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/openrc/files/9999/0003-dont-wipe-wtmp.patch?rev=1.1&content-type=text/plain
15
16 Index: 0003-dont-wipe-wtmp.patch
17 ===================================================================
18 From 3ec425ce9bcd0bb91f74ac7394aa9ee3f10013bd Mon Sep 17 00:00:00 2001
19 From: William Hubbs <w.d.hubbs@×××××.com>
20 Date: Wed, 28 Oct 2009 20:53:35 -0500
21 Subject: [PATCH] Don't wipe wtmp
22
23 Thanks to jasiu@×××××××××.pl for the patch.
24 ---
25 init.d/bootmisc.in | 2 +-
26 1 files changed, 1 insertions(+), 1 deletions(-)
27
28 diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in
29 index 1ec5748..5e24531 100644
30 --- a/init.d/bootmisc.in
31 +++ b/init.d/bootmisc.in
32 @@ -95,7 +95,7 @@ start()
33 for x in "" $xtra; do
34 mkutmp /var/run/utmp$x
35 done
36 - [ -e /var/log/wtmp ] && mkutmp /var/log/wtmp
37 + [ -e /var/log/wtmp ] || mkutmp /var/log/wtmp
38 eend 0
39
40 ebegin "Cleaning /var/run"
41 --
42 1.6.4.4
43
44
45
46
47 1.1 sys-apps/openrc/files/9999/0002-fix-iproute2-support.patch
48
49 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/openrc/files/9999/0002-fix-iproute2-support.patch?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/openrc/files/9999/0002-fix-iproute2-support.patch?rev=1.1&content-type=text/plain
51
52 Index: 0002-fix-iproute2-support.patch
53 ===================================================================
54 From aa6d81180167192ad41a73e896f58db89a81d371 Mon Sep 17 00:00:00 2001
55 From: William Hubbs <w.d.hubbs@×××××.com>
56 Date: Mon, 19 Oct 2009 22:25:40 -0500
57 Subject: [PATCH] fix iproute2 support for gentoo bug 289762
58
59 ---
60 init.d/network.in | 6 +++---
61 1 files changed, 3 insertions(+), 3 deletions(-)
62
63 diff --git a/init.d/network.in b/init.d/network.in
64 index 5e60963..396c67d 100644
65 --- a/init.d/network.in
66 +++ b/init.d/network.in
67 @@ -109,11 +109,11 @@ runip()
68 local int="$1" err=
69
70 shift
71 - err=$(LC_ALL=C ip address add "$@" dev "$int" 2>&1)
72 + err=$(LC_ALL=C ip address add "$@" dev "$int" brd + 2>&1)
73 if [ -z "$err" ]; then
74 # ip does not bring up the interface when adding addresses
75 - if ! intup; then
76 - ip set link up dev "$int"
77 + if ! $intup; then
78 + ip link set "$int" up
79 intup=true
80 fi
81 return 0
82 --
83 1.6.4.4