summaryrefslogtreecommitdiff
path: root/security/lynis/patches/patch-include_functions
blob: 7c92035b6d68332705c8afa729be523f6910c069 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-include_functions,v 1.3 2018/01/18 16:42:40 sborrill Exp $

Set location of default profiles.

--- include/functions.orig	2018-01-12 00:00:00.000000000 +0000
+++ include/functions	2018-01-15 11:38:48.000000000 +0000
@@ -426,7 +426,7 @@
             DEFAULT_PROFILE=""
             PROFILEDIR=""
             tPROFILE_NAMES="default.prf custom.prf"
-            tPROFILE_TARGETS="/usr/local/etc/lynis /etc/lynis /usr/local/lynis ."
+            tPROFILE_TARGETS="@CONFDIR@ ."
             for PNAME in ${tPROFILE_NAMES}; do
                 for PLOC in ${tPROFILE_TARGETS}; do
                     # Only use one default.prf