summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-12-23 16:18:24 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-12-23 16:18:24 +0000
commitce49fe06bae21e32f0819d3aab26c9f8462f831c (patch)
tree41c05bab1c5f5d7bbc48f5f7df83f564b0c97b47 /sys-apps/proot
parentDrop old (diff)
downloadhistorical-ce49fe06bae21e32f0819d3aab26c9f8462f831c.tar.gz
historical-ce49fe06bae21e32f0819d3aab26c9f8462f831c.tar.bz2
historical-ce49fe06bae21e32f0819d3aab26c9f8462f831c.zip
Revision bump: add support for hardened systems, wrt bug #493416
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x1F357D42
Diffstat (limited to 'sys-apps/proot')
-rw-r--r--sys-apps/proot/ChangeLog7
-rw-r--r--sys-apps/proot/Manifest17
-rw-r--r--sys-apps/proot/proot-3.2.1-r1.ebuild51
3 files changed, 66 insertions, 9 deletions
diff --git a/sys-apps/proot/ChangeLog b/sys-apps/proot/ChangeLog
index 7cdb8ce423de..93d96d29e7aa 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.3 2013/12/23 16:13:57 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/proot/ChangeLog,v 1.4 2013/12/23 16:18:23 pinkbyte Exp $
+
+*proot-3.2.1-r1 (23 Dec 2013)
+
+ 23 Dec 2013; Sergey Popov <pinkbyte@gentoo.org> +proot-3.2.1-r1.ebuild:
+ Revision bump: add support for hardened systems, wrt bug #493416
23 Dec 2013; Sergey Popov <pinkbyte@gentoo.org> -proot-2.3.1.ebuild,
-files/proot-2.3.1-gnu-define-fix.patch, -files/proot-2.3.1-makefile.patch:
diff --git a/sys-apps/proot/Manifest b/sys-apps/proot/Manifest
index cac62842da24..cb0c8532024e 100644
--- a/sys-apps/proot/Manifest
+++ b/sys-apps/proot/Manifest
@@ -4,17 +4,18 @@ Hash: SHA256
AUX proot-2.3.1-lib-paths-fix.patch 700 SHA256 e85bcf46445a09eaa124a8446e41f9ade9367030761dfc0a9028778c36ee3703 SHA512 90c5b6fa8d9e98de79d2c1344508a82be22ccc334cfcf8b6d60a2004a445a1c683fa538dd57958ba6491e26a1997fcfa8daa44f3a8001424470c85ece56c34a9 WHIRLPOOL 2fa6f9017bb7c2972199e84e1abc7c54f7b5bfbe987eac5fb7e38741a89c9f822a83a4da49a54c61c6279407746c120d8aac0b48627d0387cc333347508d6f36
AUX proot-3.2.1-makefile.patch 327 SHA256 65c4a51860444d37fd633486cb53a34f9630ed143d1b28f681c82905dc6ee463 SHA512 8c1614b5c47ffddbbf59f1a47d60d7fa43c03a31612a1b8c699c8ea9c0a4f319ab326bb713e0c0dc6bcb8d7b38282a181e89f7429c7aaccc7340da0769235a57 WHIRLPOOL bc94159a67f0b67f11d475b29764251ad77a60a8d6c9c33bc85c7eb4de9540eaaefdbf92425c57a9028bdd87933e5945c88bfe06b52aba267d8fd63f98b0609c
DIST proot-3.2.1.tar.gz 150884 SHA256 53b073485e3d4a38be6cf4b9d037d232b6340782ad89c666dbdbe06ed9752da9 SHA512 a91600aee82040d04e9179fd35084ea9cf22422097e1fb5a5772e5a4fead62d905b84f8393e88dbed31b0a2709538a5274e22148825fa7cd18ded80998f01493 WHIRLPOOL f15d3571fcfe42f77b4d29b2cfe385695e82d3d1608edbdf16426986e1026eff7be01dee4503a385d0ef1464049b7dc30ffc710fab480c5ce88f56299a42bd2f
+EBUILD proot-3.2.1-r1.ebuild 1089 SHA256 fa59c30e7fa93d8ad8ff0e7f2fdd133a97a47dec9144c328f9b12ccb9ffcb2fd SHA512 abebec32ee958f00a06ce0ceb9fed8a7ac99d42cc9bb023a39f35d0b7a040efdf1a5f3ebf437f819584a4af47a2a47a84ecd283117149d2c530181a886021d0d WHIRLPOOL f1373e8736ca0c52d5fd0ba2e2104e15ea9fba3854e1a7258a0df06dbebe07716f636d83b505b0296678197a1e7afd26ba5f59f71e04fda65afca50f46748fe6
EBUILD proot-3.2.1.ebuild 1020 SHA256 3dcd73030ee1c93182ca5d4c8d48f430a9df419d7f30db59924e46eaf94e786f SHA512 d42bc8f41be50220db7509b1b05b6539ac9aa915c5ce86da955fae369a2c1beb2aa9fdb0942a93ef14a32b104d4c25afa56a21c93a43e2d0785aafa2cf7be1da WHIRLPOOL 674b4e75e41705790117b462a1fd2441d3634c687ecb1ccdf3f63eabbbc5fd983ea38d2982fa6b6e5ff263bddb5bf0fef2875777a5062900be712f9d49a8a4db
-MISC ChangeLog 882 SHA256 6b5561613782a31c640cdf2894542531eb8ce43ad0b957cc7632fc86260ca566 SHA512 ad632a705637ea13770ff5dc64e1d4e0ed8fb9257e39a7bb388a6223e8c53865768dbc89effa61b9f30d335513575c3e761ab4518032c873a81db8d398137e65 WHIRLPOOL 0cc2df7ebdde0e97aa7b339a957b61049da25093e34061a76d15df38d71ba6bb3c737fbf5f426533fac6ee0e6bf55b47bfbd804097d502309c550a62c4bedab4
+MISC ChangeLog 1055 SHA256 4dd45337194f2fac446c2d1bc5eb3021830e936bcb998cf06448fe496e305a07 SHA512 d8019dbaae54d9b5c039a57843844b091ae8f02ca39b202b264d610b9c8f57c10406782a4069395974834fbcf114bdaf847c1930ae2838c430c25fe6e6099eb4 WHIRLPOOL 0731418b16edb54b203668045b442a60d3b37cea13992a1b82ab56ed64a27c29a5cd7f63ef1e77a34210c8c9984c39022aebac904ee58428ece005c8f71f807b
MISC metadata.xml 658 SHA256 1e806c467ef36ce12640239fedd87d285fecea76f2daa567bd5f4a72ce6b8f3a SHA512 1d5d3846b5edcd027df90a21b168eebc1f092f95840d5d60146e3ac2d05b70b0b75fd6df8fba1dfed824e307c82139f9c8ea94414071082ad0c93aec00306821 WHIRLPOOL 85ff13b91832d227b51690100696a202580f925f633a7deefed55cff624da0c0881a5b28202ce26b311e2443aee169788c9990366f499e90cc0f3b1e5a6746c5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQEcBAEBCAAGBQJSuGFQAAoJECo/aRed9267btMIALXPNXBv6iPU36VlEEo4LbE4
-3Uz/0fa//tnDIjlLl3VL9vYTphPgh3F5ExcK6tDjiGMuUvQMFPtEqVfc/ktrh96k
-6+XqIXpfaGGQ02WvcoGjlmtqaJGxjmi9EBCU8EKQW7CnSx5uEhAtwZW1QaMTlD0c
-2etc7+JErJ+4PVLA1zHE0XjyaFoL6icJ1JYRmAvlLoedmFE/veZNTykvcTftMYjd
-NvLb2z7JMt7MHQmf+2o6ZgOjNS86GqnEzmBBPhYHA/Lggm3sP148vqHz76nrd4p+
-5UtwOums0HrTigMgojUEWj86piKuwbalkfVn7qSmCrXnUPkgxtsgKMRaBkULzBo=
-=75jH
+iQEcBAEBCAAGBQJSuGJQAAoJECo/aRed92676X8H/3dwx/QXmvmamQBtx+61MvIe
+S+Wl5sg0AOXM9EqFa51nShcmPnQKlpBKR3P1VVK0vWp+ETi0LPCoRdNE/3u316Po
+29N0jFzfP+HPUQ4ldwtoLRcs1PDiU+i/yFUIKKm7Ia7TgorJXznhlrPlhOcanlCZ
+FiVqfQBrervpiTzI8wSTQg7JZAKCYetEbWOT8fvSj45CRdnjddzooP9UgZGESeHt
+jdobwbOAdF/uotZvTBPQvVJ5OE/7hmmUi+ul/w4pSFHsP33d2wZ2jeTPECRJ+Kmf
+SBddTRQZ0Fg+xBCT2VnNn4Mb94NW1uKqzdsmgLoWKhhk/uu5U9dOYRn6/bgooYU=
+=4FiE
-----END PGP SIGNATURE-----
diff --git a/sys-apps/proot/proot-3.2.1-r1.ebuild b/sys-apps/proot/proot-3.2.1-r1.ebuild
new file mode 100644
index 000000000000..fb5500d1e550
--- /dev/null
+++ b/sys-apps/proot/proot-3.2.1-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/proot/proot-3.2.1-r1.ebuild,v 1.1 2013/12/23 16:18:23 pinkbyte 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}/${P}-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)"
+}