summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Martins <rafaelmartins@gentoo.org>2020-07-25 17:14:30 +0200
committerRafael Martins <rafaelmartins@gentoo.org>2020-07-25 17:14:41 +0200
commita1d37420e54b9cbe771e1ad21a11ea1dd06a6be3 (patch)
tree2634696bd37a5ddaf05c273f7d686b69cd27602c /dev-lang
parentx11-misc/xdg-utils: arm64 stable (bug #733598) (diff)
downloadgentoo-a1d37420e54b9cbe771e1ad21a11ea1dd06a6be3.tar.gz
gentoo-a1d37420e54b9cbe771e1ad21a11ea1dd06a6be3.tar.bz2
gentoo-a1d37420e54b9cbe771e1ad21a11ea1dd06a6be3.zip
dev-lang/luajit: remove vulnerable ebuilds
Bug: https://bugs.gentoo.org/733466 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Rafael Martins <rafaelmartins@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/luajit/luajit-2.0.5-r1.ebuild64
-rw-r--r--dev-lang/luajit/luajit-2.1.0_beta3.ebuild53
2 files changed, 0 insertions, 117 deletions
diff --git a/dev-lang/luajit/luajit-2.0.5-r1.ebuild b/dev-lang/luajit/luajit-2.0.5-r1.ebuild
deleted file mode 100644
index 0e4dc83ff928..000000000000
--- a/dev-lang/luajit/luajit-2.0.5-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit pax-utils toolchain-funcs versionator
-
-MY_PV="$(get_version_component_range 1-3)"
-MY_P="LuaJIT-${MY_PV}"
-if [[ -n $(get_version_component_range 4) ]]; then
- HOTFIX="v${PV}"
- HOTFIX="${HOTFIX/_p/_hotfix}.patch"
-fi
-
-DESCRIPTION="Just-In-Time Compiler for the Lua programming language"
-HOMEPAGE="http://luajit.org/"
-SRC_URI="http://luajit.org/download/${MY_P}.tar.gz
- ${HOTFIX:+http://luajit.org/download/${HOTFIX}}"
-
-LICENSE="MIT"
-# this should probably be pkgmoved to 2.0 for sake of consistency.
-SLOT="2"
-KEYWORDS="amd64 arm ppc x86 ~amd64-linux ~x86-linux"
-IUSE="lua52compat static-libs"
-
-PATCHES=( "${FILESDIR}/${PN}-2-ldconfig.patch" )
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- if [[ -n ${HOTFIX} ]]; then
- eapply "${DISTDIR}/${HOTFIX}"
- fi
- default
-}
-
-_emake() {
- emake \
- Q= \
- PREFIX="${EPREFIX}/usr" \
- MULTILIB="$(get_libdir)" \
- DESTDIR="${D}" \
- HOST_CC="$(tc-getBUILD_CC)" \
- STATIC_CC="$(tc-getCC)" \
- DYNAMIC_CC="$(tc-getCC) -fPIC" \
- TARGET_LD="$(tc-getCC)" \
- TARGET_AR="$(tc-getAR) rcus" \
- BUILDMODE="$(usex static-libs mixed dynamic)" \
- TARGET_STRIP="true" \
- INSTALL_LIB="${ED%/}/usr/$(get_libdir)" \
- "$@"
-}
-
-src_compile() {
- _emake XCFLAGS="$(usex lua52compat "-DLUAJIT_ENABLE_LUA52COMPAT" "")"
-}
-
-src_install() {
- _emake install
-
- pax-mark m "${ED}usr/bin/luajit-${MY_PV}"
-
- HTML_DOCS="doc/." einstalldocs
-}
diff --git a/dev-lang/luajit/luajit-2.1.0_beta3.ebuild b/dev-lang/luajit/luajit-2.1.0_beta3.ebuild
deleted file mode 100644
index b38bb2b260d7..000000000000
--- a/dev-lang/luajit/luajit-2.1.0_beta3.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit pax-utils toolchain-funcs versionator
-
-MY_PV="$(get_version_component_range 1-4)"
-MY_PV="${MY_PV/_beta/-beta}"
-MY_P="LuaJIT-${MY_PV}"
-
-DESCRIPTION="Just-In-Time Compiler for the Lua programming language"
-HOMEPAGE="http://luajit.org/"
-SRC_URI="http://luajit.org/download/${MY_P}.tar.gz"
-
-LICENSE="MIT"
-# this should probably be pkgmoved to 2.0 for sake of consistency.
-SLOT="2"
-KEYWORDS=""
-IUSE="lua52compat static-libs"
-
-PATCHES=( "${FILESDIR}/${PN}-2-ldconfig.patch" )
-
-S="${WORKDIR}/${MY_P}"
-
-_emake() {
- emake \
- Q= \
- PREFIX="${EPREFIX}/usr" \
- MULTILIB="$(get_libdir)" \
- DESTDIR="${D}" \
- HOST_CC="$(tc-getBUILD_CC)" \
- STATIC_CC="$(tc-getCC)" \
- DYNAMIC_CC="$(tc-getCC) -fPIC" \
- TARGET_LD="$(tc-getCC)" \
- TARGET_AR="$(tc-getAR) rcus" \
- BUILDMODE="$(usex static-libs mixed dynamic)" \
- TARGET_STRIP="true" \
- INSTALL_LIB="${ED%/}/usr/$(get_libdir)" \
- "$@"
-}
-
-src_compile() {
- _emake XCFLAGS="$(usex lua52compat "-DLUAJIT_ENABLE_LUA52COMPAT" "")"
-}
-
-src_install() {
- _emake install
-
- pax-mark m "${ED}usr/bin/luajit-${MY_PV}"
-
- HTML_DOCS="doc/." einstalldocs
-}