app-crypt/tinyca: Remove last-rited pkg
authorMichał Górny <mgorny@gentoo.org>
Tue, 4 Dec 2018 17:09:10 +0000 (18:09 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 4 Dec 2018 17:10:35 +0000 (18:10 +0100)
Closes: https://bugs.gentoo.org/540622
Signed-off-by: Michał Górny <mgorny@gentoo.org>
app-crypt/tinyca/Manifest [deleted file]
app-crypt/tinyca/files/tinyca-2.0.7.3-compositefix.patch [deleted file]
app-crypt/tinyca/files/tinyca-2.0.7.5-openssl-1.patch [deleted file]
app-crypt/tinyca/files/tinyca-2.0.7.5-perl-5.18.patch [deleted file]
app-crypt/tinyca/metadata.xml [deleted file]
app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild [deleted file]
profiles/package.mask

diff --git a/app-crypt/tinyca/Manifest b/app-crypt/tinyca/Manifest
deleted file mode 100644 (file)
index 0d76baf..0000000
+++ /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 (file)
index 01a757c..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
---- tinyca2-0.7.2/tinyca2      2006-05-28 21:45:03.000000000 +1000
-+++ tinyca2-0.7.2/tinyca2      2006-05-28 21:46:38.000000000 +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 (file)
index 27831c6..0000000
+++ /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(<IN>);
--   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(<IN>);
-+      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 (file)
index e8ca5d6..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
---- tinyca2-0.7.5/lib/GUI.pm   2006-07-25 16:12:00.000000000 -0400
---- tinyca2-0.7.5/lib/GUI.pm   2006-07-25 16:12:00.000000000 -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);
-    
--      for my $l qw(STATUS NOTBEFORE NOTAFTER) {
-+      for my $l (qw(STATUS NOTBEFORE NOTAFTER)) {
-          if(defined($parsed->{$l})) {
-             $citer = $store->append($piter);
-             $store->set($citer, 
-@@ -1045,7 +1045,7 @@
-    $store->set($piter, 0 => $t);
- 
- 
--   for my $l qw(STATUS SERIAL KEYSIZE PK_ALGORITHM SIG_ALGORITHM TYPE) {
-+   for my $l (qw(STATUS SERIAL KEYSIZE PK_ALGORITHM SIG_ALGORITHM TYPE)) {
-       if(defined($parsed->{$l})) {
-          $citer = $store->append($piter);
-          $store->set($citer, 
-@@ -1060,7 +1060,7 @@
-       $piter = $store->append($root);
-       $store->set($piter, 0 => $t);
-    
--      for my $l qw(FINGERPRINTMD5 FINGERPRINTSHA1) {
-+      for my $l (qw(FINGERPRINTMD5 FINGERPRINTSHA1)) {
-          if(defined($parsed->{$l})) {
-             $citer = $store->append($piter);
-             $store->set($citer, 
diff --git a/app-crypt/tinyca/metadata.xml b/app-crypt/tinyca/metadata.xml
deleted file mode 100644 (file)
index f1c3d59..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
-       <email>crypto@gentoo.org</email>
-       <name>Crypto</name>
-</maintainer>
-</pkgmetadata>
diff --git a/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild b/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild
deleted file mode 100644 (file)
index cdc5f57..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit eutils
-
-MY_P="${PN}${PV/./-}"
-DESCRIPTION="Simple Perl/Tk GUI to manage a small certification authority"
-HOMEPAGE="https://opsec.eu/src/tinyca/"
-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"
-
-RDEPEND="
-       !libressl? ( dev-libs/openssl:0= )
-       libressl? ( dev-libs/libressl:0= )
-       dev-perl/Locale-gettext
-       >=virtual/perl-MIME-Base64-2.12
-       >=dev-perl/Gtk2-1.072"
-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() {
-       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
-}
-
-src_compile() {
-       emake -C po
-}
-
-locale_install() {
-       insinto /usr/share/locale/$@/LC_MESSAGES/
-       doins locale/$@/LC_MESSAGES/tinyca2.mo
-}
-
-src_install() {
-       einstalldocs
-       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
-                       has ${l} ${LINGUAS-${l}} && locale_install $l
-               fi
-       done
-}
index ff5e40b707db46ef93110e5fe656885ed9623914..b051678cdd8e0619baa28e7b92a37a2a8c5fbaad 100644 (file)
@@ -339,10 +339,6 @@ dev-libs/gost-engine
 # (#509518). Removal in a month.
 dev-python/pyramid
 
-# Pacho Ramos <pacho@gentoo.org> (04 Nov 2018)
-# Upstream dead, multiple unresolved bugs (#540622). Removal in a month.
-app-crypt/tinyca
-
 # Andreas Sturmlechner <asturm@gentoo.org> (03 Nov 2018)
 # Breaks revdeps (GDir and GDirEntry split from gfile.h into new gdir.h)
 # See tracker: https://bugs.gentoo.org/670222