public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-cluster/ploop: ChangeLog ploop-1.5.ebuild
@ 2012-12-10 12:59 Sergey Popov (pinkbyte)
  0 siblings, 0 replies; 2+ messages in thread
From: Sergey Popov (pinkbyte) @ 2012-12-10 12:59 UTC (permalink / raw
  To: gentoo-commits

pinkbyte    12/12/10 12:59:50

  Modified:             ChangeLog
  Added:                ploop-1.5.ebuild
  Log:
  Version bump, wrt bug #437686. Thanks to Andreis Vinogradovs, ebuild is taken from rion overlay with some improvements
  
  (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.3                  sys-cluster/ploop/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ploop/ChangeLog?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ploop/ChangeLog?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ploop/ChangeLog?r1=1.2&r2=1.3

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog	17 Jul 2012 05:23:08 -0000	1.2
+++ ChangeLog	10 Dec 2012 12:59:49 -0000	1.3
@@ -1,6 +1,12 @@
 # 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.2 2012/07/17 05:23:08 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ChangeLog,v 1.3 2012/12/10 12:59:49 pinkbyte Exp $
+
+*ploop-1.5 (10 Dec 2012)
+
+  10 Dec 2012; Sergey Popov <pinkbyte@gentoo.org> +ploop-1.5.ebuild:
+  Version bump, wrt bug #437686. Thanks to Andreis Vinogradovs, ebuild is taken
+  from rion overlay with some improvements
 
 *ploop-1.4 (17 Jul 2012)
 



1.1                  sys-cluster/ploop/ploop-1.5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ploop/ploop-1.5.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ploop/ploop-1.5.ebuild?rev=1.1&content-type=text/plain

Index: ploop-1.5.ebuild
===================================================================
# 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.5.ebuild,v 1.1 2012/12/10 12:59:49 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="static-libs"

DEPEND="dev-libs/libxml2"
RDEPEND="${DEPEND}"

DOCS=( tools/README )

src_prepare() {
	# Respect CFLAGS and CC
	sed -e 's|CFLAGS =|CFLAGS +=|' -e 's|CC=|CC?=|' \
		-i 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"
}

src_compile() {
	emake CC="$(tc-getCC)" V=1
}

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"
}





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-cluster/ploop: ChangeLog ploop-1.5.ebuild
@ 2013-01-15 11:58 Sergey Popov (pinkbyte)
  0 siblings, 0 replies; 2+ messages in thread
From: Sergey Popov (pinkbyte) @ 2013-01-15 11:58 UTC (permalink / raw
  To: gentoo-commits

pinkbyte    13/01/15 11:58:42

  Modified:             ChangeLog ploop-1.5.ebuild
  Log:
  Add USE-flag 'debug' for debug builds, do not do debug build by default, wrt bug #452088. Thanks to Agostino Sarubbo for discovering this issue
  
  (Portage version: 2.2.0_alpha152/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.6                  sys-cluster/ploop/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ploop/ChangeLog?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ploop/ChangeLog?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ploop/ChangeLog?r1=1.5&r2=1.6

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ChangeLog	15 Jan 2013 11:44:41 -0000	1.5
+++ ChangeLog	15 Jan 2013 11:58:42 -0000	1.6
@@ -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.5 2013/01/15 11:44:41 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ChangeLog,v 1.6 2013/01/15 11:58:42 pinkbyte Exp $
+
+  15 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> ploop-1.5.ebuild:
+  Add USE-flag 'debug' for debug builds, do not do debug build by default, wrt
+  bug #452088. Thanks to Agostino Sarubbo for discovering this issue
 
   15 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> ploop-1.2.ebuild,
   ploop-1.4.ebuild, ploop-1.5.ebuild:



1.3                  sys-cluster/ploop/ploop-1.5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ploop/ploop-1.5.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ploop/ploop-1.5.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ploop/ploop-1.5.ebuild?r1=1.2&r2=1.3

Index: ploop-1.5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ploop-1.5.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ploop-1.5.ebuild	15 Jan 2013 11:44:41 -0000	1.2
+++ ploop-1.5.ebuild	15 Jan 2013 11:58:42 -0000	1.3
@@ -1,6 +1,6 @@
 # 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.2 2013/01/15 11:44:41 pinkbyte Exp $
+# $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
 
@@ -13,7 +13,7 @@
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="static-libs"
+IUSE="debug static-libs"
 
 DEPEND="dev-libs/libxml2"
 RDEPEND="${DEPEND}"
@@ -21,9 +21,15 @@
 DOCS=( tools/README )
 
 src_prepare() {
-	# Respect CFLAGS and CC
-	sed -e 's|CFLAGS =|CFLAGS +=|' -e 's|CC=|CC?=|' \
-		-i Makefile.inc || die 'sed on Makefile.inc failed'
+	# 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'
 
@@ -35,7 +41,7 @@
 }
 
 src_compile() {
-	emake CC="$(tc-getCC)" V=1
+	emake CC="$(tc-getCC)" V=1 $(usex debug 'DEBUG' '' '=yes' '')
 }
 
 src_install() {





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-15 11:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-10 12:59 [gentoo-commits] gentoo-x86 commit in sys-cluster/ploop: ChangeLog ploop-1.5.ebuild Sergey Popov (pinkbyte)
  -- strict thread matches above, loose matches on Subject: below --
2013-01-15 11:58 Sergey Popov (pinkbyte)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox