From 8aa34288216ce1ec3f9e2cbae00a77235a02774c Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Wed, 24 Aug 2016 15:26:46 +0000 Subject: community/icinga2: upgrade to 2.5.2 --- community/icinga2/APKBUILD | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) (limited to 'community/icinga2/APKBUILD') diff --git a/community/icinga2/APKBUILD b/community/icinga2/APKBUILD index 85afd99cde..347a1859b5 100644 --- a/community/icinga2/APKBUILD +++ b/community/icinga2/APKBUILD @@ -1,16 +1,15 @@ # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=icinga2 -pkgver=2.4.10 +pkgver=2.5.2 pkgrel=0 pkgdesc="An open source host, service and network monitoring program" url="http://www.icinga.org" arch="all" license="GPL" depends="monitoring-plugins" -depends_dev="" makedepends="$depends_dev cmake bison flex boost-dev yajl-dev - postgresql-dev mariadb-dev openssl-dev" + postgresql-dev mariadb-dev openssl-dev libedit-dev" install="$pkgname.pre-install $pkgname.post-install" pkgusers="icinga" pkggroups="icinga" @@ -18,21 +17,16 @@ subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp" source="$pkgname-$pkgver.tar.gz::https://github.com/Icinga/$pkgname/archive/v$pkgver.tar.gz $pkgname.initd" -_builddir="$srcdir/$pkgname-$pkgver" +builddir="$srcdir/$pkgname-$pkgver" 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 + cd "$builddir" rm -r third-party/yajl mkdir -p build } build() { - cd "$_builddir"/build + cd "$builddir"/build cmake "$srcdir/$pkgname-$pkgver" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_SYSCONFDIR=/etc \ @@ -51,7 +45,7 @@ build() { } package() { - cd "$_builddir"/build + cd "$builddir"/build make DESTDIR="$pkgdir" install mv "$pkgdir/etc/icinga2/conf.d" "$pkgdir/etc/icinga2/conf.d.example" mkdir "$pkgdir/etc/icinga2/conf.d" @@ -111,9 +105,9 @@ bashcomp() { } -md5sums="1c34410780aac117878b24aca129b9c1 icinga2-2.4.10.tar.gz +md5sums="fc36358b7bd26ebf3afa254d9e9b10f1 icinga2-2.5.2.tar.gz 11d269affec451c7153a617929314bf9 icinga2.initd" -sha256sums="c2963430503c382cc4d5083b05731c0b965b5ffa960e900c0827b83789f0425e icinga2-2.4.10.tar.gz +sha256sums="b0da3f4629494b3b775b6f1ec25ceb59c497f6bfaeae57357065084ba1609753 icinga2-2.5.2.tar.gz bdd669692d016116f8e1f623c9d145f73864a5637cdebde4ad8eaa4c3a9cc13e icinga2.initd" -sha512sums="de04d2236b05d33becad1b4e68a4b5ae553b43da9576f9b88f77a037800e6679840516777f32ce71680e81dd99feb850db8861ea2496b9acb1e0da9ce2ce3bd6 icinga2-2.4.10.tar.gz +sha512sums="080f5a935d5ecb763c37636b23ce81d5cbd77650a713371b14737264ded448746871e0662817951a3ef751ae2ddc728f1cf5defa1b97bdcf2cde1ee3e449b14f icinga2-2.5.2.tar.gz f368ea15be7054503924696129fe6b413f9a5cb5344af89f9a0f84df98ac7ef8ab135de60845deced55a982b6b037ce1a00b437189c78fcab981d1e3babec2d5 icinga2.initd" -- cgit v1.2.3