[gentoo-commits] repo/gentoo:master commit in: app-crypt/tinyca/, profiles/, app-crypt/tinyca/files/

2018-12-04 Thread Michał Górny
commit: 564496d545527fba912694dc5d8cdf3b3646f1af
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec  4 17:09:10 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec  4 17:10:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=564496d5

app-crypt/tinyca: Remove last-rited pkg

Closes: https://bugs.gentoo.org/540622
Signed-off-by: Michał Górny  gentoo.org>

 app-crypt/tinyca/Manifest  |  1 -
 .../tinyca/files/tinyca-2.0.7.3-compositefix.patch | 12 
 .../tinyca/files/tinyca-2.0.7.5-openssl-1.patch| 48 ---
 .../tinyca/files/tinyca-2.0.7.5-perl-5.18.patch| 47 ---
 app-crypt/tinyca/metadata.xml  |  8 ---
 app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild  | 69 --
 profiles/package.mask  |  4 --
 7 files changed, 189 deletions(-)

diff --git a/app-crypt/tinyca/Manifest b/app-crypt/tinyca/Manifest
deleted file mode 100644
index 0d76baff6d3..000
--- a/app-crypt/tinyca/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST tinyca2-0.7.5.tar.bz2 172779 BLAKE2B 
f6a4b1d9d2a22416ff8bbec9fa0fa3aa7f6cae4ff0b32dd9ab9063760b47d91c931d13c73268c2f627411e5e02ec99231ea847ecf30a963a027552bb3990b38b
 SHA512 
47df0b995715ad973b12da7d2999ae90f8887549437235b287e1d294331adc8d527bf4435ce1c30df278db8e5f8fc7df29a35d3650d41bfd4d0a0a7c193994aa

diff --git a/app-crypt/tinyca/files/tinyca-2.0.7.3-compositefix.patch 
b/app-crypt/tinyca/files/tinyca-2.0.7.3-compositefix.patch
deleted file mode 100644
index 01a757cc778..000
--- a/app-crypt/tinyca/files/tinyca-2.0.7.3-compositefix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
 tinyca2-0.7.2/tinyca2  2006-05-28 21:45:03.0 +1000
-+++ tinyca2-0.7.2/tinyca2  2006-05-28 21:46:38.0 +1000
-@@ -87,6 +87,9 @@
- 
- umask(0077);
- 
-+# https://bugs.gentoo.org/show_bug.cgi?id=78576
-+$ENV{XLIB_SKIP_ARGB_VISUALS}= '1';
-+
- # create main object and initialize CA
- my $gui = GUI->new($init);
- 

diff --git a/app-crypt/tinyca/files/tinyca-2.0.7.5-openssl-1.patch 
b/app-crypt/tinyca/files/tinyca-2.0.7.5-openssl-1.patch
deleted file mode 100644
index 27831c6854f..000
--- a/app-crypt/tinyca/files/tinyca-2.0.7.5-openssl-1.patch
+++ /dev/null
@@ -1,48 +0,0 @@
 a/lib/OpenSSL.pm   2013-03-05 15:57:46.332286060 +0100
