working commit

This commit is contained in:
2026-04-22 14:32:31 +02:00
parent fb080285c6
commit 468dc70d7c
8 changed files with 12 additions and 28 deletions
+4 -4
View File
@@ -238,17 +238,17 @@ ECHO_N = -n
ECHO_T = ECHO_T =
ETAGS = etags ETAGS = etags
EXEEXT = EXEEXT =
INSTALL = /usr/bin/install -c INSTALL = /bin/install -c
INSTALL_DATA = ${INSTALL} -m 644 INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL} INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL} INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
LDFLAGS = -pthread -static LDFLAGS = -pthread
LIBOBJS = LIBOBJS =
LIBS = -Wl,--as-need -lprotobuf-lite LIBS = -Wl,--as-need -lprotobuf-lite
LTLIBOBJS = LTLIBOBJS =
MAKEINFO = ${SHELL} '/home/ziggi/Projects/tcpserv09/missing' makeinfo MAKEINFO = ${SHELL} '/home/ziggi/Projects/tcpserv09/missing' makeinfo
MKDIR_P = /usr/bin/mkdir -p MKDIR_P = /bin/mkdir -p
OBJEXT = o OBJEXT = o
PACKAGE = helmet PACKAGE = helmet
PACKAGE_BUGREPORT = PACKAGE_BUGREPORT =
@@ -258,7 +258,7 @@ PACKAGE_TARNAME = helmet
PACKAGE_URL = PACKAGE_URL =
PACKAGE_VERSION = 0.0.1 PACKAGE_VERSION = 0.0.1
PATH_SEPARATOR = : PATH_SEPARATOR = :
PROTOC = /usr/bin/protoc PROTOC = /bin/protoc
RANLIB = ranlib RANLIB = ranlib
SET_MAKE = SET_MAKE =
SHELL = /bin/bash SHELL = /bin/bash
+1 -1
View File
@@ -2,7 +2,7 @@
AUTOMAKE_OPTIONS = foreign no-dependencies no-installinfo subdir-objects AUTOMAKE_OPTIONS = foreign no-dependencies no-installinfo subdir-objects
CXXFLAGS = -std=c++23 -Wall -I. -pthread -D_GNU_SOURCE=1 CXXFLAGS = -std=c++23 -Wall -I. -pthread -D_GNU_SOURCE=1
LDFLAGS = -pthread -static LDFLAGS = -pthread
LIBS = -Wl,--as-need -lprotobuf-lite LIBS = -Wl,--as-need -lprotobuf-lite
sbin_PROGRAMS = helmetd sbin_PROGRAMS = helmetd
+1 -1
View File
@@ -243,7 +243,7 @@ INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = -pthread -static LDFLAGS = -pthread
LIBOBJS = @LIBOBJS@ LIBOBJS = @LIBOBJS@
LIBS = -Wl,--as-need -lprotobuf-lite LIBS = -Wl,--as-need -lprotobuf-lite
LTLIBOBJS = @LTLIBOBJS@ LTLIBOBJS = @LTLIBOBJS@
+1 -1
View File
@@ -3,7 +3,7 @@
#include <string> #include <string>
#include <cstring> #include <cstring>
#include <tunnel.hpp> #include <interface.hpp>
#include <service.hpp> #include <service.hpp>
+1 -1
View File
@@ -12,7 +12,7 @@ extern "C" {
#include <chrono> #include <chrono>
#include <cstring> #include <cstring>
#include <tunnel.hpp> #include <interface.hpp>
#include <service.hpp> #include <service.hpp>
#include <server.hpp> #include <server.hpp>
+1 -15
View File
@@ -1,26 +1,12 @@
extern "C" {
#include <arpa/inet.h>
}
#include <expected> #include <expected>
#include <string> #include <string>
#include <vector>
#include <span>
#include <iostream>
#include <thread>
#include <chrono>
#include <cstring> #include <cstring>
#include <tunnel.hpp> #include <interface.hpp>
#include <service.hpp> #include <service.hpp>
#include <hello.pb.h>
using namespace std::chrono_literals;
class Server { class Server {
private: private:
Interface iface; Interface iface;
+3 -1
View File
@@ -3,8 +3,10 @@
#include <string> #include <string>
#include <chrono> #include <chrono>
#include <cstring> #include <cstring>
#include <thread>
#include <iostream>
#include <tunnel.hpp>
#include <server.hpp> #include <server.hpp>
using namespace std::chrono_literals; using namespace std::chrono_literals;
-4
View File
@@ -1,14 +1,10 @@
extern "C" {
#include <arpa/inet.h>
}
#include <expected> #include <expected>
#include <string> #include <string>
#include <cstring> #include <cstring>
#include <iostream> #include <iostream>
#include <tunnel.hpp>
#include <service.hpp> #include <service.hpp>
int main(int argc, char** argv) { int main(int argc, char** argv) {