Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/sandbox: ChangeLog sandbox-1.3.1.ebuild
Date: Sat, 29 Nov 2008 02:54:46
Message-Id: E1L6Fyg-0007LD-Lg@stork.gentoo.org
1 vapier 08/11/29 02:54:38
2
3 Modified: ChangeLog
4 Added: sandbox-1.3.1.ebuild
5 Log:
6 Fix up #248254 and #248263.
7 (Portage version: 2.2_rc16/cvs/Linux 2.6.27.4 x86_64)
8
9 Revision Changes Path
10 1.94 sys-apps/sandbox/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sandbox/ChangeLog?rev=1.94&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sandbox/ChangeLog?rev=1.94&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sandbox/ChangeLog?r1=1.93&r2=1.94
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v
19 retrieving revision 1.93
20 retrieving revision 1.94
21 diff -u -r1.93 -r1.94
22 --- ChangeLog 16 Nov 2008 13:06:21 -0000 1.93
23 +++ ChangeLog 29 Nov 2008 02:54:38 -0000 1.94
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-apps/sandbox
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.93 2008/11/16 13:06:21 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.94 2008/11/29 02:54:38 vapier Exp $
29 +
30 +*sandbox-1.3.1 (29 Nov 2008)
31 +
32 + 29 Nov 2008; Mike Frysinger <vapier@g.o> +sandbox-1.3.1.ebuild:
33 + Fix up #248254 and #248263.
34
35 *sandbox-1.3.0 (16 Nov 2008)
36
37
38
39
40 1.1 sys-apps/sandbox/sandbox-1.3.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sandbox/sandbox-1.3.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sandbox/sandbox-1.3.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: sandbox-1.3.1.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/sandbox-1.3.1.ebuild,v 1.1 2008/11/29 02:54:38 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 eutils 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 ~sparc-fbsd ~x86 ~x86-fbsd"
66 IUSE=""
67 RESTRICT="test"
68
69 DEPEND=""
70
71 EMULTILIB_PKG="true"
72 has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
73
74 sandbox_death_notice() {
75 ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:"
76 ewarn "FEATURES=-sandbox emerge sandbox"
77 }
78
79 src_compile() {
80 filter-lfs-flags #90228
81
82 local OABI=${ABI}
83 for ABI in $(get_install_abis) ; do
84 mkdir "${WORKDIR}/build-${ABI}"
85 cd "${WORKDIR}/build-${ABI}"
86
87 multilib_toolchain_setup ${ABI}
88
89 einfo "Configuring sandbox for ABI=${ABI}..."
90 ECONF_SOURCE="../${P}/" \
91 econf ${myconf} || die
92 einfo "Building sandbox for ABI=${ABI}..."
93 emake || die
94 done
95 ABI=${OABI}
96 }
97
98 src_test() {
99 local OABI=${ABI}
100 for ABI in $(get_install_abis) ; do
101 cd "${WORKDIR}/build-${ABI}"
102 einfo "Checking sandbox for ABI=${ABI}..."
103 emake check || die "make check failed for ${ABI}"
104 done
105 ABI=${OABI}
106 }
107
108 src_install() {
109 local OABI=${ABI}
110 for ABI in $(get_install_abis) ; do
111 cd "${WORKDIR}/build-${ABI}"
112 einfo "Installing sandbox for ABI=${ABI}..."
113 emake DESTDIR="${D}" install || die "make install failed for ${ABI}"
114 done
115 ABI=${OABI}
116
117 doenvd "${FILESDIR}"/09sandbox
118
119 keepdir /var/log/sandbox
120 fowners root:portage /var/log/sandbox
121 fperms 0770 /var/log/sandbox
122
123 cd "${S}"
124 dodoc AUTHORS ChangeLog* NEWS README
125 }
126
127 pkg_preinst() {
128 chown root:portage "${D}"/var/log/sandbox
129 chmod 0770 "${D}"/var/log/sandbox
130 }