From d82a762636249e80e67b4de4fdf99fbbda57983c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 2 Feb 2021 13:03:01 +0100 Subject: [PATCH] build: track d/control MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit for easier build-dependency installation Signed-off-by: Fabian Grünbichler --- Makefile | 2 ++ debian/control | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 debian/control diff --git a/Makefile b/Makefile index 7a73fe7..aea26c5 100644 --- a/Makefile +++ b/Makefile @@ -38,6 +38,7 @@ cargo-build: .PHONY: build build: rm -rf build + rm -f debian/control debcargo package \ --config debian/debcargo.toml \ --changelog-ready \ @@ -47,6 +48,7 @@ build: $(shell dpkg-parsechangelog -l debian/changelog -SVersion | sed -e 's/-.*//') rm build/Cargo.lock find build/debian -name "*.hint" -delete + cp build/debian/control debian/control echo "git clone git://git.proxmox.com/git/pve-xtermjs.git\\ngit checkout ${GITVERSION}" > build/debian/SOURCE .PHONY: deb diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..c61699e --- /dev/null +++ b/debian/control @@ -0,0 +1,39 @@ +Source: rust-termproxy +Section: admin +Priority: optional +Build-Depends: debhelper (>= 11), + dh-cargo (>= 18), + cargo:native, + rustc:native, + libstd-rust-dev, + librust-clap-2+default-dev (>= 2.33-~~), + librust-curl-0.4+default-dev, + librust-mio-0.7+default-dev, + librust-mio-0.7+net-dev, + librust-mio-0.7+os-ext-dev, + librust-proxmox-0.10-dev +Maintainer: Proxmox Support Team +Standards-Version: 4.4.1 +Vcs-Git: git://git.proxmox.com/git/pve-xtermjs.git +Vcs-Browser: https://git.proxmox.com/?p=pve-xtermjs.git;a=summary +Homepage: http://www.proxmox.com + +Package: pve-xtermjs +Architecture: any +Multi-Arch: allowed +Depends: + ${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: Binaries built from the Rust termproxy crate + This package contains the following binaries built from the Rust crate + "termproxy": + - termproxy -- 2.39.2