From 412bdcec9dce1b2b5d6344ba301c017eac507f2f Mon Sep 17 00:00:00 2001 From: jasper Date: Mon, 15 Apr 2013 20:31:22 +0000 Subject: [PATCH] allow parsing of hostname.if(5) files. --- sysutils/augeas/Makefile | 4 ++-- .../augeas/patches/patch-lenses_simplelines_aug | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 sysutils/augeas/patches/patch-lenses_simplelines_aug diff --git a/sysutils/augeas/Makefile b/sysutils/augeas/Makefile index 39b59fc7480..9086a37e60d 100644 --- a/sysutils/augeas/Makefile +++ b/sysutils/augeas/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.16 2013/04/15 19:38:34 jasper Exp $ +# $OpenBSD: Makefile,v 1.17 2013/04/15 20:31:22 jasper Exp $ COMMENT= configuration editing tool and API DISTNAME= augeas-1.0.0 -REVISION= 11 +REVISION= 12 CATEGORIES= sysutils devel SHARED_LIBS += augeas 0.0 # 16.0 diff --git a/sysutils/augeas/patches/patch-lenses_simplelines_aug b/sysutils/augeas/patches/patch-lenses_simplelines_aug new file mode 100644 index 00000000000..75d250a3727 --- /dev/null +++ b/sysutils/augeas/patches/patch-lenses_simplelines_aug @@ -0,0 +1,13 @@ +$OpenBSD: patch-lenses_simplelines_aug,v 1.1 2013/04/15 20:31:23 jasper Exp $ + +Parse hostname.if(5) files. + +--- lenses/simplelines.aug.orig Mon Apr 15 22:27:24 2013 ++++ lenses/simplelines.aug Mon Apr 15 22:27:27 2013 +@@ -43,5 +43,6 @@ let filter = incl "/etc/at.allow" + . incl "/etc/cron.d/cron.deny" + . incl "/etc/default/grub_installdevice" + . incl "/etc/pam.d/allow.pamlist" ++ . incl "/etc/hostname.*" + + let xfm = transform lns filter