1 |
abcd 10/01/31 22:40:12 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: schroot-1.4.0.ebuild |
5 |
Log: |
6 |
Bump schroot |
7 |
(Portage version: -svn/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.3 dev-util/schroot/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/schroot/metadata.xml?rev=1.3&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/schroot/metadata.xml?rev=1.3&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/schroot/metadata.xml?r1=1.2&r2=1.3 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/schroot/metadata.xml,v |
19 |
retrieving revision 1.2 |
20 |
retrieving revision 1.3 |
21 |
diff -u -r1.2 -r1.3 |
22 |
--- metadata.xml 29 Dec 2009 17:54:42 -0000 1.2 |
23 |
+++ metadata.xml 31 Jan 2010 22:40:11 -0000 1.3 |
24 |
@@ -8,5 +8,6 @@ |
25 |
</maintainer> |
26 |
<use> |
27 |
<flag name="dchroot">Enables the building of a wrapper named "dchroot", replacing <pkg>sys-apps/dchroot</pkg>.</flag> |
28 |
+ <flag name="lvm">Enable support for chroots on LVM.</flag> |
29 |
</use> |
30 |
</pkgmetadata> |
31 |
|
32 |
|
33 |
|
34 |
1.13 dev-util/schroot/ChangeLog |
35 |
|
36 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/schroot/ChangeLog?rev=1.13&view=markup |
37 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/schroot/ChangeLog?rev=1.13&content-type=text/plain |
38 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/schroot/ChangeLog?r1=1.12&r2=1.13 |
39 |
|
40 |
Index: ChangeLog |
41 |
=================================================================== |
42 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/schroot/ChangeLog,v |
43 |
retrieving revision 1.12 |
44 |
retrieving revision 1.13 |
45 |
diff -u -r1.12 -r1.13 |
46 |
--- ChangeLog 29 Dec 2009 21:39:32 -0000 1.12 |
47 |
+++ ChangeLog 31 Jan 2010 22:40:11 -0000 1.13 |
48 |
@@ -1,6 +1,12 @@ |
49 |
# ChangeLog for dev-util/schroot |
50 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
51 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/schroot/ChangeLog,v 1.12 2009/12/29 21:39:32 abcd Exp $ |
52 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
53 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/schroot/ChangeLog,v 1.13 2010/01/31 22:40:11 abcd Exp $ |
54 |
+ |
55 |
+*schroot-1.4.0 (31 Jan 2010) |
56 |
+ |
57 |
+ 31 Jan 2010; Jonathan Callen <abcd@g.o> +schroot-1.4.0.ebuild, |
58 |
+ +files/schroot-1.4.0-tests.patch, metadata.xml: |
59 |
+ New upstream version |
60 |
|
61 |
29 Dec 2009; Jonathan Callen <abcd@g.o> schroot-1.2.3-r4.ebuild: |
62 |
Fix incorrect blocker |
63 |
|
64 |
|
65 |
|
66 |
1.1 dev-util/schroot/schroot-1.4.0.ebuild |
67 |
|
68 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/schroot/schroot-1.4.0.ebuild?rev=1.1&view=markup |
69 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/schroot/schroot-1.4.0.ebuild?rev=1.1&content-type=text/plain |
70 |
|
71 |
Index: schroot-1.4.0.ebuild |
72 |
=================================================================== |
73 |
# Copyright 1999-2010 Gentoo Foundation |
74 |
# Distributed under the terms of the GNU General Public License v2 |
75 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/schroot/schroot-1.4.0.ebuild,v 1.1 2010/01/31 22:40:11 abcd Exp $ |
76 |
|
77 |
EAPI="2" |
78 |
WANT_AUTOMAKE="1.11" |
79 |
|
80 |
inherit autotools base pam |
81 |
|
82 |
DESCRIPTION="Utility to execute commands in a chroot environment" |
83 |
HOMEPAGE="http://packages.debian.org/source/sid/schroot" |
84 |
SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${PV}.orig.tar.gz" |
85 |
|
86 |
RESTRICT="mirror" |
87 |
|
88 |
LICENSE="GPL-3" |
89 |
SLOT="0" |
90 |
KEYWORDS="~amd64 ~x86" |
91 |
IUSE="+dchroot debug doc lvm nls pam test" |
92 |
|
93 |
COMMON_DEPEND=" |
94 |
>=dev-libs/boost-1.39.0 |
95 |
dev-libs/lockdev |
96 |
>=sys-apps/util-linux-2.16 |
97 |
lvm? ( sys-fs/lvm2 ) |
98 |
pam? ( sys-libs/pam ) |
99 |
" |
100 |
|
101 |
DEPEND="${COMMON_DEPEND} |
102 |
doc? ( |
103 |
app-doc/doxygen |
104 |
media-gfx/graphviz |
105 |
) |
106 |
nls? ( sys-devel/gettext ) |
107 |
test? ( >=dev-util/cppunit-1.10.0 ) |
108 |
" |
109 |
RDEPEND="${COMMON_DEPEND} |
110 |
sys-apps/debianutils |
111 |
dchroot? ( !sys-apps/dchroot ) |
112 |
nls? ( virtual/libintl ) |
113 |
" |
114 |
|
115 |
PATCHES=( |
116 |
"${FILESDIR}/${P}-tests.patch" |
117 |
) |
118 |
|
119 |
src_prepare() { |
120 |
base_src_prepare |
121 |
|
122 |
# Don't depend on cppunit unless we are testing |
123 |
use test || sed -i '/AM_PATH_CPPUNIT/d' configure.ac |
124 |
|
125 |
echo -e "Package: ${PN}\nVersion: ${PV}" > VERSION |
126 |
|
127 |
eautoreconf |
128 |
} |
129 |
|
130 |
src_configure() { |
131 |
root_tests=no |
132 |
use test && (( EUID == 0 )) && root_tests=yes |
133 |
econf \ |
134 |
$(use_enable doc doxygen) \ |
135 |
$(use_enable dchroot) \ |
136 |
$(use_enable dchroot dchroot-dsa) \ |
137 |
$(use_enable debug) \ |
138 |
$(use_enable lvm lvm-snapshot) \ |
139 |
$(use_enable nls) \ |
140 |
$(use_enable pam) \ |
141 |
--enable-block-device \ |
142 |
--enable-loopback \ |
143 |
--enable-uuid \ |
144 |
--enable-root-tests=$root_tests \ |
145 |
--enable-shared \ |
146 |
--disable-static \ |
147 |
--localstatedir=/var \ |
148 |
--with-bash-completion-dir=/usr/share/bash-completion |
149 |
} |
150 |
|
151 |
src_test() { |
152 |
if [[ $root_tests == yes && $EUID -ne 0 ]]; then |
153 |
ewarn "Disabling tests because you are no longer root" |
154 |
return 0 |
155 |
fi |
156 |
default |
157 |
} |
158 |
|
159 |
src_install() { |
160 |
emake DESTDIR="${D}" install || die "emake install failed" |
161 |
|
162 |
newinitd "${FILESDIR}"/schroot.initd schroot || die "installation of init.d script failed" |
163 |
newconfd "${FILESDIR}"/schroot.confd schroot || die "installation of conf.d file failed" |
164 |
|
165 |
dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die "installation of docs failed" |
166 |
if use doc; then |
167 |
docinto html/sbuild |
168 |
dohtml doc/sbuild/html/* || die "installation of html docs failed" |
169 |
docinto html/schroot |
170 |
dohtml doc/schroot/html/* || die "installation of html docs failed" |
171 |
fi |
172 |
|
173 |
if use pam; then |
174 |
rm -f "${D}"/etc/pam.d/schroot |
175 |
pamd_mimic_system schroot auth account session |
176 |
fi |
177 |
|
178 |
# Remove *.la files |
179 |
find "${D}" -name "*.la" -exec rm {} + || die "removal of *.la files failed" |
180 |
} |