[35354] trunk/dports/security/tinyca2
landonf at macports.org
landonf at macports.org
Tue Mar 25 11:49:50 PDT 2008
Revision: 35354
http://trac.macosforge.org/projects/macports/changeset/35354
Author: landonf at macports.org
Date: 2008-03-25 11:49:43 -0700 (Tue, 25 Mar 2008)
Log Message:
-----------
.diff instead of patch-
Modified Paths:
--------------
trunk/dports/security/tinyca2/Portfile
Added Paths:
-----------
trunk/dports/security/tinyca2/files/tinyca2.diff
Removed Paths:
-------------
trunk/dports/security/tinyca2/files/patch-tinyca2
Modified: trunk/dports/security/tinyca2/Portfile
===================================================================
--- trunk/dports/security/tinyca2/Portfile 2008-03-25 18:13:44 UTC (rev 35353)
+++ trunk/dports/security/tinyca2/Portfile 2008-03-25 18:49:43 UTC (rev 35354)
@@ -18,7 +18,7 @@
port:gettext port:p5-gtk2 \
port:p5-locale-gettext
-patchfiles patch-tinyca2
+patchfiles tinyca2.diff
use_configure no
Deleted: trunk/dports/security/tinyca2/files/patch-tinyca2
===================================================================
--- trunk/dports/security/tinyca2/files/patch-tinyca2 2008-03-25 18:13:44 UTC (rev 35353)
+++ trunk/dports/security/tinyca2/files/patch-tinyca2 2008-03-25 18:49:43 UTC (rev 35354)
@@ -1,44 +0,0 @@
---- 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.
-
--BEGIN { unshift(@INC, './lib'); # put here the location of the modules
-+BEGIN { unshift(@INC, '@SHARE@/tinyca2/lib'); # put here the location of the modules
- }
-
- use strict;
-@@ -46,7 +46,7 @@
- use TCONFIG;
-
- setlocale(LC_MESSAGES, "");
--bindtextdomain("tinyca2", "./locale/");
-+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'});
- print gettext("Configure correct path to openssl in tinyca.\n");
-@@ -76,7 +76,7 @@
- }
-
- # directory with the templates
--$init->{'templatedir'} = "./templates";
-+$init->{'templatedir'} = "@SHARE@/tinyca2/templates";
-
- if(not -d $init->{'templatedir'}) {
- print gettext("Can't find templatedir.\n");
Copied: trunk/dports/security/tinyca2/files/tinyca2.diff (from rev 35353, trunk/dports/security/tinyca2/files/patch-tinyca2)
===================================================================
--- trunk/dports/security/tinyca2/files/tinyca2.diff (rev 0)
+++ trunk/dports/security/tinyca2/files/tinyca2.diff 2008-03-25 18:49:43 UTC (rev 35354)
@@ -0,0 +1,44 @@
+--- 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.
+
+-BEGIN { unshift(@INC, './lib'); # put here the location of the modules
++BEGIN { unshift(@INC, '@SHARE@/tinyca2/lib'); # put here the location of the modules
+ }
+
+ use strict;
+@@ -46,7 +46,7 @@
+ use TCONFIG;
+
+ setlocale(LC_MESSAGES, "");
+-bindtextdomain("tinyca2", "./locale/");
++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'});
+ print gettext("Configure correct path to openssl in tinyca.\n");
+@@ -76,7 +76,7 @@
+ }
+
+ # directory with the templates
+-$init->{'templatedir'} = "./templates";
++$init->{'templatedir'} = "@SHARE@/tinyca2/templates";
+
+ if(not -d $init->{'templatedir'}) {
+ print gettext("Can't find templatedir.\n");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080325/796ea275/attachment-0001.html
More information about the macports-changes
mailing list