1 |
maksbotan 13/06/03 11:36:06 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ploop-1.7.ebuild |
5 |
Log: |
6 |
Bump to 1.7, thanks to slepnoga. |
7 |
|
8 |
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE) |
9 |
|
10 |
Revision Changes Path |
11 |
1.16 sys-cluster/ploop/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ploop/ChangeLog?rev=1.16&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ploop/ChangeLog?rev=1.16&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ploop/ChangeLog?r1=1.15&r2=1.16 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ChangeLog,v |
20 |
retrieving revision 1.15 |
21 |
retrieving revision 1.16 |
22 |
diff -u -r1.15 -r1.16 |
23 |
--- ChangeLog 12 May 2013 19:39:33 -0000 1.15 |
24 |
+++ ChangeLog 3 Jun 2013 11:36:06 -0000 1.16 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-cluster/ploop |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ChangeLog,v 1.15 2013/05/12 19:39:33 maksbotan Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ChangeLog,v 1.16 2013/06/03 11:36:06 maksbotan Exp $ |
30 |
+ |
31 |
+*ploop-1.7 (03 Jun 2013) |
32 |
+ |
33 |
+ 03 Jun 2013; Maxim Koltsov <maksbotan@g.o> +ploop-1.7.ebuild: |
34 |
+ Bump to 1.7, thanks to slepnoga. |
35 |
|
36 |
12 May 2013; Maxim Koltsov <maksbotan@g.o> -ploop-1.4.ebuild, |
37 |
-ploop-1.5.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-cluster/ploop/ploop-1.7.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ploop/ploop-1.7.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ploop/ploop-1.7.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: ploop-1.7.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ploop-1.7.ebuild,v 1.1 2013/06/03 11:36:06 maksbotan Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
inherit eutils toolchain-funcs multilib systemd |
55 |
|
56 |
DESCRIPTION="openvz tool and a library to control ploop block devices" |
57 |
HOMEPAGE="http://wiki.openvz.org/Download/ploop" |
58 |
SRC_URI="http://download.openvz.org/utils/ploop/${PV}/src/${P}.tar.bz2" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~x86" |
63 |
IUSE="debug static-libs" |
64 |
|
65 |
DEPEND="dev-libs/libxml2" |
66 |
RDEPEND="${DEPEND}" |
67 |
|
68 |
DOCS=( tools/README ) |
69 |
|
70 |
src_prepare() { |
71 |
# Respect CFLAGS and CC, do not add debug by default |
72 |
sed -i \ |
73 |
-e 's|CFLAGS =|CFLAGS +=|' \ |
74 |
-e '/CFLAGS/s/-g -O0 //' \ |
75 |
-e '/CFLAGS/s/-O2//' \ |
76 |
-e 's|CC=|CC?=|' \ |
77 |
-e 's/-Werror//' \ |
78 |
-e '/DEBUG=yes/d' \ |
79 |
-e '/LOCKDIR/s/var/run/' \ |
80 |
Makefile.inc || die 'sed on Makefile.inc failed' |
81 |
# Avoid striping of binaries |
82 |
sed -e '/INSTALL/{s: -s::}' -i tools/Makefile || die 'sed on tools/Makefile failed' |
83 |
|
84 |
epatch "${FILESDIR}/ploop-1.2-soname.patch" |
85 |
|
86 |
# respect AR and RANLIB, bug #452092 |
87 |
tc-export AR RANLIB |
88 |
sed -i -e 's/ranlib/$(RANLIB)/' lib/Makefile || die 'sed on lib/Makefile failed' |
89 |
} |
90 |
|
91 |
src_compile() { |
92 |
emake CC="$(tc-getCC)" V=1 $(usex debug 'DEBUG' '' '=yes' '') |
93 |
} |
94 |
|
95 |
src_install() { |
96 |
default |
97 |
ldconfig -n "${D}/usr/$(get_libdir)/" || die |
98 |
use static-libs || rm "${D}/usr/$(get_libdir)/libploop.a" || die 'remove static lib failed' |
99 |
|
100 |
systemd_newtmpfilesd "${FILESDIR}/ploop.tmpfiles" ploop.conf |
101 |
} |
102 |
|
103 |
pkg_postinst() { |
104 |
elog "Warning - API changes" |
105 |
elog "1. This version requires running vzkernel >= 2.6.32-042stab061.1" |
106 |
elog "2. DiskDescriptor.xml created by older ploop versions are converted to current format" |
107 |
} |