aboutsummaryrefslogtreecommitdiff
path: root/security/tinyca/files
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-08-31 08:49:28 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-08-31 08:49:28 +0000
commit7a18da4df1da521a01f1e1163a3f674dc7b4fb96 (patch)
tree9d4c3f0638a0d1bc1ebe4087465f5b40d6949167 /security/tinyca/files
parent48032fbbd7c8bd51028d0f2c540a3bdade7ea79a (diff)
downloadports-7a18da4df1da521a01f1e1163a3f674dc7b4fb96.tar.gz
ports-7a18da4df1da521a01f1e1163a3f674dc7b4fb96.zip
Notes
Diffstat (limited to 'security/tinyca/files')
-rw-r--r--security/tinyca/files/patch-lib::CA.pm11
-rw-r--r--security/tinyca/files/patch-tinyca29
2 files changed, 40 insertions, 0 deletions
diff --git a/security/tinyca/files/patch-lib::CA.pm b/security/tinyca/files/patch-lib::CA.pm
new file mode 100644
index 000000000000..bccae6296ffd
--- /dev/null
+++ b/security/tinyca/files/patch-lib::CA.pm
@@ -0,0 +1,11 @@
+--- lib/CA.pm.orig Tue Jul 1 00:33:18 2003
++++ lib/CA.pm Tue Jul 15 17:05:35 2003
+@@ -328,7 +328,7 @@
+ };
+
+ # create configuration file
+- my $in = $self->{'init'}->{'templatedir'}."/openssl.cnf";
++ my $in = $self->{'init'}->{'templatedir'}."/tinyca.cnf";
+ my $out = $self->{$name}->{'dir'}."/openssl.cnf";
+
+ open(IN, "<$in") || do {
diff --git a/security/tinyca/files/patch-tinyca b/security/tinyca/files/patch-tinyca
new file mode 100644
index 000000000000..c8d200f0e7fe
--- /dev/null
+++ b/security/tinyca/files/patch-tinyca
@@ -0,0 +1,29 @@
+--- 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");