diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
commit | b6af1e02efe594039707cd882517663d5370f375 (patch) | |
tree | ff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/resource-agents | |
parent | a71346b7acebc600960a98c84fb32cfd72fe864b (diff) | |
download | aports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2 aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz |
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been
updated for atleast 6 months. If you are affected by this commit please follow
this proceddure:
* make sure your packages build on all architectures
* move your pacakge(s) back to testing
* if you want to keep this package and can maintain it (or find somebody to
maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/resource-agents')
-rw-r--r-- | unmaintained/resource-agents/APKBUILD | 55 | ||||
-rw-r--r-- | unmaintained/resource-agents/fix-bashism.patch | 12 |
2 files changed, 67 insertions, 0 deletions
diff --git a/unmaintained/resource-agents/APKBUILD b/unmaintained/resource-agents/APKBUILD new file mode 100644 index 0000000000..7d6c90a462 --- /dev/null +++ b/unmaintained/resource-agents/APKBUILD @@ -0,0 +1,55 @@ +# 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 new file mode 100644 index 0000000000..ca63c2d1a3 --- /dev/null +++ b/unmaintained/resource-agents/fix-bashism.patch @@ -0,0 +1,12 @@ +--- ./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 |