aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--debian/control19
-rw-r--r--debian/copyright23
-rw-r--r--debian/docs1
-rw-r--r--debian/install2
-rwxr-xr-xdebian/rules21
-rw-r--r--debian/source/format1
7 files changed, 72 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3ebc0dd
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+rtftp (1.0.0-1) UNRELEASED; urgency=low
+
+ * Initial release.
+
+ -- Reiner Herrmann <reiner@reiner-h.de> Tue, 12 Mar 2019 21:41:05 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..82acad0
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: rtftp
+Section: net
+Priority: optional
+Maintainer: Reiner Herrmann <reiner@reiner-h.de>
+Build-Depends: debhelper-compat (= 12),
+ cargo,
+ rustc,
+ librust-getopts-dev (>= 0.2.18),
+ librust-nix-dev (>= 0.13.0),
+ librust-threadpool-dev (>= 1.7.1)
+Standards-Version: 4.3.0
+Rules-Requires-Root: no
+
+Package: rtftp
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: a rusty TFTP client/server
+ RustFTP provides a server and a client for the Trivial File Transfer
+ Protocol (TFTP).
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0e0022d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,23 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: RusTFTP
+
+Files: *
+Copyright: 2019 Reiner Herrmann <reiner@reiner-h.de>
+License: GPL-3+
+
+License: GPL-3+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..60c73bb
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+target/*/release/rtftpc usr/bin
+target/*/release/rtftpd usr/bin
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d0c4158
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+TARGET=x86_64-unknown-linux-musl
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ cargo build --release --target $(TARGET)
+
+override_dh_auto_clean:
+ cargo clean
+ dh_auto_clean
+
+override_dh_dwz:
+ dh_dwz --no-dwz-multifile
+
+override_dh_strip:
+ dh_strip --no-automatic-dbgsym
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)