1 |
ultrabug 11/04/29 10:12:47 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: drbd-8.3.7.ebuild |
5 |
Removed: drbd-8.3.6.ebuild |
6 |
Log: |
7 |
Add a drbd-8.3.7 version to match sys-kernel/xen-sources-2.6.34 userland needs. Fix bug #365005. Drop old. |
8 |
|
9 |
(Portage version: 2.1.9.46/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.108 sys-cluster/drbd/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/drbd/ChangeLog?rev=1.108&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/drbd/ChangeLog?rev=1.108&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/drbd/ChangeLog?r1=1.107&r2=1.108 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v |
21 |
retrieving revision 1.107 |
22 |
retrieving revision 1.108 |
23 |
diff -u -r1.107 -r1.108 |
24 |
--- ChangeLog 26 Mar 2011 08:43:16 -0000 1.107 |
25 |
+++ ChangeLog 29 Apr 2011 10:12:47 -0000 1.108 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for sys-cluster/drbd |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.107 2011/03/26 08:43:16 xarthisius Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.108 2011/04/29 10:12:47 ultrabug Exp $ |
31 |
+ |
32 |
+*drbd-8.3.7 (29 Apr 2011) |
33 |
+ |
34 |
+ 29 Apr 2011; Ultrabug <ultrabug@g.o> -drbd-8.3.6.ebuild, |
35 |
+ +drbd-8.3.7.ebuild: |
36 |
+ Add a drbd-8.3.7 version to match sys-kernel/xen-sources-2.6.34 userland |
37 |
+ needs. Fix bug #365005. Drop old. Thanks to Luca Lesinigo for reporting. |
38 |
|
39 |
26 Mar 2011; Kacper Kowalik <xarthisius@g.o> drbd-8.3.9.ebuild: |
40 |
Disable global survey by default in example conf file wrt #360483 by robbat2 |
41 |
|
42 |
|
43 |
|
44 |
1.1 sys-cluster/drbd/drbd-8.3.7.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/drbd/drbd-8.3.7.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/drbd/drbd-8.3.7.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: drbd-8.3.7.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2011 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-8.3.7.ebuild,v 1.1 2011/04/29 10:12:47 ultrabug Exp $ |
54 |
|
55 |
EAPI="2" |
56 |
|
57 |
inherit multilib versionator |
58 |
|
59 |
LICENSE="GPL-2" |
60 |
|
61 |
DESCRIPTION="mirror/replicate block-devices across a network-connection" |
62 |
SRC_URI="http://oss.linbit.com/drbd/$(get_version_component_range 1-2 ${PV})/${P}.tar.gz" |
63 |
HOMEPAGE="http://www.drbd.org" |
64 |
|
65 |
KEYWORDS="~amd64 ~x86" |
66 |
IUSE="bash-completion heartbeat pacemaker +udev xen" |
67 |
SLOT="0" |
68 |
|
69 |
src_prepare() { |
70 |
# respect LDFLAGS |
71 |
sed -i -e "s/\$(CC) -o/\$(CC) \$(LDFLAGS) -o/" user/Makefile.in || die |
72 |
# respect multilib |
73 |
sed -i -e "s:/lib/:/$(get_libdir)/:g" \ |
74 |
scripts/{Makefile.in,global_common.conf,drbd.conf.example} || die |
75 |
# correct install paths |
76 |
sed -i -e "s:\$(sysconfdir)/bash_completion.d:/usr/share/bash-completion:" \ |
77 |
scripts/Makefile.in || die |
78 |
} |
79 |
|
80 |
src_configure() { |
81 |
econf \ |
82 |
--localstatedir=/var \ |
83 |
--with-utils \ |
84 |
--without-km \ |
85 |
--without-rgmanager \ |
86 |
$(use_with udev) \ |
87 |
$(use_with xen) \ |
88 |
$(use_with pacemaker) \ |
89 |
$(use_with heartbeat) \ |
90 |
$(use_with bash-completion bashcompletion) \ |
91 |
--with-distro=gentoo |
92 |
} |
93 |
|
94 |
src_compile() { |
95 |
# only compile the tools |
96 |
emake OPTFLAGS="${CFLAGS}" tools || die |
97 |
} |
98 |
|
99 |
src_install() { |
100 |
# only install the tools |
101 |
emake DESTDIR="${D}" install-tools || die |
102 |
dodoc README ChangeLog || die |
103 |
|
104 |
# install our own init script |
105 |
newinitd "${FILESDIR}"/${PN}-8.0.rc ${PN} || die |
106 |
|
107 |
# it doesnt make sense to install a default conf in /etc, |
108 |
# so we put it to the docs |
109 |
rm -f "${D}"/etc/drbd.conf |
110 |
dodoc scripts/drbd.conf || die |
111 |
} |
112 |
|
113 |
pkg_postinst() { |
114 |
einfo |
115 |
einfo "Please copy and gunzip the configuration file" |
116 |
einfo "from /usr/share/doc/${PF}/drbd.conf.bz2 to /etc" |
117 |
einfo "and edit it to your needs. Helpful commands:" |
118 |
einfo "man 5 drbd.conf" |
119 |
einfo "man 8 drbdsetup" |
120 |
einfo "man 8 drbdadm" |
121 |
einfo "man 8 drbddisk" |
122 |
einfo "man 8 drbdmeta" |
123 |
einfo |
124 |
|
125 |
elog "Remember to enable drbd support in kernel." |
126 |
elog "Or alternatively emerge sys-cluster/drbd-kernel package." |
127 |
} |