From 1bb8640529470873f3ebd6259b5ac05092862915 Mon Sep 17 00:00:00 2001 From: jasper Date: Tue, 1 Jan 2013 21:16:56 +0000 Subject: [PATCH] - handle /etc/{wscons,mixer}ctl.conf with the simplevars lens --- sysutils/augeas/Makefile | 4 ++-- .../augeas/patches/patch-lenses_simplevars_aug | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 sysutils/augeas/patches/patch-lenses_simplevars_aug diff --git a/sysutils/augeas/Makefile b/sysutils/augeas/Makefile index 319af74df5d..739c5811d4c 100644 --- a/sysutils/augeas/Makefile +++ b/sysutils/augeas/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.6 2012/12/30 21:38:58 jasper Exp $ +# $OpenBSD: Makefile,v 1.7 2013/01/01 21:16:56 jasper Exp $ COMMENT= configuration editing tool and API DISTNAME= augeas-1.0.0 -REVISION= 4 +REVISION= 5 CATEGORIES= sysutils devel SHARED_LIBS += augeas 0.0 # 16.0 diff --git a/sysutils/augeas/patches/patch-lenses_simplevars_aug b/sysutils/augeas/patches/patch-lenses_simplevars_aug new file mode 100644 index 00000000000..dabaff7fe0a --- /dev/null +++ b/sysutils/augeas/patches/patch-lenses_simplevars_aug @@ -0,0 +1,17 @@ +$OpenBSD: patch-lenses_simplevars_aug,v 1.1 2013/01/01 21:16:56 jasper Exp $ + +From 4e1be482cab52d3a33e8ba8bd408418644b4c5a3 Mon Sep 17 00:00:00 2001 +From: Jasper Lievisse Adriaanse +Date: Sun, 30 Dec 2012 23:01:16 +0100 +Subject: [PATCH] Add two files found on OpenBSD to the simplevars lens. + +--- lenses/simplevars.aug.orig Sun Dec 30 22:49:10 2012 ++++ lenses/simplevars.aug Sun Dec 30 22:49:20 2012 +@@ -40,5 +40,7 @@ let filter = incl "/etc/kernel-img.conf" + . incl "/etc/wgetrc" + . incl "/etc/zabbix/*.conf" + . incl "/etc/audit/auditd.conf" ++ . incl "/etc/wsconsctl.conf" ++ . incl "/etc/mixerctl.conf" + + let xfm = transform lns filter