Move init script into /usr/share/heartbeat so that it is not easily
accessible as a proper sysvinit script. It did not use lsb/init-functions
and as such was not redirecting to the systemd service, making the script
dangerous to have laying around as it could mess up with our systemd
support.
Change-Id: Ia317b719cf23933523cb3f945d701015384e39cc
The changes we did to make them order correctly with sysvinit do not
get picked up automatically as systemd's sysvinit generator does not
understand the $all facility nor insserv overrides.
Change-Id: I1fc2d2c427454c1591ddb5eab38e00b9f15e50c5
Upstream has completely removed cl_malloc support in 3.0. In addition
glib has deprecated its vtable memory allocator hooks. So let's just do
the same and switch our code to use the libc malloc.
Replace the non-functional option --enable-glib-malloc with
--enable-libc-malloc.
Change-Id: I7d015a82246cb30518e2c63e59401d80a3f3df32
- Bump Standards-Version to 3.9.8.
- Bump debhelper compatibility version 10.
- Switch from Priority extra to optional.
- Add a space between version and operator in Build-Depends.
- Remove quilt from Build-Depends, already using source format 3.0 (quilt),
and patch and unpatch targets from debian/rules.
- Remove obsolete comment referring to ssh and scp paths.
- Dot not set INSTALL_PROGRAM, dh_strip handles stripping already.
- Fix target dependencies in debian/rules, to support parallel builds.
- Use $(CURDIR) instead of `pwd` in debian/rules.
- Delegate package artifact removal to dh_clean.
- Use dh_prep instead of deprecated «dh_clean -k».
- Remove commented out debhelper commands.
- Do not pass priorities to update-rc.d either directly or via
dh_installinit, use the defaults.
- Always assume that invoke-rc.d is present.
- Remove unnecessary dpkg-checkbuild local script, replaced long ago by
stock dpkg-checkbuilddeps.
- Update .gitignore and debian/.gitignore files.
Change-Id: I17848019d677afd62747f6838512c866e1d2544f
The patch handling via debian/apply is very tricky and there's
no reason to not follow best practice nowadays with quilt being
available for Debian patch handling.
Once we have a fully working package (needs lots of testing right
now) we might want to integrate full sources, but for now this is
the relevant stuff to build the heartbeat-2_2.1.3-6lenny4~bpo60+1
Debian package for Debian/squeeze, using the sources retrieved
via
dget http://ftp.de.debian.org/debian/pool/main/h/heartbeat/heartbeat_2.1.3-6lenny4.dsc
From: Michael Prokop <mprokop@sipwise.com>