Gentoo Archives: gentoo-commits

From: "Wolfram Schlich (wschlich)" <wschlich@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/openais/files: openais.conf Makefile.inc-FLAGS.patch Makefile-ARCH.patch Makefile-install.patch ais.initd Makefile-LIBDIR.patch
Date: Thu, 14 Feb 2008 18:37:45
Message-Id: E1JPixq-00089Y-Vr@stork.gentoo.org
1 wschlich 08/02/14 18:37:42
2
3 Added: openais.conf Makefile.inc-FLAGS.patch
4 Makefile-ARCH.patch Makefile-install.patch
5 ais.initd Makefile-LIBDIR.patch
6 Log:
7 initial import
8 (Portage version: 2.1.4_rc14)
9
10 Revision Changes Path
11 1.1 sys-cluster/openais/files/openais.conf
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/files/openais.conf?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/files/openais.conf?rev=1.1&content-type=text/plain
15
16 Index: openais.conf
17 ===================================================================
18 # Please read the openais.conf.5 manual page
19
20 totem {
21 version: 2
22 secauth: off
23 threads: 0
24 nodeid: 1
25 interface {
26 ringnumber: 0
27 bindnetaddr: 127.0.0.0
28 mcastaddr: 226.94.1.1
29 mcastport: 5405
30 }
31 }
32
33 logging {
34 to_stderr: no
35 to_syslog: yes
36 to_file: no
37 logfile: /var/log/ais/openais.log
38 debug: off
39 timestamp: on
40 fileline: off
41 # logger {
42 # ident: AMF
43 # ident: CFG
44 # ident: CKPT
45 # ident: CLM
46 # ident: CPG
47 # ident: EVS
48 # ident: EVT
49 # ident: LCK
50 # ident: MSG
51 # debug: off
52 # tags: enter|leave|trace1|trace2|trace3|trace4|trace6
53 # }
54 }
55
56 event {
57 }
58
59 amf {
60 mode: disabled
61 }
62
63
64
65 1.1 sys-cluster/openais/files/Makefile.inc-FLAGS.patch
66
67 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/files/Makefile.inc-FLAGS.patch?rev=1.1&view=markup
68 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/files/Makefile.inc-FLAGS.patch?rev=1.1&content-type=text/plain
69
70 Index: Makefile.inc-FLAGS.patch
71 ===================================================================
72 --- Makefile.inc.orig 2007-12-15 18:44:00.000000000 +0100
73 +++ Makefile.inc 2007-12-15 19:29:01.000000000 +0100
74 @@ -44,9 +44,9 @@
75
76 # default CFLAGS, LDFLAGS
77 #
78 -CFLAGS =
79 -LDFLAGS =
80 -DYFLAGS =
81 +CFLAGS ?=
82 +LDFLAGS ?=
83 +DYFLAGS ?=
84
85 # Adding the TS_CLASS flag enables not being scheduled RR
86 #CFLAGS += -DTS_CLASS
87 @@ -54,7 +54,7 @@
88 # build CFLAGS, LDFLAGS
89 #
90 ifeq (${OPENAIS_BUILD}, RELEASE)
91 - CFLAGS += -O3 -Wall
92 + CFLAGS += -Wall
93 # -Wstrict-aliasing=2 TODO sameday fix all of these
94 ifndef OPENAIS_PROFILE
95 CFLAGS += -fomit-frame-pointer
96
97
98
99 1.1 sys-cluster/openais/files/Makefile-ARCH.patch
100
101 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/files/Makefile-ARCH.patch?rev=1.1&view=markup
102 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/files/Makefile-ARCH.patch?rev=1.1&content-type=text/plain
103
104 Index: Makefile-ARCH.patch
105 ===================================================================
106 --- Makefile.orig 2008-02-14 18:23:15.451804237 +0100
107 +++ Makefile 2008-02-14 18:23:36.588373784 +0100
108 @@ -39,7 +39,7 @@
109 MANDIR=$(PREFIX)/share/man
110 ETCDIR=/etc
111 LCRSODIR=$(PREFIX)/libexec/lcrso
112 -ARCH=$(shell uname -p)
113 +ARCH=$(shell uname -m)
114
115 ifeq (,$(findstring 64,$(ARCH)))
116 LIBDIR=$(PREFIX)/lib/openais
117
118
119
120 1.1 sys-cluster/openais/files/Makefile-install.patch
121
122 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/files/Makefile-install.patch?rev=1.1&view=markup
123 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/files/Makefile-install.patch?rev=1.1&content-type=text/plain
124
125 Index: Makefile-install.patch
126 ===================================================================
127 --- Makefile.orig 2007-12-15 18:41:23.000000000 +0100
128 +++ Makefile 2007-12-15 19:03:15.000000000 +0100
129 @@ -138,7 +136,6 @@
130 install -m 644 exec/service.h $(DESTDIR)$(INCLUDEDIR_SERVICE)
131 install -m 644 exec/timer.h $(DESTDIR)$(INCLUDEDIR_SERVICE)
132 install -m 644 exec/objdb.h $(DESTDIR)$(INCLUDEDIR_SERVICE)
133 - install -m 644 exec/print.h $(DESTDIR)$(INCLUDEDIR_SERVICE)
134 install -m 644 exec/config.h $(DESTDIR)$(INCLUDEDIR_SERVICE)
135 install -m 644 include/swab.h $(DESTDIR)$(INCLUDEDIR_SERVICE)
136 install -m 644 man/*.3 $(DESTDIR)$(MANDIR)/man3
137
138
139
140 1.1 sys-cluster/openais/files/ais.initd
141
142 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/files/ais.initd?rev=1.1&view=markup
143 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/files/ais.initd?rev=1.1&content-type=text/plain
144
145 Index: ais.initd
146 ===================================================================
147 #!/sbin/runscript
148 # Copyright 1999-2007 Gentoo Foundation
149 # Distributed under the terms of the GNU General Public License, v2 or later
150 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/openais/files/ais.initd,v 1.1 2008/02/14 18:37:42 wschlich Exp $
151
152 AISEXEC=/sbin/aisexec
153
154 depend() {
155 need net
156 use logger dns
157 }
158
159 start() {
160 ebegin "Starting ${SVCNAME}"
161 start-stop-daemon --start --exec ${AISEXEC}
162 eend $?
163 }
164
165 stop() {
166 ebegin "Stopping ${SVCNAME}"
167 start-stop-daemon --stop --exec ${AISEXEC}
168 eend $?
169 }
170
171
172
173 1.1 sys-cluster/openais/files/Makefile-LIBDIR.patch
174
175 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/files/Makefile-LIBDIR.patch?rev=1.1&view=markup
176 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/files/Makefile-LIBDIR.patch?rev=1.1&content-type=text/plain
177
178 Index: Makefile-LIBDIR.patch
179 ===================================================================
180 --- Makefile.orig 2008-02-14 18:56:35.000000000 +0100
181 +++ Makefile 2008-02-14 18:56:43.000000000 +0100
182 @@ -88,7 +88,6 @@
183 mkdir -p $(DESTDIR)$(MANDIR)/man3
184 mkdir -p $(DESTDIR)$(MANDIR)/man5
185 mkdir -p $(DESTDIR)$(MANDIR)/man8
186 - mkdir -p $(DESTDIR)$(ETCDIR)/ld.so.conf.d
187
188
189 ln -sf libtotem_pg.so.2.0.0 exec/libtotem_pg.so
190 @@ -111,8 +110,6 @@
191 fi \
192 done
193
194 - echo $(LIBDIR) > $(DESTDIR)$(ETCDIR)/ld.so.conf.d/openais-$(ARCH).conf
195 -
196 install -m 755 exec/*lcrso $(DESTDIR)$(LCRSODIR)
197 install -m 755 exec/aisexec $(DESTDIR)$(SBINDIR)
198 install -m 700 exec/keygen $(DESTDIR)$(SBINDIR)/ais-keygen
199
200
201
202 --
203 gentoo-commits@l.g.o mailing list