netifyd: add reproducibility patch

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2021-02-02 22:43:39 -08:00
parent 04c911aeb0
commit b38d4642ba
2 changed files with 12 additions and 1 deletions

View File

@ -6,7 +6,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=netifyd
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=Darryl Sokoloski <darryl@egloo.ca>
PKG_LICENSE:=GPL-3.0-or-later

View File

@ -0,0 +1,11 @@
--- a/src/netifyd.cpp
+++ b/src/netifyd.cpp
@@ -144,7 +144,7 @@ static void nd_usage(int rc = 0, bool ve
{
fprintf(stderr, "%s\n", nd_get_version_and_features().c_str());
fprintf(stderr, "Copyright (C) 2015-2020 eGloo Incorporated\n"
- "[%s %s]\n", GIT_RELEASE, GIT_DATE);
+ "[%s]\n", PACKAGE_VERSION);
if (version) {
fprintf(stderr, "\nThis application uses nDPI v%s\n"
"http://www.ntop.org/products/deep-packet-inspection/ndpi/\n", ndpi_revision());