summaryrefslogtreecommitdiff
path: root/user/net-snmp/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-06-04 01:08:19 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-06-04 01:08:19 +0000
commit925fabf5441a16a7d347fed2b3bd36ef46fc1f62 (patch)
treeb94adbbf7965292c0a94e6ab8719bacbc73efa7e /user/net-snmp/APKBUILD
parent62d1b55bc2450280702234aa414761df0865332b (diff)
parent98a725069b0538ef835c6aed5895425b52db7e0e (diff)
downloadpackages-925fabf5441a16a7d347fed2b3bd36ef46fc1f62.tar.gz
packages-925fabf5441a16a7d347fed2b3bd36ef46fc1f62.tar.bz2
packages-925fabf5441a16a7d347fed2b3bd36ef46fc1f62.tar.xz
packages-925fabf5441a16a7d347fed2b3bd36ef46fc1f62.zip
Merge branch 'sec/2020.05.10' into 'master'
Security updates for 2020.05.10 See merge request adelie/packages!448
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