summaryrefslogtreecommitdiff
path: root/pcr/heartbeat/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/heartbeat/PKGBUILD')
-rw-r--r--pcr/heartbeat/PKGBUILD37
1 files changed, 19 insertions, 18 deletions
diff --git a/pcr/heartbeat/PKGBUILD b/pcr/heartbeat/PKGBUILD
index f9ee9254b..a33250f84 100644
--- a/pcr/heartbeat/PKGBUILD
+++ b/pcr/heartbeat/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=heartbeat
pkgver=3.0.5
_pkgver=${pkgver::1}_${pkgver:2:1}
-pkgrel=10
+pkgrel=11
pkgdesc='Daemon that provides cluster infrastructure services to its clients (Linux-HA)'
arch=(
i686
@@ -50,42 +50,42 @@ prepare() {
" configure.ac
sed -i 's|INCLUDES|AM_CPPFLAGS|;
- ' $(grep -rl INCLUDES | grep Makefile.am)
+ ' $(grep -rlI INCLUDES | grep Makefile.am)
# fixing path
sed -i 's|bin/sh|usr/bin/bash|;
- ' $(grep -rl bin/sh)
+ ' $(grep -rlI bin/sh)
sed -i 's| /bin| /usr/bin|;
- ' $(grep -rl ' /bin')
+ ' $(grep -rlI ' /bin')
sed -i 's| /sbin| /usr/bin|;
- ' $(grep -rl ' /sbin')
+ ' $(grep -rlI ' /sbin')
sed -i 's|usr/sbin|usr/bin|;
- ' $(grep -rl usr/sbin)
+ ' $(grep -rlI usr/sbin)
#sed -i 's|/lib64|/lib|;
- # ' $(grep -rl /lib64)
+ # ' $(grep -rlI /lib64)
#sed -i 's|usr/libexec|usr/lib|;
- # ' $(grep -rl usr/libexec)
+ # ' $(grep -rlI usr/libexec)
sed -i 's|var/lock|run/lock|;
- ' $(grep -rl var/lock)
+ ' $(grep -rlI var/lock)
sed -i 's|var/run|run|;
- ' $(grep -rl var/run)
+ ' $(grep -rlI var/run)
# remove Open Source term
sed -i 's|Open Source / ||;
s|open source / ||;
- s|Open Source|Free Software|;
- s|open source|free software|;
+ s|Open Source|Free|;
+ s|open source|free|;
s|Free Software Development Lab|Open Source Development Lab|;
- ' $(grep -ril 'open source')
+ ' $(grep -rilI 'open source')
#sed -i 's|OpenSource / ||;
# s|opensource / ||;
- # s|OpenSource|FreeSoftware|;
- # s|opensource|freesoftware|;
+ # s|OpenSource|Free|;
+ # s|opensource|free|;
# s|freesoftware.org|opensource.org|;
# s|http://www.opensource.org/|http://www.gnu.org/philosophy/free-sw.html|;
# s|http://www.gnu.org/philosophy/free-sw.htmllicenses/osl-|http://opensource.org/licenses/osl-|;
# s|http://www.gnu.org/philosophy/free-sw.htmlosd|http://opensource.org/osd|;
- # ' $(grep -ril opensource)
+ # ' $(grep -rilI opensource)
# remove Linux term
sed -i 's|Linux,|GNU/Linux,|;
@@ -163,7 +163,7 @@ prepare() {
s|SEGNU/Linux|SELinux|;
s|VA GNU/Linux Cluster|VA Linux Cluster|;
s|ConfigureLinux|ConfigureGNULinux|;
- ' $(grep -rl Linux)
+ ' $(grep -rlI Linux)
}
build() {
@@ -175,7 +175,8 @@ build() {
--enable-valgrind\
--libdir=/usr/lib\
--localstatedir=/var\
- --sysconfdir=/etc
+ --sysconfdir=/etc\
+ --with-initdir=/etc/rc.d
setarch $CARCH make
}