-+++ b/lib/OpenSSL.pm   2013-03-05 15:57:53.408466038 +0100
-@@ -605,6 +605,8 @@
-  # dirty fix (incompleted) --curly
-  $i = sprintf( "%x", $1);
-  $tmp->{'SERIAL'} = length($i)%2?"0".uc($i):uc($i);
-+  } elsif ($_ =~ 
/^\s*([da-f]{2}:\w{2}:\w{2}:\w{2}:\w{2}:\w{2}:\w{2}:\w{2})\s*$/i) {
-+  $tmp->{'SERIAL'} = $1;
-   } elsif ($_ =~ /Signature Algorithm.*: (\w+)/i) {
-  $tmp->{'SIG_ALGORITHM'} = $1;
-   } elsif ($_ =~ /Issuer: (.+)/i) {
-@@ -823,10 +825,10 @@
-$cmd = "$self->{'bin'} $opts->{'cmd'}";
-$cmd .= " -config $opts->{'config'}" if(defined($opts->{'config'}));
-$cmd .= " -inform $opts->{'inform'}";
--   $cmd .= " -out \"$file\"";
-if($opts->{'outform'} eq 'TEXT') {
-   $cmd .= " -text -noout";
-} else {
-+  $cmd .= " -out \"$file\"";
-   $cmd .= " -outform $opts->{'outform'}";
-}
- 
-@@ -859,13 +861,17 @@
-   }
-}
- 
--   open(IN, $file) || do {
--  my $t = sprintf(_("Can't open file %s: %s"), $file, $!);
--  GUI::HELPERS::print_warning($t);
--  return;
--   };
--   $tmp .= $_ while();
--   close(IN);
-+   if ($opts->{'outform'} eq 'TEXT') {
-+  $tmp = $ext;
-+   } else {
-+  open(IN, $file) || do {
-+ my $t = sprintf(_("Can't open file %s: %s"), $file, $!);
-+ GUI::HELPERS::print_warning($t);
-+ return;
-+  };
-+  $tmp .= $_ while();
-+  close(IN);
-+   }
- 
-unlink($file);
- 

diff --git a/app-crypt/tinyca/files/tinyca-2.0.7.5-perl-5.18.patch 
b/app-crypt/tinyca/files/tinyca-2.0.7.5-perl-5.18.patch
deleted file mode 100644
index e8ca5d695da..000
--- a/app-crypt/tinyca/files/tinyca-2.0.7.5-perl-5.18.patch
+++ /dev/null
@@ -1,47 +0,0 @@
 tinyca2-0.7.5/lib/GUI.pm   2006-07-25 16:12:00.0 -0400
 tinyca2-0.7.5/lib/GUI.pm   2006-07-25 16:12:00.0 -0400
