]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
Update changelog, travis and packaging for libevent
authorVincent Bernat <bernat@luffy.cx>
Tue, 1 May 2012 09:29:22 +0000 (11:29 +0200)
committerVincent Bernat <bernat@luffy.cx>
Tue, 1 May 2012 10:23:45 +0000 (12:23 +0200)
.travis.yml
CHANGELOG
debian/control
m4/libevent.m4
redhat/lldpd.spec

index c3b8fadd98048d2580a5e2d538cc67911496e536..a1701d676a912e20870cf91419fbfb55db691e0d 100644 (file)
@@ -1,7 +1,7 @@
 language: "python"
 install:
   - "sudo apt-get -y install automake autoconf libtool pkg-config"
-  - "sudo apt-get -y install libsnmp-dev libxml2-dev check"
+  - "sudo apt-get -y install libsnmp-dev libxml2-dev libevent-dev check"
 script: "./autogen.sh && ./configure $LLDPD_CONFIG_ARGS && make && make check"
 env:
   - LLDPD_CONFIG_ARGS=""
index 363f7166f8cbdaee0b43854784af6657ea3b1912..e26b5a17da6b7ac431c17af777c53dfc40612dac 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -5,6 +5,7 @@ lldpd (0.6)
     + Support for multiple management addresses and IPv6 management
       addresses. Contributed by João Valverde.
   * Global changes:
+    + Switch to libevent. See README.md for details.
     + Partial rewrite of the SNMP part. Less code.
     + Unit tests for SNMP.
     + Major rewrite of the protocol between lldpd and lldpctl. Less
index 7a67bc28faebdaaf480192405d1acb8830b0ae0a..d39e75ddb20b8c2ad0e35a5824910ce980a59b0c 100644 (file)
@@ -2,7 +2,9 @@ Source: lldpd
 Section: net
 Priority: optional
 Maintainer: Vincent Bernat <bernat@debian.org>
-Build-Depends: debhelper (>= 5), cdbs, autotools-dev, libsnmp15-dev | libsnmp9-dev | libsnmp-dev, libxml2-dev
+Build-Depends: debhelper (>= 5), cdbs, autotools-dev,
+               libsnmp15-dev | libsnmp9-dev | libsnmp-dev,
+              libxml2-dev, libevent-dev, pkg-config, libtool
 Standards-Version: 3.8.4
 Homepage: https://trac.luffy.cx/lldpd/
 
index acfe1eb8400b4734168fd739eea301f656ea0728..d802afb448c003113319e0c6c15f962c8fb91504 100644 (file)
@@ -9,7 +9,7 @@ AC_DEFUN([lldp_CHECK_LIBEVENT], [
   _save_CC="$CC"
 
   # First, try with pkg-config
-  PKG_CHECK_MODULES([LIBEVENT], [libevent >= 2.0.5], [], [:])
+  PKG_CHECK_MODULES([LIBEVENT], [libevent >= 1.4.3], [], [:])
 
   AC_MSG_CHECKING([how to compile with libevent])
   if test x"$1" = x -o x"$1" = x"yes"; then
index 3fe1fde2d153ce1a15b670b7f7a346cfd0bdebd3..214780df1f147bd4bf6df5afbb0284b03d129e98 100644 (file)
@@ -37,6 +37,9 @@ Source0: http://www.luffy.cx/lldpd/%{name}-%{version}.tar.gz
 Source1: lldpd.init%{?suse_version:.suse}
 Source2: lldpd.sysconfig
 
+BuildRequires: pkgconfig
+BuildRequires: libtool
+BuildRequires: libevent-devel
 %if %{with snmp}
 BuildRequires: net-snmp-devel
 BuildRequires: openssl-devel