summaryrefslogtreecommitdiff
path: root/user/net-snmp/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2020-05-10 11:13:01 -0500
committerMax Rees <maxcrees@me.com>2020-06-03 19:39:48 -0500
commitbc1df8faf643506b42ca8545312ab8c566adb68b (patch)
treed857c65826fb58f486e300ce28a0eaba7f94d60f /user/net-snmp/APKBUILD
parentc5a534f9ee178783839f4014d166bdeed1585a0c (diff)
downloadpackages-bc1df8faf643506b42ca8545312ab8c566adb68b.tar.gz
packages-bc1df8faf643506b42ca8545312ab8c566adb68b.tar.bz2
packages-bc1df8faf643506b42ca8545312ab8c566adb68b.tar.xz
packages-bc1df8faf643506b42ca8545312ab8c566adb68b.zip
user/net-snmp: fix CVE-2015-8100
Diffstat (limited to 'user/net-snmp/APKBUILD')
-rw-r--r--user/net-snmp/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/user/net-snmp/APKBUILD b/user/net-snmp/APKBUILD
index 3fc1bceb4..8dea420b2 100644
--- a/user/net-snmp/APKBUILD
+++ b/user/net-snmp/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=net-snmp
pkgver=5.8
-pkgrel=0
+pkgrel=1
pkgdesc="Simple Network Management Protocol"
url="http://www.net-snmp.org/"
arch="all"
@@ -74,7 +74,7 @@ package() {
install -m644 -D "$srcdir"/snmpd.confd "$pkgdir"/etc/conf.d/snmpd
install -m644 -D "$srcdir"/snmptrapd.confd \
"$pkgdir"/etc/conf.d/snmptrapd
- install -m644 -D EXAMPLE.conf "$pkgdir"/etc/snmp/snmpd.conf
+ install -m600 -D EXAMPLE.conf "$pkgdir"/etc/snmp/snmpd.conf
echo "authCommunity log,execute,net public" > "$pkgdir"/etc/snmp/snmptrapd.conf
mkdir -p "$pkgdir"/var/lib/net-snmp
find "$pkgdir" -name perllocal.pod -delete