-@@ -978,7 +978,7 @@
-$piter = $store->append($root);
-$store->set($piter, 0 => $t);
- 
--   for my $l qw(CN EMAIL O OU C ST L) {
-+   for my $l (qw(CN EMAIL O OU C ST L)) {
-   if(defined($parsed->{$l})) {
-  if($l eq "OU") {
- foreach my $ou (@{$parsed->{'OU'}}) {
-@@ -1003,7 +1003,7 @@
-   $piter = $store->append($root);
-   $store->set($piter, 0 => $t);
-
--  for my $l qw(CN EMAIL O OU C ST L) {
-+  for my $l (qw(CN EMAIL O OU C ST L)) {
-  if(defined($parsed->{'ISSUERDN'}->{$l})) {
- if($l eq "OU") {
-foreach my $ou (@{$parsed->{'ISSUERDN'}->{'OU'}}) {
-@@ -1029,7 +1029,7 @@
-   $piter = $store->append($root);
-   $store->set($piter, 0 => $t);
-
--  

[gentoo-commits] repo/gentoo:master commit in: app-crypt/tinyca/

2018-01-07 Thread Ulrich Müller
commit: bb6ca74f6a867328641068203acacb82e3c41efd
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sun Jan  7 13:53:39 2018 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sun Jan  7 13:54:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb6ca74f

app-crypt/tinyca: Test LINGUAS rather than linguas_* USE flags.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild | 8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild 
b/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild
index ebe61338771..274da28fc84 100644
--- a/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild
+++ b/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,10 +16,6 @@ KEYWORDS="amd64 ~ppc ~sparc x86"
 IUSE="libressl"
 LANGS="en de cs es sv"
 
-for X in ${LANGS} ; do
-   IUSE="${IUSE} linguas_${X}"
-done
-
 RDEPEND="
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
@@ -67,7 +63,7 @@ src_install() {
local l
for l in ${LANGS}; do
if [ "$l" != "en" ]; then
-   use linguas_$l && locale_install $l
+   has ${l} ${LINGUAS-${l}} && locale_install $l
fi
done
 }



[gentoo-commits] repo/gentoo:master commit in: app-crypt/tinyca/

2017-03-04 Thread Alon Bar-Lev
commit: c5bbe6e829ff4741848033a79caf65049f72b309
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Sat Mar  4 17:10:03 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Sat Mar  4 17:16:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5bbe6e8

app-crypt/tinyca: cleanup

Bug: 611490
Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-crypt/tinyca/tinyca-2.0.7.5-r2.ebuild | 67 ---
 1 file changed, 67 deletions(-)

diff --git a/app-crypt/tinyca/tinyca-2.0.7.5-r2.ebuild 
b/app-crypt/tinyca/tinyca-2.0.7.5-r2.ebuild
deleted file mode 100644
index 71fe348b61a..000
--- a/app-crypt/tinyca/tinyca-2.0.7.5-r2.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils
-
-MY_P="${PN}${PV/./-}"
-DESCRIPTION="Simple Perl/Tk GUI to manage a small certification authority"
-HOMEPAGE="http://tinyca.sm-zone.net/;
-SRC_URI="http://tinyca.sm-zone.net/${MY_P}.tar.bz2;
-
-LICENSE="Artistic"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~sparc x86"
-IUSE=""
-LANGS="en de cs es sv"
-
-for X in ${LANGS} ; do
-   IUSE="${IUSE} linguas_${X}"
-done
-
-RDEPEND="
-   >=dev-libs/openssl-0.9.7e:0=
-   dev-perl/Locale-gettext
-   >=virtual/perl-MIME-Base64-2.12
-   >=dev-perl/gtk2-perl-1.072"
-DEPEND="${RDEPEND}
-   >=sys-apps/sed-4"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   epatch "${FILESDIR}/${PN}-2.0.7.3-compositefix.patch"
-   epatch "${FILESDIR}/${P}-openssl-1.patch"
-   epatch "${FILESDIR}/${P}-perl-5.18.patch"
-   sed -i -e 's:./lib:/usr/share/tinyca/lib:g' \
-   -e 's:./templates:/usr/share/tinyca/templates:g' \
-   -e 's:./locale:/usr/share/locale:g' "${S}/tinyca2" || die
-}
-
-src_compile() {
-   emake -C po
-}
-
-locale_install() {
-   insinto /usr/share/locale/$@/LC_MESSAGES/
-   doins locale/$@/LC_MESSAGES/tinyca2.mo
-}
-
-src_install() {
-   newbin tinyca2 tinyca
-   insinto /usr/share/tinyca/lib
-   doins lib/*.pm
-   insinto /usr/share/tinyca/lib/GUI
-   doins lib/GUI/*.pm
-   insinto /usr/share/tinyca/templates
-   doins templates/*
-   insinto /usr/share/
-   strip-linguas ${LANGS}
-   local l
-   for l in ${LANGS}; do
-   if [ "$l" != "en" ]; then
-   use linguas_$l && locale_install $l
-   fi
-   done
-}



[gentoo-commits] repo/gentoo:master commit in: app-crypt/tinyca/

2017-03-04 Thread Agostino Sarubbo
commit: ed82e4c676060b04de69862f5713c41283ab17fe
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Mar  4 13:44:03 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Mar  4 13:44:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed82e4c6

app-crypt/tinyca: x86 stable wrt bug #611490

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild 
b/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild
index 8bda2d1c9dc..03d0babf303 100644
--- a/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild
+++ b/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://tinyca.sm-zone.net/${MY_P}.tar.bz2;
 
 LICENSE="Artistic"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~sparc ~x86"
+KEYWORDS="amd64 ~ppc ~sparc x86"
 IUSE="libressl"
 LANGS="en de cs es sv"
 



[gentoo-commits] repo/gentoo:master commit in: app-crypt/tinyca/

2017-03-04 Thread Agostino Sarubbo
commit: 4aa3895d14f3e0163595a91a40922dcefc2f3a2d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Mar  4 13:35:00 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Mar  4 13:38:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aa3895d

app-crypt/tinyca: amd64 stable wrt bug #611490

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild 
b/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild
index 8af81101f3c..8bda2d1c9dc 100644
--- a/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild
+++ b/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://tinyca.sm-zone.net/${MY_P}.tar.bz2;
 
 LICENSE="Artistic"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+KEYWORDS="amd64 ~ppc ~sparc ~x86"
 IUSE="libressl"
 LANGS="en de cs es sv"
 



[gentoo-commits] repo/gentoo:master commit in: app-crypt/tinyca/, app-crypt/tinyca/files/

2017-02-04 Thread Alon Bar-Lev
commit: 56667d5ac3e6174520464dff075786bbdb4e1cd2
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Sat Feb  4 20:52:05 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Sat Feb  4 21:40:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56667d5a

app-crypt/tinyca: version bump

Package-Manager: portage-2.3.3

 .../tinyca/files/tinyca-2.0.7.3-compositefix.patch  |  2 +-
 app-crypt/tinyca/files/tinyca-2.0.7.5-openssl-1.patch   |  2 +-
 app-crypt/tinyca/files/tinyca-2.0.7.5-perl-5.18.patch   |  2 +-
 app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild   | 17 +++--
 4 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/app-crypt/tinyca/files/tinyca-2.0.7.3-compositefix.patch 
b/app-crypt/tinyca/files/tinyca-2.0.7.3-compositefix.patch
index a074eec..01a757c 100644
--- a/app-crypt/tinyca/files/tinyca-2.0.7.3-compositefix.patch
+++ b/app-crypt/tinyca/files/tinyca-2.0.7.3-compositefix.patch
@@ -1,4 +1,4 @@
 tinyca2-0.7.2/./tinyca2.orig   2006-05-28 21:45:03.0 +1000
+--- tinyca2-0.7.2/tinyca2  2006-05-28 21:45:03.0 +1000
 +++ tinyca2-0.7.2/tinyca2  2006-05-28 21:46:38.0 +1000
 @@ -87,6 +87,9 @@
  

diff --git a/app-crypt/tinyca/files/tinyca-2.0.7.5-openssl-1.patch 
b/app-crypt/tinyca/files/tinyca-2.0.7.5-openssl-1.patch
index 3691d5b..27831c6 100644
--- a/app-crypt/tinyca/files/tinyca-2.0.7.5-openssl-1.patch
+++ b/app-crypt/tinyca/files/tinyca-2.0.7.5-openssl-1.patch
@@ -1,4 +1,4 @@
 a/lib/OpenSSL.pm.orig  2013-03-05 15:57:46.332286060 +0100
+--- a/lib/OpenSSL.pm   2013-03-05 15:57:46.332286060 +0100
 +++ b/lib/OpenSSL.pm   2013-03-05 15:57:53.408466038 +0100
 @@ -605,6 +605,8 @@
   # dirty fix (incompleted) --curly

diff --git a/app-crypt/tinyca/files/tinyca-2.0.7.5-perl-5.18.patch 
b/app-crypt/tinyca/files/tinyca-2.0.7.5-perl-5.18.patch
index 39b3a6e..e8ca5d6 100644
--- a/app-crypt/tinyca/files/tinyca-2.0.7.5-perl-5.18.patch
+++ b/app-crypt/tinyca/files/tinyca-2.0.7.5-perl-5.18.patch
@@ -1,4 +1,4 @@
 tinyca2-0.7.5.orig/lib/GUI.pm  2006-07-25 16:12:00.0 -0400
+--- tinyca2-0.7.5/lib/GUI.pm   2006-07-25 16:12:00.0 -0400
 --- tinyca2-0.7.5/lib/GUI.pm   2006-07-25 16:12:00.0 -0400
 @@ -978,7 +978,7 @@
 $piter = $store->append($root);

diff --git a/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild 
b/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild
index fc496ab..e27e9ed 100644
--- a/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild
+++ b/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild
@@ -1,14 +1,14 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 inherit eutils
 
 MY_P="${PN}${PV/./-}"
 DESCRIPTION="Simple Perl/Tk GUI to manage a small certification authority"
-HOMEPAGE="http://tinyca.sm-zone.net/;
+HOMEPAGE="https://opsec.eu/src/tinyca/;
 SRC_URI="http://tinyca.sm-zone.net/${MY_P}.tar.bz2;
 
 LICENSE="Artistic"
@@ -30,12 +30,16 @@ RDEPEND="
 DEPEND="${RDEPEND}
>=sys-apps/sed-4"
 
+PATCHES=(
+   "${FILESDIR}/${PN}-2.0.7.3-compositefix.patch"
+   "${FILESDIR}/${P}-openssl-1.patch"
+   "${FILESDIR}/${P}-perl-5.18.patch"
+)
+
 S="${WORKDIR}/${MY_P}"
 
 src_prepare() {
-   epatch "${FILESDIR}/${PN}-2.0.7.3-compositefix.patch"
-   epatch "${FILESDIR}/${P}-openssl-1.patch"
-   epatch "${FILESDIR}/${P}-perl-5.18.patch"
+   default
sed -i -e 's:./lib:/usr/share/tinyca/lib:g' \
-e 's:./templates:/usr/share/tinyca/templates:g' \
-e 's:./locale:/usr/share/locale:g' "${S}/tinyca2" || die
@@ -51,6 +55,7 @@ locale_install() {
 }
 
 src_install() {
+   einstalldocs
newbin tinyca2 tinyca
insinto /usr/share/tinyca/lib
doins lib/*.pm



[gentoo-commits] repo/gentoo:master commit in: app-crypt/tinyca/

2016-06-03 Thread Anthony G. Basile
commit: 12b33666a2503adf77c62ebd47107c0f41152001
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Jun  3 14:45:06 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Jun  3 14:45:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12b33666

app-crypt/tinyca: add libressl support

Package-Manager: portage-2.2.28

 app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild | 69 +++
 1 file changed, 69 insertions(+)

diff --git a/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild 
b/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild
new file mode 100644
index 000..fc496ab
--- /dev/null
+++ b/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+MY_P="${PN}${PV/./-}"
+DESCRIPTION="Simple Perl/Tk GUI to manage a small certification authority"
+HOMEPAGE="http://tinyca.sm-zone.net/;
+SRC_URI="http://tinyca.sm-zone.net/${MY_P}.tar.bz2;
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="libressl"
+LANGS="en de cs es sv"
+
+for X in ${LANGS} ; do
+   IUSE="${IUSE} linguas_${X}"
+done
+
+RDEPEND="
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   dev-perl/Locale-gettext
+   >=virtual/perl-MIME-Base64-2.12
+   >=dev-perl/gtk2-perl-1.072"
+DEPEND="${RDEPEND}
+   >=sys-apps/sed-4"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   epatch "${FILESDIR}/${PN}-2.0.7.3-compositefix.patch"
+   epatch "${FILESDIR}/${P}-openssl-1.patch"
+   epatch "${FILESDIR}/${P}-perl-5.18.patch"
+   sed -i -e 's:./lib:/usr/share/tinyca/lib:g' \
+   -e 's:./templates:/usr/share/tinyca/templates:g' \
+   -e 's:./locale:/usr/share/locale:g' "${S}/tinyca2" || die
+}
+
+src_compile() {
+   emake -C po
+}
+
+locale_install() {
+   insinto /usr/share/locale/$@/LC_MESSAGES/
+   doins locale/$@/LC_MESSAGES/tinyca2.mo
+}
+
+src_install() {
+   newbin tinyca2 tinyca
+   insinto /usr/share/tinyca/lib
+   doins lib/*.pm
+   insinto /usr/share/tinyca/lib/GUI
+   doins lib/GUI/*.pm
+   insinto /usr/share/tinyca/templates
+   doins templates/*
+   insinto /usr/share/
+   strip-linguas ${LANGS}
+   local l
+   for l in ${LANGS}; do
+   if [ "$l" != "en" ]; then
+   use linguas_$l && locale_install $l
+   fi
+   done
+}