summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-07-16 00:27:16 +0000
committerSam James <sam@gentoo.org>2020-07-16 01:01:33 +0000
commit10d6772384ac8f19f6cdc3803ea2de7a380765eb (patch)
treeda36f46afa5636936d4379881009a564e0f0aef6 /app-arch
parentmedia-gfx/graphicsmagick: security cleanup (diff)
downloadgentoo-10d6772384ac8f19f6cdc3803ea2de7a380765eb.tar.gz
gentoo-10d6772384ac8f19f6cdc3803ea2de7a380765eb.tar.bz2
gentoo-10d6772384ac8f19f6cdc3803ea2de7a380765eb.zip
app-arch/lha: security cleanup
Bug: https://bugs.gentoo.org/572418 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/lha/Manifest1
-rw-r--r--app-arch/lha/files/lha-114i-fix-getopt_long-declaration.patch11
-rw-r--r--app-arch/lha/lha-114i-r9.ebuild54
3 files changed, 0 insertions, 66 deletions
diff --git a/app-arch/lha/Manifest b/app-arch/lha/Manifest
index 695979b92d35..13bdc1be59ab 100644
--- a/app-arch/lha/Manifest
+++ b/app-arch/lha/Manifest
@@ -1,2 +1 @@
-DIST lha-1.14i-ac20050924p1.tar.gz 285518 BLAKE2B 7e10ee4cfaeb7212f9dfbe254d33ec7b97bce41a042eed3d6f826790650f5059a19d2a334cc41a86112ba8d80904168a0b3c2785e7670577b2bda0b4d27f0dcc SHA512 efe43d407d273f8f724f7b205223bd122c76adac4b67ad5e9811e88cae03f1f3c3af4297aa6f24951a02558975bbafacf697e97ab0da578b4e0115b89237566f
DIST lha-114i_p20201004.tar.gz 220541 BLAKE2B 64268deb40de67d5f4888f7d4b4529fa1b6ca02c562bd041d9edd1ac9cc74ccfa43198c79310bd354806e3095f6aba8c97256b49686feb8c713e3d8110137103 SHA512 9a9337cbb6a3d71253597750301e37163c5b495e712f2374adf2ac0d19f731ed49482a3f8b639e4c48c7ef6fa7ed9f9081516d77548e9c88ed3b9ac037efeb06
diff --git a/app-arch/lha/files/lha-114i-fix-getopt_long-declaration.patch b/app-arch/lha/files/lha-114i-fix-getopt_long-declaration.patch
deleted file mode 100644
index 3c3b7dfd94c5..000000000000
--- a/app-arch/lha/files/lha-114i-fix-getopt_long-declaration.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/getopt_long.c 2013-12-18 16:05:59.789413528 -0600
-+++ b/src/getopt_long.c 2013-12-18 16:06:01.200420472 -0600
-@@ -64,7 +64,7 @@
-
- #ifndef USE_GNU
- #include <stdio.h>
--#include <getopt_long.h>
-+#include "getopt_long.h"
-
- char *optarg;
- int optind;
diff --git a/app-arch/lha/lha-114i-r9.ebuild b/app-arch/lha/lha-114i-r9.ebuild
deleted file mode 100644
index 4e1a31c247e8..000000000000
--- a/app-arch/lha/lha-114i-r9.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools flag-o-matic
-
-MY_P="${PN}-1.14i-ac20050924p1"
-
-DESCRIPTION="Utility for creating and opening lzh archives"
-HOMEPAGE="https://lha.osdn.jp https://github.com/jca02266/lha"
-SRC_URI="mirror://sourceforge.jp/${PN}/22231/${MY_P}.tar.gz"
-
-LICENSE="lha"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm hppa ~ia64 ~m68k ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~m68k-mint"
-RESTRICT="bindist"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-file-list-from-stdin.patch
- "${FILESDIR}"/${P}-fix-getopt_long-declaration.patch
-)
-
-src_prepare() {
- default
-
- sed -e '/^AM_C_PROTOTYPES/d' \
- -e 's/^AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \
- -i configure.ac || die #423125, 467544
-
- eautoreconf
-}
-
-src_configure() {
- append-cppflags -DPROTOTYPES #423125
-
- if [[ ${CHOST} == *-interix* ]]; then
- export ac_cv_header_inttypes_h=no
- export ac_cv_func_iconv=no
- fi
-
- econf
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- mandir="${EPREFIX}"/usr/share/man/ja \
- install
-
- dodoc ChangeLog Hacking_of_LHa
-}