diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-25 07:01:25 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-25 07:03:37 +0000 |
commit | f6529ce503a686cf48f76b68ea0f60dc5209d829 (patch) | |
tree | 58fdd52e1b27c820409bd950869a31cbde976414 /main/nagios-plugins/APKBUILD | |
parent | 4a0134d61b22376456785a794d6fbe3854e8f02a (diff) | |
download | aports-f6529ce503a686cf48f76b68ea0f60dc5209d829.tar.bz2 aports-f6529ce503a686cf48f76b68ea0f60dc5209d829.tar.xz |
main/nagios-plugins: upgrade to 2.0.3
Diffstat (limited to 'main/nagios-plugins/APKBUILD')
-rw-r--r-- | main/nagios-plugins/APKBUILD | 34 |
1 files changed, 7 insertions, 27 deletions
diff --git a/main/nagios-plugins/APKBUILD b/main/nagios-plugins/APKBUILD index 18d9b5ed0c..e5d4315a57 100644 --- a/main/nagios-plugins/APKBUILD +++ b/main/nagios-plugins/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Jeff Bilyk <jbilyk@gmail.com> pkgname=nagios-plugins -pkgver=1.4.16 -pkgrel=8 +pkgver=2.0.3 +pkgrel=0 pkgdesc="Plugins for Nagios to check services on hosts" url="http://nagiosplugins.org" arch="all" @@ -11,14 +11,11 @@ makedepends="net-snmp-tools openssl-dev openldap-dev mysql-dev postgresql-dev li source="https://www.nagios-plugins.org/download/nagios-plugins-$pkgver.tar.gz" pkgusers="nagios" pkggroups="nagios" -subpackages="$pkgname-contrib" +subpackages="" prepare() { cd "$srcdir/$pkgname-$pkgver" update_config_sub || return 1 - # fix eglibc-2.16 build issue - sed -i -e '/gets is a/d' \ - gl/stdio.in.h || return 1 } build() { @@ -44,30 +41,13 @@ build() { package() { cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" install || return 1 rm -rf "$pkgdir"/usr/lib/charset.alias rmdir -p "$pkgdir"/usr/lib 2>/dev/null return 0 } -contrib() { - pkgdesc="Contrib Plugins for Nagios" - arch="noarch" - cd "$pkgdir" - mkdir -p ${pkgdir}-contrib - cd ${pkgdir}-contrib - mkdir -p "${pkgdir}"-contrib/usr/lib/nagios/plugins/ - cp "$srcdir"/$pkgname-$pkgver/contrib/*.sh "${pkgdir}"-contrib/usr/lib/nagios/plugins/ - cp "$srcdir"/$pkgname-$pkgver/contrib/*.pl "${pkgdir}"-contrib/usr/lib/nagios/plugins/ - cp "$srcdir"/$pkgname-$pkgver/contrib/*.pm "${pkgdir}"-contrib/usr/lib/nagios/plugins/ - cp "$srcdir"/$pkgname-$pkgver/contrib/*.py "${pkgdir}"-contrib/usr/lib/nagios/plugins/ - chmod a+x "${pkgdir}"-contrib/usr/lib/nagios/plugins/*.sh - chmod a+x "${pkgdir}"-contrib/usr/lib/nagios/plugins/*.pl - chmod a+x "${pkgdir}"-contrib/usr/lib/nagios/plugins/*.pm - chmod a+x "${pkgdir}"-contrib/usr/lib/nagios/plugins/*.py -} - -md5sums="862f5e44fb5bc65ce7e5d86d654d4da0 nagios-plugins-1.4.16.tar.gz" -sha256sums="b0caf07e0084e9b7f10fdd71cbd3ebabcd85ad78df64da360b51233b0e73b2bd nagios-plugins-1.4.16.tar.gz" -sha512sums="7a1401964b881c3db3e1e3f2a49dcf517ff7214724cc05c3ad629651b7e3eeb823b02abe0c6379d29996ac1e8a1208d918fd12e36cca46c7d36d9b1ebacdb2b3 nagios-plugins-1.4.16.tar.gz" +md5sums="6755765bab88b506181268ef7982595e nagios-plugins-2.0.3.tar.gz" +sha256sums="8f0021442dce0138f0285ca22960b870662e28ae8973d49d439463588aada04a nagios-plugins-2.0.3.tar.gz" +sha512sums="2753e6f3fc7433a5583fee01e63a65b9ea74155964f2b6e6bf3458e56cb29ea5dbd020f83816044a717b66d6548d203b3a082fba0faedcd629c7a8457bc19b36 nagios-plugins-2.0.3.tar.gz" |