aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-04-12 14:35:47 +0300
committerJoonas Niilola <juippis@gentoo.org>2022-04-12 14:54:27 +0300
commitcd4ec606973586169d80cc2520d48119969ff750 (patch)
treef6ebf0a01be0104069c9d8fbdc6e2d7eebb06d00
parentmail-client/thunderbird: bump to v91.5.1 (diff)
downloadmozilla-cd4ec606973586169d80cc2520d48119969ff750.tar.gz
mozilla-cd4ec606973586169d80cc2520d48119969ff750.tar.bz2
mozilla-cd4ec606973586169d80cc2520d48119969ff750.zip
dev-libs/jemalloc: remove outdated
- and most likely security vulnerable versions, - ::gentoo is at 5.2.1. Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r--dev-libs/jemalloc/Manifest1
-rw-r--r--dev-libs/jemalloc/files/jemalloc-5.2.0-gentoo-fixups.patch54
-rw-r--r--dev-libs/jemalloc/jemalloc-5.2.0.ebuild60
-rw-r--r--dev-libs/jemalloc/metadata.xml19
4 files changed, 0 insertions, 134 deletions
diff --git a/dev-libs/jemalloc/Manifest b/dev-libs/jemalloc/Manifest
deleted file mode 100644
index 06a80d25..00000000
--- a/dev-libs/jemalloc/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST jemalloc-5.2.0.tar.bz2 543892 BLAKE2B 042dd32452713d0524ae8aedbd3aa96a420037ae3ff0345bbf56a7839ae6ba9e0c700034fab9d5c7b6f4cbb43e2d8199b412901afce16c2785a816d439166e6d SHA512 e3be4d534770126caf10f2684aed9fe4ba1422dd47625fe50343cfb750f26eff869fcc7d1e30a96dd6c73f6614c4bbcd560fd24fc26b55ac731c43e60fd05234
diff --git a/dev-libs/jemalloc/files/jemalloc-5.2.0-gentoo-fixups.patch b/dev-libs/jemalloc/files/jemalloc-5.2.0-gentoo-fixups.patch
deleted file mode 100644
index 2e7fd0da..00000000
--- a/dev-libs/jemalloc/files/jemalloc-5.2.0-gentoo-fixups.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From 482a28e74f9b3c83bef6499842f1191c04ae80d9 Mon Sep 17 00:00:00 2001
-From: Jory Pratt <anarchy@gentoo.org>
-Date: Tue, 23 Apr 2019 10:04:19 -0500
-Subject: [PATCH] Don't override user cflags, disable html_doc from being
- installed
-
-Signed-off-by: Jory Pratt <anarchy@gentoo.org>
----
- Makefile.in | 2 +-
- configure.ac | 15 ---------------
- 2 files changed, 1 insertion(+), 16 deletions(-)
-
-diff --git a/Makefile.in b/Makefile.in
-index 0777f6a..31767b6 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -511,7 +511,7 @@ install_doc_man:
- $(INSTALL) -m 644 $$d $(MANDIR)/man3; \
- done
-
--install_doc: build_doc install_doc_html install_doc_man
-+install_doc: build_doc install_doc_man
-
- install: install_bin install_include install_lib install_doc
-
-diff --git a/configure.ac b/configure.ac
-index 96f76d3..f716ebd 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1108,21 +1108,6 @@ if test "x$enable_debug" = "x1" ; then
- fi
- AC_SUBST([enable_debug])
-
--dnl Only optimize if not debugging.
--if test "x$enable_debug" = "x0" ; then
-- if test "x$GCC" = "xyes" ; then
-- JE_CFLAGS_ADD([-O3])
-- JE_CXXFLAGS_ADD([-O3])
-- JE_CFLAGS_ADD([-funroll-loops])
-- elif test "x$je_cv_msvc" = "xyes" ; then
-- JE_CFLAGS_ADD([-O2])
-- JE_CXXFLAGS_ADD([-O2])
-- else
-- JE_CFLAGS_ADD([-O])
-- JE_CXXFLAGS_ADD([-O])
-- fi
--fi
--
- dnl Enable statistics calculation by default.
- AC_ARG_ENABLE([stats],
- [AS_HELP_STRING([--disable-stats],
---
-2.21.0
-
diff --git a/dev-libs/jemalloc/jemalloc-5.2.0.ebuild b/dev-libs/jemalloc/jemalloc-5.2.0.ebuild
deleted file mode 100644
index ecf6d5e1..00000000
--- a/dev-libs/jemalloc/jemalloc-5.2.0.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools toolchain-funcs multilib-minimal
-
-DESCRIPTION="Jemalloc is a general-purpose scalable concurrent allocator"
-HOMEPAGE="http://jemalloc.net/ https://github.com/jemalloc/jemalloc"
-SRC_URI="https://github.com/jemalloc/jemalloc/releases/download/${PV}/${P}.tar.bz2"
-
-LICENSE="BSD"
-SLOT="0/2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
-IUSE="debug hardened lazy-lock static-libs stats xmalloc"
-HTML_DOCS=( doc/jemalloc.html )
-PATCHES=( "${FILESDIR}/${PN}-5.2.0-gentoo-fixups.patch" )
-
-MULTILIB_WRAPPED_HEADERS=( /usr/include/jemalloc/jemalloc.h )
-# autotools-utils.eclass auto-adds configure options when static-libs is in IUSE
-# but jemalloc doesn't implement them in its configure; need this here to
-# supress the warnings until automagic is removed from the eclass
-QA_CONFIGURE_OPTIONS="--enable-static --disable-static --enable-shared --disable-shared"
-
-src_prepare() {
- default
- eautoreconf
-}
-
-multilib_src_configure() {
- local myconf=()
-
- if use hardened ; then
- myconf+=( --disable-syscall )
- fi
-
- ECONF_SOURCE="${S}" \
- econf \
- $(use_enable debug) \
- $(use_enable lazy-lock) \
- $(use_enable stats) \
- $(use_enable xmalloc) \
- "${myconf[@]}"
-}
-
-multilib_src_install() {
- # Copy man file which the Makefile looks for
- cp "${S}/doc/jemalloc.3" "${BUILD_DIR}/doc" || die
- emake DESTDIR="${D}" install
-}
-
-multilib_src_install_all() {
- if [[ ${CHOST} == *-darwin* ]] ; then
- # fixup install_name, #437362
- install_name_tool \
- -id "${EPREFIX}"/usr/$(get_libdir)/libjemalloc.2.dylib \
- "${ED}"/usr/$(get_libdir)/libjemalloc.2.dylib || die
- fi
- use static-libs || find "${ED}" -name '*.a' -delete
-}
diff --git a/dev-libs/jemalloc/metadata.xml b/dev-libs/jemalloc/metadata.xml
deleted file mode 100644
index 08893bb6..00000000
--- a/dev-libs/jemalloc/metadata.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>mozilla@gentoo.org</email>
- <name>Gentoo Mozilla Team</name>
- </maintainer>
- <longdescription lang="en">
- Jemalloc is a general-purpose scalable concurrent allocator
- </longdescription>
- <use>
- <flag name="lazy-lock">Enable lazy locking (only lock when multi-threaded)</flag>
- <flag name="stats">Enable statistics calculation/reporting</flag>
- <flag name="xmalloc">Add support for xmalloc (abort-on-out-of-memory)</flag>
- </use>
- <upstream>
- <remote-id type="github">jemalloc/jemalloc</remote-id>
- </upstream>
-</pkgmetadata>