commit:     d64139fbc5e17baed1d1f36a221286e1b0aa3096
Author:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 17 20:11:39 2018 +0000
Commit:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Sat Nov 17 20:12:28 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d64139fb

dev-lang/mujs: remove old and vulnerable

Bug: https://bugs.gentoo.org/646784
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-lang/mujs/Manifest                             |  1 -
 .../mujs/files/mujs-0_p20150202-Makefile.patch     | 28 ------------------
 dev-lang/mujs/mujs-0_p20161202.ebuild              | 34 ----------------------
 3 files changed, 63 deletions(-)

diff --git a/dev-lang/mujs/Manifest b/dev-lang/mujs/Manifest
index f05faac21e9..5f729fce1ca 100644
--- a/dev-lang/mujs/Manifest
+++ b/dev-lang/mujs/Manifest
@@ -1,3 +1,2 @@
-DIST mujs-0_p20161202.tar.gz 105413 BLAKE2B 
a65a343d6f60975c88001cdd8eae881559eaf8ba94cf26c8aa9a9a3837cd47ee798c784ed9e90380a76ef328e56d63d1dccd8a85a4a7496d31046d221cf8d7b9
 SHA512 
90dd1bce44740715a6f642bdb376be230c4a03c7970c2026479cf014a080b98b56a2131ca7ef8bf9c05b91285fe7dcc21dd4ca83879750351d57088408a62cbc
 DIST mujs-1.0.4.tar.xz 91520 BLAKE2B 
6ffe62b19b140e2ae63ebe59a3b3bd352936ccba53dda3b0fcf575440dc790a0767c7de8c0a1441d26c11c65074520a80050cc0efa1113be0df51a802e719574
 SHA512 
a32498fee20ab6ddc8bbf79b4fdd82f3560d4e4b28bbe57c4e8f1df4a8a5367a689b6c9a391761abe47a8f15d2832fede4a508330eb181744b9563ae9954c102
 DIST mujs-1.0.5.tar.gz 119353 BLAKE2B 
48f1b598e50d5804b0d64230cdd6b4d3f719187ea0906f45c9f45baee2c8df59c6fd09dc25afc9e1ce4e20a9866d158d16a4632bec552fddd8fac70b20e2363f
 SHA512 
c1c59b5e80e0e5f580f30dfc0b4707b6a1e44a73c746b9783bb24d91429ddf8ed670a7663478300cc568cfc15a511720b6d18be2ade40a3a66fc7ab8f3933c2d

diff --git a/dev-lang/mujs/files/mujs-0_p20150202-Makefile.patch 
b/dev-lang/mujs/files/mujs-0_p20150202-Makefile.patch
deleted file mode 100644
index 4dca385e379..00000000000
--- a/dev-lang/mujs/files/mujs-0_p20150202-Makefile.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- mujs-0_p20150202/Makefile
-+++ mujs-0_p20150202/Makefile
-@@ -2,23 +2,17 @@
- HDRS := $(wildcard js*.h mujs.h utf.h regex.h)
- OBJS := $(SRCS:%.c=build/%.o)
- 
--prefix ?= /usr/local
-+prefix ?= /usr
- bindir ?= $(prefix)/bin
- incdir ?= $(prefix)/include
- libdir ?= $(prefix)/lib
- 
--CFLAGS := -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter
-+CFLAGS += -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter
- 
- ifeq "$(CC)" "clang"
- CFLAGS += -Wunreachable-code
- endif
- 
--ifeq "$(build)" "debug"
--CFLAGS += -g
--else
--CFLAGS += -O2
--endif
--
- default: build build/mujs build/mujsone
- 
- debug:

diff --git a/dev-lang/mujs/mujs-0_p20161202.ebuild 
b/dev-lang/mujs/mujs-0_p20161202.ebuild
deleted file mode 100644
index 629e6c0a776..00000000000
--- a/dev-lang/mujs/mujs-0_p20161202.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic toolchain-funcs vcs-snapshot
-
-DESCRIPTION="lightweight Javascript interpreter"
-HOMEPAGE="http://mujs.com/";
-SRC_URI="http://git.ghostscript.com/?p=mujs.git;a=snapshot;h=fd003eceda531e13fbdd1aeb6e9c73156496e569;sf=tgz
 -> ${P}.tar.gz"
-
-LICENSE="AGPL-3"
-SLOT="0"
-KEYWORDS="arm"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-0_p20150202-Makefile.patch"
-       # workaround for linkage of app-text/mupdf-1.7a
-       # TODO: generate a shared library and IUSE=static-libs
-)
-
-src_prepare() {
-       default
-       append-cflags -fPIC
-       tc-export CC
-}
-
-src_install() {
-       emake DESTDIR="${ED}" install
-}

Reply via email to