diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..224e7f0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.pc/ diff --git a/debian/changelog b/debian/changelog index 6cdcd7d..6cd7c70 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +linbpq (6.0.24.38-2) UNRELEASED; urgency=medium + + * Secure by default patch + + -- Dave Hibberd Fri, 05 Jul 2024 08:34:44 +0100 + linbpq (6.0.24.38-1) unstable; urgency=medium * New Upstream diff --git a/debian/patches/secure-by-default.patch b/debian/patches/secure-by-default.patch index e7a3912..38550cd 100644 --- a/debian/patches/secure-by-default.patch +++ b/debian/patches/secure-by-default.patch @@ -1,12 +1,10 @@ -diff --git a/TelnetV6.c b/TelnetV6.c -index b139fad..4a68108 100644 --- a/TelnetV6.c +++ b/TelnetV6.c -@@ -428,6 +428,7 @@ int ProcessLine(char * buf, int Port) - TNC->Hardware = H_TELNET; - TCP->IPV4 = TRUE; - strcpy(TCP->CMSServer, "cms.winlink.org"); -+ TCP->SecureTelnet = 1; - } - - TNC = TNCInfo[Port]; +@@ -428,6 +428,7 @@ + TNC->Hardware = H_TELNET; + TCP->IPV4 = TRUE; + strcpy(TCP->CMSServer, "cms.winlink.org"); ++ TCP->SecureTelnet = 1; + } + + TNC = TNCInfo[Port]; diff --git a/debian/patches/series b/debian/patches/series index 5d2b07a..6953e90 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ spelling-errors.patch makefile +secure-by-default.patch