summaryrefslogtreecommitdiffstats
path: root/main/net-snmp
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2012-02-10 21:30:03 +0000
committerTimo Teräs <timo.teras@iki.fi>2012-02-11 05:34:02 +0200
commiteea092e9ef299fc071973fd1a454d294a9b9d4e7 (patch)
tree2c5359933aca173be0a2f6655e8aa5f4a6153173 /main/net-snmp
parent5e11fa1d10e5ad798b553f4de0b3dd7eee11ecd0 (diff)
downloadaports-eea092e9ef299fc071973fd1a454d294a9b9d4e7.tar.bz2
aports-eea092e9ef299fc071973fd1a454d294a9b9d4e7.tar.xz
main/net-snmp: allow tmpfs volumes to be monitored
fixes #932
Diffstat (limited to 'main/net-snmp')
-rw-r--r--main/net-snmp/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/net-snmp/APKBUILD b/main/net-snmp/APKBUILD
index 3928e0b96..73f902cc9 100644
--- a/main/net-snmp/APKBUILD
+++ b/main/net-snmp/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=net-snmp
pkgver=5.7.1
-pkgrel=1
+pkgrel=2
pkgdesc="Simple Network Management Protocol"
url="http://www.net-snmp.org/"
arch="all"
@@ -34,6 +34,10 @@ prepare() {
;;
esac
done
+
+ # Allow tmpfs volume size monitoring
+ # Ref #932
+ sed -e 's#"tmpfs",#/* "tmpfs", */#g' -i agent/mibgroup/host/hr_filesys.c
}
build() {