summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/netsniff-ng/files/0001-Cmds-automatically-create-folder.patch
diff options
context:
space:
mode:
authorClément Péron <peron.clem@gmail.com>2022-02-17 14:16:15 +0100
committerKhem Raj <raj.khem@gmail.com>2022-02-17 14:54:56 -0800
commitf3474b141d57e22c90436974630fc5610d05dd45 (patch)
tree9ea05c5b96afdf3fbd09004f7cfca75bbddba8ee /meta-networking/recipes-support/netsniff-ng/files/0001-Cmds-automatically-create-folder.patch
parent99e2f59d7cfe460d8593bc1b00b2f68ab6c22126 (diff)
downloadmeta-openembedded-f3474b141d57e22c90436974630fc5610d05dd45.tar.gz
networking: add new netsniff-ng recipe version 0.6.8
Netsniff-ng is a fast zero-copy analyzer, pcap capturing and replaying tool. Actually the Makefile doesn't create the folder when installing tools, let's add a patch to fix this. Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/netsniff-ng/files/0001-Cmds-automatically-create-folder.patch')
-rw-r--r--meta-networking/recipes-support/netsniff-ng/files/0001-Cmds-automatically-create-folder.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/netsniff-ng/files/0001-Cmds-automatically-create-folder.patch b/meta-networking/recipes-support/netsniff-ng/files/0001-Cmds-automatically-create-folder.patch
new file mode 100644
index 0000000000..e535aedf51
--- /dev/null
+++ b/meta-networking/recipes-support/netsniff-ng/files/0001-Cmds-automatically-create-folder.patch
@@ -0,0 +1,26 @@
1From 7c00d75d16da18a9998fc4cca28d3c953dd54ceb Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= <peron.clem@gmail.com>
3Date: Mon, 14 Feb 2022 18:37:22 +0100
4Subject: [PATCH] Cmds: automatically create folder
5
6---
7 Cmds | 3 ++-
8 1 file changed, 2 insertions(+), 1 deletion(-)
9
10diff --git a/Cmds b/Cmds
11index e590b38..3df23b8 100644
12--- a/Cmds
13+++ b/Cmds
14@@ -44,7 +44,8 @@ ifeq ("$(origin PREFIX)", "$(filter $(origin PREFIX), file command line)")
15 INSTX = echo -e " INST\t$(1)" && install -d $(2) && \
16 install -C $(1) $(2)/$(shell basename $(1))
17 else
18- INSTX = echo -e " INST\t$(1)" && install -C $(1) $(2)/$(shell basename $(1))
19+ INSTX = echo -e " INST\t$(1)" && install -d $(2) && \
20+ install -C $(1) $(2)/$(shell basename $(1))
21 endif
22
23 MKDIR = echo -e " MKDIR\t$(1)" && mkdir -p $(1)
24--
252.32.0
26