[35353] trunk/dports/security/tinyca2
landonf at macports.org
landonf at macports.org
Tue Mar 25 11:13:45 PDT 2008
Revision: 35353
http://trac.macosforge.org/projects/macports/changeset/35353
Author: landonf at macports.org
Date: 2008-03-25 11:13:44 -0700 (Tue, 25 Mar 2008)
Log Message:
-----------
Update to 0.7.5 and fix the build on Leopard
Modified Paths:
--------------
trunk/dports/security/tinyca2/Portfile
trunk/dports/security/tinyca2/files/patch-tinyca2
Modified: trunk/dports/security/tinyca2/Portfile
===================================================================
--- trunk/dports/security/tinyca2/Portfile 2008-03-25 17:45:20 UTC (rev 35352)
+++ trunk/dports/security/tinyca2/Portfile 2008-03-25 18:13:44 UTC (rev 35353)
@@ -2,7 +2,7 @@
PortSystem 1.0
name tinyca2
-version 0.7.3
+version 0.7.5
categories security net
maintainers landonf at macports.org
description GUI Certificate Authority tool.
@@ -12,7 +12,8 @@
platforms darwin
homepage http://tinyca.sm-zone.net/
master_sites ${homepage}
-checksums md5 0eead00edf55df82c7874a2e477dc46c
+checksums md5 d3b547305e89785fbe8262be244a2321 \
+ sha1 841355ab8478a7e7b1a3d6bba4dd31293ae11cc4
depends_lib port:openssl port:zip \
port:gettext port:p5-gtk2 \
port:p5-locale-gettext
@@ -32,6 +33,11 @@
reinplace s|/usr/bin/perl|${prefix}/bin/perl|g ${worksrcpath}/tinyca2
}
+pre-build {
+ # Ensure that the .mo files are generated
+ system "touch ${worksrcpath}/po/*.po"
+}
+
destroot {
set sharedir ${destroot}${prefix}/share/tinyca2
file mkdir ${sharedir}
Modified: trunk/dports/security/tinyca2/files/patch-tinyca2
===================================================================
--- trunk/dports/security/tinyca2/files/patch-tinyca2 2008-03-25 17:45:20 UTC (rev 35352)
+++ trunk/dports/security/tinyca2/files/patch-tinyca2 2008-03-25 18:13:44 UTC (rev 35353)
@@ -1,5 +1,5 @@
---- tinyca2.orig 2006-05-23 12:47:28.000000000 -0700
-+++ tinyca2 2006-06-07 13:43:37.000000000 -0700
+--- tinyca2.orig 2006-07-25 13:12:00.000000000 -0700
++++ tinyca2 2008-03-25 11:10:44.000000000 -0700
@@ -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 +9,7 @@
}
use strict;
-@@ -46,15 +46,15 @@
+@@ -46,7 +46,7 @@
use TCONFIG;
setlocale(LC_MESSAGES, "");
@@ -17,19 +17,23 @@
+bindtextdomain("tinyca2", "@SHARE@/locale/");
textdomain("tinyca2");
+ # https://bugs.gentoo.org/show_bug.cgi?id=78576
+@@ -55,10 +55,10 @@
my $init = {};
# location of openssl
-$init->{'opensslbin'} = "/usr/bin/openssl";
-$init->{'zipbin'} = "/usr/bin/zip";
-$init->{'tarbin'} = "/bin/tar";
+-
+$init->{'opensslbin'} = "@OPENSSL@";
+$init->{'zipbin'} = "@ZIP@";
+$init->{'tarbin'} = "@TAR@";
-
++
if(not -x $init->{'opensslbin'}) {
printf(gettext("Can't execute %s.\n"), $init->{'opensslbin'});
-@@ -73,7 +73,7 @@
+ print gettext("Configure correct path to openssl in tinyca.\n");
+@@ -76,7 +76,7 @@
}
# directory with the templates
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080325/86bff575/attachment.html
More information about the macports-changes
mailing list