Created attachment 146873 [details] Patch to apply the fix to the port I've got a problem with textproc/augeas on FreeBSD. It broke in Puppet with errors like this: Debug: Augeas[/usr/local/etc/puppet/puppet.conf](provider=augeas): Opening augeas with root /, lens path , flags 32 Error: /Stage[pre1]/Puppet::Early/Augeas[/usr/local/etc/puppet/puppet.conf]: Could not evaluate: unknown error - Failed to initialize Augeas Further debugging outside of Puppet showed: # augtool print /files/usr/local/etc/puppet/puppet.conf Failed to initialize Augeas error: Syntax error in lens definition /usr/local/share/augeas/lenses/dist/xymon_alerting.aug:43.4-.39:Failed to compile ws /usr/local/share/augeas/lenses/dist/xymon_alerting.aug:43.22-.39:exception: del: the default value ' ' does not match /[\t ]+\\?/ The problem is detailed in this bug: https://github.com/hercules-team/augeas/pull/89 And it looks like the fix is this change (currently unreleased): https://github.com/hercules-team/augeas/commit/cf3de24554112f3d47e26515954769e23d6adf45 Attached is a patch to apply this change to the port.
A commit references this bug: Author: swills Date: Fri Sep 12 02:25:05 UTC 2014 New revision: 368000 URL: http://svnweb.freebsd.org/changeset/ports/368000 Log: textproc/augeas: add patch from upstream to fix bug PR: 193348 Submitted by: tdb Obtained from: https://github.com/hercules-team/augeas/commit/cf3de24554112f3d47e26515954769e23d6adf45 Changes: head/textproc/augeas/Makefile head/textproc/augeas/files/patch-lenses__xymon_alerting.aug
Committed, thanks!