From 830eeee2da5bdea2420a1eac8814e4a51eacbd7a Mon Sep 17 00:00:00 2001 From: Andrei Dinu Date: Mon, 28 Jan 2013 15:23:25 +0200 Subject: libevent : upgrade to 4.0.21 - removed libevent-2.0.16_fix_for_x32.patch because the newer version contained the changes done by the patch. - LICENSE file new checksum caused by : old : Copyright (c) 2007-2011 Niels Provos and Nick Mathewson new : Copyright (c) 2007-2012 Niels Provos and Nick Mathewson (From OE-Core rev: eda67a8cb2b2669c12ecda2cf9b00e1001b8c598) Signed-off-by: Andrei Dinu Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- .../libevent/libevent-2.0.16_fix_for_x32.patch | 47 ---------------------- meta/recipes-support/libevent/libevent_2.0.16.bb | 25 ------------ meta/recipes-support/libevent/libevent_2.0.21.bb | 24 +++++++++++ 3 files changed, 24 insertions(+), 72 deletions(-) delete mode 100644 meta/recipes-support/libevent/libevent/libevent-2.0.16_fix_for_x32.patch delete mode 100644 meta/recipes-support/libevent/libevent_2.0.16.bb create mode 100644 meta/recipes-support/libevent/libevent_2.0.21.bb (limited to 'meta/recipes-support/libevent') diff --git a/meta/recipes-support/libevent/libevent/libevent-2.0.16_fix_for_x32.patch b/meta/recipes-support/libevent/libevent/libevent-2.0.16_fix_for_x32.patch deleted file mode 100644 index ef42863c94..0000000000 --- a/meta/recipes-support/libevent/libevent/libevent-2.0.16_fix_for_x32.patch +++ /dev/null @@ -1,47 +0,0 @@ -Upstream-Status: pending - -Pulled the patch from gentoo: from here: -http://sources2.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/libevent/files/libevent-2.0.16-sysctl.patch?revision=1.1 - -Signed-Off-By: Nitin A Kamble -2012/01/04 - -From 358c745e5432f7648b6f8b3188f32b5551cbf9d6 Mon Sep 17 00:00:00 2001 -From: Mike Frysinger -Date: Thu, 8 Dec 2011 11:39:48 -0500 -Subject: [PATCH] check for sysctl before we use it - -Not all C libraries under Linux support the sysctl() func. ---- - arc4random.c | 2 +- - configure.in | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/arc4random.c b/arc4random.c -index 4833169..ef10fa8 100644 ---- a/arc4random.c -+++ b/arc4random.c -@@ -166,7 +166,7 @@ arc4_seed_win32(void) - } - #endif - --#if defined(_EVENT_HAVE_SYS_SYSCTL_H) -+#if defined(_EVENT_HAVE_SYS_SYSCTL_H) && defined(_EVENT_HAVE_SYSCTL) - #if _EVENT_HAVE_DECL_CTL_KERN && _EVENT_HAVE_DECL_KERN_RANDOM && _EVENT_HAVE_DECL_RANDOM_UUID - #define TRY_SEED_SYSCTL_LINUX - static int -diff --git a/configure.in b/configure.in -index da08cf4..4e24444 100644 ---- a/configure.in -+++ b/configure.in -@@ -267,7 +267,7 @@ AC_HEADER_TIME - - dnl Checks for library functions. - AC_CHECK_FUNCS([gettimeofday vasprintf fcntl clock_gettime strtok_r strsep]) --AC_CHECK_FUNCS([getnameinfo strlcpy inet_ntop inet_pton signal sigaction strtoll inet_aton pipe eventfd sendfile mmap splice arc4random arc4random_buf issetugid geteuid getegid getprotobynumber setenv unsetenv putenv]) -+AC_CHECK_FUNCS([getnameinfo strlcpy inet_ntop inet_pton signal sigaction strtoll inet_aton pipe eventfd sendfile mmap splice arc4random arc4random_buf issetugid geteuid getegid getprotobynumber setenv unsetenv putenv sysctl]) - - AC_CACHE_CHECK( - [for getaddrinfo], --- -1.7.6.1 diff --git a/meta/recipes-support/libevent/libevent_2.0.16.bb b/meta/recipes-support/libevent/libevent_2.0.16.bb deleted file mode 100644 index 1c464efb37..0000000000 --- a/meta/recipes-support/libevent/libevent_2.0.16.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "An asynchronous event notification library" -DESCRIPTION = "An asynchronous event notification library" -HOMEPAGE = "http://libevent.org/" -BUGTRACKER = "http://sourceforge.net/tracker/?group_id=50884&atid=461322" -SECTION = "libs" - -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=50aad300de703db62baae12146832b45" - -PR = "r2" - -SRC_URI = "http://github.com/downloads/libevent/libevent/${BPN}-${PV}-stable.tar.gz \ - file://libevent-2.0.16_fix_for_x32.patch" - -SRC_URI[md5sum] = "899efcffccdb3d5111419df76e7dc8df" -SRC_URI[sha256sum] = "a578c7bcaf3bab1cc7924bd4d219f2ea621ab8c51dfc4f886e234b6ef4d38295" - -S = "${WORKDIR}/${BPN}-${PV}-stable" - -EXTRA_OECONF = "--disable-openssl" - -inherit autotools - -# Needed for Debian packaging -LEAD_SONAME = "libevent-2.0.so" diff --git a/meta/recipes-support/libevent/libevent_2.0.21.bb b/meta/recipes-support/libevent/libevent_2.0.21.bb new file mode 100644 index 0000000000..3c53de96c6 --- /dev/null +++ b/meta/recipes-support/libevent/libevent_2.0.21.bb @@ -0,0 +1,24 @@ +SUMMARY = "An asynchronous event notification library" +DESCRIPTION = "An asynchronous event notification library" +HOMEPAGE = "http://libevent.org/" +BUGTRACKER = "http://sourceforge.net/tracker/?group_id=50884&atid=461322" +SECTION = "libs" + +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=45c5316ff684bcfe2f9f86d8b1279559" + +PR = "r0" + +SRC_URI = "http://github.com/downloads/libevent/libevent/${BPN}-${PV}-stable.tar.gz" + +SRC_URI[md5sum] = "b2405cc9ebf264aa47ff615d9de527a2" +SRC_URI[sha256sum] = "22a530a8a5ba1cb9c080cba033206b17dacd21437762155c6d30ee6469f574f5" + +S = "${WORKDIR}/${BPN}-${PV}-stable" + +EXTRA_OECONF = "--disable-openssl" + +inherit autotools + +# Needed for Debian packaging +LEAD_SONAME = "libevent-2.0.so" -- cgit 1.2.3-korg