Index: head/net-mgmt/bsnmp-regex/Makefile =================================================================== --- head/net-mgmt/bsnmp-regex/Makefile (revision 473592) +++ head/net-mgmt/bsnmp-regex/Makefile (revision 473593) @@ -1,43 +1,43 @@ # Created by: brock@cotcomsol.com # $FreeBSD$ PORTNAME= bsnmp-regex PORTVERSION= 0.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt MASTER_SITES= http://thewalter.net/stef/software/bsnmp-regex/ MAINTAINER= koobs@FreeBSD.org COMMENT= bsnmpd module allowing creation of counters from log files LICENSE= BSD3CLAUSE GNU_CONFIGURE= yes CPPFLAGS+= "-I${LOCALBASE}/include" INSTALL_TARGET= install-strip USES= libtool OPTIONS_DEFINE= DEBUG PCRE PCRE_DESC= Use PCRE instead of the default regex library PLIST_FILES= bin/sockin lib/snmp_regex.so lib/snmp_regex.so.0 \ lib/snmp_regex.so.0.0.0 lib/snmp_regex.a man/man1/sockin.1.gz \ man/man5/bsnmp-regex.conf.5.gz \ man/man8/bsnmp-regex.8.gz .include .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-debug .else CONFIGURE_ARGS+=--disable-debug .endif .if ${PORT_OPTIONS:MPCRE} LIB_DEPENDS+= libpcre.so:devel/pcre CONFIGURE_ARGS+= --enable-pcre .else CONFIGURE_ARGS+= --disable-pcre .endif .include Index: head/net-mgmt/bsnmp-regex/files/patch-bsnmp-regex.c =================================================================== --- head/net-mgmt/bsnmp-regex/files/patch-bsnmp-regex.c (nonexistent) +++ head/net-mgmt/bsnmp-regex/files/patch-bsnmp-regex.c (revision 473593) @@ -0,0 +1,11 @@ +--- module/bsnmp-regex.c.orig 2011-10-21 16:05:37.000000000 +0700 ++++ module/bsnmp-regex.c 2018-06-05 21:16:44.471250000 +0700 +@@ -788,7 +788,7 @@ config_var (char *name, char *value, int + if (strcmp (name, "expire") == 0 || strcmp (name, "expires") == 0) { + + i = strtol (value, &t2, 10); +- if (i <= 0 || *t2) ++ if (i < 0 || *t2) + emsg ("invalid value for '%s' variable. ignoring: %s", name, value); + else + option_expires = i * 100; Property changes on: head/net-mgmt/bsnmp-regex/files/patch-bsnmp-regex.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property