netifyd: add reproducibility patch 14636/head
authorRosen Penev <rosenp@gmail.com>
Wed, 3 Feb 2021 06:43:39 +0000 (22:43 -0800)
committerRosen Penev <rosenp@gmail.com>
Wed, 3 Feb 2021 06:44:07 +0000 (22:44 -0800)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/netifyd/Makefile
net/netifyd/patches/010-reproducible.patch [new file with mode: 0644]

index b8d3aad0d390930945558437e31332cce89bdc19..025bf26fc8a63cb91030d423d91952a9dadfa5b2 100644 (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
 
diff --git a/net/netifyd/patches/010-reproducible.patch b/net/netifyd/patches/010-reproducible.patch
new file mode 100644 (file)
index 0000000..60486ad
--- /dev/null
@@ -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());