summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog7
-rw-r--r--debian/control21
-rw-r--r--debian/copyright29
-rwxr-xr-xdebian/rules7
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
6 files changed, 68 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5f59253
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,7 @@
+zmodemjs (0.1.10+dfsg-1) sid; urgency=low
+
+ * Initial upload to sid (Closes: #1000249), required for ttyd (#996042).
+ * Rebuilding upstream tarball without non-free copy of a non-free ZMODEM
+ protocol specificiation.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 20 Nov 2021 07:06:01 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..47216eb
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: zmodemjs
+Section: web
+Priority: optional
+Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
+Build-Depends:
+ debhelper-compat (= 13),
+ pkg-js-tools,
+Rules-Requires-Root: no
+Standards-Version: 4.6.0
+Homepage: https://github.com/FGasper/zmodemjs
+Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/zmodemjs
+Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/zmodemjs
+
+Package: node-zmodem.js
+Section: web
+Architecture: all
+Depends:
+ ${misc:Depends},
+Description: ZMODEM file transfers in JavaScript
+ zmodem.js is a JavaScript implementation of the ZMODEM file transfer protocol,
+ which facilitates file transfers via a terminal.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9f14b55
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: zmodemjs
+Upstream-Contact: Felipe Gasper <felipe@felipegasper.com>
+Source: https://github.com/FGasper/zmodemjs/relases
+Files-excluded: reference/*
+
+Files: *
+Copyright: 2017-2020 Gasper Software Consulting
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2021 Daniel Baumann <daniel.baumann@progress-linux.org>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ The complete text of the Apache-2.0 License
+ can be found in /usr/share/common-licenses/Apache-2.0 file.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a0304bb
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+%:
+ dh ${@} --with nodejs
+
+override_dh_auto_test:
+ # requires node-crc-32 (!= node-crc32)
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..0d4b69d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/zmodemjs-$1\.tar\.gz/ \
+https://github.com/FGasper/zmodemjs/tags .*/v?(\d\S+)\.tar\.gz