Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37856567
en ru br
ALT Linux repositórios
S:0.7.6-alt1.git1f402a5
5.0: 0.7.5-alt1
4.1: 0.7.4-alt1
4.0: 0.7.4-alt1
3.0:
+backports:0.7.5-alt0.M30.2

Group :: Segurança/Rede
RPM: tinyca2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: tinyca2-0.7.5_7-alt-pathes.patch
Download


Set pathes for ALT installation
--- tinyca2
+++ 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 { unshift(@INC, './lib'); # put here the location of the modules
+BEGIN { unshift(@INC, '/usr/share/tinyca'); # put here the location of the modules
 }
 
 use strict;
@@ -47,7 +47,7 @@ use KEY;
 use TCONFIG;
 
 my $init = {};
-$init->{'progdir'} = dirname($0);
+$init->{'progdir'} = "/usr/share/tinyca";
 
 setlocale(LC_MESSAGES, "");
 bindtextdomain("tinyca2", $init->{'progdir'}."/locale/");
@@ -50,7 +50,7 @@ my $init = {};
 $init->{'progdir'} = dirname($0);
 
 setlocale(LC_MESSAGES, "");
-bindtextdomain("tinyca2", $init->{'progdir'}."/locale/");
+bindtextdomain("tinyca2", "/usr/share/locale/");
 textdomain("tinyca2");
 
 # https://bugs.gentoo.org/show_bug.cgi?id=78576
@@ -80,7 +80,7 @@ if(not -x $init->{'tarbin'}) {
 }
 
 # directory with the templates
-$init->{'templatedir'} = $cfg->{paths}{templatedir} // $init->{'progdir'}."/templates";
+$init->{'templatedir'} = $cfg->{paths}{templatedir} // "/etc/tinyca";
 
 if(not -d $init->{'templatedir'}) {
    print gettext("Can't find templatedir.\n");
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009