]> git.ipfire.org Git - thirdparty/lldpd.git/log
thirdparty/lldpd.git
8 years agoenhance custom tlv with add/replace commands 163/head
kanna [Sun, 21 Feb 2016 17:59:10 +0000 (09:59 -0800)] 
enhance custom tlv with add/replace commands
allow for specific custom tlv to be deleted

8 years agoosx: ensure _lldpd user is hidden
Vincent Bernat [Sun, 21 Feb 2016 14:04:38 +0000 (15:04 +0100)] 
osx: ensure _lldpd user is hidden

We use /usr/bin/false. Otherwise, with OSX >= 10.8, having an UID < 500
is not sufficient. Another way would be to set `IsHidden` to TRUE but no
other users have this property.

8 years agobuild: keep user-specified CFLAGS
Vincent Bernat [Sun, 21 Feb 2016 13:54:02 +0000 (14:54 +0100)] 
build: keep user-specified CFLAGS

When user provides a CFLAGS at configure-time, keep it.

8 years agoosx: explain how to compile for older versions with recent SDK
Vincent Bernat [Sun, 21 Feb 2016 13:51:15 +0000 (14:51 +0100)] 
osx: explain how to compile for older versions with recent SDK

It's still quite unclear how we could know which versions a given SDK
supports. Let's assume that we can support all still supported versions
with El Capitan.

8 years agoredhat: don't try to guess systemd unit directory
Vincent Bernat [Sat, 20 Feb 2016 18:05:43 +0000 (19:05 +0100)] 
redhat: don't try to guess systemd unit directory

On SuSE, this doesn't work.

8 years agoredhat: enable some CFLAGS
Vincent Bernat [Sat, 20 Feb 2016 17:59:55 +0000 (18:59 +0100)] 
redhat: enable some CFLAGS

8 years agoredhat: make systemd stuff also works with SuSE
Vincent Bernat [Sat, 20 Feb 2016 17:53:27 +0000 (18:53 +0100)] 
redhat: make systemd stuff also works with SuSE

8 years agoredhat: fix parentheses on conditions
Vincent Bernat [Sat, 20 Feb 2016 17:52:20 +0000 (18:52 +0100)] 
redhat: fix parentheses on conditions

For some reason, the regular precedence for "&&" and "||" doesn't work
in a .spec. Use parentheses to overcome that.

Also, RHEL doesn't ship with libevent-devel at all. Don't use it.

8 years agodebian/redhat: prepare 0.9.1 0.9.1
Vincent Bernat [Sat, 20 Feb 2016 16:45:59 +0000 (17:45 +0100)] 
debian/redhat: prepare 0.9.1

8 years agonetlink: log error code when unable to receive netlink
Vincent Bernat [Wed, 10 Feb 2016 19:47:33 +0000 (20:47 +0100)] 
netlink: log error code when unable to receive netlink

8 years agonetlink: add an entry in NEWS for previous commit
Vincent Bernat [Wed, 10 Feb 2016 19:48:26 +0000 (20:48 +0100)] 
netlink: add an entry in NEWS for previous commit

8 years agoMerge pull request #161 from 6WIND/fix-large-netlink-messages
Vincent Bernat [Wed, 10 Feb 2016 19:46:34 +0000 (20:46 +0100)] 
Merge pull request #161 from 6WIND/fix-large-netlink-messages

netlink: fix reception of large netlink messages

8 years agonetlink: fix reception of large netlink messages 161/head
David Morel [Wed, 10 Feb 2016 15:10:08 +0000 (16:10 +0100)] 
netlink: fix reception of large netlink messages

If received netlink message is bigger than the buffer provided by the
application, netlink message flag will contain the MSG_TRUNC flag. In
this case it is up to the application to allocate a buffer large enough
to receive the full message and to call recv() again.

8 years agointerfaces: when no alias available, use interface name
Vincent Bernat [Mon, 8 Feb 2016 16:42:03 +0000 (17:42 +0100)] 
interfaces: when no alias available, use interface name

