diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-10-22 11:36:19 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-10-22 11:36:19 +0000 |
commit | c1426480c9b896b19d5269b622fbcb9cebaa2aa1 (patch) | |
tree | d6f8f6c379a2928acd0ed78e3232360581453a94 /sys-freebsd | |
parent | Added monodoc dependency to mono-fuse-0.4.0.ebuild (diff) | |
download | gentoo-2-c1426480c9b896b19d5269b622fbcb9cebaa2aa1.tar.gz gentoo-2-c1426480c9b896b19d5269b622fbcb9cebaa2aa1.tar.bz2 gentoo-2-c1426480c9b896b19d5269b622fbcb9cebaa2aa1.zip |
Install a sandbox configuration file to allow /dev/crypto access in sandbox, to close bug #138344.
(Portage version: 2.1.2_pre3-r6)
Diffstat (limited to 'sys-freebsd')
-rw-r--r-- | sys-freebsd/freebsd-lib/ChangeLog | 7 | ||||
-rw-r--r-- | sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta2.ebuild | 14 |
2 files changed, 17 insertions, 4 deletions
diff --git a/sys-freebsd/freebsd-lib/ChangeLog b/sys-freebsd/freebsd-lib/ChangeLog index 10d81a013ff7..355dc47f3407 100644 --- a/sys-freebsd/freebsd-lib/ChangeLog +++ b/sys-freebsd/freebsd-lib/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-freebsd/freebsd-lib # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v 1.36 2006/10/19 04:28:12 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v 1.37 2006/10/22 11:36:19 flameeyes Exp $ + + 22 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> + freebsd-lib-6.2_beta2.ebuild: + Install a sandbox configuration file to allow /dev/crypto access in sandbox, + to close bug #138344. 19 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: Remove 6.2_beta1 ebuild. diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta2.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta2.ebuild index 46facdcf9173..d06d67756783 100644 --- a/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta2.ebuild +++ b/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta2.ebuild,v 1.6 2006/10/17 10:16:05 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta2.ebuild,v 1.7 2006/10/22 11:36:19 flameeyes Exp $ inherit bsdmk freebsd flag-o-matic toolchain-funcs @@ -233,13 +233,21 @@ src_install() { # install libstand files dodir /usr/include/libstand insinto /usr/include/libstand - doins ${S}/libstand/*.h + doins "${S}"/libstand/*.h - cd ${WORKDIR}/etc/ + cd "${WORKDIR}/etc/" insinto /etc doins auth.conf nls.alias mac.conf netconfig # Install ttys file doins "etc.$(tc-arch-kernel)"/* + + dodir /etc/sandbox.d + cat - > "${D}"/etc/sandbox.d/00freebsd <<EOF +# /dev/crypto is used mostly by OpenSSL on *BSD platforms +# leave it available as packages might use OpenSSL commands +# during compile or install phase. +SANDBOX_PREDICT="/dev/crypto" +EOF } |