aboutsummaryrefslogtreecommitdiff
path: root/security/tinyca
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2005-06-16 15:51:40 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2005-06-16 15:51:40 +0000
commitf10badd39a94f0dbc16a12316aab35f7863ed5f8 (patch)
tree52d2b4cf9f5ff25627fb50ac0752d0b49c437519 /security/tinyca
parent610bc835b1230320760f51685d16856b344d5c7a (diff)
downloadports-f10badd39a94f0dbc16a12316aab35f7863ed5f8.tar.gz
ports-f10badd39a94f0dbc16a12316aab35f7863ed5f8.zip
Notes
Diffstat (limited to 'security/tinyca')
-rw-r--r--security/tinyca/Makefile7
-rw-r--r--security/tinyca/distinfo4
-rw-r--r--security/tinyca/files/patch-lib::CA.pm11
-rw-r--r--security/tinyca/files/patch-tinyca2 (renamed from security/tinyca/files/patch-tinyca)11
4 files changed, 20 insertions, 13 deletions
diff --git a/security/tinyca/Makefile b/security/tinyca/Makefile
index 82d419c10c6c..40d07438b0a3 100644
--- a/security/tinyca/Makefile
+++ b/security/tinyca/Makefile
@@ -6,15 +6,16 @@
#
PORTNAME= tinyca
-PORTVERSION= 0.6.8
+PORTVERSION= 0.7.0
CATEGORIES= security net
MASTER_SITES= http://tinyca.sm-zone.net/ \
http://tinyca.sm-zone.net/old/
+DISTNAME= ${PORTNAME}2-${PORTVERSION}
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= Simple graphical interface to manage a small Certification Authority
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gnome.pm:${PORTSDIR}/x11-toolkits/p5-Gnome \
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext \
zip:${PORTSDIR}/archivers/zip \
${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
@@ -38,7 +39,7 @@ do-install:
.endfor
@${INSTALL_DATA} ${WRKSRC}/templates/openssl.cnf ${PREFIX}/etc/tinyca.cnf.sample
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" -e "s:%%SITE_PERL%%:${SITE_PERL}:g" \
- ${WRKSRC}/tinyca >${WRKSRC}/tinyca.new
+ ${WRKSRC}/tinyca2 >${WRKSRC}/tinyca.new
@${INSTALL_SCRIPT} ${WRKSRC}/tinyca.new ${PREFIX}/bin/tinyca
post-install:
diff --git a/security/tinyca/distinfo b/security/tinyca/distinfo
index 7542755484fc..aa4203c4ace0 100644
--- a/security/tinyca/distinfo
+++ b/security/tinyca/distinfo
@@ -1,2 +1,2 @@
-MD5 (tinyca-0.6.8.tar.bz2) = 89ae47c104179be62e8a40c522053c84
-SIZE (tinyca-0.6.8.tar.bz2) = 95549
+MD5 (tinyca2-0.7.0.tar.bz2) = a8a7b398876811c2cc961a2b922f8f8c
+SIZE (tinyca2-0.7.0.tar.bz2) = 104186
diff --git a/security/tinyca/files/patch-lib::CA.pm b/security/tinyca/files/patch-lib::CA.pm
index bccae6296ffd..9d490e3c5a55 100644
--- a/security/tinyca/files/patch-lib::CA.pm
+++ b/security/tinyca/files/patch-lib::CA.pm
@@ -1,11 +1,14 @@
---- 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 @@
+
+$FreeBSD$
+
+--- lib/CA.pm.orig
++++ lib/CA.pm
+@@ -883,7 +883,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";
+ my $out = $self->{$opts->{'name'}}->{'dir'}."/openssl.cnf";
open(IN, "<$in") || do {
diff --git a/security/tinyca/files/patch-tinyca b/security/tinyca/files/patch-tinyca2
index 8ac256177077..eaa994fef8ad 100644
--- a/security/tinyca/files/patch-tinyca
+++ b/security/tinyca/files/patch-tinyca2
@@ -1,5 +1,8 @@
---- tinyca.orig Wed Aug 27 22:42:02 2003
-+++ tinyca Tue Sep 2 15:47:09 2003
+
+$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.
@@ -9,7 +12,7 @@
}
use strict;
-@@ -50,7 +50,7 @@
+@@ -53,7 +53,7 @@
# location of openssl
$init->{'opensslbin'} = "/usr/bin/openssl";
@@ -18,7 +21,7 @@
if(not -x $init->{'opensslbin'}) {
printf(gettext("Can't execute %s.\n"), $init->{'opensslbin'});
-@@ -64,7 +64,7 @@
+@@ -67,7 +67,7 @@
}
# directory with the templates