diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2018-11-07 20:24:10 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2018-11-07 20:24:10 +0000 |
commit | 3b0d4c8935a177bac1cdcc92598b9b16f1e913dc (patch) | |
tree | 6db17a946474e5759c1b5d600c0ace4a292c4f36 /net/rtg/files/patch-etc_SNMP__util.pm | |
parent | mail/libdomainkeys: Correct OPENSSL_VERSION_NUMBER (diff) |
Revert r484406, it was never approved.
Pointy hat: mfechner
With hat: portmgr
Notes
Notes:
svn path=/head/; revision=484408
Diffstat (limited to 'net/rtg/files/patch-etc_SNMP__util.pm')
-rw-r--r-- | net/rtg/files/patch-etc_SNMP__util.pm | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/net/rtg/files/patch-etc_SNMP__util.pm b/net/rtg/files/patch-etc_SNMP__util.pm deleted file mode 100644 index 09c703fc7f84..000000000000 --- a/net/rtg/files/patch-etc_SNMP__util.pm +++ /dev/null @@ -1,22 +0,0 @@ ---- etc/SNMP_util.pm.orig 2018-04-02 22:51:02 UTC -+++ etc/SNMP_util.pm -@@ -1129,16 +1129,16 @@ sub snmpMIB_to_OID ($) { - $buf =~ s/OBJECT-GROUP/OBJECT IDENTIFIER/; - $buf =~ s/MODULE-IDENTITY/OBJECT IDENTIFIER/; - $buf =~ s/ IMPORTS .*\;//; -- $buf =~ s/ SEQUENCE {.*}//; -+ $buf =~ s/ SEQUENCE \{.*}//; - $buf =~ s/ SYNTAX .*//; - $buf =~ s/ [\w-]+ ::= OBJECT IDENTIFIER//; -- $buf =~ s/ OBJECT IDENTIFIER .* ::= {/ OBJECT IDENTIFIER ::= {/; -+ $buf =~ s/ OBJECT IDENTIFIER .* ::= \{/ OBJECT IDENTIFIER ::= {/; - $buf =~ s/".*"//; - if ($buf =~ /"/) { - $quote = 1; - } - -- if ($buf =~ / ([\w\-]+) OBJECT IDENTIFIER ::= {([^}]+)}/) { -+ if ($buf =~ / ([\w\-]+) OBJECT IDENTIFIER ::= \{([^}]+)}/) { - $var = $1; - $buf = $2; - undef $val; |