From 87aea190bf700205f2dc2a255f9d85b945913fd2 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Thu, 25 Jun 2020 09:59:31 +0100 Subject: [PATCH 1/2] Add the install target. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index e5c5dd9..ed2e756 100644 --- a/Makefile +++ b/Makefile @@ -14,5 +14,8 @@ DAPNETGateway: $(OBJECTS) %.o: %.cpp $(CXX) $(CFLAGS) -c -o $@ $< +install: + install -m 755 DAPNETGateway /usr/local/bin/ + clean: $(RM) DAPNETGateway *.o *.d *.bak *~ From 8f31defe560e3d3e9d9bbdc32edbdaf21060e2a9 Mon Sep 17 00:00:00 2001 From: Kim - DG9VH Date: Thu, 13 Aug 2020 20:01:54 +0200 Subject: [PATCH 2/2] Changed Login-banner to correct program-name Thinking, DAPNETGateway would be more clearer than MMDVM, because it is not MMDVM doing the connection but DAPNETGateway --- DAPNETNetwork.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DAPNETNetwork.cpp b/DAPNETNetwork.cpp index e680ec1..781d293 100644 --- a/DAPNETNetwork.cpp +++ b/DAPNETNetwork.cpp @@ -65,7 +65,7 @@ bool CDAPNETNetwork::login() std::transform(m_callsign.begin(), m_callsign.end(), m_callsign.begin(), ::tolower); char login[200U]; - ::snprintf(login, 200, "[MMDVM v%s %s %s]\r\n", m_version, m_callsign.c_str(), m_authKey.c_str()); + ::snprintf(login, 200, "[DAPNETGateway v%s %s %s]\r\n", m_version, m_callsign.c_str(), m_authKey.c_str()); return write((unsigned char*)login); }