commit:     3a13ebb61d94c615ab2c68de08ab95746c1996c5
Author:     John Helmert III <jchelmert3 <AT> posteo <DOT> net>
AuthorDate: Thu Jun 25 22:53:18 2020 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sun Jun 28 20:54:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a13ebb6

app-text/djvu: Security cleanup

Bug: https://bugs.gentoo.org/536720
Bug: https://bugs.gentoo.org/718552
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: John Helmert III <jchelmert3 <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/16423
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 app-text/djvu/Manifest              |  1 -
 app-text/djvu/djvu-3.5.27-r1.ebuild | 68 -------------------------------------
 2 files changed, 69 deletions(-)

diff --git a/app-text/djvu/Manifest b/app-text/djvu/Manifest
index 3d21b0b09da..b0a911340b1 100644
--- a/app-text/djvu/Manifest
+++ b/app-text/djvu/Manifest
@@ -1,2 +1 @@
 DIST djvu-3.5.27.zip 3567522 BLAKE2B 
c074468a2fedf097b9b8fea4c449f26b61bffb31d10114081554e59256a23315ecffc203b5223468ca0c3338118b53aba65eee4cb5e7ad5c8d55470e90f43843
 SHA512 
dc1cd1bce2fb6245946f9409b3a3826ef2dc77a20be079c929b17508c3d967a0b5d8acd61bad00357e46a845f7f97717a043db9ffd1fe23e9a09441b7d21cbd6
-DIST djvulibre-3.5.27.tar.gz 3648522 BLAKE2B 
e1907b4b64c48304ceb24360cfd451e4690d38803f22231d4e136dbe754715527fa0300c623bb709fa05bba206348257137b2a755651bb51ca26259680e142d0
 SHA512 
62abcaa2fe7edab536477929ba38b882453dab1a06e119a3f838b38d5c61f5d8c252e4769e6534582b826e49bcfb490513179580fab9c3afa84aa92053ccebee

diff --git a/app-text/djvu/djvu-3.5.27-r1.ebuild 
b/app-text/djvu/djvu-3.5.27-r1.ebuild
deleted file mode 100644
index 607b51c1895..00000000000
--- a/app-text/djvu/djvu-3.5.27-r1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop eutils flag-o-matic xdg-utils
-
-MY_P="${PN}libre-${PV#*_p}"
-
-DESCRIPTION="DjVu viewers, encoders and utilities"
-HOMEPAGE="http://djvu.sourceforge.net/";
-SRC_URI="http://downloads.sourceforge.net/djvu/${MY_P}.tar.gz";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
-IUSE="debug doc jpeg tiff xml"
-
-PATCHES=( "${FILESDIR}"/fix-CVE-2019-18804.patch )
-
-RDEPEND="jpeg? ( virtual/jpeg:0 )
-       tiff? ( media-libs/tiff:0= )"
-DEPEND="${RDEPEND}
-       || ( gnome-base/librsvg media-gfx/inkscape )"
-
-S=${WORKDIR}/${MY_P%%.3}
-
-src_configure() {
-       use debug && append-cppflags "-DRUNTIME_DEBUG_ONLY"
-
-       # We install all desktop files by hand.
-       econf \
-               $(use_enable xml xmltools) \
-               $(use_with jpeg) \
-               $(use_with tiff) \
-               --disable-desktopfiles
-}
-
-DOCS=( NEWS README )
-
-src_install() {
-       default
-
-       find "${ED}" -name '*.la' -delete || die
-
-       use doc && dodoc -r doc
-
-       # Install desktop files.
-       cd desktopfiles
-       for i in {22,32,48,64}; do
-               insinto /usr/share/icons/hicolor/${i}x${i}/mimetypes
-               newins prebuilt-hi${i}-djvu.png image-vnd.djvu.png
-       done
-       insinto /usr/share/mime/packages
-       doins djvulibre-mime.xml
-}
-
-pkg_postinst() {
-       xdg_icon_cache_update
-       xdg_mimeinfo_database_update
-       has_version app-text/djview || \
-               optfeature "For djviewer or browser plugin" app-text/djview
-}
-
-pkg_postrm() {
-       xdg_icon_cache_update
-       xdg_mimeinfo_database_update
-}

Reply via email to