[Debian-ha-commits] [cluster-glue] 04/73: Imported Debian patch 1.0.3+hg2366-1

Richard Winters devrik-guest at moszumanska.debian.org
Sat Apr 18 20:24:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

devrik-guest pushed a commit to branch master
in repository cluster-glue.

commit 0c29e47e955b7d0c96de6509da811365db568e53
Merge: a0e935e c50c902
Author: Martin Loschwitz <madkiss at debian.org>
Date:   Tue Mar 30 06:28:50 2010 +0000

    Imported Debian patch 1.0.3+hg2366-1

 .hg_archival.txt                                   |    2 +
 .hgignore                                          |   92 +
 .hgsigs                                            |    3 +
 .hgtags                                            |   55 +
 AUTHORS                                            |   19 +
 COPYING                                            |  339 ++
 COPYING.LIB                                        |  504 +++
 ChangeLog                                          |   74 +
 GNUmakefile                                        |   47 +
 Makefile.am                                        |   35 +
 NEWS                                               |    1 +
 README                                             |    1 +
 autogen.sh                                         |  193 +
 cluster-glue-fedora.spec                           |  224 ++
 cluster-glue-suse.spec                             |  272 ++
 configure.ac                                       | 1356 +++++++
 debian/changelog                                   |  100 +
 debian/clean                                       |   43 +
 debian/cluster-glue-dev.install                    |    8 +
 debian/cluster-glue.install                        |   86 +
 debian/cluster-glue.logd.init                      |   99 +
 debian/cluster-glue.manpages                       |    5 +
 debian/compat                                      |    1 +
 debian/control                                     |   52 +
 debian/copyright                                   |   92 +
 debian/libcluster-glue-dev.install                 |    8 +
 debian/libcluster-glue.install                     |    5 +
 debian/libcluster-glue.lintian-overrides           |    1 +
 debian/patches/series                              |    1 +
 debian/patches/spelling-fixes.patch                |   81 +
 debian/rules                                       |   99 +
 debian/source/format                               |    1 +
 doc/Makefile.am                                    |   49 +
 doc/ha_logd.xml.in                                 |  134 +
 doc/ha_logger.xml.in                               |  110 +
 doc/hb_report.8.txt                                |  452 +++
 doc/hb_report.xml                                  |  665 ++++
 doc/meatclient.xml.in                              |   77 +
 doc/stonith.xml.in                                 |  315 ++
 doc/stonith/Makefile.am                            |   32 +
 doc/stonith/README.bladehpi                        |  101 +
 doc/stonith/README.cyclades                        |   61 +
 doc/stonith/README.drac3                           |   18 +
 doc/stonith/README.dracmc                          |   87 +
 doc/stonith/README.external                        |   90 +
 doc/stonith/README.ibmrsa                          |    9 +
 doc/stonith/README.ibmrsa-telnet                   |   55 +
 doc/stonith/README.ipmilan                         |  131 +
 doc/stonith/README.meatware                        |   26 +
 doc/stonith/README.rcd_serial                      |  186 +
 doc/stonith/README.riloe                           |   22 +
 doc/stonith/README.vacm                            |   40 +
 doc/stonith/README.wti_mpc                         |   85 +
 doc/stonith/README_kdumpcheck.txt                  |  151 +
 hb_report/Makefile.am                              |   27 +
 hb_report/combine-logs.pl                          |  136 +
 hb_report/ha_cf_support.sh                         |   82 +
 hb_report/hb_report.in                             | 1236 ++++++
 hb_report/openais_conf_support.sh                  |   97 +
 hb_report/utillib.sh                               |  594 +++
 include/Makefile.am                                |   25 +
 include/clplumbing/.cvsignore                      |    6 +
 include/clplumbing/GSource.h                       |  236 ++
 include/clplumbing/GSource_internal.h              |  111 +
 include/clplumbing/Gmain_timeout.h                 |   44 +
 include/clplumbing/Makefile.am                     |   59 +
 include/clplumbing/apphb_cs.h                      |   75 +
 include/clplumbing/base64.h                        |   50 +
 include/clplumbing/cl_log.h                        |   94 +
 include/clplumbing/cl_misc.h                       |   31 +
 include/clplumbing/cl_pidfile.h                    |   25 +
 include/clplumbing/cl_plugin.h                     |   29 +
 include/clplumbing/cl_poll.h                       |   46 +
 include/clplumbing/cl_quorum.h                     |   44 +
 include/clplumbing/cl_quorumd.h                    |   48 +
 include/clplumbing/cl_random.h                     |   23 +
 include/clplumbing/cl_reboot.h                     |    6 +
 include/clplumbing/cl_signal.h                     |   91 +
 include/clplumbing/cl_syslog.h                     |   32 +
 include/clplumbing/cl_tiebreaker.h                 |   35 +
 include/clplumbing/cl_uuid.h                       |   40 +
 include/clplumbing/coredumps.h                     |   36 +
 include/clplumbing/cpulimits.h                     |   66 +
 include/clplumbing/ipc.h                           |  764 ++++
 include/clplumbing/loggingdaemon.h                 |   32 +
 include/clplumbing/longclock.h                     |  143 +
 include/clplumbing/lsb_exitcodes.h                 |   92 +
 include/clplumbing/md5.h                           |   49 +
 include/clplumbing/mkstemp_mode.h                  |   34 +
 include/clplumbing/netstring.h                     |   48 +
 include/clplumbing/proctrack.h                     |  120 +
 include/clplumbing/realtime.h                      |   65 +
 include/clplumbing/replytrack.h                    |  208 ++
 include/clplumbing/setproctitle.h                  |   64 +
 include/clplumbing/timers.h                        |   23 +
 include/clplumbing/uids.h                          |   32 +
 include/compress.h                                 |   50 +
 include/glue_config.h.in                           |   96 +
 include/ha_msg.h                                   |  464 +++
 include/lha_internal.h                             |  163 +
 include/lrm/.cvsignore                             |    6 +
 include/lrm/Makefile.am                            |   22 +
 include/lrm/lrm_api.h                              |  451 +++
 include/lrm/lrm_msg.h                              |  160 +
 include/lrm/racommon.h                             |   29 +
 include/lrm/raexec.h                               |  157 +
 include/pils/.cvsignore                            |    6 +
 include/pils/Makefile.am                           |   25 +
 include/pils/generic.h                             |  118 +
 include/pils/interface.h                           |  159 +
 include/pils/plugin.h.in                           |  733 ++++
 include/replace_uuid.h                             |   50 +
 include/stonith/.cvsignore                         |   10 +
 include/stonith/Makefile.am                        |   25 +
 include/stonith/expect.h                           |   61 +
 include/stonith/st_ttylock.h                       |   21 +
 include/stonith/stonith.h                          |  184 +
 include/stonith/stonith_plugin.h                   |  125 +
 lib/Makefile.am                                    |   20 +
 lib/clplumbing/.cvsignore                          |   14 +
 lib/clplumbing/GSource.c                           | 1861 +++++++++
 lib/clplumbing/Gmain_timeout.c                     |  198 +
 lib/clplumbing/Makefile.am                         |  100 +
 lib/clplumbing/base64.c                            |  422 +++
 lib/clplumbing/base64_md5_test.c                   |  112 +
 lib/clplumbing/cl_compress.c                       |  491 +++
 lib/clplumbing/cl_log.c                            | 1163 ++++++
 lib/clplumbing/cl_malloc.c                         | 1044 ++++++
 lib/clplumbing/cl_misc.c                           |  179 +
 lib/clplumbing/cl_msg.c                            | 2581 +++++++++++++
 lib/clplumbing/cl_msg_types.c                      | 1755 +++++++++
 lib/clplumbing/cl_netstring.c                      |  570 +++
 lib/clplumbing/cl_pidfile.c                        |  294 ++
 lib/clplumbing/cl_plugin.c                         |  140 +
 lib/clplumbing/cl_poll.c                           |  811 ++++
 lib/clplumbing/cl_random.c                         |  234 ++
 lib/clplumbing/cl_reboot.c                         |   59 +
 lib/clplumbing/cl_signal.c                         |  209 ++
 lib/clplumbing/cl_syslog.c                         |  153 +
 lib/clplumbing/cl_uuid.c                           |  180 +
 lib/clplumbing/coredumps.c                         |  309 ++
 lib/clplumbing/cpulimits.c                         |  219 ++
 lib/clplumbing/ipcsocket.c                         | 2897 ++++++++++++++
 lib/clplumbing/ipctest.c                           | 1368 +++++++
 lib/clplumbing/ipctransient.h                      |   50 +
 lib/clplumbing/ipctransientclient.c                |  222 ++
 lib/clplumbing/ipctransientlib.c                   |   97 +
 lib/clplumbing/ipctransientserver.c                |  204 +
 lib/clplumbing/longclock.c                         |  270 ++
 lib/clplumbing/md5.c                               |  335 ++
 lib/clplumbing/mkstemp_mode.c                      |   56 +
 lib/clplumbing/netstring_test.c                    |  255 ++
 lib/clplumbing/ocf_ipc.c                           |  647 ++++
 lib/clplumbing/proctrack.c                         |  515 +++
 lib/clplumbing/realtime.c                          |  354 ++
 lib/clplumbing/replytrack.c                        |  643 ++++
 lib/clplumbing/setproctitle.c                      |  235 ++
 lib/clplumbing/timers.c                            |  119 +
 lib/clplumbing/transient-test.sh                   |  120 +
 lib/clplumbing/uids.c                              |  140 +
 lib/lrm/.cvsignore                                 |   10 +
 lib/lrm/Makefile.am                                |   36 +
 lib/lrm/clientlib.c                                | 1608 ++++++++
 lib/lrm/lrm_msg.c                                  |  212 ++
 lib/lrm/racommon.c                                 |  172 +
 lib/pils/.cvsignore                                |   11 +
 lib/pils/Makefile.am                               |   57 +
 lib/pils/main.c                                    |  122 +
 lib/pils/pils.c                                    | 2151 +++++++++++
 lib/pils/test.c                                    |  107 +
 lib/plugins/InterfaceMgr/HBauth.c                  |  171 +
 lib/plugins/InterfaceMgr/Makefile.am               |   33 +
 lib/plugins/InterfaceMgr/generic.c                 |  452 +++
 lib/plugins/Makefile.am                            |   20 +
 lib/plugins/lrm/.cvsignore                         |   11 +
 lib/plugins/lrm/Makefile.am                        |   41 +
 lib/plugins/lrm/raexechb.c                         |  416 +++
 lib/plugins/lrm/raexeclsb.c                        |  605 +++
 lib/plugins/lrm/raexecocf.c                        |  492 +++
 lib/plugins/stonith/.cvsignore                     |   11 +
 lib/plugins/stonith/Makefile.am                    |  214 ++
 lib/plugins/stonith/apcmaster.c                    |  822 ++++
 lib/plugins/stonith/apcmastersnmp.c                |  890 +++++
 lib/plugins/stonith/apcmastersnmp.cfg.example      |   39 +
 lib/plugins/stonith/apcsmart.c                     | 1028 +++++
 lib/plugins/stonith/apcsmart.cfg.example           |    1 +
 lib/plugins/stonith/baytech.c                      |  924 +++++
 lib/plugins/stonith/bladehpi.c                     | 1101 ++++++
 lib/plugins/stonith/cyclades.c                     |  633 ++++
 lib/plugins/stonith/drac3.c                        |  359 ++
 lib/plugins/stonith/drac3_command.c                |  342 ++
 lib/plugins/stonith/drac3_command.h                |   29 +
 lib/plugins/stonith/drac3_hash.c                   |  106 +
 lib/plugins/stonith/drac3_hash.h                   |   28 +
 lib/plugins/stonith/external.c                     |  845 +++++
 lib/plugins/stonith/external/.cvsignore            |    5 +
 lib/plugins/stonith/external/Makefile.am           |   32 +
 lib/plugins/stonith/external/drac5.in              |  113 +
 lib/plugins/stonith/external/dracmc-telnet         |  377 ++
 lib/plugins/stonith/external/hmchttp               |  218 ++
 lib/plugins/stonith/external/ibmrsa                |  157 +
 lib/plugins/stonith/external/ibmrsa-telnet         |  319 ++
 lib/plugins/stonith/external/ipmi                  |  215 ++
 lib/plugins/stonith/external/kdumpcheck.in         |  274 ++
 lib/plugins/stonith/external/rackpdu               |  270 ++
 lib/plugins/stonith/external/riloe                 |  486 +++
 lib/plugins/stonith/external/sbd                   |   91 +
 lib/plugins/stonith/external/ssh.in                |  176 +
 lib/plugins/stonith/external/vmware                |  216 ++
 lib/plugins/stonith/external/xen0                  |  253 ++
 .../stonith/external/xen0-ha-dom0-stonith-helper   |   72 +
 lib/plugins/stonith/external/xen0-ha.in            |   96 +
 lib/plugins/stonith/ibmhmc.c                       | 1261 +++++++
 lib/plugins/stonith/ipmi_os_handler.c              |  257 ++
 lib/plugins/stonith/ipmilan.c                      |  586 +++
 lib/plugins/stonith/ipmilan.h                      |   41 +
 lib/plugins/stonith/ipmilan_command.c              |  398 ++
 lib/plugins/stonith/ipmilan_test.c                 |   63 +
 lib/plugins/stonith/meatware.c                     |  349 ++
 lib/plugins/stonith/null.c                         |  260 ++
 lib/plugins/stonith/nw_rpc100s.c                   |  779 ++++
 lib/plugins/stonith/rcd_serial.c                   |  602 +++
 lib/plugins/stonith/rhcs.c                         | 1026 +++++
 lib/plugins/stonith/ribcl.py.in                    |  101 +
 lib/plugins/stonith/riloe.c                        |  338 ++
 lib/plugins/stonith/rps10.c                        | 1070 ++++++
 lib/plugins/stonith/ssh.c                          |  351 ++
 lib/plugins/stonith/stonith_config_xml.h           |  157 +
 lib/plugins/stonith/stonith_expect_helpers.h       |  120 +
 lib/plugins/stonith/stonith_plugin_common.h        |  127 +
 lib/plugins/stonith/stonith_signal.h               |   68 +
 lib/plugins/stonith/suicide.c                      |  274 ++
 lib/plugins/stonith/vacm.c                         |  485 +++
 lib/plugins/stonith/wti_mpc.c                      |  856 +++++
 lib/plugins/stonith/wti_nps.c                      |  813 ++++
 lib/stonith/.cvsignore                             |   13 +
 lib/stonith/Makefile.am                            |   61 +
 lib/stonith/README                                 |   31 +
 lib/stonith/expect.c                               |  539 +++
 lib/stonith/ha_log.sh                              |  104 +
 lib/stonith/main.c                                 |  615 +++
 lib/stonith/meatclient.c                           |  152 +
 lib/stonith/sbd.c                                  |  961 +++++
 lib/stonith/sbd.h                                  |   91 +
 lib/stonith/st_ttylock.c                           |  225 ++
 lib/stonith/stonith.c                              |  581 +++
 logd/.cvsignore                                    |    7 +
 logd/Makefile.am                                   |   52 +
 logd/ha_logd.c                                     | 1029 +++++
 logd/ha_logger.1                                   |   38 +
 logd/ha_logger.c                                   |  166 +
 logd/logd.cf                                       |   44 +
 logd/logd.in                                       |   99 +
 logd/logtest.c                                     |  126 +
 lrm/.cvsignore                                     |   10 +
 lrm/Makefile.am                                    |   20 +
 lrm/admin/.cvsignore                               |   11 +
 lrm/admin/Makefile.am                              |   31 +
 lrm/admin/lrmadmin.c                               | 1124 ++++++
 lrm/admin/lrmadmin.txt                             |   60 +
 lrm/lrmd/.cvsignore                                |   11 +
 lrm/lrmd/Makefile.am                               |   42 +
 lrm/lrmd/audit.c                                   |  191 +
 lrm/lrmd/lrmd.c                                    | 3937 ++++++++++++++++++++
 lrm/lrmd/lrmd.h                                    |  265 ++
 lrm/lrmd/lrmd_fdecl.h                              |  110 +
 lrm/test/.cvsignore                                |   19 +
 lrm/test/LRMBasicSanityCheck.in                    |   55 +
 lrm/test/Makefile.am                               |   48 +
 lrm/test/README.regression                         |  161 +
 lrm/test/apitest.c                                 |  318 ++
 lrm/test/apitest.exp                               |  122 +
 lrm/test/callbacktest.c                            |  205 +
 lrm/test/defaults                                  |    9 +
 lrm/test/descriptions                              |   55 +
 lrm/test/evaltest.sh                               |  167 +
 lrm/test/language                                  |   16 +
 lrm/test/lrmadmin-interface                        |   43 +
 lrm/test/lrmregtest-heartbeat.in                   |   17 +
 lrm/test/lrmregtest-lsb.in                         |   12 +
 lrm/test/lrmregtest.in                             |  220 ++
 lrm/test/plugintest.c                              |   84 +
 lrm/test/regression.sh.in                          |  262 ++
 lrm/test/testcases/.cvsignore                      |   10 +
 lrm/test/testcases/BSC                             |    3 +
 lrm/test/testcases/Makefile.am                     |   26 +
 lrm/test/testcases/basicset                        |    5 +
 lrm/test/testcases/common.filter                   |   27 +
 lrm/test/testcases/flood                           |   19 +
 lrm/test/testcases/flood.exp                       | 1354 +++++++
 lrm/test/testcases/metadata                        |   29 +
 lrm/test/testcases/metadata.exp                    |   38 +
 lrm/test/testcases/ra-list.sh                      |   12 +
 lrm/test/testcases/rscexec                         |   62 +
 lrm/test/testcases/rscexec.exp                     |  229 ++
 lrm/test/testcases/rscmgmt                         |   34 +
 lrm/test/testcases/rscmgmt.exp                     |   87 +
 lrm/test/testcases/rscmgmt.log_filter              |   13 +
 lrm/test/testcases/serialize                       |   33 +
 lrm/test/testcases/serialize.exp                   |  100 +
 lrm/test/testcases/xmllint.sh                      |   20 +
 replace/Makefile.am                                |   29 +
 replace/NoSuchFunctionName.c                       |   31 +
 replace/alphasort.c                                |   53 +
 replace/daemon.c                                   |   83 +
 replace/inet_pton.c                                |  245 ++
 replace/scandir.c                                  |  236 ++
 replace/setenv.c                                   |   50 +
 replace/strerror.c                                 |   37 +
 replace/strlcat.c                                  |   33 +
 replace/strlcpy.c                                  |   32 +
 replace/strndup.c                                  |   38 +
 replace/strnlen.c                                  |   31 +
 replace/unsetenv.c                                 |   51 +
 replace/uuid_parse.c                               |  519 +++
 315 files changed, 80632 insertions(+)

