diff options
author | charIes17 <charIes17@users.noreply.github.com> | 2016-12-12 00:19:24 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-01-04 14:34:36 +0200 |
commit | cabf9aaf77da67f048cd106a3170be6de2c2de59 (patch) | |
tree | 45a254a3b98a0711c867865b574ce3e829d331f3 /dev-lang/mujs | |
parent | x11-libs/libqxt: Add gcc 6 patch (diff) | |
download | gentoo-cabf9aaf77da67f048cd106a3170be6de2c2de59.tar.gz gentoo-cabf9aaf77da67f048cd106a3170be6de2c2de59.tar.bz2 gentoo-cabf9aaf77da67f048cd106a3170be6de2c2de59.zip |
dev-lang/mujs: version bump to 0_p20161202
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: https://github.com/gentoo/gentoo/pull/3094
Diffstat (limited to 'dev-lang/mujs')
-rw-r--r-- | dev-lang/mujs/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/mujs/mujs-0_p20161202.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-lang/mujs/Manifest b/dev-lang/mujs/Manifest index 8dd8e83cecb6..0d9cdc2b8995 100644 --- a/dev-lang/mujs/Manifest +++ b/dev-lang/mujs/Manifest @@ -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 diff --git a/dev-lang/mujs/mujs-0_p20161202.ebuild b/dev-lang/mujs/mujs-0_p20161202.ebuild new file mode 100644 index 000000000000..30bd984d9086 --- /dev/null +++ b/dev-lang/mujs/mujs-0_p20161202.ebuild @@ -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 +} |