summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHristo Venev <hristo@venev.name>2019-09-30 19:29:27 +0300
committerHristo Venev <hristo@venev.name>2019-10-01 08:39:10 +0300
commitb9fe48752ea9fb6b0d8f17f4aacf77ed831acf6b (patch)
tree8d1c52969fe29903c6761b6dd78c993564045071
Package wgconfd 0.2.1 from crates.io using debcargo 2.2.10
-rw-r--r--debian/cargo-checksum.json1
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control40
-rw-r--r--debian/copyright20
-rwxr-xr-xdebian/rules7
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch5
-rw-r--r--debian/wgconfd.docs1
-rw-r--r--debian/wgconfd.install2
10 files changed, 83 insertions, 0 deletions
diff --git a/debian/cargo-checksum.json b/debian/cargo-checksum.json
new file mode 100644
index 0000000..86b24b1
--- /dev/null
+++ b/debian/cargo-checksum.json
@@ -0,0 +1 @@
+{"package":"5d7ebf03d77fe17f063b9eb5225a2618825391278dc8fe34f71533963680a4fd","files":{}}
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..35621b4
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+rust-wgconfd (0.2.1-1) unstable; urgency=medium
+
+ * Package wgconfd 0.2.1 from crates.io using debcargo 2.2.10
+
+ -- Hristo Venev <hristo@venev.name> Mon, 30 Sep 2019 15:59:40 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b4de394
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+11
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4c747d1
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,40 @@
+Source: rust-wgconfd
+Section: net
+Priority: optional
+Build-Depends: debhelper (>= 11),
+ dh-cargo (>= 15),
+ cargo:native,
+ rustc:native,
+ libstd-rust-dev,
+ librust-arrayref-0.3+default-dev (>= 0.3.5-~~),
+ librust-base64-0.10+default-dev (>= 0.10.1-~~),
+ librust-chrono-0.4-dev (>= 0.4.6-~~),
+ librust-serde-1+default-dev,
+ librust-serde-derive-1+default-dev,
+ librust-serde-json-1+default-dev,
+ librust-toml-0.5+default-dev
+Maintainer: Hristo Venev <hristo@venev.name>
+Standards-Version: 4.2.0
+Vcs-Git: https://git.venev.name/hristo/debian/rust-wgconfd.git
+Vcs-Browser: https://git.venev.name/hristo/debian/rust-wgconfd
+
+Package: wgconfd
+Architecture: any
+Multi-Arch: allowed
+Depends:
+ wireguard, curl,
+ ${misc:Depends},
+ ${shlibs:Depends},
+ ${cargo:Depends},
+Recommends:
+ ${cargo:Recommends}
+Suggests:
+ ${cargo:Suggests}
+Provides:
+ ${cargo:Provides}
+Built-Using: ${cargo:Built-Using}
+XB-X-Cargo-Built-Using: ${cargo:X-Cargo-Built-Using}
+Description: Configuration manager for WireGuard
+ This package contains the following binaries built from the Rust crate
+ "wgconfd":
+ - wgconfd
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9afbcc1
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,20 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: wgconfd
+Upstream-Contact: Hristo Venev <hristo@venev.name>
+Source: https://git.venev.name/hristo/wgconfd
+
+Files: src/* dist/procd/wgconfd
+Copyright: 2019 Hristo Venev <hristo@venev.name>
+License: LGPL-3.0-or-later
+
+Files: LICENSE LICENSE.GPL3
+Copyright: 2007 Free Software Foundation, Inc. <https://fsf.org/>
+License: UNKNOWN-LICENSE
+
+Files: Cargo.toml dist/systemd/*
+Copyright: 2019 Hristo Venev <hristo@venev.name>
+License: CC0
+
+Files: debian/*
+Copyright: 2019 Hristo Venev <hristo@venev.name>
+License: CC0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..da9b12c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+%:
+ dh $@ --buildsystem cargo
+
+override_dh_auto_configure:
+ dh_auto_configure
+ sed '/^ExecStart=/s:/usr/bin/env wgconfd:/usr/bin/wgconfd:' -i dist/systemd/wgconfd@.service
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..d3827e7
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+1.0
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..dab90c6
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=4
+opts=filenamemangle=s/.*\/(.*)\/download/wgconfd-$1\.tar\.gz/g,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \
+https://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=crates.io/wgconfd .*/crates/wgconfd/@ANY_VERSION@/download
+
diff --git a/debian/wgconfd.docs b/debian/wgconfd.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/wgconfd.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/wgconfd.install b/debian/wgconfd.install
new file mode 100644
index 0000000..be180b8
--- /dev/null
+++ b/debian/wgconfd.install
@@ -0,0 +1,2 @@
+dist/systemd/wgconfd@.service lib/systemd/system/
+dist/systemd/wgconfd-state@.service lib/systemd/system/