diff options
author | Peter Volkov <pva@gentoo.org> | 2012-05-03 22:32:24 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2012-05-03 22:32:24 +0000 |
commit | fbd855b96b3b12a6b8a78fe0dc45a5e0c1c8d7e9 (patch) | |
tree | 8c7606e47d801421bda104facadc430106d02e5e /sys-cluster | |
parent | sys-kernel/genkernel: Migrate to cryptsetup use flag (bug #414523) (diff) | |
download | historical-fbd855b96b3b12a6b8a78fe0dc45a5e0c1c8d7e9.tar.gz historical-fbd855b96b3b12a6b8a78fe0dc45a5e0c1c8d7e9.tar.bz2 historical-fbd855b96b3b12a6b8a78fe0dc45a5e0c1c8d7e9.zip |
Initial import. New tool from parallels. Enjoy!
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/ploop/ChangeLog | 10 | ||||
-rw-r--r-- | sys-cluster/ploop/Manifest | 15 | ||||
-rw-r--r-- | sys-cluster/ploop/files/ploop-1.2-soname.patch | 19 | ||||
-rw-r--r-- | sys-cluster/ploop/metadata.xml | 9 | ||||
-rw-r--r-- | sys-cluster/ploop/ploop-1.2.ebuild | 38 |
5 files changed, 91 insertions, 0 deletions
diff --git a/sys-cluster/ploop/ChangeLog b/sys-cluster/ploop/ChangeLog new file mode 100644 index 000000000000..adf3f725e3ad --- /dev/null +++ b/sys-cluster/ploop/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-cluster/ploop +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ChangeLog,v 1.1 2012/05/03 22:32:24 pva Exp $ + +*ploop-1.2 (03 May 2012) + + 03 May 2012; Peter Volkov <pva@gentoo.org> +ploop-1.2.ebuild, + +files/ploop-1.2-soname.patch, +metadata.xml: + Initial import. New tool from parallels. Enjoy! + diff --git a/sys-cluster/ploop/Manifest b/sys-cluster/ploop/Manifest new file mode 100644 index 000000000000..2327f290463e --- /dev/null +++ b/sys-cluster/ploop/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX ploop-1.2-soname.patch 527 RMD160 5cee93e1d7f919f16d270fe9f50439c4c84939f3 SHA1 b20259625ac512f1a9b60f435b985565ed4cd6ef SHA256 3d1d56d5f1bb6a712a358faa7f50fa5e86dbc9606164db346a3f7168efaf6b15 +DIST ploop-1.2.tar.bz2 74639 RMD160 ae012a73d64e3e24d84b635421b5760248c5dfcc SHA1 32ceb5e78ec90bf5bd7ae7a5eb36f62a9fe8472d SHA256 80cefcf4e0f19955d758904fbe8d83eb809ba974f82359f9ec2d65edefb212a4 +EBUILD ploop-1.2.ebuild 949 RMD160 7e523a01da6e04eec45a1d3df8342e69855fdb76 SHA1 0f3e10af749b29dcb29d7378b59e8cb8c3446b9f SHA256 9b6faefefa82401502aa416b726c203cd74b2353dc214c588f87d644bb2e48b8 +MISC ChangeLog 393 RMD160 63bad45d59652b7aeb88ff24f414566c0b947932 SHA1 3875c2a47776028f878785c91de995ce00002b2b SHA256 04e7b624e9f531ea9d63a19075618a7229f4ccfcbeb3ed3bef934a7584c5cb02 +MISC metadata.xml 250 RMD160 859a9aa257ba731f151779434edc614d186d86cf SHA1 0e65923b7b0996ac7e063048e2fe5814453407b7 SHA256 70752023c9e02de0ce3540c4c09bc3256c72568be427bb5c7e9886745b5d2215 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iF4EAREIAAYFAk+jBsYACgkQGrk+8vGYmwcfTAD+PyTtWXd4fpj8lTs3AAvwY4H0 +vw85wdxB//EClnvuvEkA/jKnpGIHJ03I//GfxBwBrIJCL9zRcW/ke+zCJKeE7Glx +=UeQX +-----END PGP SIGNATURE----- diff --git a/sys-cluster/ploop/files/ploop-1.2-soname.patch b/sys-cluster/ploop/files/ploop-1.2-soname.patch new file mode 100644 index 000000000000..34cd56567c43 --- /dev/null +++ b/sys-cluster/ploop/files/ploop-1.2-soname.patch @@ -0,0 +1,19 @@ +--- lib/Makefile 2012-05-03 21:11:04.000000000 +0400 ++++ lib/Makefile 2012-05-03 21:10:47.000000000 +0400 +@@ -2,6 +2,7 @@ + + LIBPLOOP=libploop.a + LIBPLOOP_DYN = libploop.so ++SONAME = $(LIBPLOOP_DYN).0 + LIBOBJS=uuid.o \ + delta_read.o \ + delta_sysfs.o \ +@@ -36,7 +37,7 @@ + + $(LIBPLOOP_DYN): $(LIBOBJS) + $(E) " LINK " $@ +- $(Q) $(CC) $(CFLAGS) $(INC) $(LDFLAGS) -shared $^ ${LDLIBS} -o $@ ++ $(Q) $(CC) $(CFLAGS) $(INC) $(LDFLAGS) -shared $^ ${LDLIBS} -o $@ -Wl,-soname,$(SONAME) + + .depend: $(SOURCES) + -include .depend diff --git a/sys-cluster/ploop/metadata.xml b/sys-cluster/ploop/metadata.xml new file mode 100644 index 000000000000..1301c983d813 --- /dev/null +++ b/sys-cluster/ploop/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>vserver</herd> + <maintainer> + <email>pva@gentoo.org</email> + <name>Peter Volkov</name> + </maintainer> +</pkgmetadata> diff --git a/sys-cluster/ploop/ploop-1.2.ebuild b/sys-cluster/ploop/ploop-1.2.ebuild new file mode 100644 index 000000000000..12cc34cf4553 --- /dev/null +++ b/sys-cluster/ploop/ploop-1.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ploop-1.2.ebuild,v 1.1 2012/05/03 22:32:24 pva Exp $ + +EAPI=4 + +inherit eutils toolchain-funcs + +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="~x86 ~amd64" +IUSE="" + +DEPEND="dev-libs/libxml2" +RDEPEND="${DEPEND}" + +src_prepare() { + # Respect CFLAGS and CC + sed -e 's|CFLAGS =|CFLAGS +=|' -e "s|\(CC=\).*|\1$(tc-getCC)|" \ + -i Makefile.inc || die + # Avoid striping of binaries + sed -e '/INSTALL/{s: -s::}' -i tools/Makefile || die + epatch "${FILESDIR}/ploop-1.2-soname.patch" +} + +src_compile() { + emake V=1 +} + +src_install() { + emake DESTDIR="${D}" install + dodoc tools/README + ldconfig -n "${D}/usr/lib/" || die +} |