aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/resource-agents
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/resource-agents')
-rw-r--r--unmaintained/resource-agents/APKBUILD55
-rw-r--r--unmaintained/resource-agents/fix-bashism.patch12
2 files changed, 0 insertions, 67 deletions
diff --git a/unmaintained/resource-agents/APKBUILD b/unmaintained/resource-agents/APKBUILD
deleted file mode 100644
index 7d6c90a462..0000000000
--- a/unmaintained/resource-agents/APKBUILD
+++ /dev/null
@@ -1,55 +0,0 @@
-# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer:
-pkgname=resource-agents
-pkgver=3.9.5
-pkgrel=0
-pkgdesc="Open Source HA Reusable Cluster Resource Scripts"
-url="http://www.linux-ha.org/wiki/Resource_Agents"
-arch="all"
-license="GPL2"
-depends=""
-depends_dev="cluster-glue-dev libxslt-dev libnet-dev"
-makedepends="$depends_dev automake autoconf perl docbook-xsl wget bash"
-install=""
-subpackages="$pkgname-dev $pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/ClusterLabs/resource-agents/tarball/v$pkgver
- fix-bashism.patch
- "
-
-_builddir="$srcdir"/ClusterLabs-resource-agents-ac806fd
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
- sed -i 's/export -n/export/g' configure.ac || return 1
- aclocal && autoheader && autoconf && automake --add-missing \
- || return 1
-}
-
-build() {
- cd "$_builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --localstatedir=/var \
- --enable-fatal-warnings=no \
- || return 1
- make || return 1
-}
-
-package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install_sh=install install || return 1
-}
-
-md5sums="86ec112decf29906afb755016990f56f resource-agents-3.9.5.tar.gz
-b609cdaa30571a1e637a55b42abe5af8 fix-bashism.patch"
-sha256sums="e893812a2f5e179d129badb001b2d25364e65a7dd9e97903e1f911bb6eb99d91 resource-agents-3.9.5.tar.gz
-b5d19d9268121d25f0a96b1e63c04c4aa3cab958bffe0906ddbb2ef0d05164af fix-bashism.patch"
-sha512sums="d7d0926d64ca93f8735522d4e4a068ae680e77dbfc5a326042fc5b1d7775ec3bde712958a260c264d688e739793b87495c6cb6adf94a16e427edbe4c52393589 resource-agents-3.9.5.tar.gz
-25949952f66f78af05179ac7c3ab5d2666600d0b26931c8579447b0c1a47463de5f39e31914df2a3971a7d60ebddcefcbe133f76411dac523fbc5a67ff2da3b9 fix-bashism.patch"
diff --git a/unmaintained/resource-agents/fix-bashism.patch b/unmaintained/resource-agents/fix-bashism.patch
deleted file mode 100644
index ca63c2d1a3..0000000000
--- a/unmaintained/resource-agents/fix-bashism.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- ./heartbeat/ocf-shellfuncs.in.orig
-+++ ./heartbeat/ocf-shellfuncs.in
-@@ -691,8 +691,7 @@
- # OCF_TRACE_FILE is set to a path.
- #
- ocf_is_bash4() {
-- echo "$SHELL" | grep bash > /dev/null &&
-- [ ${BASH_VERSINFO[0]} = "4" ]
-+ [ "${BASH_VERSION%%.*}" = "4" ]
- }
- ocf_trace_redirect_to_file() {
- local dest=$1