summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2007-02-19 17:54:01 +0000
committerCaleb Tennis <caleb@gentoo.org>2007-02-19 17:54:01 +0000
commit7d56ac128aa9d8ffd9ce673094f2069504dd6118 (patch)
treea3e8e982dddc446d40d55d0e14824f2d261c0031 /dev-libs/libevent
parentStable on ppc wrt bug 167573 (diff)
downloadgentoo-2-7d56ac128aa9d8ffd9ce673094f2069504dd6118.tar.gz
gentoo-2-7d56ac128aa9d8ffd9ce673094f2069504dd6118.tar.bz2
gentoo-2-7d56ac128aa9d8ffd9ce673094f2069504dd6118.zip
version bump
(Portage version: 2.1.2-r8)
Diffstat (limited to 'dev-libs/libevent')
-rw-r--r--dev-libs/libevent/ChangeLog9
-rw-r--r--dev-libs/libevent/files/digest-libevent-0.8a2
-rw-r--r--dev-libs/libevent/files/digest-libevent-1.3a3
-rw-r--r--dev-libs/libevent/libevent-1.3a.ebuild64
4 files changed, 76 insertions, 2 deletions
diff --git a/dev-libs/libevent/ChangeLog b/dev-libs/libevent/ChangeLog
index 78383146cc52..5f11f2e7da90 100644
--- a/dev-libs/libevent/ChangeLog
+++ b/dev-libs/libevent/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libevent
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v 1.54 2006/12/10 15:37:48 tove Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v 1.55 2007/02/19 17:54:01 caleb Exp $
+
+*libevent-1.3a (19 Feb 2007)
+
+ 19 Feb 2007; Caleb Tennis <caleb@gentoo.org> +libevent-1.3a.ebuild:
+ Version bump
08 Dec 2006; Charlie Shepherd <masterdriverz@gentoo.org>
libevent-1.1a.ebuild:
diff --git a/dev-libs/libevent/files/digest-libevent-0.8a b/dev-libs/libevent/files/digest-libevent-0.8a
index a166b2cc59b3..a34a3d6acb11 100644
--- a/dev-libs/libevent/files/digest-libevent-0.8a
+++ b/dev-libs/libevent/files/digest-libevent-0.8a
@@ -1 +1,3 @@
MD5 80a243adfb879fc443e8476b6b361690 libevent-0.8a.tar.gz 98240
+RMD160 c9f32b37d80710c6c8043ab81f77632ee79bf13f libevent-0.8a.tar.gz 98240
+SHA256 003c58745e34fdb24a3e08f3c23178252cd25caad0c73fed364d65ed861a38b3 libevent-0.8a.tar.gz 98240
diff --git a/dev-libs/libevent/files/digest-libevent-1.3a b/dev-libs/libevent/files/digest-libevent-1.3a
new file mode 100644
index 000000000000..0b8aed2c2c12
--- /dev/null
+++ b/dev-libs/libevent/files/digest-libevent-1.3a
@@ -0,0 +1,3 @@
+MD5 92011285cae8d7c37e587b0f82e441e5 libevent-1.3a.tar.gz 445718
+RMD160 16a6c37f2d8a223eb7a38d5f32807ed9cb51e3de libevent-1.3a.tar.gz 445718
+SHA256 6bcf0c04be6e2ce902fa5a1e6d9e6b09d347c7a1c7f5a7ab5ed35606e34ed40b libevent-1.3a.tar.gz 445718
diff --git a/dev-libs/libevent/libevent-1.3a.ebuild b/dev-libs/libevent/libevent-1.3a.ebuild
new file mode 100644
index 000000000000..090c9a4af482
--- /dev/null
+++ b/dev-libs/libevent/libevent-1.3a.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-1.3a.ebuild,v 1.1 2007/02/19 17:54:01 caleb Exp $
+
+inherit libtool
+
+DESCRIPTION="A library to execute a function when a specific event occurs on a file descriptor"
+HOMEPAGE="http://monkey.org/~provos/libevent/"
+SRC_URI="http://monkey.org/~provos/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND="!dev-libs/9libs"
+
+pkg_setup() {
+ prevver=$(best_version ${CATEGORY}/${PN})
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # don't waste time building tests/samples
+ sed -i \
+ -e 's|^\(SUBDIRS =.*\)sample test\(.*\)$|\1\2|' \
+ Makefile.in || die "sed Makefile.in failed"
+
+ elibtoolize
+}
+
+src_test() {
+ einfo "Building tests"
+ cd test
+ make test || die "failed to build tests"
+
+ einfo "Running tests"
+ ./test.sh > ${T}/tests
+ cat ${T}/tests
+ grep FAILED ${T}/tests &>/dev/null && die "1 or more tests failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc README
+}
+
+pkg_postinst() {
+ local ver="${prevver##*/}"
+ if [[ -n "${ver}" ]] && [[ ${ver//[a-zA-Z-]} != "${PV//[a-zA-Z]}" ]] ; then
+ ewarn
+ ewarn "You will need to run revdep-rebuild (included with app-portage/gentoolkit)"
+ ewarn "to rebuild all packages that were built with libevent-1.0x."
+ ewarn
+ ewarn "Run the following to see which packages will be rebuilt:"
+ ewarn " revdep-rebuild --library ${ver}.so.1 -p"
+ ewarn
+ ewarn "If you are satisfied with the output, re-run without the '-p' to rebuild."
+ ewarn
+ fi
+ unset prevver
+}