From 0c3358021f298923c2409cff78dfa2bdc0d5592b Mon Sep 17 00:00:00 2001 From: Tony Vroon Date: Tue, 17 Jan 2012 09:13:26 +0000 Subject: Drop pax RWX mapping restrictions on hardened systems to avoid (uninformative) start-up failure. Approved by Patrick "bonsaikitten" Lauer on #gentoo-dev; fix suggested by Anthony "blueness" Basile in bug #368153. (Portage version: 2.1.10.44/cvs/Linux x86_64) --- net-libs/nodejs/ChangeLog | 9 ++++++- net-libs/nodejs/nodejs-0.6.7-r1.ebuild | 43 ++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 net-libs/nodejs/nodejs-0.6.7-r1.ebuild (limited to 'net-libs') diff --git a/net-libs/nodejs/ChangeLog b/net-libs/nodejs/ChangeLog index 20f741d98e15..7464d5d7b298 100644 --- a/net-libs/nodejs/ChangeLog +++ b/net-libs/nodejs/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-libs/nodejs # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.23 2012/01/11 07:44:30 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.24 2012/01/17 09:13:26 chainsaw Exp $ + +*nodejs-0.6.7-r1 (17 Jan 2012) + + 17 Jan 2012; Tony Vroon +nodejs-0.6.7-r1.ebuild: + Drop pax RWX mapping restrictions on hardened systems to avoid + (uninformative) start-up failure. Approved by Patrick "bonsaikitten" Lauer on + #gentoo-dev; fix suggested by Anthony "blueness" Basile in bug #368153. *nodejs-0.6.7 (11 Jan 2012) diff --git a/net-libs/nodejs/nodejs-0.6.7-r1.ebuild b/net-libs/nodejs/nodejs-0.6.7-r1.ebuild new file mode 100644 index 000000000000..90cc5ccbf0e9 --- /dev/null +++ b/net-libs/nodejs/nodejs-0.6.7-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/nodejs-0.6.7-r1.ebuild,v 1.1 2012/01/17 09:13:26 chainsaw Exp $ + +EAPI="2" + +inherit eutils pax-utils + +# omgwtf +RESTRICT="test" + +DESCRIPTION="Evented IO for V8 Javascript" +HOMEPAGE="http://nodejs.org/" +SRC_URI="http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=dev-lang/v8-3.5.10.22 + dev-libs/openssl" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/node-v${PV} + +src_configure() { + # this is a waf confuserator + ./configure --shared-v8 --prefix=/usr || die +} + +src_compile() { + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + pax-mark -m "${D}"/usr/bin/node +} + +src_test() { + emake test || die +} -- cgit v1.2.3-65-gdbad