Even if the interface name was already used as port ID.

8 years agotravis: disable integration tests
Vincent Bernat [Fri, 5 Feb 2016 12:33:03 +0000 (13:33 +0100)] 
travis: disable integration tests

Without acceleration, this is too slow.

8 years agotravis: enable travis to access kernel file
Vincent Bernat [Fri, 5 Feb 2016 09:42:50 +0000 (10:42 +0100)] 
travis: enable travis to access kernel file

8 years agotravis: don't run distcheck on integration tests
Vincent Bernat [Fri, 5 Feb 2016 08:38:09 +0000 (09:38 +0100)] 
travis: don't run distcheck on integration tests

8 years agotravis: order environment variables to be easier to read
Vincent Bernat [Fri, 5 Feb 2016 08:37:10 +0000 (09:37 +0100)] 
travis: order environment variables to be easier to read

8 years agodoc: add an entry about netlink-related fixes
Vincent Bernat [Fri, 5 Feb 2016 07:53:24 +0000 (08:53 +0100)] 
doc: add an entry about netlink-related fixes

8 years agotravis: compatibility with Ubuntu Precise
Vincent Bernat [Fri, 5 Feb 2016 07:33:21 +0000 (08:33 +0100)] 
travis: compatibility with Ubuntu Precise

8 years agotravis: try to run integration tests on travis
Vincent Bernat [Thu, 4 Feb 2016 20:19:29 +0000 (21:19 +0100)] 
travis: try to run integration tests on travis

It's likely to fail...

8 years agointerfaces: fix alias handling
Vincent Bernat [Thu, 4 Feb 2016 19:25:59 +0000 (20:25 +0100)] 
interfaces: fix alias handling

And try to add some simple tests for them. The manual page says that if
an alias is provided, the default is to use the alias as description and
port name as port ID. We try to respect that.

The tests are not as complete as they could be because the MSAP changes
due to the port ID change and this makes tests more complex.

8 years agotests: speed up integration tests by sleeping less
Vincent Bernat [Thu, 4 Feb 2016 19:19:32 +0000 (20:19 +0100)] 
tests: speed up integration tests by sleeping less

8 years agonetlink: merge old attributes with new ones
Vincent Bernat [Thu, 4 Feb 2016 19:16:56 +0000 (20:16 +0100)] 
netlink: merge old attributes with new ones

It seems that netlink won't advertise all attributes each time. At least
type can be not advertised in a netlink message. Copy the appropriate
attributes from the old ones when they are missing and we know they
can't change or be absent.

8 years agotests: use generated libtool
Vincent Bernat [Thu, 4 Feb 2016 19:05:29 +0000 (20:05 +0100)] 
tests: use generated libtool

libtool can be absent on the system.

8 years agotests: require presence of "ip" and "brctl"
Vincent Bernat [Thu, 4 Feb 2016 19:04:37 +0000 (20:04 +0100)] 
tests: require presence of "ip" and "brctl"

8 years agotests: execute rtmon to keep a trace of netlink messages
Vincent Bernat [Thu, 4 Feb 2016 19:03:20 +0000 (20:03 +0100)] 
tests: execute rtmon to keep a trace of netlink messages

8 years agotests: rework integration tests to not rely on tmux
Vincent Bernat [Thu, 4 Feb 2016 19:00:43 +0000 (20:00 +0100)] 
tests: rework integration tests to not rely on tmux

They should be runable by a CI.

8 years agotravis: also try to build OSX package
Vincent Bernat [Sun, 31 Jan 2016 15:22:08 +0000 (16:22 +0100)] 
travis: also try to build OSX package

8 years agoosx: workaround issues with SIP on El Capitan
Vincent Bernat [Sun, 31 Jan 2016 15:05:00 +0000 (16:05 +0100)] 
osx: workaround issues with SIP on El Capitan

