1 |
robbat2 07/10/02 09:56:42 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lvm2-2.02.28.ebuild |
5 |
Log: |
6 |
Version bump of LVM, bug #193297. Support for dmeventd per bug #192174. Major cleanups of the ebuild, USE=nosnapshots/nomirrors are no longer supported due to interactions with dmeventd. |
7 |
(Portage version: 2.1.3.11) |
8 |
|
9 |
Revision Changes Path |
10 |
1.107 sys-fs/lvm2/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/lvm2/ChangeLog?rev=1.107&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/lvm2/ChangeLog?rev=1.107&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/lvm2/ChangeLog?r1=1.106&r2=1.107 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v |
19 |
retrieving revision 1.106 |
20 |
retrieving revision 1.107 |
21 |
diff -u -r1.106 -r1.107 |
22 |
--- ChangeLog 29 Jul 2007 22:42:50 -0000 1.106 |
23 |
+++ ChangeLog 2 Oct 2007 09:56:42 -0000 1.107 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for sys-fs/lvm2 |
26 |
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.106 2007/07/29 22:42:50 robbat2 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.107 2007/10/02 09:56:42 robbat2 Exp $ |
29 |
+ |
30 |
+*lvm2-2.02.28 (02 Oct 2007) |
31 |
+ |
32 |
+ 02 Oct 2007; Robin H. Johnson <robbat2@g.o> +lvm2-2.02.28.ebuild: |
33 |
+ Version bump of LVM, bug #193297. Support for dmeventd per bug #192174. |
34 |
+ Major cleanups of the ebuild, USE=nosnapshots/nomirrors are no longer |
35 |
+ supported due to interactions with dmeventd. |
36 |
|
37 |
29 Jul 2007; Robin H. Johnson <robbat2@g.o> metadata.xml: |
38 |
Update metadata. |
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-fs/lvm2/lvm2-2.02.28.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/lvm2/lvm2-2.02.28.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/lvm2/lvm2-2.02.28.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: lvm2-2.02.28.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2007 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/lvm2-2.02.28.ebuild,v 1.1 2007/10/02 09:56:42 robbat2 Exp $ |
52 |
|
53 |
inherit eutils |
54 |
|
55 |
DESCRIPTION="User-land utilities for LVM2 (device-mapper) software." |
56 |
HOMEPAGE="http://sources.redhat.com/lvm2/" |
57 |
SRC_URI="ftp://sources.redhat.com/pub/lvm2/${PN/lvm/LVM}.${PV}.tgz" |
58 |
|
59 |
LICENSE="GPL-2" |
60 |
SLOT="0" |
61 |
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" |
62 |
|
63 |
# These no* flags are going to be removed shortly, pending a mail to -dev |
64 |
# - robbat2, 2007/10/02 |
65 |
IUSE="readline nolvmstatic clvm cman gulm nolvm1 selinux" |
66 |
|
67 |
DEPEND=">=sys-fs/device-mapper-1.02.22-r1 |
68 |
clvm? ( >=sys-cluster/dlm-1.01.00 |
69 |
cman? ( >=sys-cluster/cman-1.01.00 ) |
70 |
gulm? ( >=sys-cluster/gulm-1.00.00 ) )" |
71 |
|
72 |
RDEPEND="${DEPEND} |
73 |
!sys-fs/lvm-user |
74 |
!sys-fs/clvm" |
75 |
|
76 |
S="${WORKDIR}/${PN/lvm/LVM}.${PV}" |
77 |
|
78 |
src_unpack() { |
79 |
unpack ${A} |
80 |
#cd "${S}" || die |
81 |
#epatch ${FILESDIR}/lvm2-2.02.04-vgid.patch |
82 |
} |
83 |
|
84 |
src_compile() { |
85 |
# Static compile of lvm2 so that the install described in the handbook works |
86 |
# http://www.gentoo.org/doc/en/lvm2.xml |
87 |
# fixes http://bugs.gentoo.org/show_bug.cgi?id=84463 |
88 |
local myconf |
89 |
local buildmode |
90 |
|
91 |
# fsadm is broken, don't include it (2.02.28) |
92 |
myconf="${myconf} --enable-dmeventd --enable-cmdlib" |
93 |
|
94 |
# Most of this package does weird stuff. |
95 |
# The build options are tristate, and --without is NOT supported |
96 |
# options: 'none', 'internal', 'shared' |
97 |
if use nolvmstatic ; then |
98 |
buildmode="shared" |
99 |
else |
100 |
myconf="${myconf} --enable-static_link" |
101 |
buildmode="internal" |
102 |
fi |
103 |
|
104 |
# dmeventd requires snapshots and mirrors to be built in some form |
105 |
# so we cannot disable them |
106 |
myconf="${myconf} --with-snapshots=${buildmode}" |
107 |
myconf="${myconf} --with-mirrors=${buildmode}" |
108 |
|
109 |
if use nolvm1 ; then |
110 |
myconf="${myconf} --with-lvm1=none" |
111 |
else |
112 |
myconf="${myconf} --with-lvm1=${buildmode}" |
113 |
fi |
114 |
|
115 |
# disable O_DIRECT support on hppa, breaks pv detection (#99532) |
116 |
use hppa && myconf="${myconf} --disable-o_direct" |
117 |
|
118 |
if use clvm; then |
119 |
myconf="${myconf} --with-cluster=${buildmode}" |
120 |
# 4-state! |
121 |
local clvmd="none" |
122 |
use cman && clvmd="cman" |
123 |
use gulm && clvmd="${clvmd}gulm" |
124 |
clvmd="${clvmd/cmangulm/all}" |
125 |
myconf="${myconf} --with-clvmd=${clvmd}" |
126 |
else |
127 |
myconf="${myconf} --with-clvmd=none --with-cluster=none" |
128 |
fi |
129 |
|
130 |
myconf="${myconf} --sbindir=/sbin --with-staticdir=/sbin" |
131 |
econf $(use_enable readline) $(use_enable selinux) ${myconf} || die |
132 |
emake || die "compile problem" |
133 |
} |
134 |
|
135 |
src_install() { |
136 |
emake DESTDIR="${D}" install |
137 |
mv -f "${D}"/sbin/lvm.static "${D}"/sbin/lvm |
138 |
|
139 |
dodoc README VERSION WHATS_NEW doc/*.{conf,c,txt} |
140 |
insinto /lib/rcscripts/addons |
141 |
newins ${FILESDIR}/lvm2-start.sh lvm-start.sh || die |
142 |
newins ${FILESDIR}/lvm2-stop.sh lvm-stop.sh || die |
143 |
newinitd ${FILESDIR}/lvm.rc lvm || die |
144 |
if use clvm; then |
145 |
newinitd ${FILESDIR}/clvmd.rc clvmd || die |
146 |
fi |
147 |
|
148 |
ewarn "use flag nocman is deprecated and replaced" |
149 |
ewarn "with cman and gulm use flags." |
150 |
ewarn "" |
151 |
ewarn "use flags clvm,cman and gulm are masked" |
152 |
ewarn "by default and need to be unmasked to use them" |
153 |
ewarn "" |
154 |
ewarn "Rebuild your genkernel initramfs if you are using lvm" |
155 |
} |
156 |
|
157 |
pkg_postinst() { |
158 |
elog "lvm volumes are no longer automatically created for" |
159 |
elog "baselayout-2 users. If you are using baselayout-2, be sure to" |
160 |
elog "run: # rc-update add lvm boot" |
161 |
} |
162 |
|
163 |
|
164 |
|
165 |
-- |
166 |
gentoo-commits@g.o mailing list |