commit:     3510c4511535a1cb22340f2016e164e1b17295b5
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 15 19:39:28 2019 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Fri Feb 15 19:39:51 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3510c451

media-gfx/aview: Drop old

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-gfx/aview/aview-1.3.0_rc1-r1.ebuild          | 39 ----------------
 .../files/aview-1.3.0_rc1-filename-spaces.patch    | 53 ----------------------
 .../aview/files/aview-1.3.0_rc1-tmp_creation.patch | 46 -------------------
 3 files changed, 138 deletions(-)

diff --git a/media-gfx/aview/aview-1.3.0_rc1-r1.ebuild 
b/media-gfx/aview/aview-1.3.0_rc1-r1.ebuild
deleted file mode 100644
index d7700f08235..00000000000
--- a/media-gfx/aview/aview-1.3.0_rc1-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit base
-
-MY_P=${P/_/}
-S=${WORKDIR}/${MY_P/rc*/}
-DESCRIPTION="An ASCII Image Viewer"
-SRC_URI="mirror://sourceforge/aa-project/${MY_P}.tar.gz"
-HOMEPAGE="http://aa-project.sourceforge.net/aview/";
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-DEPEND=">=media-libs/aalib-1.4_rc4"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-filename-spaces.patch
-       "${FILESDIR}"/${P}-tmp_creation.patch
-       "${FILESDIR}"/${P}-includes.patch
-)
-
-src_compile() {
-       econf || die
-       make aview || die
-}
-
-src_install() {
-       into /usr
-       dobin aview asciiview
-
-       doman *.1
-       dodoc ANNOUNCE ChangeLog README TODO
-}

diff --git a/media-gfx/aview/files/aview-1.3.0_rc1-filename-spaces.patch 
b/media-gfx/aview/files/aview-1.3.0_rc1-filename-spaces.patch
deleted file mode 100644
index e42ed0d5c58..00000000000
--- a/media-gfx/aview/files/aview-1.3.0_rc1-filename-spaces.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-diff -ur aview-1.3.0-orig/asciiview aview-1.3.0/asciiview
---- aview-1.3.0-orig/asciiview 2005-08-15 21:20:16.000000000 -0400
-+++ aview-1.3.0/asciiview      2005-08-15 21:20:19.000000000 -0400
-@@ -7,9 +7,9 @@
- }
- myconvert()
- {
--   if anytopnm $1 >/tmp/aview$$.pgm 2>/dev/null ; then
-+   if anytopnm "$1" >/tmp/aview$$.pgm 2>/dev/null ; then
-      exit
--   elif convert -colorspace gray $1 pgm:- 2>/dev/null ; then
-+   elif convert -colorspace gray "$1" pgm:- 2>/dev/null ; then
-      exit
-    fi
-    echo "Failed to convert file format to PNM by both convert and anytopnm" 
>&2
-@@ -44,8 +44,13 @@
-       options="$options $1"
-       shift
-       ;;
--    *) 
--      filenames="$filenames $1"
-+    *)
-+      if [ "$filenames" = "" ]
-+      then
-+        filenames=$1   #avoid leading null
-+      else
-+        filenames=$(echo -e "$filenames\000$1")
-+      fi
-       shift
-       ;;
-   esac
-@@ -53,15 +58,16 @@
- trap clear 0
- mkfifo /tmp/aview$$.pgm
- outfile=/tmp/aview$$.pgm
--for name in $filenames ; do
--if test -r $name ; then
--case $name in
-+IFS=$(echo -e "\000")
-+echo $filenames | while read name; do
-+if test -r "$name" ; then
-+case "$name" in
- *.fli | *.lfc | *.flic )
-   PATH="$PATH:."
--  aaflip $options $name
-+  aaflip $options "$name"
-   ;;
- *)
--  myconvert $name >/tmp/aview$$.pgm &
-+  myconvert "$name" >/tmp/aview$$.pgm &
-   pid=$!
-   PATH="$PATH:."
-   aview  $options /tmp/aview$$.pgm

diff --git a/media-gfx/aview/files/aview-1.3.0_rc1-tmp_creation.patch 
b/media-gfx/aview/files/aview-1.3.0_rc1-tmp_creation.patch
deleted file mode 100644
index f792e8bfebb..00000000000
--- a/media-gfx/aview/files/aview-1.3.0_rc1-tmp_creation.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-Fix insecure temporary file creation, see:
-https://bugs.gentoo.org/show_bug.cgi?id=235808
-
-Index: aview-1.3.0/asciiview
-===================================================================
---- aview-1.3.0.orig/asciiview
-+++ aview-1.3.0/asciiview
-@@ -3,11 +3,11 @@
- clear()
- {
-   kill $! 2>/dev/null
--  rm -f /tmp/aview$$.pgm 2>/dev/null
-+  rm -rf $tmpdir 2>/dev/null
- }
- myconvert()
- {
--   if anytopnm "$1" >/tmp/aview$$.pgm 2>/dev/null ; then
-+   if anytopnm "$1" >"$2" 2>/dev/null ; then
-      exit
-    elif convert -colorspace gray "$1" pgm:- 2>/dev/null ; then
-      exit
-@@ -56,8 +56,9 @@ while [ "$1" != "" ]; do
-   esac
- done
- trap clear 0
--mkfifo /tmp/aview$$.pgm
--outfile=/tmp/aview$$.pgm
-+tmpdir=`mktemp -t -d`
-+outfile=$tmpdir/aview.pgm
-+mkfifo $outfile
- IFS=$(echo -e "\000")
- echo $filenames | while read name; do
- if test -r "$name" ; then
-@@ -67,10 +68,10 @@ case "$name" in
-   aaflip $options "$name"
-   ;;
- *)
--  myconvert "$name" >/tmp/aview$$.pgm &
-+  myconvert "$name" "$outfile" >"$outfile" &
-   pid=$!
-   PATH="$PATH:."
--  aview  $options /tmp/aview$$.pgm
-+  aview  $options $outfile
-   kill $pid 2>/dev/null
- esac
- else

Reply via email to