Skip to content

Commit

Permalink
dev-lang/mujs: version bump to 0_p20161202
Browse files Browse the repository at this point in the history
Upstream says it solves CVE-2016-7563 and CVE-2016-7564.
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=595538

- Removed src_install
- Replaced eapply with PATCHES array
- Do not inherit eutils
- Then moving from 20161031 to 20161202 snapshot
Closes: gentoo#3094
  • Loading branch information
charIes17 authored and SoapGentoo committed Jan 4, 2017
1 parent 4d32a23 commit cabf9aa
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-lang/mujs/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
DIST mujs-0_p20150202.tar.gz 96743 SHA256 c757bfec7ad9864d85d710cd0b413a4909e9dfc418e036e7b0692bb6acd25305 SHA512 28a1b95fcf09098e0882fe0bc989696961c39ae9d4fb2d00f61b84778431b1c9973f1dcc3c9dee277ba4827b2bf1fd323502d9c6469cb5179c6fb1a04bbbd0e1 WHIRLPOOL 17166bad1594bcee38569531ded73abf24f99b98d7434f535775287d1baa16f2106a53a05359d40c504fbf64981e9bd92ccdbab14a41afa03d9a0d34dd553a94
DIST mujs-0_p20160504.tar.gz 104982 SHA256 8c3bf2bc7a1b0dadf4ef5078aa4234692a98a979890d7866672127b375d3948f SHA512 13ba2bb9c2d6f15787fc2ed79534af511d100b1dadcac92b729a27815e4f8d8eb10e507f010d1be32f927b54e4a41d395de97cbc645ab34db012267410bc6d47 WHIRLPOOL 2f328c7fe7744ded0d13c00dbd5e6813bf05d7f3ef977c4901c02f00764c82d6c06ceb3b8c16a046c93889eb1ac27cb5f5b1f0472de000defdbc54176a1863bd
DIST mujs-0_p20161202.tar.gz 105413 SHA256 45754e225357d7707905e14a8709057b8089fb3977fad8611f220aececb5507c SHA512 90dd1bce44740715a6f642bdb376be230c4a03c7970c2026479cf014a080b98b56a2131ca7ef8bf9c05b91285fe7dcc21dd4ca83879750351d57088408a62cbc WHIRLPOOL 5450af5567c19903a1548103b0b4a6d0f8cf83a68f3c377be0dd455cea8cf287dbd821db144c03a8322f0064f535a4540aeb234939b3e56c32efd1090624ccaa
31 changes: 31 additions & 0 deletions dev-lang/mujs/mujs-0_p20161202.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

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="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
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
}

0 comments on commit cabf9aa

Please sign in to comment.