From b9fe48752ea9fb6b0d8f17f4aacf77ed831acf6b Mon Sep 17 00:00:00 2001 From: Hristo Venev Date: Mon, 30 Sep 2019 19:29:27 +0300 Subject: Package wgconfd 0.2.1 from crates.io using debcargo 2.2.10 --- debian/cargo-checksum.json | 1 + debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 40 ++++++++++++++++++++++++++++++++++++++++ debian/copyright | 20 ++++++++++++++++++++ debian/rules | 7 +++++++ debian/source/format | 1 + debian/watch | 5 +++++ debian/wgconfd.docs | 1 + debian/wgconfd.install | 2 ++ 10 files changed, 83 insertions(+) create mode 100644 debian/cargo-checksum.json create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch create mode 100644 debian/wgconfd.docs create mode 100644 debian/wgconfd.install 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 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 +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 +Source: https://git.venev.name/hristo/wgconfd + +Files: src/* dist/procd/wgconfd +Copyright: 2019 Hristo Venev +License: LGPL-3.0-or-later + +Files: LICENSE LICENSE.GPL3 +Copyright: 2007 Free Software Foundation, Inc. +License: UNKNOWN-LICENSE + +Files: Cargo.toml dist/systemd/* +Copyright: 2019 Hristo Venev +License: CC0 + +Files: debian/* +Copyright: 2019 Hristo Venev +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/ -- cgit