Commit Graph

11 Commits

Author SHA1 Message Date
Rosen Penev 1c9bb999e1 ndppd: remove uClibc++ support
uClibc++ has been removed treewide. This is the last package.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-10 08:20:24 +01:00
Martin Strobel 9333cdff05 ndppd: fix compile error with musl
Error:
src/logger.cc: In static member function 'static std::string ndppd::logger::err()':
src/logger.cc:86:22: error: could not convert 'strerror_r((*__errno_location()), ((char*)(& buf)), sizeof (buf))'
                            from 'int' to 'std::string {aka std::basic_string<char>}'
    return strerror_r(errno, buf, sizeof(buf));

Added and modified some patches from
eb81b8f2d6...navossoc:master
(See https://github.com/DanielAdolfsson/ndppd/issues/40 for details)

Compile-tested: octeon + mpc85xx openwrt master, musl + uclibc++
                octeon openwrt master, glibc + libstdc++

Run-tested: octeon openwrt master, musl + uclibc++

Signed-off-by: Martin Strobel <arctus@crza.de>
2018-08-12 18:03:38 +02:00
David Guglielmi 3b0ad89f33
ndppd: bump to 0.2.5
* Remove downstream patches
 * Use github/codeload for source URL
 * Use PKG_HASH
2018-06-18 01:32:23 +02:00
Jo-Philipp Wich 5aa009c7e6 ndppd: fix compilation with modern gcc
Import upstream commit "f19fa4b Fix a cast so it can be compiled with gcc-6"
in order to fix building ndppd with recent gcc versions.

Fixes the following error spotted by the build bots:

    src/iface.cc: In static member function 'static ndppd::ptr<ndppd::iface> ndppd::iface::open_pfd(const string&)':
    src/iface.cc:153:5: error: narrowing conversion of '-1' from 'int' to '__u32 {aka unsigned int}' inside { } [-Wnarrowing]

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-18 01:59:20 +01:00
Alexander Ryzhov 4a006704c3 ndppd: fix source URL (#209)
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
2016-07-18 14:09:33 +03:00
Alexander Couzens e17f103c4d use @IPV6 instead of +kmod-ipv6
kmod-ipv6 is obsolete.
The symbol IPV6 is a global config symbol, don't select it because it
will override the user decision of IPV6 as all other package in base do
it. A select (+) will also create a recursive dependency error.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2016-06-05 02:44:32 +02:00
Markus Stenberg 5cd413d16a Revert "kmod-ipv6 => @IPV6."
This reverts commit bcaa87776f.

Caused circular dependencies; reverted for now. (kmod-ipv6 explicit
dependencies _should_ be eliminated though, but this is clearly not
the way.)
2015-12-12 00:25:10 +02:00
Markus Stenberg bcaa87776f kmod-ipv6 => @IPV6. 2015-12-11 14:05:14 +02:00
Steven Barth 69f203d5c3 Add SPDX license tags
Signed-off-by: Steven Barth <steven@midlink.org>
2014-11-03 13:17:00 +01:00
Gabriel Kerneis 1a690796a3 ndppd: new upstream release 0.2.3
Also update maintainer email address and cherry-pick commit 00da8bf to
prevent daemonizing before reading the configuration file.

Signed-off-by: Gabriel Kerneis <gabriel@kerneis.info>
2013-10-28 16:20:10 +00:00
Saverio Proto 1fb0f3bcfe Move files to ndppd folder for import in openwrt-routing feed 2013-07-01 15:35:57 +02:00