--- /dev/null
+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
--- /dev/null
+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.
--- /dev/null
+#!/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 $@