vapier 14/06/13 21:28:12 Modified: metadata.xml libevent-2.1.4-r1.ebuild ChangeLog Added: libevent-2.0.21-r2.ebuild Log: Add USE=debug to control debug mode/malloc hook configure flags. (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Revision Changes Path 1.7 dev-libs/libevent/metadata.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libevent/metadata.xml?rev=1.7&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libevent/metadata.xml?rev=1.7&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libevent/metadata.xml?r1=1.6&r2=1.7 Index: metadata.xml =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-libs/libevent/metadata.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- metadata.xml 5 Jun 2013 00:16:34 -0000 1.6 +++ metadata.xml 13 Jun 2014 21:28:12 -0000 1.7 @@ -8,4 +8,7 @@ <upstream> <remote-id type="cpe">cpe:/a:niels_provos:libevent</remote-id> </upstream> + <use> + <flag name='debug'>Support runtime debug mode and malloc hooks (for programmers)</flag> + </use> </pkgmetadata> 1.3 dev-libs/libevent/libevent-2.1.4-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libevent/libevent-2.1.4-r1.ebuild?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libevent/libevent-2.1.4-r1.ebuild?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libevent/libevent-2.1.4-r1.ebuild?r1=1.2&r2=1.3 Index: libevent-2.1.4-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-2.1.4-r1.ebuild,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- libevent-2.1.4-r1.ebuild 13 Jun 2014 17:36:56 -0000 1.2 +++ libevent-2.1.4-r1.ebuild 13 Jun 2014 21:28:12 -0000 1.3 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-2.1.4-r1.ebuild,v 1.2 2014/06/13 17:36:56 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-2.1.4-r1.ebuild,v 1.3 2014/06/13 21:28:12 vapier Exp $ EAPI=5 inherit eutils libtool multilib-minimal @@ -14,7 +14,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="" -IUSE="+ssl static-libs test +threads" +IUSE="debug +ssl static-libs test +threads" DEPEND="ssl? ( dev-libs/openssl[${MULTILIB_USEDEP}] )" RDEPEND=" @@ -30,6 +30,8 @@ src_prepare() { elibtoolize + # don't waste time building tests + # https://github.com/libevent/libevent/pull/144 sed -i -e '/^all:/s|tests||g' Makefile.nmake || die } @@ -39,6 +41,8 @@ ECONF_SOURCE="${S}" \ econf \ + $(use_enable debug debug-mode) \ + $(use_enable debug malloc-replacement) \ $(use_enable ssl openssl) \ $(use_enable static-libs static) \ $(use_enable threads thread-support) 1.269 dev-libs/libevent/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libevent/ChangeLog?rev=1.269&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libevent/ChangeLog?rev=1.269&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libevent/ChangeLog?r1=1.268&r2=1.269 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v retrieving revision 1.268 retrieving revision 1.269 diff -u -r1.268 -r1.269 --- ChangeLog 13 Jun 2014 17:36:56 -0000 1.268 +++ ChangeLog 13 Jun 2014 21:28:12 -0000 1.269 @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/libevent # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v 1.268 2014/06/13 17:36:56 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v 1.269 2014/06/13 21:28:12 vapier Exp $ + +*libevent-2.0.21-r2 (13 Jun 2014) + + 13 Jun 2014; Mike Frysinger <[email protected]> +libevent-2.0.21-r2.ebuild, + libevent-2.1.4-r1.ebuild, metadata.xml: + Add USE=debug to control debug mode/malloc hook configure flags. 13 Jun 2014; Jeroen Roovers <[email protected]> libevent-2.0.21-r1.ebuild, libevent-2.1.4-r1.ebuild: 1.1 dev-libs/libevent/libevent-2.0.21-r2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libevent/libevent-2.0.21-r2.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libevent/libevent-2.0.21-r2.ebuild?rev=1.1&content-type=text/plain Index: libevent-2.0.21-r2.ebuild =================================================================== # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-2.0.21-r2.ebuild,v 1.1 2014/06/13 21:28:12 vapier Exp $ EAPI=5 inherit eutils libtool multilib-minimal MY_P="${P}-stable" DESCRIPTION="A library to execute a function when a specific event occurs on a file descriptor" HOMEPAGE="http://libevent.org/" SRC_URI="mirror://github/${PN}/${PN}/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="debug +ssl static-libs test +threads" DEPEND="ssl? ( dev-libs/openssl[${MULTILIB_USEDEP}] )" RDEPEND=" ${DEPEND} !<=dev-libs/9libs-1.0 " MULTILIB_WRAPPED_HEADERS=( /usr/include/event2/event-config.h ) S=${WORKDIR}/${MY_P} DOCS=( README ChangeLog ) src_prepare() { elibtoolize # don't waste time building tests/samples # https://github.com/libevent/libevent/pull/143 # https://github.com/libevent/libevent/pull/144 sed -i \ -e 's|^\(SUBDIRS =.*\)sample test\(.*\)$|\1\2|' \ Makefile.in || die "sed Makefile.in failed" } multilib_src_configure() { ECONF_SOURCE="${S}" \ econf \ $(use_enable debug debug-mode) \ $(use_enable debug malloc-replacement) \ $(use_enable ssl openssl) \ $(use_enable static-libs static) \ $(use_enable threads thread-support) } src_test() { # The test suite doesn't quite work (see bug #406801 for the latest # installment in a riveting series of reports). : # emake -C test check | tee "${T}"/tests } multilib_src_install_all() { einstalldocs prune_libtool_files }
