Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/utils
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13637

Added Files:
        tinyca2-10.4.info tinyca2.info tinyca2.patch 
Log Message:
New from -submissions
https://sourceforge.net/tracker2/index.php?func=detail&aid=2273833&group_id=17203&atid=414256

--- NEW FILE: tinyca2.info ---
Package: tinyca2
Version: 0.7.5
Revision: 11
Distribution: 10.5
Source: http://tinyca.sm-zone.net/tinyca2-%v.tar.bz2
Source-MD5: a7f63806dbdc38a34ed58e42e79f4822
PatchFile: %n.patch
PatchFile-MD5: 560e4166370d44e5d2111794e9242421
Maintainer: Edward Rudd <r...@outoforder.cc>
License: GPL
Homepage: http://tinyca.sm-zone.net/
Description: Simple frontend to manage a small CA
###
Depends: <<
        gtk2-pm588, locale-gettext-pm588
<<
BuildDepends: <<
        fink (>=0.24.12)
<<
CompileScript: <<
perl -pi -e "s|\...@share\@|%p/share|" tinyca2
perl -pi -e "s|\...@openssl\@|/usr/bin/openssl|" tinyca2
perl -pi -e "s|\...@zip\@|/usr/bin/zip|" tinyca2
perl -pi -e "s|\...@tar\@|/usr/bin/tar|" tinyca2
<<
InstallScript: <<
mkdir -p %i/share/%n
cp -R templates %i/share/%n
cp -R lib %i/share/%n
cp -R locale %i/share
mkdir -p %i/bin
install -m 755 %n %i/bin
<<

--- NEW FILE: tinyca2-10.4.info ---
Package: tinyca2
Version: 0.7.5
Revision: 1
Distribution: 10.4
Source: http://tinyca.sm-zone.net/tinyca2-%v.tar.bz2
Source-MD5: a7f63806dbdc38a34ed58e42e79f4822
PatchFile: %n.patch
PatchFile-MD5: 560e4166370d44e5d2111794e9242421
Maintainer: Edward Rudd <r...@outoforder.cc>
License: GPL
Homepage: http://tinyca.sm-zone.net/
Description: Simple frontend to manage a small CA
###
Depends: <<
        gtk2-pm586, locale-gettext-pm586
<<
BuildDepends: <<
        fink (>=0.24.12)
<<
CompileScript: <<
perl -pi -e "s|\...@share\@|%p/share|" tinyca2
perl -pi -e "s|\...@openssl\@|/usr/bin/openssl|" tinyca2
perl -pi -e "s|\...@zip\@|/usr/bin/zip|" tinyca2
perl -pi -e "s|\...@tar\@|/usr/bin/tar|" tinyca2
<<
InstallScript: <<
mkdir -p %i/share/%n
cp -R templates %i/share/%n
cp -R lib %i/share/%n
cp -R locale %i/share
mkdir -p %i/bin
install -m 755 %n %i/bin
<<

--- NEW FILE: tinyca2.patch ---
--- tinyca2-0.7.5/tinyca2.orig  2006-07-25 13:12:00.000000000 -0700
+++ tinyca2-0.7.5/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");


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to