- handle /etc/{wscons,mixer}ctl.conf with the simplevars lens

This commit is contained in:
jasper 2013-01-01 21:16:56 +00:00
parent dc6e734779
commit 1bb8640529
2 changed files with 19 additions and 2 deletions

View File

@ -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

View File

@ -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 <jasper@humppa.nl>
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