1 |
vapier 09/04/02 03:04:57 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: sandbox-1.6-r2.ebuild |
5 |
Log: |
6 |
Disable pthread locks to make 1.6 regression free #264476. |
7 |
(Portage version: 2.2_rc28/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.112 sys-apps/sandbox/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sandbox/ChangeLog?rev=1.112&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sandbox/ChangeLog?rev=1.112&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sandbox/ChangeLog?r1=1.111&r2=1.112 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v |
19 |
retrieving revision 1.111 |
20 |
retrieving revision 1.112 |
21 |
diff -u -r1.111 -r1.112 |
22 |
--- ChangeLog 31 Mar 2009 11:56:19 -0000 1.111 |
23 |
+++ ChangeLog 2 Apr 2009 03:04:56 -0000 1.112 |
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.111 2009/03/31 11:56:19 vapier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.112 2009/04/02 03:04:56 vapier Exp $ |
29 |
+ |
30 |
+*sandbox-1.6-r2 (02 Apr 2009) |
31 |
+ |
32 |
+ 02 Apr 2009; Mike Frysinger <vapier@g.o> |
33 |
+ +files/sandbox-1.6-disable-pthread.patch, +sandbox-1.6-r2.ebuild: |
34 |
+ Disable pthread locks to make 1.6 regression free #264476. |
35 |
|
36 |
*sandbox-1.6-r1 (31 Mar 2009) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-apps/sandbox/sandbox-1.6-r2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sandbox/sandbox-1.6-r2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sandbox/sandbox-1.6-r2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: sandbox-1.6-r2.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-1.6-r2.ebuild,v 1.1 2009/04/02 03:04:56 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 eutils 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 ~sparc-fbsd ~x86 ~x86-fbsd" |
67 |
IUSE="" |
68 |
|
69 |
DEPEND="app-arch/lzma-utils" |
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_unpack() { |
81 |
unpack ${A} |
82 |
cd "${S}" |
83 |
epatch "${FILESDIR}"/${P}-disable-qa-static.patch |
84 |
epatch "${FILESDIR}"/${P}-disable-pthread.patch |
85 |
epatch "${FILESDIR}"/0001-libsandbox-handle-more-at-functions.patch |
86 |
} |
87 |
|
88 |
src_compile() { |
89 |
filter-lfs-flags #90228 |
90 |
|
91 |
local OABI=${ABI} |
92 |
for ABI in $(get_install_abis) ; do |
93 |
mkdir "${WORKDIR}/build-${ABI}" |
94 |
cd "${WORKDIR}/build-${ABI}" |
95 |
|
96 |
multilib_toolchain_setup ${ABI} |
97 |
|
98 |
einfo "Configuring sandbox for ABI=${ABI}..." |
99 |
ECONF_SOURCE="../${P}/" \ |
100 |
econf ${myconf} || die |
101 |
einfo "Building sandbox for ABI=${ABI}..." |
102 |
emake || die |
103 |
done |
104 |
ABI=${OABI} |
105 |
} |
106 |
|
107 |
src_test() { |
108 |
local OABI=${ABI} |
109 |
for ABI in $(get_install_abis) ; do |
110 |
cd "${WORKDIR}/build-${ABI}" |
111 |
einfo "Checking sandbox for ABI=${ABI}..." |
112 |
emake check || die "make check failed for ${ABI}" |
113 |
done |
114 |
ABI=${OABI} |
115 |
} |
116 |
|
117 |
src_install() { |
118 |
local OABI=${ABI} |
119 |
for ABI in $(get_install_abis) ; do |
120 |
cd "${WORKDIR}/build-${ABI}" |
121 |
einfo "Installing sandbox for ABI=${ABI}..." |
122 |
emake DESTDIR="${D}" install || die "make install failed for ${ABI}" |
123 |
done |
124 |
ABI=${OABI} |
125 |
|
126 |
doenvd "${FILESDIR}"/09sandbox |
127 |
|
128 |
keepdir /var/log/sandbox |
129 |
fowners root:portage /var/log/sandbox |
130 |
fperms 0770 /var/log/sandbox |
131 |
|
132 |
cd "${S}" |
133 |
dodoc AUTHORS ChangeLog* NEWS README |
134 |
} |
135 |
|
136 |
pkg_preinst() { |
137 |
chown root:portage "${D}"/var/log/sandbox |
138 |
chmod 0770 "${D}"/var/log/sandbox |
139 |
|
140 |
local old=$(find "${ROOT}"/lib* -maxdepth 1 -name 'libsandbox*') |
141 |
if [[ -n ${old} ]] ; then |
142 |
elog "Removing old sandbox libraries for you:" |
143 |
elog ${old//${ROOT}} |
144 |
find "${ROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -exec rm -fv {} \; |
145 |
fi |
146 |
} |