We cannot install in /usr anymore. Install in /usr/local instead (hoping
we won't conflict with HomeBrew).

8 years agoosx: simplify build
Vincent Bernat [Sun, 31 Jan 2016 14:41:07 +0000 (15:41 +0100)] 
osx: simplify build

We don't need to support multiple archs anymore. Therefore, no need for
lipo. Also, no need for rebuild. We can use the current build.

8 years agodoc: replace "Mac OS X" by "OS X"
Vincent Bernat [Sun, 31 Jan 2016 14:34:31 +0000 (15:34 +0100)] 
doc: replace "Mac OS X" by "OS X"

8 years agobuild: only test libbsd linking if we have found it
Vincent Bernat [Sun, 31 Jan 2016 14:30:30 +0000 (15:30 +0100)] 
build: only test libbsd linking if we have found it

8 years agolib: only define ntohll if not already defined
Vincent Bernat [Sun, 31 Jan 2016 14:29:56 +0000 (15:29 +0100)] 
lib: only define ntohll if not already defined

8 years agointerfaces/linux: remove interface blacklisting
Vincent Bernat [Sat, 30 Jan 2016 12:10:05 +0000 (13:10 +0100)] 
interfaces/linux: remove interface blacklisting

Once there is a candidate to be blacklisted, we can restore the
code. Meantime, less code, less bugs.

8 years agointerfaces/linux: blacklist some drivers instead of whitelisting
Vincent Bernat [Sat, 30 Jan 2016 12:09:16 +0000 (13:09 +0100)] 
interfaces/linux: blacklist some drivers instead of whitelisting

Currently, there is no driver to blacklist. In the past, the virtualbox
pseudo-interface was a good candidate but it is not used anymore.

8 years agointerfaces/linux: don't check transmit queue size
Vincent Bernat [Sat, 30 Jan 2016 11:59:04 +0000 (12:59 +0100)] 
interfaces/linux: don't check transmit queue size

Its size can change while no netlink messages will be sent to update it.

8 years agoman: fix a spelling error in manual page
Vincent Bernat [Sun, 24 Jan 2016 09:18:58 +0000 (10:18 +0100)] 
man: fix a spelling error in manual page

8 years agoclient: fix code style
Vincent Bernat [Sat, 23 Jan 2016 16:05:50 +0000 (17:05 +0100)] 
client: fix code style

8 years agoclient: ensure JSON is written to the provided file handle
Vincent Bernat [Sat, 23 Jan 2016 15:57:12 +0000 (16:57 +0100)] 
client: ensure JSON is written to the provided file handle

8 years agoclient: ensure XML is written to the provided file handle
Vincent Bernat [Sat, 23 Jan 2016 15:46:26 +0000 (16:46 +0100)] 
client: ensure XML is written to the provided file handle

Currently, this is just stdout but the interface provides a file handle
and we should use it.

8 years agodoc: fix NEWS file about netlink change
Vincent Bernat [Wed, 20 Jan 2016 19:29:15 +0000 (20:29 +0100)] 
doc: fix NEWS file about netlink change

There is no libnl3 API-compatible library at all. It's the previous code
with small modifications.

8 years agolib: rework a bit documentation around reference counting
Vincent Bernat [Wed, 20 Jan 2016 19:22:21 +0000 (20:22 +0100)] 
lib: rework a bit documentation around reference counting

8 years agobuild: add some integration tests 0.9.0
Vincent Bernat [Sun, 10 Jan 2016 12:34:32 +0000 (13:34 +0100)] 
build: add some integration tests

8 years agobuild: don't use libbsd if we can't link it
Vincent Bernat [Sun, 10 Jan 2016 08:15:08 +0000 (09:15 +0100)] 
build: don't use libbsd if we can't link it

8 years agonetlink: handle veth loops correctly
Vincent Bernat [Fri, 1 Jan 2016 20:11:02 +0000 (21:11 +0100)] 
netlink: handle veth loops correctly

Since Linux 4.1, a pair of veth are referenced as IFLINK for each
other. We previously detected this loop easily and did break the loop by
removing this bogus information. However, when one of the interface is
updated, only the modified interface has IFLINK pointing to the other
interface. Therefore, no more loop but the information is incorrect. To
avoid that, don't reset indexes, just pointers. We only use indexes to
build correctly those pointers.

8 years agolldpd: fix change detection
Vincent Bernat [Fri, 1 Jan 2016 19:40:30 +0000 (20:40 +0100)] 
lldpd: fix change detection

When a port was set down then up, no change was detected because the
flags were not effectively compared. Fix in 196757 was incomplete.

8 years agodebian/redhat: prepare 0.9.0
Vincent Bernat [Fri, 1 Jan 2016 18:14:46 +0000 (19:14 +0100)] 
debian/redhat: prepare 0.9.0

No scheduled for release yet, but since the packaging was updated as
part of 0fa225, put the right version number.

8 years agotravis: don't require libnl-3-dev
Vincent Bernat [Fri, 1 Jan 2016 18:13:34 +0000 (19:13 +0100)] 
travis: don't require libnl-3-dev

8 years agonetlink: remove use of libnl3
Vincent Bernat [Fri, 1 Jan 2016 07:54:32 +0000 (08:54 +0100)] 
netlink: remove use of libnl3

Use netlink implementation from 0.7.19 instead but manage a cache
ourselves. The changes are quite minimal compared to the implementation
in 0.7.19. We handle deletion and updates. The use of linked list may be
problematic performance-wise.

When an interface goes down then up, no PDU is scheduled to be sent
again. This bug was already present in the previous implementation and
should be a regression of 36080c.

8 years agolldpd: cleanup local chassis on exit
Vincent Bernat [Fri, 1 Jan 2016 17:29:10 +0000 (18:29 +0100)] 
lldpd: cleanup local chassis on exit

Still for valgrind happiness.

8 years agolldpd: cleanup default local port on exit
Vincent Bernat [Fri, 1 Jan 2016 17:20:29 +0000 (18:20 +0100)] 
lldpd: cleanup default local port on exit

Easier to spot a leak with valgrind this way.

8 years agoevent: unallocate interface timer event on exit
Vincent Bernat [Fri, 1 Jan 2016 17:16:33 +0000 (18:16 +0100)] 
event: unallocate interface timer event on exit

8 years agoclient: don't do arithmetics with void*
Vincent Bernat [Tue, 29 Dec 2015 13:47:04 +0000 (14:47 +0100)] 
client: don't do arithmetics with void*

It's illegal.

8 years agodoc: no 0.8.0 release planned
Vincent Bernat [Tue, 29 Dec 2015 08:53:08 +0000 (09:53 +0100)] 
doc: no 0.8.0 release planned

The switch to libnl3 makes it difficult to do a proper release as the
compilation fails on many old platforms due to libnl3 requirement. The
plan is to reimplement a minimal version of libnl3 (same interface) for
our needs.

8 years agoclient: fix segfault when displaying some information 0.8.0
Vincent Bernat [Tue, 29 Dec 2015 08:41:40 +0000 (09:41 +0100)] 
client: fix segfault when displaying some information

Due to 5ed4156c02b0ba801feb9bf383d9b7772dc990e5, we were incorrectly
hiding information when it was present and displaying it when it was
absent (leading to a segfault).

Closes #152

8 years agoclient: gracefully handle NULL data in writers
Vincent Bernat [Tue, 29 Dec 2015 08:34:15 +0000 (09:34 +0100)] 
client: gracefully handle NULL data in writers

8 years agoclient: remove incomplete commented examples
Vincent Bernat [Tue, 29 Dec 2015 08:30:20 +0000 (09:30 +0100)] 
client: remove incomplete commented examples

8 years agoosx: move /var/run/lldpd creation in postinstall
Vincent Bernat [Tue, 29 Dec 2015 06:28:48 +0000 (07:28 +0100)] 
osx: move /var/run/lldpd creation in postinstall

This way, it works for binary packages too.

8 years agobuild: don't check for pkg-config several times
Vincent Bernat [Mon, 28 Dec 2015 20:27:41 +0000 (21:27 +0100)] 
build: don't check for pkg-config several times

Just check the first time.

8 years agoosx: ensure creation of var/run/lldpd
Vincent Bernat [Mon, 28 Dec 2015 19:32:13 +0000 (20:32 +0100)] 
osx: ensure creation of var/run/lldpd

There is no guarantee that /usr/local/var/run already exists.

8 years agoosx: reduce distance with official HomeBrew formula
Vincent Bernat [Mon, 28 Dec 2015 19:29:47 +0000 (20:29 +0100)] 
osx: reduce distance with official HomeBrew formula

We still want to use a dedicated user as it is safer.

8 years agoosx: update Homebrew formula
Vincent Bernat [Mon, 28 Dec 2015 19:28:54 +0000 (20:28 +0100)] 
osx: update Homebrew formula

8 years agolibnl: update to 3.2.27
Vincent Bernat [Mon, 28 Dec 2015 08:12:30 +0000 (09:12 +0100)] 
libnl: update to 3.2.27

8 years agoredhat: add a note about the spec file being tied to OBS
Vincent Bernat [Sun, 27 Dec 2015 17:37:59 +0000 (18:37 +0100)] 
redhat: add a note about the spec file being tied to OBS

8 years agoredhat: don't use %elseif
Vincent Bernat [Sun, 27 Dec 2015 17:34:11 +0000 (18:34 +0100)] 
redhat: don't use %elseif

For some reason, it just doesn't work.

8 years agoredhat: drop support for RHEL 4
Vincent Bernat [Sun, 27 Dec 2015 15:48:26 +0000 (16:48 +0100)] 
redhat: drop support for RHEL 4

It's unlikely we are able to compile correctly on it.

8 years agobuild: prepare for release
Vincent Bernat [Sun, 27 Dec 2015 09:59:56 +0000 (10:59 +0100)] 
build: prepare for release

8 years agobuild: .git can be a file (worktree)
Vincent Bernat [Wed, 16 Dec 2015 22:22:07 +0000 (23:22 +0100)] 
build: .git can be a file (worktree)

8 years agobuild: check for configure before trying to configure a subproject
Vincent Bernat [Wed, 16 Dec 2015 22:12:24 +0000 (23:12 +0100)] 
build: check for configure before trying to configure a subproject

8 years agobuild: don't do a submodule update if not a git checkout
Vincent Bernat [Wed, 16 Dec 2015 21:52:51 +0000 (22:52 +0100)] 
build: don't do a submodule update if not a git checkout

This can happen if it's just a tarball created from a git tree, but not
a checkout.

8 years agoclient: avoid -Waddress warning by comparing to NULL
Vincent Bernat [Tue, 15 Dec 2015 09:38:34 +0000 (10:38 +0100)] 
client: avoid -Waddress warning by comparing to NULL

8 years agoclient: update LLDP-MED policy L2 priority values to match 802.1Q-2005
Vincent Bernat [Tue, 15 Dec 2015 08:50:35 +0000 (09:50 +0100)] 
client: update LLDP-MED policy L2 priority values to match 802.1Q-2005

8 years agoclient: display numeric PCP
Vincent Bernat [Tue, 15 Dec 2015 08:46:29 +0000 (09:46 +0100)] 
client: display numeric PCP

Since the string value for network policy priority can change depending
on the used standard, it seems better to also provide a numeric
value. We name it PCP.

8 years agobuild: bison and flex are needed to configure libnl3
Vincent Bernat [Sun, 13 Dec 2015 09:08:00 +0000 (10:08 +0100)] 
build: bison and flex are needed to configure libnl3

This is just a safety. Those packages are normally part of the default
build group.

8 years agobuild: let AC_SEARCH_LIBS modify LIBS
Vincent Bernat [Sun, 13 Dec 2015 08:52:43 +0000 (09:52 +0100)] 
build: let AC_SEARCH_LIBS modify LIBS

Users is expected to be able to modify CFLAGS and LDFLAGS. We don't care
about other variables like LIBS.

8 years agotravis: enable PIE
Vincent Bernat [Sun, 13 Dec 2015 08:49:53 +0000 (09:49 +0100)] 
travis: enable PIE

8 years agobuild: don't enable PIE by default
Vincent Bernat [Sun, 13 Dec 2015 08:46:10 +0000 (09:46 +0100)] 
build: don't enable PIE by default

PIE needs support from compiler, linker and dynamic linker. Even
when everything seems in place, it can be unreliable. On many ARM
toolchains, compiler and linker support is here but the dynamic
linker doesn't know how to handle that. It is also reported that
NetBSD/ppc or Solaris/x86 doesn't work correctly. Therefore, it is
too difficult to detect proper support at configure time (notably
with cross-compilation). Some OS (like OpenBSD, or Gentoo) come
with automatic PIE support. No need to do anyhing special for
them.

People wanting to enable PIE should now use --enable-pie.

8 years agobuild: don't use getopt from libbsd
Vincent Bernat [Sun, 13 Dec 2015 08:03:13 +0000 (09:03 +0100)] 
build: don't use getopt from libbsd

The GNU one is perfectly fine.

8 years agobuild: make use of libbsd work even if a user override CFLAGS
Vincent Bernat [Sun, 13 Dec 2015 07:57:05 +0000 (08:57 +0100)] 
build: make use of libbsd work even if a user override CFLAGS

`make CFLAGS=...` should work as expected.

8 years agocompat: use getline() instead of fgetln()
Vincent Bernat [Sat, 12 Dec 2015 21:47:41 +0000 (22:47 +0100)] 
compat: use getline() instead of fgetln()

getline() is POSIX.1-2008 while fgetln() is BSD. Write a simple
implementation from the NetBSD one for too old OSes.

8 years agobuild: use libbsd overlay
Vincent Bernat [Sat, 12 Dec 2015 20:37:52 +0000 (21:37 +0100)] 
build: use libbsd overlay

This enables more portable code. We check for the presence of libbsd and
use it if it is here. All the remaining should work with/without libbsd
on Linux or on other OSes.

8 years agointerfaces: use /proc/net/bonding as primary method
Vincent Bernat [Tue, 1 Dec 2015 11:42:11 +0000 (12:42 +0100)] 
interfaces: use /proc/net/bonding as primary method

8 years agointerfaces: fallback to old method to get original MAC on bond
Vincent Bernat [Tue, 1 Dec 2015 11:36:14 +0000 (12:36 +0100)] 
interfaces: fallback to old method to get original MAC on bond

The new method may be unsucessful when the lower layer is a veth
interface.

8 years agointerfaces: handle the case where the provided MAC address is incorrect
Vincent Bernat [Tue, 1 Dec 2015 08:27:34 +0000 (09:27 +0100)] 
interfaces: handle the case where the provided MAC address is incorrect

Some drivers, like veth are unable to provide an appropriate MAC
address. Warn the user, keep the one we have.

8 years agointerfaces: query permanent MAC address through ethtool
Vincent Bernat [Tue, 1 Dec 2015 08:01:17 +0000 (09:01 +0100)] 
interfaces: query permanent MAC address through ethtool

This is possible since 2.6.14. No need to parse a file. We still need to
do that as root as this is only allowed for mere mortals since
2.6.19 (and we would like to support 2.6.18). As a side note, it's
possible to query settings since 2.6.36 (so priv_ethtool is still
needed).

8 years agolldpmed: fix numeric values for L2 priority
Vincent Bernat [Tue, 1 Dec 2015 07:15:04 +0000 (08:15 +0100)] 
lldpmed: fix numeric values for L2 priority

"Best effort" is the default priority and is 0. Other priorities are
then ordered from 1 to 7 (from the lowest to the highest). Add a note in
the manual page about the fact that the labels are not enforceable and
more recent standards may change them and their meaning.

8 years agolog: rework the way -d work
Vincent Bernat [Sat, 28 Nov 2015 13:49:45 +0000 (14:49 +0100)] 
log: rework the way -d work

Now:
 - `-d` means to stay in foreground, log to syslog
 - `-dd` means to stay in foreground, log warnings to console
 - `-ddd` means to stay in foreground, log warnings and info to console
 - `-dddd` means to stay in foreground, log all to console

Fix #146

8 years agoosx: also use /sbin/nologin as default shell
Vincent Bernat [Fri, 27 Nov 2015 06:58:37 +0000 (07:58 +0100)] 
osx: also use /sbin/nologin as default shell

8 years agoredhat: use /sbin/nologin as a shell for lldpd
Vincent Bernat [Fri, 27 Nov 2015 06:57:14 +0000 (07:57 +0100)] 
redhat: use /sbin/nologin as a shell for lldpd

Fix #147

8 years agodebian: don't try to support older distributions
Vincent Bernat [Mon, 23 Nov 2015 07:42:04 +0000 (08:42 +0100)] 
debian: don't try to support older distributions

They are not supported due to the dependency on libnl3. Either we fix
the dependency to be optional or we don't need that stuff in
debian/rules.

8 years agodebian: express minimal version needed for libnl3
Vincent Bernat [Mon, 23 Nov 2015 07:35:33 +0000 (08:35 +0100)] 
debian: express minimal version needed for libnl3

Wheezy comes with a too old version.

8 years agoredhat: use system libnl3 when possible
Vincent Bernat [Mon, 23 Nov 2015 07:33:05 +0000 (08:33 +0100)] 
redhat: use system libnl3 when possible

8 years agoredhat: use embedded libevent on older distributions
Vincent Bernat [Mon, 23 Nov 2015 07:31:35 +0000 (08:31 +0100)] 
redhat: use embedded libevent on older distributions

8 years agoredhat: correctly handle SLES too
Vincent Bernat [Mon, 23 Nov 2015 07:24:45 +0000 (08:24 +0100)] 
redhat: correctly handle SLES too

8 years agodebian/redhat: update packaging
Vincent Bernat [Sun, 22 Nov 2015 17:53:40 +0000 (18:53 +0100)] 
debian/redhat: update packaging

We prepare for release of 0.8.0. libnl3 will be embedded but we now use
libevent from the system.

8 years agodebian: also requires libnl-route-3-dev as a dependency
Vincent Bernat [Sat, 14 Nov 2015 16:30:29 +0000 (17:30 +0100)] 
debian: also requires libnl-route-3-dev as a dependency

8 years agobuild: allow an embedded subdir to be absent
Vincent Bernat [Sat, 14 Nov 2015 06:50:36 +0000 (07:50 +0100)] 
build: allow an embedded subdir to be absent

This will break some stuff, but it was already the case when we were
using AC_CONFIG_SUBDIR.

8 years agoevent: check if timer is present before trying to activate it
Vincent Bernat [Tue, 20 Oct 2015 16:38:05 +0000 (18:38 +0200)] 
event: check if timer is present before trying to activate it

A timer should always be present, but some previous error conditions may
make it absent. Don't just crash in this condition. See #135.

8 years agobuild: ignore untracked files in submodule for version
Vincent Bernat [Sat, 17 Oct 2015 17:30:39 +0000 (19:30 +0200)] 
build: ignore untracked files in submodule for version

We can't update the .gitignore of a submodule and we don't want the
version to be "dirty" just for that.