blob: 70798f7aa203b920891903640246b5e22786b697 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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
|