aboutsummaryrefslogtreecommitdiff
path: root/security/tinyca/files/patch-tinyca2
blob: f008fb96a795cc4d99a116c0abd2b4f5f24cd3c7 (plain) (blame)
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

$FreeBSD$

--- tinyca2.orig
+++ tinyca2
@@ -18,7 +18,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
 
-BEGIN { unshift(@INC, './lib'); # put here the location of the modules
+BEGIN { unshift(@INC, '%%SITE_PERL%%/tinyca'); # put here the location of the modules
 }
 
 use strict;
@@ -53,8 +53,8 @@
 
 # location of openssl
 $init->{'opensslbin'} = "/usr/bin/openssl";
-$init->{'zipbin'} = "/usr/bin/zip";
-$init->{'tarbin'} = "/bin/tar";
+$init->{'zipbin'} = "%%PREFIX%%/bin/zip";
+$init->{'tarbin'} = "/usr/bin/tar";
 
 if(not -x $init->{'opensslbin'}) {
    printf(gettext("Can't execute %s.\n"), $init->{'opensslbin'});
@@ -73,7 +73,7 @@
 }
 
 # directory with the templates
-$init->{'templatedir'} = "./templates";
+$init->{'templatedir'} = "%%PREFIX%%/etc";
 
 if(not -d $init->{'templatedir'}) {
    print gettext("Can't find templatedir.\n");