udphole

Basic UDP wormhole proxy
git clone git://git.finwo.net/app/udphole
Log | Files | Refs | README | LICENSE

commit 7c1287ae0c5c4cc97c85d934db0ec8f7413461e9
parent 4b80796a8134d17659fd8b759ef93ada9094b3cd
Author: Robin Bron <robin.bron@yourhosting.nl>
Date:   Sun, 15 Mar 2026 15:56:22 +0100

Update package structure

Diffstat:
A.dep | 6++++++
MMakefile | 32++++++++++++++++----------------
Dpackage.ini | 10----------
3 files changed, 22 insertions(+), 26 deletions(-)

diff --git a/.dep b/.dep @@ -0,0 +1,6 @@ +benhoyt/inih https://git.finwo.net/misc/dep-repository/archives/heads/pkg/benhoyt/inih.tar.gz +cofyc/argparse https://git.finwo.net/misc/dep-repository/archives/heads/pkg/cofyc/argparse.tar.gz +finwo/mindex https://git.finwo.net/lib/mindex.c/archives/heads/main.tar.gz +finwo/url-parser https://git.finwo.net/lib/url-parser.c/archives/heads/main.tar.gz +graphitemaster/incbin https://git.finwo.net/misc/dep-repository/archives/heads/pkg/graphitemaster/incbin.tar.gz +rxi/log https://git.finwo.net/misc/dep-repository/archives/heads/pkg/rxi/log.tar.gz diff --git a/Makefile b/Makefile @@ -19,18 +19,18 @@ SRC:=$(filter-out $(wildcard src/test/test_*.c),$(SRC)) INCLUDES:= -override CFLAGS?=-Wall -O2 -override CFLAGS+=-I src -D INI_HANDLER_LINENO=1 -D'UDPHOLE_VERSION_STR="$(VERSION)"' -override LDFLAGS?= +CFLAGS?=-Wall -O2 +CFLAGS+=-I src -D INI_HANDLER_LINENO=1 -D'UDPHOLE_VERSION_STR="$(VERSION)"' +LDFLAGS?= -override LDFLAGS+=-lresolv +LDFLAGS+=-lresolv -override CPPFLAGS?= +CPPFLAGS?= ifeq ($(OS),Windows_NT) # CFLAGS += -D WIN32 - override CPPFLAGS+=-lstdc++ - override CPPFLAGS+= + CPPFLAGS+=-lstdc++ + CPPFLAGS+= ifeq ($(PROCESSOR_ARCHITEW6432),AMD64) # CFLAGS += -D AMD64 else @@ -45,15 +45,15 @@ else UNAME_S := $(shell uname -s) ifeq ($(UNAME_S),Linux) # CFLAGS += -D LINUX - override CPPFLAGS+=-lstdc++ - # override CFLAGS+=$(shell pkg-config --cflags glib-2.0) - # override LDFLAGS+=$(shell pkg-config --libs glib-2.0) - override CFLAGS+=-D _GNU_SOURCE + CPPFLAGS+=-lstdc++ + # CFLAGS+=$(shell pkg-config --cflags glib-2.0) + # LDFLAGS+=$(shell pkg-config --libs glib-2.0) + CFLAGS+=-D _GNU_SOURCE endif ifeq ($(UNAME_S),Darwin) # CFLAGS += -D OSX - override CPPFLAGS+=-std=c++14 - override CFLAGS+=-D _BSD_SOURCE + CPPFLAGS+=-std=c++14 + CFLAGS+=-D _BSD_SOURCE endif UNAME_P := $(shell uname -p) ifeq ($(UNAME_P),x86_64) @@ -73,9 +73,9 @@ include lib/.dep/config.mk OBJ:=$(SRC:.c=.o) OBJ:=$(OBJ:.cc=.o) -override CFLAGS+=$(INCLUDES) -override CPPFLAGS+=$(INCLUDES) -override CPPFLAGS+=$(CFLAGS) +CFLAGS+=$(INCLUDES) +CPPFLAGS+=$(INCLUDES) +CPPFLAGS+=$(CFLAGS) .PHONY: default default: $(BIN) diff --git a/package.ini b/package.ini @@ -1,10 +0,0 @@ -[dependencies] -benhoyt/inih=master -cofyc/argparse=master -finwo/mindex=main -finwo/url-parser=main -graphitemaster/incbin=main -rxi/log=master - -[package] -name=finwo/udphole