net-mgmt/net-snmp: Fix missing datarootdir, Bump PORTREVISION
This commit is contained in:
parent
54722a2979
commit
043827049d
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= snmp
|
||||
PORTVERSION= 5.9.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION} \
|
||||
|
|
10
net-mgmt/net-snmp/files/patch-net-snmp-create-v3-user.in
Normal file
10
net-mgmt/net-snmp/files/patch-net-snmp-create-v3-user.in
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- net-snmp-create-v3-user.in.orig 2022-12-03 13:29:45 UTC
|
||||
+++ net-snmp-create-v3-user.in
|
||||
@@ -135,6 +135,7 @@ if test ! -d "$outfile"; then
|
||||
fi
|
||||
echo "$line" >> "$outfile"
|
||||
# Avoid that configure complains that this script ignores @datarootdir@
|
||||
+datarootdir="@datarootdir@"
|
||||
echo "@datarootdir@" >/dev/null
|
||||
outfile="@datadir@/snmp/snmpd.conf"
|
||||
line="$token $user"
|
Loading…
Reference in New Issue
Block a user