From 564496d545527fba912694dc5d8cdf3b3646f1af Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 4 Dec 2018 18:09:10 +0100 Subject: app-crypt/tinyca: Remove last-rited pkg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/540622 Signed-off-by: Michał Górny --- 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(-) delete mode 100644 app-crypt/tinyca/Manifest delete mode 100644 app-crypt/tinyca/files/tinyca-2.0.7.3-compositefix.patch delete mode 100644 app-crypt/tinyca/files/tinyca-2.0.7.5-openssl-1.patch delete mode 100644 app-crypt/tinyca/files/tinyca-2.0.7.5-perl-5.18.patch delete mode 100644 app-crypt/tinyca/metadata.xml delete mode 100644 app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild diff --git a/app-crypt/tinyca/Manifest b/app-crypt/tinyca/Manifest deleted file mode 100644 index 0d76baff6d3f..000000000000 --- 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 01a757cc778e..000000000000 --- 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.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 index 27831c6854f9..000000000000 --- 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 e8ca5d695daf..000000000000 --- 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.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 index f1c3d59fb213..000000000000 --- a/app-crypt/tinyca/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - crypto@gentoo.org - Crypto - - 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 index cdc5f577e854..000000000000 --- a/app-crypt/tinyca/tinyca-2.0.7.5-r3.ebuild +++ /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 -} diff --git a/profiles/package.mask b/profiles/package.mask index ff5e40b707db..b051678cdd8e 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -339,10 +339,6 @@ dev-libs/gost-engine # (#509518). Removal in a month. dev-python/pyramid -# Pacho Ramos (04 Nov 2018) -# Upstream dead, multiple unresolved bugs (#540622). Removal in a month. -app-crypt/tinyca - # Andreas Sturmlechner (03 Nov 2018) # Breaks revdeps (GDir and GDirEntry split from gfile.h into new gdir.h) # See tracker: https://bugs.gentoo.org/670222 -- cgit v1.2.3-65-gdbad