Gentoo Archives: gentoo-commits

From: "Thomas Sachau (tommy)" <tommy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/dmraid: dmraid-1.0.0_rc15-r1.ebuild ChangeLog dmraid-1.0.0_rc14.ebuild
Date: Wed, 09 Sep 2009 21:02:15
Message-Id: E1MlUIu-0006se-9K@stork.gentoo.org
1 tommy 09/09/09 21:02:12
2
3 Modified: ChangeLog dmraid-1.0.0_rc14.ebuild
4 Added: dmraid-1.0.0_rc15-r1.ebuild
5 Log:
6 Proxy commit for Ian Stakenvicius, see ChangeLog for details
7 (Portage version: 2.2_rc40-r1/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.19 sys-fs/dmraid/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/dmraid/ChangeLog?rev=1.19&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/dmraid/ChangeLog?rev=1.19&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/dmraid/ChangeLog?r1=1.18&r2=1.19
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-fs/dmraid/ChangeLog,v
19 retrieving revision 1.18
20 retrieving revision 1.19
21 diff -u -r1.18 -r1.19
22 --- ChangeLog 8 Sep 2009 14:17:37 -0000 1.18
23 +++ ChangeLog 9 Sep 2009 21:02:11 -0000 1.19
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.18 2009/09/08 14:17:37 ssuominen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/dmraid/ChangeLog,v 1.19 2009/09/09 21:02:11 tommy Exp $
29 +
30 + 08 Sep 2009; Ian Stakenvicius <ian@×××××××××××.ca>
31 + dmraid-1.0.0_rc14.ebuild, +dmraid-1.0.0_rc15-r1.ebuild,
32 + +files/dmraid-1.0.0_rc15-devsk-isw.patch,
33 + +files/dmraid-1.0.0_rc15-undo-p-rename.patch:
34 + Updated SRC_URI for rc14, bumped rc15 to -r1 (for ~ppc) to apply patches to
35 + fix bug #275566 and bug #275451
36
37 08 Sep 2009; Samuli Suominen <ssuominen@g.o>
38 dmraid-1.0.0_rc14.ebuild:
39
40
41
42 1.5 sys-fs/dmraid/dmraid-1.0.0_rc14.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/dmraid/dmraid-1.0.0_rc14.ebuild?rev=1.5&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/dmraid/dmraid-1.0.0_rc14.ebuild?rev=1.5&content-type=text/plain
46 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/dmraid/dmraid-1.0.0_rc14.ebuild?r1=1.4&r2=1.5
47
48 Index: dmraid-1.0.0_rc14.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/sys-fs/dmraid/dmraid-1.0.0_rc14.ebuild,v
51 retrieving revision 1.4
52 retrieving revision 1.5
53 diff -u -r1.4 -r1.5
54 --- dmraid-1.0.0_rc14.ebuild 8 Sep 2009 14:17:37 -0000 1.4
55 +++ dmraid-1.0.0_rc14.ebuild 9 Sep 2009 21:02:11 -0000 1.5
56 @@ -1,6 +1,6 @@
57 # Copyright 1999-2009 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/dmraid/dmraid-1.0.0_rc14.ebuild,v 1.4 2009/09/08 14:17:37 ssuominen Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/dmraid/dmraid-1.0.0_rc14.ebuild,v 1.5 2009/09/09 21:02:11 tommy Exp $
61
62 inherit linux-info flag-o-matic
63
64 @@ -9,7 +9,7 @@
65
66 DESCRIPTION="Device-mapper RAID tool and library"
67 HOMEPAGE="http://people.redhat.com/~heinzm/sw/dmraid/"
68 -SRC_URI="http://people.redhat.com/~heinzm/sw/dmraid/src/${MY_P}.tar.bz2"
69 +SRC_URI="http://people.redhat.com/~heinzm/sw/dmraid/src/old/${MY_P}.tar.bz2"
70
71 LICENSE="GPL-2"
72 SLOT="0"
73
74
75
76 1.1 sys-fs/dmraid/dmraid-1.0.0_rc15-r1.ebuild
77
78 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/dmraid/dmraid-1.0.0_rc15-r1.ebuild?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/dmraid/dmraid-1.0.0_rc15-r1.ebuild?rev=1.1&content-type=text/plain
80
81 Index: dmraid-1.0.0_rc15-r1.ebuild
82 ===================================================================
83 # Copyright 1999-2009 Gentoo Foundation
84 # Distributed under the terms of the GNU General Public License v2
85 # $Header: /var/cvsroot/gentoo-x86/sys-fs/dmraid/dmraid-1.0.0_rc15-r1.ebuild,v 1.1 2009/09/09 21:02:11 tommy Exp $
86
87 inherit linux-info flag-o-matic
88
89 MY_PV=${PV/_/.}
90
91 DESCRIPTION="Device-mapper RAID tool and library"
92 HOMEPAGE="http://people.redhat.com/~heinzm/sw/dmraid/"
93 SRC_URI="http://people.redhat.com/~heinzm/sw/dmraid/src/${PN}-${MY_PV}.tar.bz2"
94
95 LICENSE="GPL-2"
96 SLOT="0"
97 KEYWORDS="~amd64 ~ppc ~x86"
98 IUSE="static selinux"
99
100 DEPEND="|| ( >=sys-fs/lvm2-2.02.45
101 sys-fs/device-mapper )
102 selinux? ( sys-libs/libselinux
103 sys-libs/libsepol )"
104 RDEPEND="${DEPEND}"
105
106 S=${WORKDIR}/${PN}/${MY_PV}
107
108 pkg_setup() {
109 if kernel_is lt 2 6 ; then
110 ewarn "You are using a kernel < 2.6"
111 ewarn "DMraid uses recently introduced Device-Mapper features."
112 ewarn "These might be unavailable in the kernel you are running now."
113 fi
114 if use static && use selinux ; then
115 eerror "ERROR - cannot compile static with libselinux / libsepol"
116 die "USE flag conflicts."
117 fi
118 }
119
120 src_unpack() {
121 unpack ${A}
122 cd "${S}"
123 epatch "${FILESDIR}/${PN}-destdir-fix.patch"
124 epatch "${FILESDIR}/${P}-devsk-isw.patch"
125 epatch "${FILESDIR}/${P}-undo-p-rename.patch"
126 }
127
128 src_compile() {
129 econf \
130 $(use_enable static static_link) \
131 $(use_enable selinux libselinux) \
132 $(use_enable selinux libsepol)
133 emake -j1 || die "emake failed"
134 }
135
136 src_install() {
137 emake DESTDIR="${D}" install || die "emake install failed"
138 dodoc CHANGELOG README TODO KNOWN_BUGS doc/* || die "dodoc failed"
139 }
140
141 pkg_postinst() {
142 einfo "For booting Gentoo from Device-Mapper RAID you can use Genkernel."
143 einfo " "
144 einfo "Genkernel will generate the kernel and the initrd with a statically "
145 einfo "linked dmraid binary (its own version which may not be the same as this version):"
146 einfo " emerge -av sys-kernel/genkernel"
147 einfo " genkernel --dmraid --udev all"
148 einfo " "
149 einfo "If you would rather use this version of DMRAID with Genkernel, copy the distfile"
150 einfo "from your distdir to '/usr/share/genkernel/pkg/' and update the following"
151 einfo "in /etc/genkernel.conf:"
152 einfo " DMRAID_VER=\"${MY_PV/_/.}\""
153 einfo " DMRAID_SRCTAR=\"\${GK_SHARE}/pkg/${A}\""
154 einfo " "
155 ewarn "DMRAID should be safe to use, but no warranties can be given"
156 einfo " "
157 }