summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/cluster-glue/PKGBUILD63
1 files changed, 46 insertions, 17 deletions
diff --git a/pcr/cluster-glue/PKGBUILD b/pcr/cluster-glue/PKGBUILD
index 89b0af8ee..f23f88ef3 100644
--- a/pcr/cluster-glue/PKGBUILD
+++ b/pcr/cluster-glue/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname2=${pkgname:8}
_pkgname=${_pkgname1^}_${_pkgname2^}
_grpname=linux-ha
pkgver=1.0.11
-pkgrel=8
+pkgrel=9
pkgdesc='Set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack'
arch=(
i686
@@ -30,7 +30,7 @@ depends=(
libxml2
net-snmp
openhpi
- #openipmi
+ openipmi
python
util-linux
#vacm
@@ -48,7 +48,8 @@ makedepends=(
valgrind
w3m
)
-provides=ha-$_pkgname2
+options=(!libtool)
+provides=(ha-$_pkgname2)
conflicts=ha-$_pkgname2
replaces=ha-$_pkgname2
install=$pkgname.install
@@ -85,6 +86,8 @@ prepare() {
' configure.ac
sed -i 's|INCLUDES|AM_CPPFLAGS|;
' $(grep -rl INCLUDES . | grep Makefile.am)
+
+ # fixing path
sed -i 's|bin/sh|usr/bin/bash|;
' $(grep -rl bin/sh .)
sed -i 's|usr/sbin|usr/bin|;
@@ -97,22 +100,47 @@ prepare() {
' $(grep -rl /var/lock .)
sed -i 's|var/run|run|;
' $(grep -rl var/run)
- sed -i 's|Open Source|Free Software|;
- ' $(grep -rl 'Open Source' .)
- sed -i 's|opensource|freesoftware|;
- ' $(grep -rl 'opensource' .)
- sed -i '/Solaris, FreeBSD and Linux/ s|Linux|GNU/Linux|;
- /sysDescr.0 = STRING: Linux/ s|Linux|GNU/Linux|;
- /works only on Linux./ s|Linux|GNU/Linux|;
- /UNIX, Linux/ s|Linux|GNU/Linux|;
- /Logging Daemon for High-Availability Linux/ s|Linux|GNU/Linux|;
- /This is what the Linux/ s|Linux|GNU/Linux|;
- /Compiling for Linux platform/ s|Linux|GNU/Linux|;
+
+ # remove Open Source term
+ sed -i 's|Open Source / ||;
+ s|open source / ||;
+ s|Open Source|Free Software|;
+ s|open source|free software|;
+ ' $(grep -ril 'open source')
+ sed -i 's|OpenSource / ||;
+ s|opensource / ||;
+ s|OpenSource|FreeSoftware|;
+ s|opensource|freesoftware|;
+ ' $(grep -ril opensource)
+
+ # remove Linux term
+ sed -i '/, Linux/ s|Linux|GNU/Linux|;
+ /And Linux/ s|Linux|GNU/Linux|;
+ /and Linux/ s|Linux|GNU/Linux|;
+ /For Linux/ s|Linux|GNU/Linux|;
+ /for Linux/ s|Linux|GNU/Linux|;
/Like Linux/ s|Linux|GNU/Linux|;
+ /like Linux/ s|Linux|GNU/Linux|;
+ /Linux,/ s|Linux|GNU/Linux|;
+ /Linux and/ s|Linux|GNU/Linux|;
+ /Linux distribution/ s|Linux|GNU/Linux|;
+ /Linux machine/ s|Linux|GNU/Linux|;
+ /Linux operating/ s|Linux|GNU/Linux|;
+ /Linux OS/ s|Linux|GNU/Linux|;
+ /Linux specific/ s|Linux|GNU/Linux|;
+ /Linux system/ s|Linux|GNU/Linux|;
+ /Under Linux/ s|Linux|GNU/Linux|;
+ /under Linux/ s|Linux|GNU/Linux|;
+ /On Linux/ s|Linux|GNU/Linux|;
+ /on Linux/ s|Linux|GNU/Linux|;
/(e.g. Linux)/ s|Linux|GNU/Linux|;
- /Linux, Solaris/ s|Linux|GNU/Linux|;
- /Linux and Compaq Tru64 Unix/ s|Linux|GNU/Linux|;
- ' $(grep -rl Linux .)
+ /High-Availability Linux/ s|Linux|GNU/Linux|;
+ /sysDescr.0 = STRING: Linux/ s|Linux|GNU/Linux|;
+ /This is what the Linux/ s|Linux|GNU/Linux|;
+ s|GNU/GNU|GNU|;
+ s|GNU/Linux kernel|Linux kernel|;
+ s|GNU/Linux specific kernel|Linux specific kernel|;
+ ' $(grep -rl Linux)
}
build() {
@@ -121,6 +149,7 @@ build() {
setarch $CARCH ./configure --prefix=/usr\
--disable-ansi\
--disable-fatal-warnings\
+ --disable-static\
--enable-doc\
--enable-libnet\
--enable-upstart\