summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2012-01-17 09:13:26 +0000
committerTony Vroon <chainsaw@gentoo.org>2012-01-17 09:13:26 +0000
commit0c3358021f298923c2409cff78dfa2bdc0d5592b (patch)
tree320d5e4d1e9bca12088161978aec20ab670bb1a0 /net-libs
parentVersion bump. (diff)
downloadgentoo-2-0c3358021f298923c2409cff78dfa2bdc0d5592b.tar.gz
gentoo-2-0c3358021f298923c2409cff78dfa2bdc0d5592b.tar.bz2
gentoo-2-0c3358021f298923c2409cff78dfa2bdc0d5592b.zip
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)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/nodejs/ChangeLog9
-rw-r--r--net-libs/nodejs/nodejs-0.6.7-r1.ebuild43
2 files changed, 51 insertions, 1 deletions
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 <chainsaw@gentoo.org> +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
+}