include $(TOPDIR)/rules.mk
PKG_NAME:=ndppd
-PKG_VERSION:=0.2.5
-PKG_RELEASE:=2
+PKG_VERSION:=0.2.6
+PKG_RELEASE:=1
# Latest release
PKG_SOURCE_URL:=https://codeload.github.com/DanielAdolfsson/ndppd/tar.gz/$(PKG_VERSION)?
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_HASH:=ee934167f8357f0bd0015e201a77fbe4d028c59e89dc98113805c6855e1c3992
+PKG_HASH:=969d438462e0c65a8c9060d8d263c5c47ba8145fb9aaa663864bbad11ad7eb7a
PKG_LICENSE:=GPL-3.0-or-later
# Development snapshot
-#PKG_SOURCE_URL=git://github.com/Tuhox/ndppd.git
+#PKG_SOURCE_URL=git://github.com/DanielAdolfsson/ndppd.git
#PKG_SOURCE_VERSION=master
#PKG_SOURCE_SUBDIR=$(PKG_NAME)-$(PKG_VERSION)
src/ndppd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-diff --git a/src/ndppd.h b/src/ndppd.h
-index 57ba829..3e11221 100644
--- a/src/ndppd.h
+++ b/src/ndppd.h
@@ -21,7 +21,7 @@
#define NDPPD_NS_END }
-#define NDPPD_VERSION "0.2.4"
-+#define NDPPD_VERSION "0.2.5"
++#define NDPPD_VERSION "0.2.6"
#include <assert.h>
src/logger.h | 3 +++
2 files changed, 15 insertions(+), 1 deletions(-)
-diff --git a/src/logger.cc b/src/logger.cc
-index 6ddbea9..6ccb2a0 100644
--- a/src/logger.cc
+++ b/src/logger.cc
-@@ -84,6 +84,6 @@ std::string logger::err()
- {
- char buf[2048];
+@@ -89,7 +89,7 @@ std::string logger::err()
+ return "Unknown error";
+ return buf;
+ #else
- return strerror_r(errno, buf, sizeof(buf));
+ return strerror_r_wrapper(strerror_r(errno, buf, sizeof(buf)), buf);
+ #endif
}
- logger logger::error()
-@@ -221,4 +221,16 @@
+@@ -228,4 +228,16 @@ bool logger::verbosity(const std::string
return false;
}
-
+
+// XSI-compliant: int
+std::string logger::strerror_r_wrapper(int, char* s)
+{
+}
+
NDPPD_NS_END
-diff --git a/src/logger.h b/src/logger.h
-index 7d3d7db..0446595 100644
--- a/src/logger.h
+++ b/src/logger.h
-@@ -91,6 +91,9 @@ class logger {
+@@ -91,6 +91,9 @@ private:
static int _max_pri;
};
-
src/rule.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
-diff --git a/src/iface.cc b/src/iface.cc
-index f569d3c..7cbb57f 100644
--- a/src/iface.cc
+++ b/src/iface.cc
@@ -30,7 +30,7 @@
#include <linux/filter.h>
-diff --git a/src/iface.h b/src/iface.h
-index 9db59ab..df7ff35 100644
--- a/src/iface.h
+++ b/src/iface.h
@@ -20,7 +20,7 @@
#include <net/ethernet.h>
#include "ndppd.h"
-diff --git a/src/proxy.h b/src/proxy.h
-index 8141b2a..9299d9a 100644
--- a/src/proxy.h
+++ b/src/proxy.h
@@ -19,7 +19,7 @@
#include "ndppd.h"
-diff --git a/src/rule.h b/src/rule.h
-index 0c2f79a..23086e6 100644
--- a/src/rule.h
+++ b/src/rule.h
-@@ -20,6 +20,6 @@
+@@ -20,7 +20,7 @@
#include <map>
+ #include <list>
-#include <sys/poll.h>
+#include <poll.h>
#include "ndppd.h"
-
+