Gentoo Archives: gentoo-commits

From: "Alexys Jacob (ultrabug)" <ultrabug@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/heartbeat/files: 3.0.4-docs.patch 3.0.4-python_tests.patch 3.0.4-fix_configure.patch 3.0.3-docs.patch 3.0.3-python_tests.patch 3.0.3-fix_configure.patch
Date: Fri, 11 Feb 2011 11:04:58
Message-Id: 20110211110447.0796520054@flycatcher.gentoo.org
1 ultrabug 11/02/11 11:04:47
2
3 Added: 3.0.4-docs.patch 3.0.4-python_tests.patch
4 3.0.4-fix_configure.patch
5 Removed: 3.0.3-docs.patch 3.0.3-python_tests.patch
6 3.0.3-fix_configure.patch
7 Log:
8 Version bump, drop old unstable.
9
10 (Portage version: 2.1.9.39/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.1 sys-cluster/heartbeat/files/3.0.4-docs.patch
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/heartbeat/files/3.0.4-docs.patch?rev=1.1&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/heartbeat/files/3.0.4-docs.patch?rev=1.1&content-type=text/plain
17
18 Index: 3.0.4-docs.patch
19 ===================================================================
20 --- configure.in
21 +++ configure.in
22 @@ -505,8 +505,15 @@
23 AC_PATH_PROGS(TEST, test)
24 AC_PATH_PROGS(PKGCONFIG, pkg-config)
25
26 -dnl xsltproc is required for building the man pages
27 -AC_PATH_PROGS(XSLTPROC, xsltproc)
28 +AC_ARG_ENABLE([doc],
29 + AS_HELP_STRING([--enable-doc],[Build documentation]
30 +))
31 +AS_IF([test "x$enable_doc" = "xyes"], [
32 + AC_PATH_PROGS(XSLTPROC, xsltproc)
33 +])
34 +AM_CONDITIONAL([BUILD_DOC], [test "x$enable_doc" = "xyes"] )
35 +AC_SUBST(XSLTPROC)
36 +
37
38 dnl ************************************************************************
39 dnl Check whether non-root user can chown.
40 --- doc/Makefile.am
41 +++ doc/Makefile.am
42 @@ -33,11 +33,12 @@
43
44 doc_DATA = $(OTHER_DOCS)
45
46 +if BUILD_DOC
47 man_MANS = heartbeat.8 apphbd.8 cl_status.1 \
48 hb_standby.1 hb_takeover.1 hb_addnode.1 hb_delnode.1 \
49 ha.cf.5 authkeys.5
50
51 -STYLESHEET_PREFIX ?= http://docbook.sourceforge.net/release/xsl/current
52 +STYLESHEET_PREFIX ?= /usr/share/sgml/docbook/xsl-stylesheets
53 MANPAGES_STYLESHEET ?= $(STYLESHEET_PREFIX)/manpages/docbook.xsl
54 HTML_STYLESHEET ?= $(STYLESHEET_PREFIX)/xhtml/docbook.xsl
55 FO_STYLESHEET ?= $(STYLESHEET_PREFIX)/fo/docbook.xsl
56 @@ -47,6 +48,12 @@
57 XSLTPROC_HTML_OPTIONS ?= $(XSLTPROC_OPTIONS)
58 XSLTPROC_FO_OPTIONS ?= $(XSLTPROC_OPTIONS)
59
60 +%.5 %.8 %.1: %.xml
61 + $(XSLTPROC) \
62 + $(XSLTPROC_MANPAGES_OPTIONS) \
63 + $(MANPAGES_STYLESHEET) $<
64 +endif
65 +
66 EXTRA_DIST = $(txtfiles) $(htmlfiles) $(man_MANS) $(OTHER_DOCS)
67
68 ChangeLog: $(SPECSRC)
69 @@ -56,7 +63,3 @@
70 .html.txt:
71 if [ "X$(HTML2TXT)" = "X" ]; then echo "Lynx or w3m or user-defined HTML2TXT required to convert $< to $@" >$@ ; else $(HTML2TXT) -dump $< >$@ ; fi
72
73 -%.5 %.8 %.1: %.xml
74 - $(XSLTPROC) \
75 - $(XSLTPROC_MANPAGES_OPTIONS) \
76 - $(MANPAGES_STYLESHEET) $<
77
78
79
80 1.1 sys-cluster/heartbeat/files/3.0.4-python_tests.patch
81
82 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/heartbeat/files/3.0.4-python_tests.patch?rev=1.1&view=markup
83 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/heartbeat/files/3.0.4-python_tests.patch?rev=1.1&content-type=text/plain
84
85 Index: 3.0.4-python_tests.patch
86 ===================================================================
87 --- cts/Makefile.am
88 +++ cts/Makefile.am
89 @@ -21,7 +21,7 @@
90
91 ctsdir = @HA_NOARCHDATAHBDIR@/cts
92
93 -cts_PYTHON = \
94 +cts_SCRIPTS = \
95 CM_fs.py \
96 CM_hb.py \
97 CM_LinuxHAv2.py \
98 @@ -32,14 +32,12 @@
99 extracttests.py \
100 getpeinputs.sh \
101 OCFIPraTest.py \
102 - CIB.py
103 + CIB.py \
104 + CTSproxy.py \
105 + LSBDummy
106
107 cts_DATA = README
108
109 -cts_SCRIPTS = \
110 - CTSproxy.py \
111 - getpeinputs.sh \
112 - LSBDummy
113
114 all-local: $(cts_PYTHON)
115
116
117
118
119 1.1 sys-cluster/heartbeat/files/3.0.4-fix_configure.patch
120
121 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/heartbeat/files/3.0.4-fix_configure.patch?rev=1.1&view=markup
122 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/heartbeat/files/3.0.4-fix_configure.patch?rev=1.1&content-type=text/plain
123
124 Index: 3.0.4-fix_configure.patch
125 ===================================================================
126 --- work/Heartbeat-3-0-STABLE-3.0.4/configure.in 2010-12-09 21:09:47.000000000 +0100
127 +++ work2/Heartbeat-3-0-STABLE-3.0.4/configure.in 2010-12-28 17:37:45.080773140 +0100
128 @@ -243,9 +243,9 @@
129 mandir=`var "$mandir" "$exec_prefix/man"`
130 dnl docdir is available in autoconf 2.60+, for older versions preseed
131 dnl with the same value that 2.60+ uses
132 -docdir=`var "$docdir" "${datadir}/doc/${PACKAGE_NAME}"`
133 -libdir=`var "$libdir" "$exec_prefix/lib"`
134 -libexecdir=`var "$libexecdir" "$exec_prefix/libexec"`
135 +dnl docdir=`var "$docdir" "${datadir}/doc/${PACKAGE_NAME}"`
136 +dnl libdir=`var "$libdir" "$exec_prefix/lib"`
137 +dnl libexecdir=`var "$libexecdir" "$exec_prefix/libexec"`
138 noarchlibdir=`var "$noarchlibdir" "$prefix/lib"`
139
140
141 @@ -284,59 +284,11 @@
142 LIBC=`${LDD} ${tmpOutfile} | grep libc | sed -e 's%.*=> *%%' -e 's% .*$%%'`
143 LibCdir=`dirname $LIBC`
144 dirlist=`echo $LibCdir | tr '/' ' '`
145 - LibDirSuffix=unknown
146 - for dir in $dirlist
147 - do
148 - case $dir in
149 - *lib*) LibDirSuffix=$dir; break;;
150 - *);;
151 - esac
152 - done
153 - case $LibDirSuffix in
154 - unknown) LibDirSuffix=`basename $LibCdir`;;
155 - esac
156 OutFileType=`file $tmpOutfile`
157 rm -f $tmpCfile $tmpOutfile
158 else
159 AC_MSG_ERROR([Cannot Compile trivial C program])
160 fi
161 -#
162 -# The code above doesn't work right everywhere
163 -# (like Fedora and OpenBSD)
164 -#
165 -case ${LibDirSuffix} in
166 - *lib*) : Cool;;
167 - *) : Sigh...
168 - case $OutFileType in
169 - *64-bit*)
170 - case $host_os in
171 - openbsd*) LibDirSuffix=lib;;
172 - *) LibDirSuffix=lib64;;
173 - esac;;
174 - *32-bit*) LibDirSuffix=lib;;
175 - *) LibDirSuffix=lib;;
176 - esac;;
177 -esac
178 -#
179 -# This may not yet be quite right for PPC where the default
180 -# is to produce 32-bit binaries, even though the OS is 64-bit
181 -# or for that matter for system Z, But, it's a lot better than
182 -# it used to be.
183 -#
184 -AC_MSG_RESULT($LibDirSuffix)
185 -
186 -case $libdir in
187 - */*${LibDirSuffix}) : Cool ;;
188 - *) : Uh Oh...
189 - libdir=`dirname $libdir`/$LibDirSuffix
190 - AC_MSG_WARN([Overriding libdir to: $libdir]);;
191 -esac
192 -case $libexecdir in
193 - */$LibDirSuffix) : Cool ;;
194 - *) : Uh Oh...
195 - libexecdir=`dirname $libexecdir`/$LibDirSuffix
196 - AC_MSG_WARN([Overriding libexecdir to: $libexecdir]);;
197 -esac
198
199 for j in exec_prefix bindir sbindir datadir sysconfdir localstatedir \
200 includedir oldincludedir mandir docdir stdocdir libdir noarchlibdir
201 @@ -386,7 +338,6 @@
202 fi
203
204 AC_CHECK_HEADERS(heartbeat/glue_config.h)
205 -GLUE_HEADER=none
206 if test "$ac_cv_header_heartbeat_glue_config_h" = "yes"; then
207 GLUE_HEADER=heartbeat/glue_config.h
208 else
209 @@ -453,15 +404,6 @@
210
211 dnl We use this in the RPM specfile...
212 AC_SUBST(ac_configure_args)
213 -cleaned_configure_args=""
214 -for j in ${ac_configure_args}
215 -do
216 - case $j in
217 - *--libdir=*|*--libexecdir=*) ;;
218 - *) cleaned_configure_args="$cleaned_configure_args $j";;
219 - esac
220 -done
221 -AC_SUBST(cleaned_configure_args)
222
223 dnl *************************************************************************
224 PATH="$PATH:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin"