summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2014-02-25 08:15:17 +0000
committerPatrick Lauer <patrick@gentoo.org>2014-02-25 08:15:17 +0000
commit9d155a02700b628ef26be4b20205f05c91e2194e (patch)
tree25a01866ffdc66185db256a8a119818aedf9ccf6 /sys-apps/proot
parentFix gem specification to not use leading spaces, fixing a repoman warning. (diff)
downloadgentoo-2-9d155a02700b628ef26be4b20205f05c91e2194e.tar.gz
gentoo-2-9d155a02700b628ef26be4b20205f05c91e2194e.tar.bz2
gentoo-2-9d155a02700b628ef26be4b20205f05c91e2194e.zip
Bump
(Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'sys-apps/proot')
-rw-r--r--sys-apps/proot/ChangeLog10
-rw-r--r--sys-apps/proot/proot-3.2.2.ebuild51
2 files changed, 58 insertions, 3 deletions
diff --git a/sys-apps/proot/ChangeLog b/sys-apps/proot/ChangeLog
index 93d96d29e7aa..398435bc4198 100644
--- a/sys-apps/proot/ChangeLog
+++ b/sys-apps/proot/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/proot
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/proot/ChangeLog,v 1.4 2013/12/23 16:18:23 pinkbyte Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/proot/ChangeLog,v 1.5 2014/02/25 08:15:17 patrick Exp $
+
+*proot-3.2.2 (25 Feb 2014)
+
+ 25 Feb 2014; Patrick Lauer <patrick@gentoo.org> +proot-3.2.2.ebuild:
+ Bump
*proot-3.2.1-r1 (23 Dec 2013)
@@ -25,4 +30,3 @@
+files/proot-2.3.1-lib-paths-fix.patch, +files/proot-2.3.1-makefile.patch,
+metadata.xml:
Initial commit, wrt bug #439324, thanks to James Le Cuirot
-
diff --git a/sys-apps/proot/proot-3.2.2.ebuild b/sys-apps/proot/proot-3.2.2.ebuild
new file mode 100644
index 000000000000..f7d79d402715
--- /dev/null
+++ b/sys-apps/proot/proot-3.2.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/proot/proot-3.2.2.ebuild,v 1.1 2014/02/25 08:15:17 patrick Exp $
+
+EAPI=5
+MY_PN="PRoot"
+
+inherit eutils pax-utils toolchain-funcs
+
+DESCRIPTION="User-space implementation of chroot, mount --bind, and binfmt_misc"
+HOMEPAGE="http://proot.me"
+SRC_URI="https://github.com/cedric-vincent/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="sys-libs/talloc"
+DEPEND="${RDEPEND}
+ test? ( dev-util/valgrind )"
+
+# Breaks sandbox
+RESTRICT="test"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-3.2.1-makefile.patch" \
+ "${FILESDIR}/${PN}-2.3.1-lib-paths-fix.patch"
+ epatch_user
+}
+
+src_compile() {
+ emake -C src V=1 \
+ CC="$(tc-getCC)" \
+ CHECK_VERSION="true"
+}
+
+src_install() {
+ # Workaround for bug #493416
+ pax-mark -Emp src/proot
+
+ dobin src/proot
+ doman doc/proot.1
+ dodoc doc/*.txt doc/articles/*
+}
+
+src_test() {
+ emake -C tests -j1 CC="$(tc-getCC)"
+}