mirror of
https://github.com/tsl0922/ttyd.git
synced 2025-12-23 12:14:20 +01:00
Add debian/ dir for deb packaging (#48)
* debian: add debian dir for debian packaging. These instructions can be used to build semi-official debian packages. * d/control: fix typo * debian: set debhelper compat to v9; add vim-common as xxd alternative
This commit is contained in:
committed by
Shuanglei Tao
parent
f95d3debe8
commit
b7a68d0361
4
debian/.gitignore
vendored
Normal file
4
debian/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
debhelper-build-stamp
|
||||
files
|
||||
*.substvars
|
||||
install
|
||||
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
ttyd (1.3.1-1) unstable; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Boyuan Yang <073plan@gmail.com> Thu, 30 Mar 2017 12:10:50 +0800
|
||||
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@@ -0,0 +1 @@
|
||||
9
|
||||
33
debian/control
vendored
Normal file
33
debian/control
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
Source: ttyd
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Maintainer: Boyuan Yang <073plan@gmail.com>
|
||||
Build-Depends:
|
||||
debhelper (>= 9),
|
||||
cmake,
|
||||
pkg-config,
|
||||
libwebsockets-dev,
|
||||
libjson-c-dev,
|
||||
libssl-dev,
|
||||
xxd | vim-common,
|
||||
Standards-Version: 3.9.8
|
||||
Homepage: https://tsl0922.github.io/ttyd/
|
||||
Vcs-Git: https://github.com/tsl0922/ttyd.git
|
||||
Vcs-Browser: https://github.com/tsl0922/ttyd.git
|
||||
|
||||
Package: ttyd
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
Description: Web terminal sharing tool
|
||||
Ttyd is a simple command-line tool for sharing terminal over the web, inspired
|
||||
by GoTTY.
|
||||
.
|
||||
Features include:
|
||||
* Built on top of Libwebsockets with C for speed
|
||||
* Fully-featured terminal based on Xterm.js with CJK and IME support
|
||||
* SSL support based on OpenSSL
|
||||
* Run any custom command with options
|
||||
* Basic authentication support and many other custom options
|
||||
* Cross platform: macOS, Linux, FreeBSD, OpenWrt/LEDE, Windows
|
||||
33
debian/copyright
vendored
Normal file
33
debian/copyright
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: ttyd
|
||||
Upstream-Contact: Shuanglei Tao <tsl0922@gmail.com>
|
||||
Source: https://github.com/tsl0922/ttyd
|
||||
|
||||
Files: *
|
||||
Copyright: 2016-2017 Shuanglei Tao <tsl0922@gmail.com>
|
||||
License: Expat
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2017 Boyuan Yang <073plan@gmail.com>
|
||||
License: Expat
|
||||
|
||||
License: Expat
|
||||
Copyright (c) 2016 Shuanglei Tao <tsl0922@gmail.com>
|
||||
.
|
||||
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.
|
||||
12
debian/rules
vendored
Executable file
12
debian/rules
vendored
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/make -f
|
||||
# See debhelper(7) (uncomment to enable)
|
||||
# output every command that modifies files on the build system.
|
||||
#export DH_VERBOSE = 1
|
||||
|
||||
# see FEATURE AREAS in dpkg-buildflags(1)
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||
|
||||
# main packaging script based on dh7 syntax
|
||||
%:
|
||||
dh $@
|
||||
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
||||
4
debian/watch
vendored
Normal file
4
debian/watch
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
version=4
|
||||
opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%ttyd-$1.tar.gz%" \
|
||||
https://github.com/tsl0922/ttyd/tags \
|
||||
(?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
|
||||
Reference in New Issue
Block a user