The default sysctl.aug puts spaces between the sysctl varible name and the value that is set. This is not valid syntax and so variables are not processed. Attached is a patch that I use to correct the problem. Added file(s): - files/patch-lenses__sysctl.aug Port maintainer (swills@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
Responsible Changed From-To: freebsd-ports-bugs->swills Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Committed. Thanks!
Author: swills Date: Wed Aug 29 18:25:20 2012 New Revision: 303345 URL: http://svn.freebsd.org/changeset/ports/303345 Log: - Fix sysctl lens PR: ports/170761 Submitted by: Dave Duchscher <daved@tamu.edu> Added: head/textproc/augeas/files/patch-lenses__sysctl.aug (contents, props changed) Modified: head/textproc/augeas/Makefile (contents, props changed) Modified: head/textproc/augeas/Makefile ============================================================================== --- head/textproc/augeas/Makefile Wed Aug 29 17:10:15 2012 (r303344) +++ head/textproc/augeas/Makefile Wed Aug 29 18:25:20 2012 (r303345) @@ -8,7 +8,7 @@ PORTNAME= augeas PORTVERSION= 0.10.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= textproc MASTER_SITES= http://augeas.net/download/ Added: head/textproc/augeas/files/patch-lenses__sysctl.aug ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/augeas/files/patch-lenses__sysctl.aug Wed Aug 29 18:25:20 2012 (r303345) @@ -0,0 +1,11 @@ +--- lenses/sysctl.aug.orig 2012-08-19 01:11:41.000000000 +0000 ++++ lenses/sysctl.aug 2012-08-19 01:11:57.000000000 +0000 +@@ -6,7 +6,7 @@ + let eol = Util.eol + let indent = Util.indent + let key_re = /[A-Za-z0-9_.-]+/ +- let eq = del /[ \t]*=[ \t]*/ " = " ++ let eq = del /[ \t]*=[ \t]*/ "=" + let value_re = /[^ \t\n](.*[^ \t\n])?/ + + let comment = [ indent . label "#comment" . del /[#;][ \t]*/ "# " _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"