1 |
tommy 09/12/01 17:03:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dmraid-1.0.0_rc16-r1.ebuild |
5 |
Log: |
6 |
Proxy commit, see ChangeLog for details |
7 |
(Portage version: 2.2_rc54-r1/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.22 sys-fs/dmraid/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/dmraid/ChangeLog?rev=1.22&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/dmraid/ChangeLog?rev=1.22&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/dmraid/ChangeLog?r1=1.21&r2=1.22 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/dmraid/ChangeLog,v |
19 |
retrieving revision 1.21 |
20 |
retrieving revision 1.22 |
21 |
diff -u -r1.21 -r1.22 |
22 |
--- ChangeLog 18 Sep 2009 14:49:12 -0000 1.21 |
23 |
+++ ChangeLog 1 Dec 2009 17:03:54 -0000 1.22 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for sys-fs/dmraid |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/dmraid/ChangeLog,v 1.21 2009/09/18 14:49:12 tommy Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/dmraid/ChangeLog,v 1.22 2009/12/01 17:03:54 tommy Exp $ |
29 |
+ |
30 |
+*dmraid-1.0.0_rc16-r1 (01 Dec 2009) |
31 |
+ |
32 |
+ 01 Dec 2009; Ian Stakenvicius <ian@×××××××××××.ca> |
33 |
+ +dmraid-1.0.0_rc16-r1.ebuild, |
34 |
+ +files/dmraid-1.0.0_rc16-return-all-sets.patch: |
35 |
+ fixed bug # 275451 on rc16, thanks to devsk for the patch |
36 |
|
37 |
*dmraid-1.0.0_rc16 (18 Sep 2009) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-fs/dmraid/dmraid-1.0.0_rc16-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/dmraid/dmraid-1.0.0_rc16-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/dmraid/dmraid-1.0.0_rc16-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: dmraid-1.0.0_rc16-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/dmraid/dmraid-1.0.0_rc16-r1.ebuild,v 1.1 2009/12/01 17:03:54 tommy Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
|
55 |
inherit linux-info flag-o-matic |
56 |
|
57 |
MY_PV=${PV/_/.} |
58 |
|
59 |
DESCRIPTION="Device-mapper RAID tool and library" |
60 |
HOMEPAGE="http://people.redhat.com/~heinzm/sw/dmraid/" |
61 |
SRC_URI="http://people.redhat.com/~heinzm/sw/dmraid/src/${PN}-${MY_PV}.tar.bz2" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~ppc ~x86" |
66 |
IUSE="static selinux" |
67 |
|
68 |
RDEPEND="|| ( >=sys-fs/lvm2-2.02.45 |
69 |
sys-fs/device-mapper ) |
70 |
selinux? ( sys-libs/libselinux |
71 |
sys-libs/libsepol )" |
72 |
DEPEND="${RDEPEND}" |
73 |
|
74 |
S=${WORKDIR}/${PN}/${MY_PV} |
75 |
|
76 |
pkg_setup() { |
77 |
if kernel_is lt 2 6 ; then |
78 |
ewarn "You are using a kernel < 2.6" |
79 |
ewarn "DMraid uses recently introduced Device-Mapper features." |
80 |
ewarn "These might be unavailable in the kernel you are running now." |
81 |
fi |
82 |
if use static && use selinux ; then |
83 |
eerror "ERROR - cannot compile static with libselinux / libsepol" |
84 |
die "USE flag conflicts." |
85 |
fi |
86 |
} |
87 |
|
88 |
src_prepare() { |
89 |
epatch "${FILESDIR}"/${P}-undo-p-rename.patch \ |
90 |
"${FILESDIR}"/${P}-return-all-sets.patch \ |
91 |
"${FILESDIR}"/${PN}-destdir-fix.patch \ |
92 |
"${FILESDIR}"/${P}-as-needed.patch |
93 |
|
94 |
# archive the patched source for use with genkernel |
95 |
cd "${WORKDIR}" |
96 |
tar -jcf ${PN}-${MY_PV}-prepatched.tar.bz2 ${PN} || die |
97 |
} |
98 |
|
99 |
src_configure() { |
100 |
econf \ |
101 |
$(use_enable static static_link) \ |
102 |
$(use_enable selinux libselinux) \ |
103 |
$(use_enable selinux libsepol) |
104 |
} |
105 |
|
106 |
src_install() { |
107 |
emake DESTDIR="${D}" install || die "emake install failed" |
108 |
dodoc CHANGELOG README TODO KNOWN_BUGS doc/* || die "dodoc failed" |
109 |
insinto /usr/share/${PN} |
110 |
doins "${WORKDIR}"/${PN}-${MY_PV}-prepatched.tar.bz2 || die |
111 |
} |
112 |
|
113 |
pkg_postinst() { |
114 |
elog "For booting Gentoo from Device-Mapper RAID you can use Genkernel." |
115 |
elog " " |
116 |
elog "Genkernel will generate the kernel and the initrd with a statically " |
117 |
elog "linked dmraid binary (its own version which may not be the same as this version):" |
118 |
elog "\t emerge -av sys-kernel/genkernel" |
119 |
elog "\t genkernel --dmraid all" |
120 |
elog " " |
121 |
elog "If you would rather use this version of DMRAID with Genkernel, update the following" |
122 |
elog "in /etc/genkernel.conf:" |
123 |
elog "\t DMRAID_VER=\"${MY_PV}\"" |
124 |
elog "\t DMRAID_SRCTAR=\"/usr/share/${PN}/${PN}-${MY_PV}-prepatched.tar.bz2\"" |
125 |
elog " " |
126 |
ewarn "DMRAID should be safe to use, but no warranties can be given" |
127 |
} |