ports/82322: [MAINTAINER] security/tinyca: update to 0.7.0

Janos Mohacsi janos.mohacsi at niif.hu
Thu Jun 16 14:30:20 UTC 2005


>Number:         82322
>Category:       ports
>Synopsis:       [MAINTAINER] security/tinyca: update to 0.7.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 16 14:30:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Janos Mohacsi
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
NIIF/HUNGARNET
>Environment:
System: FreeBSD scone.ki.iif.hu 5.3-STABLE FreeBSD 5.3-STABLE #6: Tue Feb 15 09:07:51 CET 2005
>Description:
Maintainer Update to security/tinyca to version 0.7.0

Changes:
Uses p5-GTK2 instead of p5-Gnome.

Added file(s):
- files/patch-tinyca2

Removed file(s):
- files/patch-tinyca

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- tinyca-0.7.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/tinyca.orig/Makefile /usr/ports/security/tinyca/Makefile
--- /usr/ports/security/tinyca.orig/Makefile	Mon Apr 11 19:33:41 2005
+++ /usr/ports/security/tinyca/Makefile	Thu Jun 16 16:23:05 2005
@@ -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 at 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 @@
 .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 -ruN --exclude=CVS /usr/ports/security/tinyca.orig/distinfo /usr/ports/security/tinyca/distinfo
--- /usr/ports/security/tinyca.orig/distinfo	Mon Apr 11 19:33:41 2005
+++ /usr/ports/security/tinyca/distinfo	Tue Jun  7 09:33:25 2005
@@ -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 -ruN --exclude=CVS /usr/ports/security/tinyca.orig/files/patch-lib::CA.pm /usr/ports/security/tinyca/files/patch-lib::CA.pm
--- /usr/ports/security/tinyca.orig/files/patch-lib::CA.pm	Sun Aug 31 10:49:28 2003
+++ /usr/ports/security/tinyca/files/patch-lib::CA.pm	Thu Jun 16 10:40:51 2005
@@ -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 -ruN --exclude=CVS /usr/ports/security/tinyca.orig/files/patch-tinyca /usr/ports/security/tinyca/files/patch-tinyca
--- /usr/ports/security/tinyca.orig/files/patch-tinyca	Tue Sep  2 20:44:25 2003
+++ /usr/ports/security/tinyca/files/patch-tinyca	Thu Jan  1 01:00:00 1970
@@ -1,29 +0,0 @@
---- 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");
diff -ruN --exclude=CVS /usr/ports/security/tinyca.orig/files/patch-tinyca2 /usr/ports/security/tinyca/files/patch-tinyca2
--- /usr/ports/security/tinyca.orig/files/patch-tinyca2	Thu Jan  1 01:00:00 1970
+++ /usr/ports/security/tinyca/files/patch-tinyca2	Thu Jun 16 11:29:23 2005
@@ -0,0 +1,32 @@
+
+$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.
+ 
+-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;
+@@ -53,7 +53,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'});
+@@ -67,7 +67,7 @@
+ }
+ 
+ # directory with the templates
+-$init->{'templatedir'} = "./templates";
++$init->{'templatedir'} = "%%PREFIX%%/etc";
+ 
+ if(not -d $init->{'templatedir'}) {
+    print gettext("Can't find templatedir.\n");
--- tinyca-0.7.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list