Add required files to allow building debian packages.

Message ID 20210203191414.25444-1-stefan.schantl@ipfire.org
State Accepted
Headers
Series Add required files to allow building debian packages. |

Commit Message

Stefan Schantl Feb. 3, 2021, 7:14 p.m. UTC
  Fixes #12570.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 debian/changelog |  5 +++++
 debian/compat    |  1 +
 debian/control   | 15 +++++++++++++++
 debian/copyright | 29 +++++++++++++++++++++++++++++
 debian/rules     |  4 ++++
 5 files changed, 54 insertions(+)
 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
  

Comments

Michael Tremer Feb. 8, 2021, 1:43 p.m. UTC | #1
Thank you for this. It worked well, but I forgot to name any build dependencies which I had to add later.

-Michael

> On 3 Feb 2021, at 19:14, Stefan Schantl <stefan.schantl@ipfire.org> wrote:
> 
> Fixes #12570.
> 
> Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
> ---
> debian/changelog |  5 +++++
> debian/compat    |  1 +
> debian/control   | 15 +++++++++++++++
> debian/copyright | 29 +++++++++++++++++++++++++++++
> debian/rules     |  4 ++++
> 5 files changed, 54 insertions(+)
> 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
> 
> diff --git a/debian/changelog b/debian/changelog
> new file mode 100644
> index 0000000..4b9942c
> --- /dev/null
> +++ b/debian/changelog
> @@ -0,0 +1,5 @@
> +fireperf (0.0.1) UNRELEASED; urgency=medium
> +
> +  * Initial release.
> +
> + -- Michael Tremer <michael.tremer@ipfire.org>  Wed, 03 Feb 2021 19:35:23 +0100
> 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..15d34fc
> --- /dev/null
> +++ b/debian/control
> @@ -0,0 +1,15 @@
> +Source: fireperf
> +Section: utils
> +Priority: optional
> +Maintainer: Michael Tremer <michael.tremer@ipfire.org>
> +Build-Depends: debhelper (>= 11)
> +Standards-Version: 4.3.0
> +Homepage: https://git.ipfire.org/?p=fireperf.git
> +Vcs-Git: https://git.ipfire.org/pub/git/fireperf.git
> +
> +Package: fireperf
> +Architecture: any
> +Depends: ${misc:Depends}, ${shlibs:Depends}
> +Multi-Arch: foreign
> +Description: can perform network benchmarks to test throughput and quality of
> + a network between a fireperf client and fireperf server.
> diff --git a/debian/copyright b/debian/copyright
> new file mode 100644
> index 0000000..fffa338
> --- /dev/null
> +++ b/debian/copyright
> @@ -0,0 +1,29 @@
> +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
> +Upstream-Name: firperf
> +Upstream-Contact: Michael Tremer <michael.tremer@ipfire.org>
> +Source: https://location.ipfire.org/download
> +
> +Files: *
> +Copyright: 2021 IPFire Development team <info@ipfire.org>
> +License: GPL-3+
> +
> +Files: debian/*
> +Copyright: 2021 Stefan Schantl stefan.schantl@ipfire.org>
> +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 2 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/rules b/debian/rules
> new file mode 100755
> index 0000000..2d33f6a
> --- /dev/null
> +++ b/debian/rules
> @@ -0,0 +1,4 @@
> +#!/usr/bin/make -f
> +
> +%:
> +	dh $@
> -- 
> 2.20.1
>
  

Patch

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4b9942c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@ 
+fireperf (0.0.1) UNRELEASED; urgency=medium
+
+  * Initial release.
+
+ -- Michael Tremer <michael.tremer@ipfire.org>  Wed, 03 Feb 2021 19:35:23 +0100
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..15d34fc
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,15 @@ 
+Source: fireperf
+Section: utils
+Priority: optional
+Maintainer: Michael Tremer <michael.tremer@ipfire.org>
+Build-Depends: debhelper (>= 11)
+Standards-Version: 4.3.0
+Homepage: https://git.ipfire.org/?p=fireperf.git
+Vcs-Git: https://git.ipfire.org/pub/git/fireperf.git
+
+Package: fireperf
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Multi-Arch: foreign
+Description: can perform network benchmarks to test throughput and quality of
+ a network between a fireperf client and fireperf server.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..fffa338
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@ 
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: firperf
+Upstream-Contact: Michael Tremer <michael.tremer@ipfire.org>
+Source: https://location.ipfire.org/download
+
+Files: *
+Copyright: 2021 IPFire Development team <info@ipfire.org>
+License: GPL-3+
+
+Files: debian/*
+Copyright: 2021 Stefan Schantl stefan.schantl@ipfire.org>
+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 2 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/rules b/debian/rules
new file mode 100755
index 0000000..2d33f6a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@ 
+#!/usr/bin/make -f
+
+%:
+	dh $@