ports/security/tinyca/files/patch-tinyca
Kirill Ponomarev b76096594c - Update to version 0.5.2
o GUI rewrite to GNOME/GTK
o Key accelerators to menu
  certificate renewal

PR:		56318
Submitted by:	maintainer
2003-09-02 18:44:25 +00:00

30 lines
905 B
Plaintext

--- tinyca.orig Wed Aug 27 22:42:02 2003
+++ tinyca Tue Sep 2 15:47:09 2003
@@ -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 { push(@INC, './lib'); # put here the location of the modules
+BEGIN { push(@INC, '%%SITE_PERL%%/tinyca'); # put here the location of the modules
}
use strict;
@@ -50,7 +50,7 @@
# location of openssl
$init->{'opensslbin'} = "/usr/bin/openssl";
-$init->{'zipbin'} = "/usr/bin/zip";
+$init->{'zipbin'} = "%%PREFIX%%/bin/zip";
if(not -x $init->{'opensslbin'}) {
printf(gettext("Can't execute %s.\n"), $init->{'opensslbin'});
@@ -64,7 +64,7 @@
}
# directory with the templates
-$init->{'templatedir'} = "./templates";
+$init->{'templatedir'} = "%%PREFIX%%/etc";
if(not -d $init->{'templatedir'}) {
print gettext("Can't find templatedir.\n");