source: trunk/dports/security/tinyca2/files/patch-tinyca2 @ 21499

Last change on this file since 21499 was 21499, checked in by eridius@…, 13 years ago

Massive update to svn properties on files:
All patchfiles have svn:eol-style removed.
All files that are not in fact able to be executed have svn:executable removed
All binary files have svn:eol-style removed (and are probably corrupt)
All binary files have svn:mime-type set to application/octet-stream
All files which are not patchfiles or binary files have svn:eol-style set to native
All Portfiles have svn:eol-style set to native and svn:executable removed

File size: 1.2 KB
Line 
1--- tinyca2.orig        2006-05-23 12:47:28.000000000 -0700
2+++ tinyca2     2006-06-07 13:43:37.000000000 -0700
3@@ -18,7 +18,7 @@
4 # along with this program; if not, write to the Free Software
5 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
6 
7-BEGIN { unshift(@INC, './lib'); # put here the location of the modules
8+BEGIN { unshift(@INC, '@SHARE@/tinyca2/lib'); # put here the location of the modules
9 }
10 
11 use strict;
12@@ -46,15 +46,15 @@
13 use TCONFIG;
14 
15 setlocale(LC_MESSAGES, "");
16-bindtextdomain("tinyca2", "./locale/");
17+bindtextdomain("tinyca2", "@SHARE@/locale/");
18 textdomain("tinyca2");
19 
20 my $init = {};
21 
22 # location of openssl
23-$init->{'opensslbin'} = "/usr/bin/openssl";
24-$init->{'zipbin'} = "/usr/bin/zip";
25-$init->{'tarbin'} = "/bin/tar";
26+$init->{'opensslbin'} = "@OPENSSL@";
27+$init->{'zipbin'} = "@ZIP@";
28+$init->{'tarbin'} = "@TAR@";
29 
30 if(not -x $init->{'opensslbin'}) {
31    printf(gettext("Can't execute %s.\n"), $init->{'opensslbin'});
32@@ -73,7 +73,7 @@
33 }
34 
35 # directory with the templates
36-$init->{'templatedir'} = "./templates";
37+$init->{'templatedir'} = "@SHARE@/tinyca2/templates";
38 
39 if(not -d $init->{'templatedir'}) {
40    print gettext("Can't find templatedir.\n");
Note: See TracBrowser for help on using the repository browser.