summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-freebsd/freebsd-lib/ChangeLog7
-rw-r--r--sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta2.ebuild14
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
}