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