wm: dnsparser

Download patch

ref: be9d2d0b1ffac9b27c7ab326c5912aa8e25d927e
parent: f3b27e844fd44767de671fe634690b67e104667b
author: mkf <mkf@cloud9p.org>
date: Wed Jul 31 03:13:46 EDT 2024

import build scripts

--- /dev/null
+++ b/build.rc
@@ -1,0 +1,2 @@
+#!/bin/rc
+os -d src/01-sniffer ./build.sh
--- /dev/null
+++ b/build.sh
@@ -1,0 +1,4 @@
+#!/bin/sh
+file=tests/0.pcap
+src=dnsparser.c
+cc -g -Wall -Wno-pointer-sign -lpcap -o getdns $src # && ( ./a.out $file ||  gdb -q -ex run --args a.out $file )