--- tinyca2.orig 2006-07-25 13:12:00.000000000 -0700
+++ tinyca2 2008-03-25 11:10:44.000000000 -0700
# 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
setlocale(LC_MESSAGES, "");
-bindtextdomain("tinyca2", "./locale/");
+bindtextdomain("tinyca2", "@SHARE@/locale/");
# https://bugs.gentoo.org/show_bug.cgi?id=78576
-$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");
# directory with the templates
-$init->{'templatedir'} = "./templates";
+$init->{'templatedir'} = "@SHARE@/tinyca2/templates";
if(not -d $init->{'templatedir'}) {
print gettext("Can't find templatedir.\n");