summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-cluster/ploop/ChangeLog6
-rw-r--r--sys-cluster/ploop/ploop-1.4.ebuild49
-rw-r--r--sys-cluster/ploop/ploop-1.5.ebuild57
3 files changed, 5 insertions, 107 deletions
diff --git a/sys-cluster/ploop/ChangeLog b/sys-cluster/ploop/ChangeLog
index cab1359f08f5..e4c854d5a140 100644
--- a/sys-cluster/ploop/ChangeLog
+++ b/sys-cluster/ploop/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-cluster/ploop
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ChangeLog,v 1.14 2013/05/02 13:53:30 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ChangeLog,v 1.15 2013/05/12 19:39:33 maksbotan Exp $
+
+ 12 May 2013; Maxim Koltsov <maksbotan@gentoo.org> -ploop-1.4.ebuild,
+ -ploop-1.5.ebuild:
+ Remove old versions, thanks to slepnoga
02 May 2013; Sergey Popov <pinkbyte@gentoo.org> -ploop-1.2.ebuild,
ploop-1.4.ebuild:
diff --git a/sys-cluster/ploop/ploop-1.4.ebuild b/sys-cluster/ploop/ploop-1.4.ebuild
deleted file mode 100644
index 24aa0501da94..000000000000
--- a/sys-cluster/ploop/ploop-1.4.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ploop-1.4.ebuild,v 1.5 2013/05/02 13:53:30 pinkbyte Exp $
-
-EAPI=4
-
-inherit eutils toolchain-funcs multilib
-
-DESCRIPTION="openvz tool and a library to control ploop block devices"
-HOMEPAGE="http://wiki.openvz.org/Download/ploop"
-SRC_URI="http://download.openvz.org/utils/ploop/${PV}/src/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-libs/libxml2"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- # Respect CFLAGS and CC, do not add debug by default
- sed -i \
- -e 's|CFLAGS =|CFLAGS +=|' \
- -e '/CFLAGS/s/-g -O0 //' \
- -e '/CFLAGS/s/-O2//' \
- -e 's|CC=|CC?=|' \
- -e 's/-Werror//' \
- -e '/DEBUG=yes/d' \
- Makefile.inc || die 'sed on Makefile.inc failed'
- # Avoid striping of binaries
- sed -e '/INSTALL/{s: -s::}' -i tools/Makefile || die 'sed on tools/Makefile failed'
-
- epatch "${FILESDIR}/ploop-1.2-soname.patch"
-
- # respect AR and RANLIB, bug #452092
- tc-export AR RANLIB
- sed -i -e 's/ranlib/$(RANLIB)/' lib/Makefile || die 'sed on lib/Makefile failed'
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" V=1
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc tools/README
- ldconfig -n "${D}/usr/$(get_libdir)/" || die
-}
diff --git a/sys-cluster/ploop/ploop-1.5.ebuild b/sys-cluster/ploop/ploop-1.5.ebuild
deleted file mode 100644
index 922bff94fc3e..000000000000
--- a/sys-cluster/ploop/ploop-1.5.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ploop-1.5.ebuild,v 1.3 2013/01/15 11:58:42 pinkbyte Exp $
-
-EAPI=5
-
-inherit eutils toolchain-funcs multilib
-
-DESCRIPTION="openvz tool and a library to control ploop block devices"
-HOMEPAGE="http://wiki.openvz.org/Download/ploop"
-SRC_URI="http://download.openvz.org/utils/ploop/${PV}/src/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug static-libs"
-
-DEPEND="dev-libs/libxml2"
-RDEPEND="${DEPEND}"
-
-DOCS=( tools/README )
-
-src_prepare() {
- # Respect CFLAGS and CC, do not add debug by default
- sed -i \
- -e 's|CFLAGS =|CFLAGS +=|' \
- -e '/CFLAGS/s/-g -O0 //' \
- -e '/CFLAGS/s/-O2//' \
- -e 's|CC=|CC?=|' \
- -e 's/-Werror//' \
- -e '/DEBUG=yes/d' \
- Makefile.inc || die 'sed on Makefile.inc failed'
- # Avoid striping of binaries
- sed -e '/INSTALL/{s: -s::}' -i tools/Makefile || die 'sed on tools/Makefile failed'
-
- epatch "${FILESDIR}/ploop-1.2-soname.patch"
-
- # respect AR and RANLIB, bug #452092
- tc-export AR RANLIB
- sed -i -e 's/ranlib/$(RANLIB)/' lib/Makefile || die 'sed on lib/Makefile failed'
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" V=1 $(usex debug 'DEBUG' '' '=yes' '')
-}
-
-src_install() {
- default
- ldconfig -n "${D}/usr/$(get_libdir)/" || die
- use static-libs || rm "${D}/usr/$(get_libdir)/libploop.a" || die 'remove static lib failed'
-}
-
-pkg_postinst() {
- elog "Warning - API changes"
- elog "1. This version requires running vzkernel >= 2.6.32-042stab061.1"
- elog "2. DiskDescriptor.xml created by older ploop versions are converted to current format"
-}