From 8f43df344acf6cb1e0d8a7ebf9443e9a2a0fa39b Mon Sep 17 00:00:00 2001 From: Tianyu Chen Date: Wed, 20 Dec 2023 17:44:08 +0800 Subject: [PATCH] Force SSH_EXTRAVERSION to Deepin --- debian/patches/deepin-extra-version.patch | 11 +++++++++++ debian/patches/series | 1 + 2 files changed, 12 insertions(+) create mode 100644 debian/patches/deepin-extra-version.patch diff --git a/debian/patches/deepin-extra-version.patch b/debian/patches/deepin-extra-version.patch new file mode 100644 index 0000000..789b2e5 --- /dev/null +++ b/debian/patches/deepin-extra-version.patch @@ -0,0 +1,11 @@ +--- a/version.h ++++ b/version.h +@@ -5,7 +5,7 @@ + #define SSH_PORTABLE "p1" + #define SSH_RELEASE_MINIMUM SSH_VERSION SSH_PORTABLE + #ifdef SSH_EXTRAVERSION +-#define SSH_RELEASE SSH_RELEASE_MINIMUM " " SSH_EXTRAVERSION ++#define SSH_RELEASE SSH_RELEASE_MINIMUM " " "Deepin" + #else + #define SSH_RELEASE SSH_RELEASE_MINIMUM + #endif diff --git a/debian/patches/series b/debian/patches/series index 14663a0..bd43c3c 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -25,5 +25,6 @@ revert-ipqos-defaults.patch maxhostnamelen.patch conch-ssh-rsa.patch systemd-socket-activation.patch +deepin-extra-version.patch deepin-ssh-connect-idle-timeout.patch deepin-ssh-keygen-privatekey-file-perm.patch