commit:     992db41a4e6b51729b78139139cd24910b156a65
Author:     John Helmert III <jchelmert3 <AT> posteo <DOT> net>
AuthorDate: Sun Dec 27 06:29:30 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 29 01:59:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=992db41a

dev-libs/libmspack: security cleanup (drop <0.10.1_alpha)

Bug: https://bugs.gentoo.org/711218
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: John Helmert III <jchelmert3 <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/18824
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libmspack/Manifest                        |  1 -
 .../libmspack-0.9.1_alpha-fix-bigendian.patch      | 17 -----
 dev-libs/libmspack/libmspack-0.9.1_alpha-r1.ebuild | 75 ----------------------
 3 files changed, 93 deletions(-)

diff --git a/dev-libs/libmspack/Manifest b/dev-libs/libmspack/Manifest
index d2797cb1e3b..698014b9766 100644
--- a/dev-libs/libmspack/Manifest
+++ b/dev-libs/libmspack/Manifest
@@ -1,2 +1 @@
 DIST libmspack-0.10.1alpha.tar.gz 963274 BLAKE2B 
39bcb3b7ea419d6d00850b70c217c802a2095dd4398038e594ae7c01ca12e71508218c1cfca5ae8b102636ab9517b13d55c1e411b31e87d28aa46331cd0127e6
 SHA512 
a7b5f7caa49190c5021f3e768b92f2e51cc0ce685c9ab6ed6fb36de885c73231b58d47a8a3b5c5aa5c9ac56c25c500eb683d84dbf11f09f97f6cb4fff5adc245
-DIST libmspack-0.9.1alpha.tar.gz 494651 BLAKE2B 
4543215efbcac9cd2703cd56f2297645463831cc2dfa6b38d87c5f48f39676347bb20739e0e389e021983d910b9be99bfd369fb30d36090f3f72f09532d6bd1d
 SHA512 
4e39c2be8768c5c0b0d0798c9322ff022173f5e05af1636c18541bbc9f58c1ae1af59252d5631340fca601495c5b1e5abed0ad83481387421d2df5efb75cd49a

diff --git a/dev-libs/libmspack/files/libmspack-0.9.1_alpha-fix-bigendian.patch 
b/dev-libs/libmspack/files/libmspack-0.9.1_alpha-fix-bigendian.patch
deleted file mode 100644
index c134fa0760d..00000000000
--- a/dev-libs/libmspack/files/libmspack-0.9.1_alpha-fix-bigendian.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://github.com/kyz/libmspack/commit/c19e707936947b45cf05bc9aaee68517c6c2aca6
-
----
- configure.ac  | 1 +
- 1 files changed, 1 insertions(+)
-
-diff --git a/libmspack/configure.ac b/libmspack/configure.ac
---- a/configure.ac
-+++ b/configure.ac
-@@ -30,6 +30,7 @@ AC_CHECK_HEADERS([inttypes.h])
- # Checks for typedefs, structures, and compiler characteristics.
- AC_C_CONST
- AC_C_INLINE
-+AC_C_BIGENDIAN
- AC_TYPE_MODE_T
- AC_TYPE_OFF_T
- AC_TYPE_SIZE_T

diff --git a/dev-libs/libmspack/libmspack-0.9.1_alpha-r1.ebuild 
b/dev-libs/libmspack/libmspack-0.9.1_alpha-r1.ebuild
deleted file mode 100644
index f4e6fbcc16b..00000000000
--- a/dev-libs/libmspack/libmspack-0.9.1_alpha-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit autotools multilib-minimal
-
-if [[ ${PV} == "9999" ]] ; then
-       EGIT_REPO_URI="https://github.com/kyz/libmspack.git";
-       inherit git-r3
-       MY_P="${PN}-9999"
-else
-       KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 s390 sparc x86 
~x64-solaris"
-       MY_PV="${PV/_alpha/alpha}"
-       MY_P="${PN}-${MY_PV}"
-       
SRC_URI="https://www.cabextract.org.uk/libmspack/libmspack-${MY_PV}.tar.gz";
-fi
-
-DESCRIPTION="A library for Microsoft compression formats"
-HOMEPAGE="https://www.cabextract.org.uk/libmspack/";
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-IUSE="debug doc static-libs"
-
-DEPEND=""
-RDEPEND=""
-
-PATCHES=( "${FILESDIR}"/${P}-fix-bigendian.patch )
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-       if [[ ${PV} == "9999" ]] ; then
-               # Re-create file layout from release tarball
-               pushd "${WORKDIR}" &>/dev/null || die
-               cp -aL "${S}"/${PN} "${WORKDIR}"/${PN}-source || die
-               rm -r "${S}" || die
-               mv "${WORKDIR}"/${PN}-source "${S}" || die
-               popd &>/dev/null || die
-       fi
-
-       default
-
-       eautoreconf
-
-       multilib_copy_sources
-}
-
-multilib_src_configure() {
-       ECONF_SOURCE="${S}" econf \
-               $(use_enable debug) \
-               $(use_enable static-libs static)
-}
-
-multilib_src_test() {
-       if multilib_is_native_abi; then
-               default
-               cd "${S}"/test && "${BUILD_DIR}"/test/cabd_test || die
-       fi
-}
-
-multilib_src_install_all() {
-       DOCS=(AUTHORS ChangeLog NEWS README TODO)
-       use doc && HTML_DOCS=(doc/*)
-       default_src_install
-       if use doc; then
-               rm "${ED}"/usr/share/doc/"${PF}"/html/{Makefile*,Doxyfile*} || 
die
-       fi
-
-       find "${ED}" -name '*.la' -delete || die
-       if ! use static-libs ; then
-               find "${ED}" -name "*.a" -delete || die
-       fi
-}

Reply via email to