1 |
vapier 09/10/26 07:05:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: sandbox-2.2.ebuild |
5 |
Log: |
6 |
Version bump (includes fixes for #202765 #288227 #288863 and SPARC ptrace). |
7 |
(Portage version: 2.2_rc46/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.131 sys-apps/sandbox/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sandbox/ChangeLog?rev=1.131&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sandbox/ChangeLog?rev=1.131&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sandbox/ChangeLog?r1=1.130&r2=1.131 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v |
19 |
retrieving revision 1.130 |
20 |
retrieving revision 1.131 |
21 |
diff -u -r1.130 -r1.131 |
22 |
--- ChangeLog 27 Sep 2009 05:38:54 -0000 1.130 |
23 |
+++ ChangeLog 26 Oct 2009 07:05:48 -0000 1.131 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for sys-apps/sandbox |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.130 2009/09/27 05:38:54 vapier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.131 2009/10/26 07:05:48 vapier Exp $ |
29 |
+ |
30 |
+*sandbox-2.2 (26 Oct 2009) |
31 |
+ |
32 |
+ 26 Oct 2009; Mike Frysinger <vapier@g.o> +sandbox-2.2.ebuild: |
33 |
+ Version bump (includes fixes for #202765 #288227 #288863 and SPARC |
34 |
+ ptrace). |
35 |
|
36 |
27 Sep 2009; Mike Frysinger <vapier@g.o> sandbox-2.1.ebuild: |
37 |
Fix new multilib code on non-multilib systems #286599 by Norman Yarvin. |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-apps/sandbox/sandbox-2.2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sandbox/sandbox-2.2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sandbox/sandbox-2.2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: sandbox-2.2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/sandbox-2.2.ebuild,v 1.1 2009/10/26 07:05:48 vapier Exp $ |
51 |
|
52 |
# |
53 |
# don't monkey with this ebuild unless contacting portage devs. |
54 |
# period. |
55 |
# |
56 |
|
57 |
inherit eutils flag-o-matic toolchain-funcs multilib |
58 |
|
59 |
DESCRIPTION="sandbox'd LD_PRELOAD hack" |
60 |
HOMEPAGE="http://www.gentoo.org/" |
61 |
SRC_URI="mirror://gentoo/${P}.tar.lzma |
62 |
http://dev.gentoo.org/~vapier/dist/${P}.tar.lzma" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd -x86-fbsd" |
67 |
IUSE="multilib" |
68 |
|
69 |
DEPEND="|| ( app-arch/xz-utils app-arch/lzma-utils ) |
70 |
>=app-misc/pax-utils-0.1.19" #265376 |
71 |
RDEPEND="" |
72 |
|
73 |
EMULTILIB_PKG="true" |
74 |
has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice" |
75 |
|
76 |
sandbox_death_notice() { |
77 |
ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:" |
78 |
ewarn "FEATURES=-sandbox emerge sandbox" |
79 |
} |
80 |
|
81 |
sb_get_install_abis() { use multilib && get_install_abis || echo ${ABI:-default} ; } |
82 |
|
83 |
src_compile() { |
84 |
filter-lfs-flags #90228 |
85 |
|
86 |
local OABI=${ABI} |
87 |
for ABI in $(sb_get_install_abis) ; do |
88 |
mkdir "${WORKDIR}/build-${ABI}" |
89 |
cd "${WORKDIR}/build-${ABI}" |
90 |
|
91 |
use multilib && multilib_toolchain_setup ${ABI} |
92 |
|
93 |
einfo "Configuring sandbox for ABI=${ABI}..." |
94 |
ECONF_SOURCE="../${P}/" \ |
95 |
econf ${myconf} || die |
96 |
einfo "Building sandbox for ABI=${ABI}..." |
97 |
emake || die |
98 |
done |
99 |
ABI=${OABI} |
100 |
} |
101 |
|
102 |
src_test() { |
103 |
local OABI=${ABI} |
104 |
for ABI in $(sb_get_install_abis) ; do |
105 |
cd "${WORKDIR}/build-${ABI}" |
106 |
einfo "Checking sandbox for ABI=${ABI}..." |
107 |
emake check || die "make check failed for ${ABI}" |
108 |
done |
109 |
ABI=${OABI} |
110 |
} |
111 |
|
112 |
src_install() { |
113 |
local OABI=${ABI} |
114 |
for ABI in $(sb_get_install_abis) ; do |
115 |
cd "${WORKDIR}/build-${ABI}" |
116 |
einfo "Installing sandbox for ABI=${ABI}..." |
117 |
emake DESTDIR="${D}" install || die "make install failed for ${ABI}" |
118 |
done |
119 |
ABI=${OABI} |
120 |
|
121 |
doenvd "${FILESDIR}"/09sandbox |
122 |
|
123 |
keepdir /var/log/sandbox |
124 |
fowners root:portage /var/log/sandbox |
125 |
fperms 0770 /var/log/sandbox |
126 |
|
127 |
cd "${S}" |
128 |
dodoc AUTHORS ChangeLog* NEWS README |
129 |
} |
130 |
|
131 |
pkg_preinst() { |
132 |
chown root:portage "${D}"/var/log/sandbox |
133 |
chmod 0770 "${D}"/var/log/sandbox |
134 |
|
135 |
local old=$(find "${ROOT}"/lib* -maxdepth 1 -name 'libsandbox*') |
136 |
if [[ -n ${old} ]] ; then |
137 |
elog "Removing old sandbox libraries for you:" |
138 |
elog ${old//${ROOT}} |
139 |
find "${ROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -exec rm -fv {} \; |
140 |
fi |
141 |
} |
142 |
|
143 |
pkg_postinst() { |
144 |
chmod 0755 "${ROOT}"/etc/sandbox.d #265376 |
145 |
} |