summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-07-05 08:34:18 +0100
committerDave Hibberd <hibby@debian.org>2024-07-05 08:35:03 +0100
commitd122a87dd1598428509fdad64dacf64f1cc1f4dd (patch)
tree65393b427e99731cf89985af7e60294825765319
parent5b3543c12abab4fad1efc81ed31b66ef52daf008 (diff)
New patch to run secure-by-default until upstream patch
-rw-r--r--.gitignore1
-rw-r--r--debian/changelog6
-rw-r--r--debian/patches/secure-by-default.patch18
-rw-r--r--debian/patches/series1
4 files changed, 16 insertions, 10 deletions
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 <hibby@debian.org> 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