From 3d60e974789149871b903232427e7449ead0e119 Mon Sep 17 00:00:00 2001 From: Lonny Wong Date: Sun, 30 Jun 2024 20:39:19 +0800 Subject: [PATCH] publish to launchpad --- debian/README | 6 ++++++ debian/README.Debian | 6 ++++++ debian/README.source | 9 +++++++++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 15 +++++++++++++++ debian/copyright | 25 +++++++++++++++++++++++++ debian/rules | 6 ++++++ debian/source/format | 1 + debian/tsshd-docs.docs | 3 +++ 10 files changed, 77 insertions(+) create mode 100644 debian/README create mode 100644 debian/README.Debian create mode 100644 debian/README.source create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/tsshd-docs.docs diff --git a/debian/README b/debian/README new file mode 100644 index 0000000..a4f9ec4 --- /dev/null +++ b/debian/README @@ -0,0 +1,6 @@ +The Debian Package tsshd +---------------------------- + +The 'tssh --udp' works like 'mosh', and the 'tsshd' works like 'mosh-server'. + + -- Lonny Wong Sun, 30 Jun 2024 17:38:13 +0800 diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..00b25a6 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,6 @@ +tsshd for Debian +--------------- + +The 'tssh --udp' works like 'mosh', and the 'tsshd' works like 'mosh-server'. + + -- Lonny Wong Sun, 30 Jun 2024 17:38:13 +0800 diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..84a6cb9 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,9 @@ +tsshd for Debian +--------------- + +tsshd for Debian is developed in Go. +* Install go and make +* make && make install + + -- Lonny Wong Sun, 30 Jun 2024 17:38:13 +0800 + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..4ae1f3d --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +tsshd (0.1.1) trusty; urgency=medium + + * tsshd v0.1.1 + + -- Lonny Wong Sun, 30 Jun 2024 17:38:13 +0800 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..6916b80 --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: tsshd +Section: utils +Priority: optional +Maintainer: Lonny Wong +Build-Depends: debhelper (>=9), + golang-1.21-go +Standards-Version: 3.9.6 +Homepage: https://trzsz.github.io/ssh +Vcs-Browser: https://github.com/trzsz/tsshd +Vcs-Git: https://github.com/trzsz/tsshd.git + +Package: tsshd +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: The 'tssh --udp' works like 'mosh', and the 'tsshd' works like 'mosh-server'. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f191865 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,25 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: tsshd +Upstream-Contact: Lonny Wong +Source: https://github.com/trzsz/tsshd + +Files: * +Copyright: 2024 The Trzsz SSH Authors. +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..71682de --- /dev/null +++ b/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f +export CGO_ENABLED=0 +export GOCACHE=/tmp/.cache/go-build + +%: + PATH="/usr/lib/go-1.21/bin:${PATH}" dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/debian/tsshd-docs.docs b/debian/tsshd-docs.docs new file mode 100644 index 0000000..d6341a0 --- /dev/null +++ b/debian/tsshd-docs.docs @@ -0,0 +1,3 @@ +README.source +README +README.Debian