Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/freeipmi/files: bmc-watchdog.confd ipmidetectd.initd freeipmi-0.5.6-as_needed.patch bmc-watchdog.initd freeipmi-0.5.6-missing_syslog_include.patch
Date: Tue, 22 Apr 2008 09:44:43
Message-Id: E1JoF3I-0004Le-22@stork.gentoo.org
1 dev-zero 08/04/22 09:44:40
2
3 Added: bmc-watchdog.confd ipmidetectd.initd
4 freeipmi-0.5.6-as_needed.patch bmc-watchdog.initd
5 freeipmi-0.5.6-missing_syslog_include.patch
6 Log:
7 Version bump (bug #199284), reassigned package to 'sysadmin' herd.
8 (Portage version: 2.1.5_rc4)
9
10 Revision Changes Path
11 1.1 sys-libs/freeipmi/files/bmc-watchdog.confd
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/freeipmi/files/bmc-watchdog.confd?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/freeipmi/files/bmc-watchdog.confd?rev=1.1&content-type=text/plain
15
16 Index: bmc-watchdog.confd
17 ===================================================================
18 #
19 # This configuration file controls the behaviour of the bmc-watchdog daemon
20 # from FreeIPMI.
21 #
22 # -u INT, --timer-use=INT
23 # Set timer use. The timer use value can be set to one of the
24 # following: 1 = BIOS FRB2, 2 = BIOS POST, 3 = OS_LOAD, 4 = SMS
25 # OS, 5 = OEM.
26 #
27 # -p INT, --pre-timeout-interrupt=INT
28 # Set pre-timeout interrupt. The pre timeout interrupt can be set
29 # to one of the following: 0 = None, 1 = SMI, 2 = NMI, 3 = Messag-
30 # ing Interrupt.
31 #
32 # -a INT, --timeout-action=INT
33 # Set timeout action. The timeout action can be set to one of the
34 # following: 0 = No action, 1 = Hard Reset, 2 = Power Down, 3 =
35 # Power Cycle.
36 #
37 # -F, --clear-bios-frb2
38 # Clear BIOS FRB2 Timer Use Flag.
39 #
40 # -P, --clear-bios-post
41 # Clear BIOS POST Timer Use Flag.
42 #
43 # -L, --clear-os-load
44 # Clear OS Load Timer Use Flag.
45 #
46 # -S, --clear-sms-os
47 # Clear SMS/OS Timer Use Flag.
48 #
49 # -O, --clear-oem
50 # Clear OEM Timer Use Flag.
51 #
52 # -i SECS, --initial-countdown=SECS
53 # Set initial countdown in seconds.
54 #
55 # -e, --reset-period
56 # Time interval to wait before resetting timer. The default is 60
57 # seconds.
58 #
59 # For the remaining options, consult man bmc-watchdog
60 #
61 OPTIONS="-d -u 4 -p 0 -a 1 -F -P -L -S -O -i 900 -e 60"
62
63
64
65 1.1 sys-libs/freeipmi/files/ipmidetectd.initd
66
67 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/freeipmi/files/ipmidetectd.initd?rev=1.1&view=markup
68 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/freeipmi/files/ipmidetectd.initd?rev=1.1&content-type=text/plain
69
70 Index: ipmidetectd.initd
71 ===================================================================
72 #!/sbin/runscript
73 # Copyright 1999-2008 Gentoo Foundation
74 # Distributed under the terms of the GNU General Public License v2
75 # $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/files/ipmidetectd.initd,v 1.1 2008/04/22 09:44:39 dev-zero Exp $
76
77 start() {
78 ebegin "Starting ipmidetectd"
79 if [ -f /var/run/ipmidetectd.pid ] ; then
80 ewarn "/var/run/ipmidetectd.pid already exists,"
81 ewarn "removing it but you might want to find out"
82 ewarn "why this happened."
83 rm /var/run/ipmidetectd.pid
84 fi
85 start-stop-daemon --background --make-pidfile \
86 --start --quiet --exec /usr/sbin/ipmidetectd \
87 --pidfile /var/run/ipmidetectd.pid
88 eend $?
89 }
90
91 stop() {
92 ebegin "Stopping ipmidetectd"
93 start-stop-daemon \
94 --stop --quiet \
95 --pidfile /var/run/ipmidetectd.pid
96 eend $?
97 rm /var/run/ipmidetectd.pid
98 }
99
100
101
102 1.1 sys-libs/freeipmi/files/freeipmi-0.5.6-as_needed.patch
103
104 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/freeipmi/files/freeipmi-0.5.6-as_needed.patch?rev=1.1&view=markup
105 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/freeipmi/files/freeipmi-0.5.6-as_needed.patch?rev=1.1&content-type=text/plain
106
107 Index: freeipmi-0.5.6-as_needed.patch
108 ===================================================================
109 --- ipmimonitoring/src/ipmimonitoring/Makefile.am.orig 2008-04-02 16:54:29.000000000 +0200
110 +++ ipmimonitoring/src/ipmimonitoring/Makefile.am 2008-04-02 16:55:00.000000000 +0200
111 @@ -23,8 +23,8 @@
112 ../../../common/src/libllnlcommon.la \
113 ../libipmimonitoring/libipmimonitoring.la \
114 ../../../common/src/libpstdout.la \
115 - ../../../ipmidetect/src/libipmidetect/libipmidetect.la \
116 ../../../common/src/libhostrange.la \
117 + ../../../ipmidetect/src/libipmidetect/libipmidetect.la \
118 ../../../common/src/libtoolcommon.la \
119 ../../../common/src/libcbuf.la
120
121
122
123
124 1.1 sys-libs/freeipmi/files/bmc-watchdog.initd
125
126 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/freeipmi/files/bmc-watchdog.initd?rev=1.1&view=markup
127 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/freeipmi/files/bmc-watchdog.initd?rev=1.1&content-type=text/plain
128
129 Index: bmc-watchdog.initd
130 ===================================================================
131 #!/sbin/runscript
132 # Copyright 1999-2008 Gentoo Foundation
133 # Distributed under the terms of the GNU General Public License v2
134 # $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/files/bmc-watchdog.initd,v 1.1 2008/04/22 09:44:39 dev-zero Exp $
135
136 start() {
137 ebegin "Starting bmc-watchdog"
138 if [ -f /var/run/bmc-watchdog.pid ] ; then
139 ewarn "/var/run/bmc-watchdog.pid already exists,"
140 ewarn "removing it but you might want to find out"
141 ewarn "why this happened."
142 rm /var/run/bmc-watchdog.pid
143 fi
144 start-stop-daemon --background --make-pidfile \
145 --start --quiet --exec /usr/sbin/bmc-watchdog \
146 --pidfile /var/run/bmc-watchdog.pid -- ${OPTIONS}
147 eend $?
148 }
149
150 stop() {
151 ebegin "Stopping bmc-watchdog"
152 start-stop-daemon \
153 --stop --quiet \
154 --pidfile /var/run/bmc-watchdog.pid
155 eend $?
156 rm /var/run/bmc-watchdog.pid
157 }
158
159
160
161 1.1 sys-libs/freeipmi/files/freeipmi-0.5.6-missing_syslog_include.patch
162
163 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/freeipmi/files/freeipmi-0.5.6-missing_syslog_include.patch?rev=1.1&view=markup
164 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/freeipmi/files/freeipmi-0.5.6-missing_syslog_include.patch?rev=1.1&content-type=text/plain
165
166 Index: freeipmi-0.5.6-missing_syslog_include.patch
167 ===================================================================
168 --- common/src/ipmi-sdr-cache.c.orig 2008-04-02 15:03:01.000000000 +0200
169 +++ common/src/ipmi-sdr-cache.c 2008-04-02 15:03:46.000000000 +0200
170 @@ -27,6 +27,7 @@
171 #if STDC_HEADERS
172 #include <string.h>
173 #endif /* STDC_HEADERS */
174 +#include <syslog.h>
175 #include <sys/types.h>
176 #include <sys/stat.h>
177 #if HAVE_UNISTD_H
178
179
180
181 --
182 gentoo-commits@l.g.o mailing list