diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-24 15:26:46 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-24 15:26:46 +0000 |
commit | 8aa34288216ce1ec3f9e2cbae00a77235a02774c (patch) | |
tree | 1fee337788df379634706408c3153b9d4dac2638 /community/icinga2/APKBUILD | |
parent | 84b0977d2ce9afd6323b224578984cd448f750a3 (diff) | |
download | aports-8aa34288216ce1ec3f9e2cbae00a77235a02774c.tar.bz2 aports-8aa34288216ce1ec3f9e2cbae00a77235a02774c.tar.xz |
community/icinga2: upgrade to 2.5.2
Diffstat (limited to 'community/icinga2/APKBUILD')
-rw-r--r-- | community/icinga2/APKBUILD | 24 |
1 files changed, 9 insertions, 15 deletions
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 <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> 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" |