freebsd-ports/security/tinyca/files/patch-tinyca
Kirill Ponomarev 7a18da4df1 - New port: security/tinyca version 0.4.9
TinyCA is a simple graphical userinterface written in Perl/Tk
to manage a small CA (Certification Authority).

PR:		54571
Submitted by:	Janos Mohacsi <janos.mohacsi@bsd.hu>
2003-08-31 08:49:28 +00:00

29 lines
908 B
Text

--- tinyca.orig Thu Jul 3 19:20:48 2003
+++ tinyca Thu Jul 17 11:21:29 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;
@@ -47,7 +47,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'});
@@ -61,7 +61,7 @@
}
# directory with the templates
-$init->{'templatedir'} = "./templates";
+$init->{'templatedir'} = "%%PREFIX%%/etc";
if(not -d $init->{'templatedir'}) {
print gettext("Can't find templatedir.\n");