summaryrefslogtreecommitdiff
path: root/security/Bastille/patches/patch-aa
blob: 4dbcfe7b06355153b1fa8d4c78045e7d4a226c2f (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
$NetBSD: patch-aa,v 1.1.1.1 2007/06/06 22:37:59 rillig Exp $

--- bin/bastille.orig	2005-04-19 23:12:09.000000000 +0200
+++ bin/bastille	2006-12-03 09:00:32.000000000 +0100
@@ -66,21 +66,10 @@ EOF
 }
 
 systemFileLocations() {
-
-    OS=`uname -s`
-    if [ ${OS}x = "HP-UXx" ]; then # find right comparison directories for config files
-	config_repository="/etc/opt/sec_mgmt/bastille"
-	last_config="/var/opt/sec_mgmt/bastille/last.config"
-	scripts_location="/opt/sec_mgmt/bastille/bin"
-    else #Linux locations
-	config_repository="/etc/Bastille"
-	last_config="/var/log/Bastille/last.config"
-	scripts_location="/usr/sbin"
-	data_location="/usr/share/Bastille"
-    fi 
-
- 
-
+    config_repository="@PKG_SYSCONFDIR@/etc"
+    last_config="@VARBASE@/log/Bastille/last.config"
+    scripts_location="@PREFIX@/sbin"
+    data_location="@PREFIX@/share/Bastille"
 }