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