Bug 228765 - [patch] net-mgmt/bsnmp-regex: permit expires = 0
Summary: [patch] net-mgmt/bsnmp-regex: permit expires = 0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Eugene Grosbein
URL:
Keywords: easy, patch-ready
Depends on:
Blocks:
 
Reported: 2018-06-05 14:39 UTC by Eugene Grosbein
Modified: 2018-07-02 11:08 UTC (History)
1 user (show)

See Also:
eugen: maintainer-feedback-


Attachments
allow zero expire value (492 bytes, patch)
2018-06-05 14:39 UTC, Eugene Grosbein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Grosbein freebsd_committer freebsd_triage 2018-06-05 14:39:50 UTC
Created attachment 194029 [details]
allow zero expire value

bsnmp-regex-0.6 allows to change "expires" option from the default zero value to non-zero one but does not allow to change it back to zero due to small error in the config parser. Trivial patch is attached to fix this.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-06-30 01:16:17 UTC
A commit references this bug:

Author: eugen
Date: Sat Jun 30 01:15:44 UTC 2018
New revision: 473593
URL: https://svnweb.freebsd.org/changeset/ports/473593

Log:
  net-mgmt/bsnmp-regex: permit expires = 0

  Fix bsnmp-regex-0.6 allowing to change "expires" option from the default
  zero value to non-zero one not allowing to change it back to zero.

  PR:		228765
  Approved by:	koobs (maintainer timeout, 3 weeks)

Changes:
  head/net-mgmt/bsnmp-regex/Makefile
  head/net-mgmt/bsnmp-regex/files/
  head/net-mgmt/bsnmp-regex/files/patch-bsnmp-regex.c
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2018-07-02 11:08:14 UTC
Thanks Eugene, sorry I didn't get to this earlier.