diff --cc debian/changelog
index 0000000,0000000..2d8001c
new file mode 100644
--- /dev/null
+++ b/debian/changelog
@@@ -1,0 -1,0 +1,100 @@@
++cluster-glue (1.0.3+hg2366-1) unstable; urgency=low
++
++  * New upstream checkout.
++  * Updated debian/copyright to reflect the current situation
++  * Remove useless STYLESHEET_PREFIX patch from debian/patches
++
++ -- Martin Loschwitz <madkiss at debian.org>  Tue, 30 Mar 2010 06:28:50 +0000
++
++cluster-glue (1.0.3+hg2365-1) unstable; urgency=low
++
++  * New upstream checkout.
++  * Move lintian overides from cluster-glue to libcluster-glue.
++
++ -- Frederik Schüler <fs at debian.org>  Fri, 12 Mar 2010 12:36:56 +0100
++
++cluster-glue (1.0.3+hg2337-2) unstable; urgency=low
++
++  * Add libcluster-glue{-dev}.install files, and actually install libraries.
++
++ -- Frederik Schüler <fs at debian.org>  Tue, 09 Mar 2010 13:12:04 +0100
++
++cluster-glue (1.0.3+hg2337-1) unstable; urgency=low
++
++  [ Martin G. Loschwitz ] 
++  * Replaced the copyright-file with the one updated by Ante Karamatic
++  * Split cluster-glue into libcluster-glue{-dev} and cluster-glue{-dev}
++ 
++ -- Martin Loschwitz <madkiss at debian.org>  Wed, 02 Mar 2010 13:02:00 +0100
++
++cluster-glue (1.0.3-2) UNRELEASED; urgency=low
++
++  [ Simon Horman ]
++  * Do not do a binary-indep build as there is nothing to do.
++  * Build-Depend on libsensors4-dev | libsensors-dev.
++
++  [ Frederik Schüler ]
++  * Bump standards to version 3.8.4, no changes needed.
++  * Switch to source version 3.0 "quilt".
++  * Switch to debian compatibility level 7.
++  * Drop dpatch.
++  * Add misc-depends to cluster-glue-dev.
++  * Add linian overrides.
++  * Remove rpath from ipmilan.so.
++
++ -- Frederik Schüler <fs at debian.org>  Fri, 26 Feb 2010 19:39:13 +0100
++
++cluster-glue (1.0.3-1) unstable; urgency=low
++
++  * New upstream release.
++
++ -- Martin Loschwitz <madkiss at debian.org>  Wed, 03 Feb 2010 08:05:00 +0100
++
++cluster-glue (1.0.2~rc2b+hg20100127-0test1) unstable; urgency=low
++
++  * New build of the Debian version of this package, incorporating many
++    changes done by Ante Karamatic (thank you very much!)
++  * New upstream checkout
++
++ -- Martin Loschwitz <madkiss at debian.org>  Wed, 26 Jan 2010 12:58:00 +0200
++
++cluster-glue (1.0.2~rc2a-0ubuntu0ppa2) lucid; urgency=low
++
++  * Addes docbook-xsl to build-depends
++  * debian/patches/01_stylesheet_path.dpatch:
++    - use local docbook
++
++ -- Ante Karamatic <ivoks at ubuntu.com>  Mon, 04 Jan 2010 15:18:40 +0000
++
++cluster-glue (1.0.2~rc2a-0ubuntu0ppa1) lucid; urgency=low
++
++  * New upstream checkout
++  * Added xsltproc to build-depends; needed for rebuilding of man pages
++  * Modified paths in cluster-glue.install and cluster-glue-dev.install
++
++ -- Ante Karamatic <ivoks at ubuntu.com>  Sun, 03 Jan 2010 09:38:25 +0000
++
++cluster-glue (1.0+hg20091102-1~bpo50+1) lenny-backports; urgency=low
++
++  * Rebuild for lenny-backports.
++
++ -- Martin Loschwitz <madkiss at debian.org>  Mon, 02 Nov 2009 15:02:29 +0000
++
++cluster-glue (1.0+hg20091102-1) unstable; urgency=low
++
++  * New upstream checkout
++
++ -- Martin Loschwitz <madkiss at debian.org>  Mon, 02 Nov 2009 00:00:00 +0100
++
++cluster-glue (1.0+hg20091012-1) unstable; urgency=low
++
++  * New upstream checkout
++  * Adopting numerous changes from HG
++
++ -- Martin Loschwitz <madkiss at debian.org>  Mon, 12 Oct 2009 16:14:00 +0200
++
++cluster-glue (1.0+hg20090915-1) unstable; urgency=low
++
++  * Initial release of packages for the cluster-glue-framework
++
++ -- Martin Loschwitz <madkiss at debian.org>  Tue, 15 Sep 2009 09:56:16 +0000
diff --cc debian/clean
index 0000000,0000000..7f02294
new file mode 100644
--- /dev/null
+++ b/debian/clean
@@@ -1,0 -1,0 +1,43 @@@
++aclocal.m4
++autoconf
++autoheader
++automake
++compile
++config.guess
++config.sub
++configure
++depcomp
++doc/Makefile.in
++doc/stonith/Makefile.in
++hb_report/Makefile.in
++include/clplumbing/Makefile.in
++include/config.h.in
++include/lrm/Makefile.in
++include/Makefile.in
++include/pils/Makefile.in
++include/stonith/Makefile.in
++INSTALL
++install-sh
++lib/clplumbing/Makefile.in
++lib/lrm/Makefile.in
++libltdl.tar
++lib/Makefile.in
++lib/pils/Makefile.in
++lib/plugins/InterfaceMgr/Makefile.in
++lib/plugins/lrm/Makefile.in
++lib/plugins/Makefile.in
++lib/plugins/stonith/external/Makefile.in
++lib/plugins/stonith/Makefile.in
++lib/stonith/Makefile.in
++libtool.m4
++logd/Makefile.in
++lrm/admin/Makefile.in
++lrm/lrmd/Makefile.in
++lrm/Makefile.in
++lrm/test/Makefile.in
++lrm/test/testcases/Makefile.in
++ltdl.m4
++ltmain.sh
++Makefile.in
++missing
++replace/Makefile.in
diff --cc debian/cluster-glue-dev.install
index 0000000,0000000..08bac2e
new file mode 100644
--- /dev/null
+++ b/debian/cluster-glue-dev.install
@@@ -1,0 -1,0 +1,8 @@@
++usr/lib/heartbeat/plugins/InterfaceMgr/*.la
++usr/lib/heartbeat/plugins/InterfaceMgr/*.a
++usr/lib/heartbeat/plugins/RAExec/*.la
++usr/lib/heartbeat/plugins/RAExec/*.a
++usr/lib/heartbeat/plugins/test/*.la
++usr/lib/heartbeat/plugins/test/*.a
++usr/lib/stonith/plugins/stonith2/*.la
++usr/lib/stonith/plugins/stonith2/*.a
diff --cc debian/cluster-glue.install
index 0000000,0000000..18bdbfd
new file mode 100644
--- /dev/null
+++ b/debian/cluster-glue.install
@@@ -1,0 -1,0 +1,86 @@@
++usr/lib/heartbeat/ipctest
++usr/lib/heartbeat/ipctransientclient
++usr/lib/heartbeat/ipctransientserver
++usr/lib/heartbeat/base64_md5_test
++usr/lib/heartbeat/transient-test.sh
++usr/lib/heartbeat/plugins/InterfaceMgr/generic.so
++usr/lib/heartbeat/plugins/RAExec/lsb.so
++usr/lib/heartbeat/plugins/RAExec/ocf.so
++usr/lib/heartbeat/plugins/RAExec/heartbeat.so
++usr/lib/heartbeat/plugins/test/test.so
++usr/lib/heartbeat/lrmd
++usr/lib/heartbeat/ha_logd
++usr/lib/heartbeat/logtest
++usr/lib/stonith/plugins/external/*
++usr/lib/stonith/plugins/stonith2/apcmaster.so
++usr/lib/stonith/plugins/stonith2/apcmastersnmp.so
++usr/lib/stonith/plugins/stonith2/apcsmart.so
++usr/lib/stonith/plugins/stonith2/baytech.so
++usr/lib/stonith/plugins/stonith2/bladehpi.so
++usr/lib/stonith/plugins/stonith2/cyclades.so
++usr/lib/stonith/plugins/stonith2/drac3.so
++usr/lib/stonith/plugins/stonith2/external.so
++usr/lib/stonith/plugins/stonith2/ibmhmc.so
++usr/lib/stonith/plugins/stonith2/ipmilan.so
++usr/lib/stonith/plugins/stonith2/meatware.so
++usr/lib/stonith/plugins/stonith2/null.so
++usr/lib/stonith/plugins/stonith2/nw_rpc100s.so
++usr/lib/stonith/plugins/stonith2/rcd_serial.so
++usr/lib/stonith/plugins/stonith2/rps10.so
++usr/lib/stonith/plugins/stonith2/ssh.so
++usr/lib/stonith/plugins/stonith2/suicide.so
++usr/lib/stonith/plugins/stonith2/wti_nps.so
++usr/lib/stonith/plugins/stonith2/ribcl.py
++usr/lib/stonith/plugins/stonith2/rhcs.so
++usr/lib/stonith/plugins/stonith2/wti_mpc.so
++var/*
++usr/sbin/stonith
++usr/sbin/meatclient
++usr/sbin/sbd
++usr/sbin/lrmadmin
++usr/sbin/ha_logger
++usr/sbin/hb_report
++usr/share/doc/cluster-glue/stonith/README_kdumpcheck.txt
++usr/share/doc/cluster-glue/stonith/README.bladehpi
++usr/share/doc/cluster-glue/stonith/README.cyclades
++usr/share/doc/cluster-glue/stonith/README.drac3
++usr/share/doc/cluster-glue/stonith/README.external
++usr/share/doc/cluster-glue/stonith/README.ipmilan
++usr/share/doc/cluster-glue/stonith/README.meatware
++usr/share/doc/cluster-glue/stonith/README.rcd_serial
++usr/share/doc/cluster-glue/stonith/README.riloe
++usr/share/doc/cluster-glue/stonith/README.vacm
++usr/share/doc/cluster-glue/stonith/README.ibmrsa
++usr/share/doc/cluster-glue/stonith/README.dracmc
++usr/share/doc/cluster-glue/stonith/README.wti_mpc
++usr/share/doc/cluster-glue/stonith/README.ibmrsa-telnet
++usr/share/cluster-glue/lrmtest/testcases/BSC
++usr/share/cluster-glue/lrmtest/testcases/metadata
++usr/share/cluster-glue/lrmtest/testcases/metadata.exp
++usr/share/cluster-glue/lrmtest/testcases/rscexec
++usr/share/cluster-glue/lrmtest/testcases/rscexec.exp
++usr/share/cluster-glue/lrmtest/testcases/rscmgmt
++usr/share/cluster-glue/lrmtest/testcases/rscmgmt.exp
++usr/share/cluster-glue/lrmtest/testcases/common.filter
++usr/share/cluster-glue/lrmtest/testcases/ra-list.sh
++usr/share/cluster-glue/lrmtest/testcases/rscmgmt.log_filter
++usr/share/cluster-glue/lrmtest/testcases/xmllint.sh
++usr/share/cluster-glue/lrmtest/testcases/basicset
++usr/share/cluster-glue/lrmtest/README.regression
++usr/share/cluster-glue/lrmtest/defaults
++usr/share/cluster-glue/lrmtest/descriptions
++usr/share/cluster-glue/lrmtest/lrmadmin-interface
++usr/share/cluster-glue/lrmtest/language
++usr/share/cluster-glue/lrmtest/LRMBasicSanityCheck
++usr/share/cluster-glue/lrmtest/regression.sh
++usr/share/cluster-glue/lrmtest/evaltest.sh
++usr/share/cluster-glue/lrmtest/lrmregtest
++usr/share/cluster-glue/lrmtest/lrmregtest-heartbeat
++usr/share/cluster-glue/lrmtest/lrmregtest-lsb
++usr/share/cluster-glue/utillib.sh
++usr/share/cluster-glue/ha_cf_support.sh
++usr/share/cluster-glue/openais_conf_support.sh
++usr/share/cluster-glue/combine-logs.pl
++usr/share/cluster-glue/ha_log.sh
++usr/lib/stonith/plugins/xen0-ha-dom0-stonith-helper
++etc/init.d/logd
diff --cc debian/cluster-glue.logd.init
index 0000000,0000000..a662877
new file mode 100644
--- /dev/null
+++ b/debian/cluster-glue.logd.init
@@@ -1,0 -1,0 +1,99 @@@
++#!/bin/sh
++#
++#
++# logd     	    Start logd (non-blocking log service)
++#
++# Author:       Dejan Muhamedagic <dmuhamedagic at suse.de>
++#               (After the heartbeat init script)
++# License:      GNU General Public License (GPL)
++#
++#		This script works correctly under SuSE, Debian,
++#		Conectiva, Red Hat and a few others.  Please let me know if it
++#		doesn't work under your distribution, and we'll fix it.
++#		We don't hate anyone, and like for everyone to use
++#		our software, no matter what OS or distribution you're using.
++#
++# chkconfig: 2345 @LOGD_INITSTARTPRI@ @LOGD_INITSTOPPRI@
++# description: Startup script logd service.
++# processname: ha_logd
++# pidfile: /var/run/logd.pid
++# config: /etc/logd.cf
++#
++### BEGIN INIT INFO
++# Description: ha_logd is a non-blocking logging daemon.
++#	It can log messages either to a file or through syslog
++#	daemon.
++# Short-Description: ha_logd logging daemon
++# Provides: ha_logd
++# Required-Start: $network $syslog $remote_fs
++# Required-Stop: $network $syslog $remote_fs
++# X-Start-Before: heartbeat openais
++# Default-Start: 2 3 4 5
++# Default-Stop: 0 1 6
++### END INIT INFO
++
++LOGD_CFG=/etc/logd.cf
++LOGD_OPT=""
++[ -f "$LOGD_CFG" ] && LOGD_OPT="-c $LOGD_CFG"
++LOGD_BIN="/usr/lib/heartbeat/ha_logd"
++
++if [ ! -f $LOGD_BIN ]; then
++  echo -n "ha_logd not installed."
++  exit 5
++fi
++
++StartLogd() {
++    echo -n "Starting ha_logd: "
++    $LOGD_BIN -s >/dev/null 2>&1
++    if [ $? -eq 0 ]; then
++	echo "logd is already running" 
++	return 0
++    fi
++    
++    $LOGD_BIN -d $LOGD_OPT >/dev/null 2>&1
++    if [ $? -ne 0 ]; then
++	echo "starting logd failed"
++	exit 1
++    fi
++    echo "ok"
++    exit 0
++}
++
++StopLogd() {
++    echo -n "Stopping ha_logd: "
++
++    $LOGD_BIN -s >/dev/null 2>&1
++    if [ $? -ne 0 ]; then
++	   echo "logd is already stopped" 
++	   return 0
++    fi
++
++    $LOGD_BIN -k >/dev/null 2>&1
++    if [ $? -ne 0 ]; then
++	echo "stopping logd failed"
++	exit 1
++    fi
++    echo "stopped"
++    exit 0
++}
++
++StatusLogd() {
++  $LOGD_BIN -s
++  exit $?
++}
++
++case "$1" in
++  start) StartLogd ;;
++  status) StatusLogd ;;
++  stop) StopLogd ;;
++  restart|force-reload)
++        sleeptime=1
++	$0 stop && sleep $sleeptime && $0 start
++	echo
++	;;
++
++  *)
++	echo "Usage: $0 {start|stop|status|restart}"
++	exit 1
++esac
++
diff --cc debian/cluster-glue.manpages
index 0000000,0000000..f264b8f
new file mode 100644
--- /dev/null
+++ b/debian/cluster-glue.manpages
@@@ -1,0 -1,0 +1,5 @@@
++doc/meatclient.8
++doc/stonith.8
++doc/ha_logd.8
++doc/hb_report.8
++doc/ha_logger.1
diff --cc debian/compat
index 0000000,0000000..7f8f011
new file mode 100644
--- /dev/null
+++ b/debian/compat
@@@ -1,0 -1,0 +1,1 @@@
++7
diff --cc debian/control
index 0000000,0000000..85b1f96
new file mode 100644
--- /dev/null
+++ b/debian/control
@@@ -1,0 -1,0 +1,52 @@@
++Source: cluster-glue
++Section: admin
++Priority: optional
++Maintainer: Debian HA Maintainers <debian-ha-maintainers at lists.alioth.debian.org>
++Uploaders: Martin Loschwitz <madkiss at debian.org>, Anibal Monsalve Salazar <anibal at debian.org>, Simon Horman <horms at debian.org>, Frederik Schüler <fs at debian.org>
++Build-Depends: debhelper (>= 7), libsnmp-dev, libglib2.0-dev, perl, net-tools, iputils-ping, python, psmisc, libnet1-dev, iproute, libtool, libcurl4-openssl-dev | libcurl3-openssl-dev, libxml2-dev, bison, flex, uuid-dev, lynx, libbz2-dev, zlib1g-dev, uuid-dev, libsensors4-dev | libsensors-dev, libltdl3-dev, swig, openssh-client, libgnutls-dev, python-central (>= 0.5), python-dev, libpam0g-dev, libncurses5-dev, psmisc, libopenhpi-dev, libopenipmi-dev, autoconf, automake, libtool, xsltpro [...]
++Standards-Version: 3.8.4
++Homepage: http://hg.linux-ha.org/glue/
++XS-Python-Version: current
++
++Package: libcluster-glue
++Architecture: any
++Depends: ${shlibs:Depends}, ${misc:Depends}
++Replaces: cluster-glue (<= 1.0.3-2)
++Conflicts: cluster-glue (<= 1.0.3-2)
++Description: The reusable cluster components for Linux HA (libraries)
++ This package contains the libraries provided by the cluster
++ glue component by the Linux-HA project; it offers various
++ re-usable cluster stack libraries. If you plan to run the
++ Linux-HA cluster stack, you will need this package.
++
++Package: libcluster-glue-dev
++Architecture: any
++Section: libdevel
++Depends: ${shlibs:Depends}, ${misc:Depends}, libcluster-glue (= ${binary:Version})
++Replaces: cluster-glue-dev (<= 1.0.3-2)
++Conflicts: cluster-glue-dev (<= 1.0.3-2)
++Description: The reusable cluster components for Linux HA (library dev files)
++ This package contains the headers for the libraries provided 
++ by the cluster glue component by the Linux-HA project; it 
++ offers various re-usable cluster stack libraries. If you plan 
++ to run the Linux-HA cluster stack, you will need this package.
++
++Package: cluster-glue
++Architecture: any
++Depends: ${shlibs:Depends}, ${misc:Depends}, libauthen-radius-perl, libcrypt-ssleay-perl, libdbi-perl, libdigest-hmac-perl, libdigest-md5-perl, libmail-pop3client-perl, libmailtools-perl, libnet-dns-perl, libnet-imap-simple-perl, libnet-imap-simple-ssl-perl, libnet-ldap-perl, libnet-perl, libwww-perl, python
++Replaces: heartbeat (<= 2.99.2+sles11r9-5), heartbeat-common (<= 2.99.2+sles11r9-5), libheartbeat2 (<= 2.99.2+sles11r9-5)
++Conflicts: heartbeat (<= 2.99.2+sles11r9-5), heartbeat-common (<= 2.99.2+sles11r9-5), libheartbeat2 (<= 2.99.2+sles11r9-5)
++Description: The reusable cluster components for Linux HA
++ This package contains various reusable cluster components from
++ the Linux HA project. Originally belonging to Heartbeat, they
++ can and sometimes must be used with OpenAIS driven clusters as
++ well.
++
++Package: cluster-glue-dev
++Architecture: any
++Depends: cluster-glue (= ${binary:Version}), ${misc:Depends}
++Replaces: libheartbeat2-dev (<= 2.99.2+sles11r9-5), heartbeat-dev (<= 2.99.2+sles11r9-5)
++Conflicts: libheartbeat2-dev (<= 2.99.2+sles11r9-5), heartbeat-dev (<= 2.99.2+sles11r9-5)
++Description: Development files for the cluster glue components
++ This package includes headers and static libraries for the glue
++ cluster components.
diff --cc debian/copyright
index 0000000,0000000..d469906
new file mode 100644
--- /dev/null
+++ b/debian/copyright
@@@ -1,0 -1,0 +1,92 @@@
++This package was first debianized by Paolo Molaro <lupus at debian.org> on
++Wed, 17 Nov 1999 17:30:23 +0100.
++
++The original sources can be found at:
++	http://linux-ha.org/wiki/Download
++
++Upstream Authors (from AUTHORS) and copyright holders: (c) 1998-2010
++
++	Alan Robertson <alanr at unix.sh>
++	Andreas Mock <andreas.mock at web.de>
++	Andrew Beekhof <andrew at beekhof.net>
++	Dave Blaschke <debltc at us.ibm.com>
++	David Lee <t.d.lee at durham.ac.uk>
++	Dejan Muhamedagic <dejan at hello-penguin.com>
++	Hannes Eder <heder at google.com>
++	Huang Zhen <zhenhltc at cn.ibm.com>
++	Junko Ikeda <ikedaj at intellilink.co.jp>
++	Lars Marowsky-Bree <lmb at suse.de>
++	Martin Bene <martin.bene at icomedias.com>
++	Phil Carns <carns at mcs.anl.gov>
++	Satomi Taniguchi <taniguchis at intellilink.co.jp>
++	Sean Reifschneider <jafo at tummy.com>
++	Sebastian Reitenbach <itlistuser at rapideye.de>
++	Serge Dubrouski <sergeyfd at gmail.com>
++	Simon Horman <horms at verge.net.au>
++	Xinwei Hu <hxinwei at gmail.com>
++
++Code for the following pieces borrowed from code by:
++	Tom Vogt <tom at lemuria.org>	(udp code)
++	yuri volobuev <volobuev at t1.chem.umn.edu> (send_arp.c)
++	'Network UPS Tools' by Russell Kroll <rkroll at exploits.org>
++ 		homepage: http://www.exploits.org/nut/
++		(Andreas Piesk borrowed code for APCSmart support)
++	David C. Teigland <teigland at sistina.com>
++		wrote original meatware support for GFS stomith
++	salz at pebbles.bbn.com - replacement scandir function
++	Internet Software Consortium (bind) - replacement inet_pton()
++		function
++	Matt Soffen <matt at soffen.com>	(replace/alphasort.c,
++					 replace/daemon.c)
++	
++NOTE:	The work of everyone on this project is dearly appreciated. If you
++	are not listed here but should be, please notify us!
++
++Although upstream claims differently, the contents of this package do
++not fall under one common license. 
++
++=====================================================================
++
++The following components of this package are licensed under the GNU
++Lesser General Public License 2.1 (LGPL):
++
++include/clplumbing/Gmain_timeout.h, include/clplumbing/apphb_cs.h,
++include/clplumbing/coredumps.h, include/clplumbing/netstring.h,
++include/ha_msg.h, include/lha_internal.h, include/pils/generic.h,
++include/pils/interface.h, include/pils/plugin.h.in,
++lib/clplumbing/cl_malloc.c, lib/clplumbing/cl_msg.c,
++lib/clplumbing/cl_msg_types.c, lib/clplumbing/cl_poll.c,
++lib/clplumbing/coredumps.c, lib/clplumbing/cpulimits.c,
++lib/pils/main.c, lib/pils/pils.c, lib/pils/test.c,
++replace/NoSuchFunctionName.c, replace/setenv.c,
++replace/strerror.c, replace/strlcat.c, replace/strlcpy.c,
++replace/strndup.c, replace/strnlen.c, replace/unsetenv.c
++
++On Debian systems, the complete text of the GNU Lesser General
++Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
++
++=====================================================================
++
++The following component of this package are licensed under the terms
++of the BSD license:
++
++replace/daemon.c
++replace/alphasort.c
++
++On Debian systems, the complete text of the BSD license can be 
++found in `/usr/share/common-licenses/BSD'.
++
++=====================================================================
++
++The following component of this package is public domain software and
++does not fall under any license's terms:
++
++replace/scandir.c
++
++=====================================================================
++
++All other components of this package are licensed under the GNU General 
++Public License in version 2.
++
++On Debian systems, the complete text of the GNU General Public License 
++v2 can be found in `/usr/share/common-licenses/GPL-2'.
diff --cc debian/libcluster-glue-dev.install
index 0000000,0000000..c05a248
new file mode 100644
--- /dev/null
+++ b/debian/libcluster-glue-dev.install
@@@ -1,0 -1,0 +1,8 @@@
++usr/lib/*.so
++usr/lib/*.a
++usr/lib/*.la
++usr/include/clplumbing/*.h
++usr/include/heartbeat/*.h
++usr/include/heartbeat/lrm/*.h
++usr/include/pils/*.h
++usr/include/stonith/*.h
diff --cc debian/libcluster-glue.install
index 0000000,0000000..7400d38
new file mode 100644
--- /dev/null
+++ b/debian/libcluster-glue.install
@@@ -1,0 -1,0 +1,5 @@@
++usr/lib/liblrm.so.*
++usr/lib/libpils.so.*
++usr/lib/libplumb.so.*
++usr/lib/libplumbgpl.so.*
++usr/lib/libstonith.so.*
diff --cc debian/libcluster-glue.lintian-overrides
index 0000000,0000000..b6eb5fc
new file mode 100644
--- /dev/null
+++ b/debian/libcluster-glue.lintian-overrides
@@@ -1,0 -1,0 +1,1 @@@
++libcluster-glue binary: package-name-doesnt-match-sonames liblrm2 libpils2 libplumb2 libplumbgpl2 libstonith1
diff --cc debian/patches/series
index 0000000,0000000..965a000
new file mode 100644
--- /dev/null
+++ b/debian/patches/series
@@@ -1,0 -1,0 +1,1 @@@
++spelling-fixes.patch
diff --cc debian/patches/spelling-fixes.patch
index 0000000,0000000..45ffc2a
new file mode 100644
--- /dev/null
+++ b/debian/patches/spelling-fixes.patch
@@@ -1,0 -1,0 +1,81 @@@
++Description: Fix various spelling issues, as found by lintian.
++Author: Frederik Schüler <fs at debian.org>
++Last-Update: 2010-02-11
++
++--- cluster-glue-1.0.3.orig/lib/lrm/clientlib.c
+++++ cluster-glue-1.0.3/lib/lrm/clientlib.c
++@@ -1593,11 +1593,11 @@ execra_code2string(uniform_ret_execra_t 
++ 		case EXECRA_FAILED_MASTER:
++ 			return "master (failed)";
++ 		case EXECRA_RA_DEAMON_DEAD1:
++-			return "status: deamon dead";
+++			return "status: daemon dead";
++ 		case EXECRA_RA_DEAMON_DEAD2:
++-			return "status: deamon dead";
+++			return "status: daemon dead";
++ 		case EXECRA_RA_DEAMON_STOPPED:
++-			return "status: deamon stopped";
+++			return "status: daemon stopped";
++ 		case EXECRA_STATUS_UNKNOWN:
++ 			return "status: unknown";
++ 		default:
++--- cluster-glue-1.0.3.orig/lib/clplumbing/ipctransientclient.c
+++++ cluster-glue-1.0.3/lib/clplumbing/ipctransientclient.c
++@@ -159,11 +159,11 @@ transient_client_callback(IPC_Channel* s
++ 
++ 			if(lpc < MAX_MESSAGES && strcmp(messages[lpc], buffer) != 0)
++ 			{
++-				cl_log(LOG_ERR, "[Client] Recieved someone else's message [%s] instead of [%s]", buffer, messages[lpc]);
+++				cl_log(LOG_ERR, "[Client] Received someone else's message [%s] instead of [%s]", buffer, messages[lpc]);
++ 			}
++ 			else if(lpc >= MAX_MESSAGES)
++ 			{
++-				cl_log(LOG_ERR, "[Client] Recieved an extra message [%s]", buffer);
+++				cl_log(LOG_ERR, "[Client] Receivedan extra message [%s]", buffer);
++ 			}
++ 			
++ 			lpc++;
++--- cluster-glue-1.0.3.orig/lrm/lrmd/lrmd.c
+++++ cluster-glue-1.0.3/lrm/lrmd/lrmd.c
++@@ -2688,7 +2688,7 @@ add_op_to_runlist(lrmd_rsc_t* rsc, lrmd_
++ 	rsc->op_list = g_list_append(rsc->op_list, op);
++ 	if (g_list_length(rsc->op_list) >= 4) {
++ 		lrmd_log(LOG_WARNING
++-		,	"operations list for %s is suspicously"
+++		,	"operations list for %s is suspiciously"
++ 		" long [%d]"
++ 		,	rsc->id
++ 		,	g_list_length(rsc->op_list));
++--- cluster-glue-1.0.3.orig/lrm/admin/lrmadmin.c
+++++ cluster-glue-1.0.3/lrm/admin/lrmadmin.c
++@@ -139,7 +139,7 @@ static int call_id = 0;
++ static int TIMEOUT = -1; /* the unit is ms */
++ 
++ static const char *simple_help_screen =
++-"lrmadmin {-d|--deamon}\n"
+++"lrmadmin {-d|--daemon}\n"
++ "         {-A|--add} <rscid> <raclass> <ratype> <provider|NULL> [<rsc_params_list>]\n"
++ "         {-D|--delete} <rscid>\n"
++ "         {-F|--flush} <rscid>\n"
++--- cluster-glue-1.0.3.orig/lrm/admin/lrmadmin.txt
+++++ cluster-glue-1.0.3/lrm/admin/lrmadmin.txt
++@@ -4,7 +4,7 @@ NAME
++ 	lrmadmin  - Local Resource Manager Commander-line Daministrator Tools
++ 
++ SYNOPSIS
++-lrmadmin {-d|--deamon}
+++lrmadmin {-d|--daemon}
++ 	 {-A|--add} <rscid> <rsc_class> <rsc_type> [<rsc_params_list>] 
++ 	 {-D|--delete} <rscid>
++ 	 {-F|--flush} <rscid>
++@@ -20,8 +20,8 @@ lrmadmin {-d|--deamon}
++ 
++ Detailed Explanation for Options 
++ 
++-Lrmd deamon options
++-	 {-d|--deamon}
+++Lrmd daemon options
+++	 {-d|--daemon}
++ #		-s	    The status of lrmd: running or not running
++ #		-r	    Reset lrmd (?)
++ 
diff --cc debian/rules
index 0000000,0000000..c1c8213
new file mode 100755
--- /dev/null
+++ b/debian/rules
@@@ -1,0 -1,0 +1,99 @@@
++#!/usr/bin/make -f
++
++# Uncomment this to turn on verbose mode.
++#export DH_VERBOSE=1
++
++# This has to be exported to make some magic below work.
++export DH_OPTIONS
++
++DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
++DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
++
++
++CFLAGS = -Wall -g
++ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
++       CFLAGS += -O0
++else
++       CFLAGS += -O2
++endif
++ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
++       INSTALL_PROGRAM += -s
++endif
++
++ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
++  NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
++  MAKEFLAGS += -j$(NUMJOBS)
++endif
++
++
++DTMP:=$(CURDIR)/debian/tmp
++RELEASE := $(shell dpkg-parsechangelog | awk '/^Version: / { print $$2 }')
++UPSTREAM := $(shell echo "$(RELEASE)" | sed 's/:\?\([0-9\.]\+\)-[0-9].*/\1/')
++
++
++configure: configure-stamp
++configure-stamp: 
++	dh_testdir
++	test -x ./configure || ./autogen.sh
++	./configure --with-ocf-root=/usr/lib/ocf --with-initdir=/etc/init.d \
++		    --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
++  		    --mandir=/usr/share/man --libdir=/usr/lib
++	touch configure-stamp
++
++
++build: build-arch build-indep
++
++build-arch: build-arch-stamp
++build-arch-stamp: configure-stamp  
++	$(MAKE)
++	touch $@
++
++build-indep: build-indep-stamp
++build-indep-stamp: configure-stamp  
++	touch $@
++
++clean: 
++	dh_testdir
++	dh_testroot
++	[ ! -f Makefile ] || $(MAKE) clean
++	[ ! -f Makefile ] || $(MAKE) distclean
++	dh_clean 
++
++install: install-indep install-arch
++install-indep:
++
++install-arch:
++	dh_testdir
++	dh_testroot
++	dh_prep -s
++	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
++	chrpath -r "" debian/tmp/usr/lib/stonith/plugins/stonith2/ipmilan.so
++	dh_install --sourcedir=$(CURDIR)/debian/tmp --list-missing
++
++binary-common:
++	dh_testdir
++	dh_testroot
++	dh_installchangelogs ChangeLog
++	dh_installdocs
++	dh_installman
++	dh_lintian
++	dh_installinit --name=logd -pcluster-glue -u 'defaults 20 32'
++	dh_strip
++	dh_compress
++	dh_fixperms
++	dh_makeshlibs
++	dh_installdeb
++	dh_shlibdeps
++	dh_gencontrol
++	dh_md5sums
++	dh_builddeb
++
++# Build architecture independant packages using the common target.
++binary-indep: build-indep install-indep
++
++# Build architecture dependant packages using the common target.
++binary-arch: build-arch install-arch
++	$(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
++
++binary: binary-arch binary-indep
++.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure
diff --cc debian/source/format
index 0000000,0000000..163aaf8
new file mode 100644
--- /dev/null
+++ b/debian/source/format
@@@ -1,0 -1,0 +1,1 @@@
++3.0 (quilt)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/cluster-glue.git



More information about the Debian-HA-Commits mailing list