diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-lang/luajit | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-lang/luajit')
-rw-r--r-- | dev-lang/luajit/Manifest | 10 | ||||
-rw-r--r-- | dev-lang/luajit/files/CVE-2020-15890.patch | 22 | ||||
-rw-r--r-- | dev-lang/luajit/files/luajit-2-ldconfig.patch | 31 | ||||
-rw-r--r-- | dev-lang/luajit/luajit-2.0.5-r3.ebuild | 74 | ||||
-rw-r--r-- | dev-lang/luajit/luajit-2.1.0_beta3_p20220127-r2.ebuild (renamed from dev-lang/luajit/luajit-2.1.0_beta3-r2.ebuild) | 15 | ||||
-rw-r--r-- | dev-lang/luajit/luajit-2.1.0_beta3_p20220613.ebuild (renamed from dev-lang/luajit/luajit-2.1.0_beta3_p20220127-r1.ebuild) | 7 |
6 files changed, 11 insertions, 148 deletions
diff --git a/dev-lang/luajit/Manifest b/dev-lang/luajit/Manifest index 9e61bd929def..2ba6b60d1e6c 100644 --- a/dev-lang/luajit/Manifest +++ b/dev-lang/luajit/Manifest @@ -1,9 +1,5 @@ -AUX CVE-2020-15890.patch 660 BLAKE2B ac615accba8c2d914ff9db2bd2306e1f37df6b35f95c524d592952e52134a9c5ea7adcb11edabe95c35a7cb1a1b66f887095ae95f715714fcda5a642876c8e31 SHA512 d227f22f1b7776f36b8a1e1471e6fcb3a2442037e09fcd0f4d489c3853a5cb2916b02cd6ab0194105989502b76bcb03e97ea1825d21212a534344afe96e3448c -AUX luajit-2-ldconfig.patch 1099 BLAKE2B f18beb00b703aa4fd5c6d959b72469c34fb67ba9dd1513831c36d5bdd21144457d70a58948bfc47660eadb130bb4f77d55858cd4e4b7c33860df749b22b727bd SHA512 a86be88b8cf65c5a11defeeb16dab92c7d3fe774b2ecd289d9485342236e14c99b78700082c024b703179b55aedeee98bef43d624af23673cfa7ac68a492c6b1 -DIST LuaJIT-2.0.5.tar.gz 849845 BLAKE2B 961c8622e19b0e66a76a875cb46ad149cb2559b5af41f360dc41dd0d6bb924583e6477dd1329f67c2ac6ea4b8dc42c5e2f4d63ea49400aba4d9e7c7e85e4b085 SHA512 2636675602b4a060b0571c05220db2061dd2f38568e35b2be346a0f5e3128d87057d11d3d0d7567d8cc4e0817b5e4cf2c52a17a48065520962b157816465a9fe -DIST LuaJIT-2.1.0-beta3.tar.gz 1025180 BLAKE2B ac3d12e25bd9946ba41aed6672c66884e7256e6be99d7ee8d1260d697453c966b24d60387f278f47233bad44cda61085c9059e6f62c0bc7cfdaaefde282346c5 SHA512 c44e967a0f671ed32b55aee810bc8b3b63737a2d7363b8984ae1949b24f98dbb3f9be7c1e10239fdeb96a3e3c836f606342cbd61838cf9bcadb077443eb5bc12 DIST luajit-2.1.0_beta3_p20220127.tar.gz 1072282 BLAKE2B e1d4834683b9ec16f0567f5de486262d84af145e3e27724d343c130288e90abff089fd5c7ff1275f9dde3cb5ae4f818f710020bd708c599972a14f1671381c2a SHA512 4c6ae7173bb91dc2d4d425da4afdab2520078e15ae4471c0cb99a255dd7544d6900b333efbbfc8f26ffbc4fcd8f1d2daf65671c59b5cafd6b0d53cb07b49d4ff -EBUILD luajit-2.0.5-r3.ebuild 1685 BLAKE2B 106c16e4a96f50b22cddf2c0276388b6ecf4299815a9f850be98e135e82dd0f95bac1611f45bae3e69a741d7e9e60e41adca4bd5fb656ffe27a5f8d064294464 SHA512 6c6380037212e9ab19aed483ff64bc8390220064ecaf4b4cee6fd88ba721e81b74db2bf9b0daa95416da1644f142c53f58d60fe46f6cff7a440f63bfb9cb08a3 -EBUILD luajit-2.1.0_beta3-r2.ebuild 1447 BLAKE2B d55054d0b5659da46eb1144f0566013f4b7e8786309ee04401169be5d2222b07fc390ff64420b73442d355b32b28649296577c75f2c8f46a163b523a628c3d2f SHA512 6041e17d8ce89815ec6f5c2e27cf50796063f2bc60815fce1e7cd129ff26dce06c425977da2a16eac8140d5b663636b7440bc50e7bb135bede94a764f7024060 -EBUILD luajit-2.1.0_beta3_p20220127-r1.ebuild 1612 BLAKE2B c15cac290782fe18d078953e3a9c7179b1b774c2c0276e1edfcaba92aae06e39645f1f384f39474dbfb7343c1bbf5e06388ca4d1834a248a3372a76ae35f2952 SHA512 47616426bb44fff69896678bdd421bb83c1f3d9adc6d06ee91815e382883feff5180abcbb15f350d8d2a4e063b4c4d81e2b68561e7d8dc3ff6d1785cfcdf23bb +DIST luajit-2.1.0_beta3_p20220613.tar.gz 1074088 BLAKE2B dbcfd4efcffb9b659a85af753017da5ca9b95e89a03dfe4e594513f2ad09b08e19a862527d41bd5adf8473afd022a471176ff5412975af47bdd785b9b9cfd43b SHA512 e4fc6ebde9cd9efc5e9936416526a0f581186bf0661eca60a50bcf5048312e02f66dc905308d63abda03380c33aa2e64ceddd87527d59a4488ae7f4aeaf36dfe +EBUILD luajit-2.1.0_beta3_p20220127-r2.ebuild 1600 BLAKE2B 2f4a03043d87f3baf302baeddfb26fed0c0b1ca74ebb1c612e886c61e912bbf5712ed6a8b3880627f89f7ed4e6cbfa78496d18579006ec0b1bd35d3995cb696b SHA512 8c4949a6abd8bb7fdeeb9df5e60144e1c021bd05186bb28bd0e805b2c43022eb643f8b5004e31ed3485c992550ec241b0ea262c8b0a9a138b7769f13e8c112ef +EBUILD luajit-2.1.0_beta3_p20220613.ebuild 1605 BLAKE2B 948aba933fc5468193638e0b434dd7baca5351685bfcf00b5adf1959fd8a3b15c5e469971aa6dd6d6597a808864e6dbadd6ce5592adc0cf711692e776802bb36 SHA512 edb2e18b5da0f94c72e991c5dafebcf7c08e273d6d9c6d6a3adc72736ae6cf3399e13aeda9e46dd04618b8c5cbe9dd068c198e0a900042eae72c020939b499a8 MISC metadata.xml 421 BLAKE2B 676a174efc8aea4ede702c923aa8921baaec47a76e3cd984578fb2b4494128ecc5a3bea3a7a72e3da4bb5ccf12cee52b6e463397ddc82eda6a500cf6b142afea SHA512 50a886d462403199a6b0b8e64d38644550175b4dbf2c57f72177fa8f900bc06a949443bd31fb89a9fd4922de0faa0e633f013b265a023b9fc72cbe13df95809e diff --git a/dev-lang/luajit/files/CVE-2020-15890.patch b/dev-lang/luajit/files/CVE-2020-15890.patch deleted file mode 100644 index 751726571a05..000000000000 --- a/dev-lang/luajit/files/CVE-2020-15890.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 53f82e6e2e858a0a62fd1a2ff47e9866693382e6 Mon Sep 17 00:00:00 2001 -From: Mike Pall <mike> -Date: Sun, 12 Jul 2020 14:30:34 +0200 -Subject: [PATCH] Fix frame traversal for __gc handler frames. - -Reported by Changochen. ---- - src/lj_err.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/lj_err.c b/src/lj_err.c -index caa7487f2..e3e0c2eb7 100644 ---- a/src/lj_err.c -+++ b/src/lj_err.c -@@ -529,6 +529,7 @@ static ptrdiff_t finderrfunc(lua_State *L) - if (cframe_canyield(cf)) return 0; - if (cframe_errfunc(cf) >= 0) - return cframe_errfunc(cf); -+ cf = cframe_prev(cf); - frame = frame_prevd(frame); - break; - case FRAME_PCALL: diff --git a/dev-lang/luajit/files/luajit-2-ldconfig.patch b/dev-lang/luajit/files/luajit-2-ldconfig.patch deleted file mode 100644 index add449a60381..000000000000 --- a/dev-lang/luajit/files/luajit-2-ldconfig.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 18c9cf7d3788a8f7408df45df92fc4ae3bcc0d80 Mon Sep 17 00:00:00 2001 -From: Mike Pall <mike> -Date: Sat, 25 Jan 2020 17:37:12 +0100 -Subject: [PATCH] Fix POSIX install with missing or incompatible ldconfig. - ---- - Makefile | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Makefile b/Makefile -index 07bc70faf..bff53f286 100644 ---- a/Makefile -+++ b/Makefile -@@ -74,7 +74,7 @@ SYMLINK= ln -sf - INSTALL_X= install -m 0755 - INSTALL_F= install -m 0644 - UNINSTALL= $(RM) --LDCONFIG= ldconfig -n -+LDCONFIG= ldconfig -n 2>/dev/null - SED_PC= sed -e "s|^prefix=.*|prefix=$(PREFIX)|" \ - -e "s|^multilib=.*|multilib=$(MULTILIB)|" - -@@ -118,7 +118,7 @@ install: $(INSTALL_DEP) - $(RM) $(INSTALL_TSYM) $(INSTALL_DYN) $(INSTALL_SHORT1) $(INSTALL_SHORT2) - cd src && test -f $(FILE_SO) && \ - $(INSTALL_X) $(FILE_SO) $(INSTALL_DYN) && \ -- $(LDCONFIG) $(INSTALL_LIB) && \ -+ ( $(LDCONFIG) $(INSTALL_LIB) || : ) && \ - $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT1) && \ - $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT2) || : - cd etc && $(INSTALL_F) $(FILE_MAN) $(INSTALL_MAN) diff --git a/dev-lang/luajit/luajit-2.0.5-r3.ebuild b/dev-lang/luajit/luajit-2.0.5-r3.ebuild deleted file mode 100644 index b7345d4525cd..000000000000 --- a/dev-lang/luajit/luajit-2.0.5-r3.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit pax-utils toolchain-funcs - -MY_PV="$(ver_cut 1-3)" -MY_P="LuaJIT-${MY_PV}" -if [[ -n $(ver_cut 4) ]]; then - HOTFIX="v${PV}" - HOTFIX="${HOTFIX/_p/_hotfix}.patch" -fi - -DESCRIPTION="Just-In-Time Compiler for the Lua programming language" -HOMEPAGE="https://luajit.org/" -SRC_URI="https://luajit.org/download/${MY_P}.tar.gz - ${HOTFIX:+https://luajit.org/download/${HOTFIX}}" - -LICENSE="MIT" -# this should probably be pkgmoved to 2.0 for sake of consistency. -SLOT="2" -KEYWORDS="amd64 arm -hppa ppc -riscv -sparc x86 ~amd64-linux ~x86-linux" -IUSE="lua52compat static-libs" - -PATCHES=( - "${FILESDIR}/${PN}-2-ldconfig.patch" - "${FILESDIR}/CVE-2020-15890.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}" \ - CFLAGS="" \ - LDFLAGS="" \ - HOST_CC="$(tc-getBUILD_CC)" \ - HOST_CFLAGS="${BUILD_CPPFLAGS} ${BUILD_CFLAGS}" \ - HOST_LDFLAGS="${BUILD_LDFLAGS}" \ - STATIC_CC="$(tc-getCC)" \ - DYNAMIC_CC="$(tc-getCC) -fPIC" \ - TARGET_LD="$(tc-getCC)" \ - TARGET_CFLAGS="${CPPFLAGS} ${CFLAGS}" \ - TARGET_LDFLAGS="${LDFLAGS}" \ - TARGET_AR="$(tc-getAR) rcus" \ - BUILDMODE="$(usex static-libs mixed dynamic)" \ - TARGET_STRIP="true" \ - INSTALL_LIB="${ED}/usr/$(get_libdir)" \ - "$@" -} - -src_compile() { - tc-export_build_env - _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-r2.ebuild b/dev-lang/luajit/luajit-2.1.0_beta3_p20220127-r2.ebuild index 139c920dcc08..6735d5ae4d00 100644 --- a/dev-lang/luajit/luajit-2.1.0_beta3-r2.ebuild +++ b/dev-lang/luajit/luajit-2.1.0_beta3_p20220127-r2.ebuild @@ -2,6 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 +GIT_COMMIT=1d7b5029c5ba36870d25c67524034d452b761d27 inherit pax-utils toolchain-funcs @@ -12,19 +13,15 @@ MY_P="LuaJIT-${MY_PV}" DESCRIPTION="Just-In-Time Compiler for the Lua programming language" HOMEPAGE="https://luajit.org/" SRC_URI="https://luajit.org/download/${MY_P}.tar.gz" +SRC_URI="https://github.com/LuaJIT/LuaJIT/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" # this should probably be pkgmoved to 2.0 for sake of consistency. -SLOT="2" -KEYWORDS="arm64 -hppa -riscv -sparc" +SLOT="2/${PV}" +KEYWORDS="amd64 arm arm64 -hppa ppc -riscv -sparc x86 ~amd64-linux ~x86-linux" IUSE="lua52compat static-libs" -PATCHES=( - "${FILESDIR}/${PN}-2-ldconfig.patch" - "${FILESDIR}/CVE-2020-15890.patch" -) - -S="${WORKDIR}/${MY_P}" +S="${WORKDIR}/LuaJIT-${GIT_COMMIT}" _emake() { emake \ @@ -56,7 +53,7 @@ src_compile() { src_install() { _emake install - +dosym luajit-2.1.0-beta3 /usr/bin/luajit pax-mark m "${ED}/usr/bin/luajit-${MY_PV}" HTML_DOCS="doc/." einstalldocs diff --git a/dev-lang/luajit/luajit-2.1.0_beta3_p20220127-r1.ebuild b/dev-lang/luajit/luajit-2.1.0_beta3_p20220613.ebuild index 804ab4ffd9d0..e5985feb3a90 100644 --- a/dev-lang/luajit/luajit-2.1.0_beta3_p20220127-r1.ebuild +++ b/dev-lang/luajit/luajit-2.1.0_beta3_p20220613.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -GIT_COMMIT=1d7b5029c5ba36870d25c67524034d452b761d27 +GIT_COMMIT=0065cff7e0222c234b75a71e72b8883df5d000c2 inherit pax-utils toolchain-funcs @@ -17,13 +17,10 @@ SRC_URI="https://github.com/LuaJIT/LuaJIT/archive/${GIT_COMMIT}.tar.gz -> ${P}.t LICENSE="MIT" # this should probably be pkgmoved to 2.0 for sake of consistency. -SLOT="2" +SLOT="2/${PV}" KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc -riscv -sparc ~x86 ~amd64-linux ~x86-linux" IUSE="lua52compat static-libs" -PATCHES=( -) - S="${WORKDIR}/LuaJIT-${GIT_COMMIT}" _emake() { |