summaryrefslogtreecommitdiff
path: root/pcr/nagios-plugins
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-02 02:19:17 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-02 02:19:17 -0500
commit3c851928794a78ebce8e946acaf6af44d3398bbe (patch)
tree61376dc78c1d85cbf30b69f828dd6b562dbdb77e /pcr/nagios-plugins
parent383548b1254422496b489c6906bcaca8c02d2abb (diff)
downloadabslibre-3c851928794a78ebce8e946acaf6af44d3398bbe.tar.gz
abslibre-3c851928794a78ebce8e946acaf6af44d3398bbe.tar.bz2
abslibre-3c851928794a78ebce8e946acaf6af44d3398bbe.zip
nagios-plugins-2.0.3-1: updating version
Diffstat (limited to 'pcr/nagios-plugins')
-rw-r--r--pcr/nagios-plugins/PKGBUILD25
-rw-r--r--pcr/nagios-plugins/stdio.patch14
2 files changed, 12 insertions, 27 deletions
diff --git a/pcr/nagios-plugins/PKGBUILD b/pcr/nagios-plugins/PKGBUILD
index 5522e2282..a0d2cfd67 100644
--- a/pcr/nagios-plugins/PKGBUILD
+++ b/pcr/nagios-plugins/PKGBUILD
@@ -2,26 +2,25 @@
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
pkgname=nagios-plugins
-pkgver=1.4.16
+pkgver=2.0.3
pkgrel=1
pkgdesc="Plugins are scripts and programs that perform host and service checks."
license=('GPL')
-arch=('i686' 'x86_64' 'mips64el')
+arch=('i686' 'x86_64')
url="http://www.nagiosplugins.org"
-source=("http://downloads.sourceforge.net/nagiosplug/$pkgname-$pkgver.tar.gz"
- "stdio.patch")
+source=("http://nagios-plugins.org/download/$pkgname-$pkgver.tar.gz")
makedepends=('net-snmp')
optdepends=('net-snmp: for SNMP checking.')
+sha1sums=('29b6183ab9d796299dc17c395eef493415d1e9d6')
build() {
- cd $srcdir/$pkgname-$pkgver
- patch -p1 -i "$srcdir/stdio.patch"
- ./configure --prefix=/usr/share/nagios
- make
- make prefix=$startdir/pkg/usr/share/nagios install
- make prefix=$startdir/pkg/usr/share/nagios install-root
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr/share/nagios
+ make
}
-sha1sums=('52db48b15572b98c6fcd8aaec2ef4d2aad7640d3'
- '6a40a8bc8c907f5cf722e4440900d872767d465c')
-
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make prefix=$startdir/pkg/usr/share/nagios install
+ make prefix=$startdir/pkg/usr/share/nagios install-root
+} \ No newline at end of file
diff --git a/pcr/nagios-plugins/stdio.patch b/pcr/nagios-plugins/stdio.patch
deleted file mode 100644
index f87d313b5..000000000
--- a/pcr/nagios-plugins/stdio.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Naur nagios-plugins-1.4.16-orig/gl/stdio.in.h nagios-plugins-1.4.16-patched/gl/stdio.in.h
---- nagios-plugins-1.4.16-orig/gl/stdio.in.h 2012-06-27 19:32:47.000000000 +0200
-+++ nagios-plugins-1.4.16-patched/gl/stdio.in.h 2012-08-09 06:29:26.038030953 +0200
-@@ -140,8 +140,10 @@
- /* It is very rare that the developer ever has full control of stdin,
- so any use of gets warrants an unconditional warning. Assume it is
- always declared, since it is required by C89. */
-+#ifdef gets
- #undef gets
- _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
-+#endif
-
- #if @GNULIB_FOPEN@
- # if @REPLACE_FOPEN@