diff options
Diffstat (limited to 'main/augeas/0001-add-paths-to-default-filters.patch')
-rw-r--r-- | main/augeas/0001-add-paths-to-default-filters.patch | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/main/augeas/0001-add-paths-to-default-filters.patch b/main/augeas/0001-add-paths-to-default-filters.patch new file mode 100644 index 0000000000..70798f7aa2 --- /dev/null +++ b/main/augeas/0001-add-paths-to-default-filters.patch @@ -0,0 +1,72 @@ +From 36a43b066f77cf3ca28fb1c0de5ce0a3f18b3867 Mon Sep 17 00:00:00 2001 +From: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +Date: Sun, 27 Mar 2016 23:16:24 +0300 +Subject: [PATCH] add paths to default filters + +additions mostly specific to Alpine Linux directory layout +--- + lenses/cron.aug | 1 + + lenses/pg_hba.aug | 1 + + lenses/postgresql.aug | 1 + + lenses/shellvars.aug | 2 ++ + 4 files changed, 5 insertions(+) + +diff --git a/lenses/cron.aug b/lenses/cron.aug +index 4787814..6dcf4b4 100644 +--- a/lenses/cron.aug ++++ b/lenses/cron.aug +@@ -145,6 +145,7 @@ let lns = ( empty | comment | shellvar | entry )* + let filter = + incl "/etc/cron.d/*" . + incl "/etc/crontab" . ++ incl "/etc/crontabs/*" . + excl "/etc/cron.d/at.allow" . + excl "/etc/cron.d/at.deny" . + excl "/etc/cron.d/cron.allow" . +diff --git a/lenses/pg_hba.aug b/lenses/pg_hba.aug +index f9b7a0e..a9d165d 100644 +--- a/lenses/pg_hba.aug ++++ b/lenses/pg_hba.aug +@@ -82,6 +82,7 @@ module Pg_Hba = + The pg_hba.conf conf file *) + let filter = (incl "/var/lib/pgsql/data/pg_hba.conf" . + incl "/var/lib/pgsql/*/data/pg_hba.conf" . ++ incl "/var/lib/postgresql/*/data/pg_hba.conf" . + incl "/etc/postgresql/*/*/pg_hba.conf" ) + + (* View: lns +diff --git a/lenses/postgresql.aug b/lenses/postgresql.aug +index 5f0470b..4946643 100644 +--- a/lenses/postgresql.aug ++++ b/lenses/postgresql.aug +@@ -71,6 +71,7 @@ let lns = (Util.empty | Util.comment | entry)* + (* Variable: filter *) + let filter = (incl "/var/lib/pgsql/data/postgresql.conf" . + incl "/var/lib/pgsql/*/data/postgresql.conf" . ++ incl "/var/lib/postgresql/*/data/postgresql.conf" . + incl "/etc/postgresql/*/*/postgresql.conf" ) + + let xfm = transform lns filter +diff --git a/lenses/shellvars.aug b/lenses/shellvars.aug +index 9bc3c9d..03d8fc6 100644 +--- a/lenses/shellvars.aug ++++ b/lenses/shellvars.aug +@@ -289,6 +289,7 @@ module Shellvars = + . excl "/etc/default/rmt" + . excl "/etc/default/whoopsie" + let filter_misc = incl "/etc/arno-iptables-firewall/debconf.cfg" ++ . incl "/etc/conf.d/*" + . incl "/etc/cron-apt/config" + . incl "/etc/environment" + . incl "/etc/firewalld/firewalld.conf" +@@ -298,6 +299,7 @@ module Shellvars = + . incl "/etc/cvs-cron.conf" + . incl "/etc/cvs-pserver.conf" + . incl "/etc/devscripts.conf" ++ . incl "/etc/kamailio/kamctlrc" + . incl "/etc/lintianrc" + . incl "/etc/lsb-release" + . incl "/etc/os-release" +-- +2.7.4 + |