summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2024-11-20 06:00:15 +0100
committerDaniel Baumann <daniel@debian.org>2024-11-30 07:46:40 +0100
commit50c39c051d595ced612090261f9c1b98cdbdf8ed (patch)
tree476beb889274951c3d0714a61802384b9ba80ac0
parentAdding upstream version 0.1.1. (diff)
downloadforgejo-cli-debian.tar.xz
forgejo-cli-debian.zip
Adding debian version 0.1.1-1.HEADdebian
Signed-off-by: Daniel Baumann <daniel@debian.org>
-rw-r--r--debian/cargo-checksum.json1
-rw-r--r--debian/changelog5
-rw-r--r--debian/control71
-rw-r--r--debian/copyright47
-rwxr-xr-xdebian/rules7
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch4
7 files changed, 136 insertions, 0 deletions
diff --git a/debian/cargo-checksum.json b/debian/cargo-checksum.json
new file mode 100644
index 0000000..ec1f57e
--- /dev/null
+++ b/debian/cargo-checksum.json
@@ -0,0 +1 @@
+{"package":"7fa0118e4b62de72cde1c349134fe6ac7aea4089119e2c5240b299675f7dd9bc","files":{}}
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ec2ad51
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+forgejo-cli (0.1.1-1) unstable; urgency=low
+
+ * Initial upload to sid (Closes: #1085862).
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 20 Nov 2024 05:53:31 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..36f5b6d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,71 @@
+Source: forgejo-cli
+Section: utils
+Priority: optional
+Maintainer: Daniel Baumann <daniel@debian.org>
+Build-Depends:
+ cargo:native,
+ debhelper-compat (= 13),
+ dh-sequence-cargo,
+ librust-auth-git2-0.5+default-dev (>= 0.5.4-~~),
+ librust-base64ct-1+default-dev (>= 1.6.0-~~),
+ librust-base64ct-1+std-dev (>= 1.6.0-~~),
+ librust-clap-4+default-dev (>= 4.5.11-~~),
+ librust-clap-4+derive-dev (>= 4.5.11-~~),
+ librust-comrak-0.29+default-dev,
+ librust-crossterm-0.27+default-dev,
+ librust-directories-5+default-dev (>= 5.0.1-~~),
+ librust-eyre-0.6+default-dev (>= 0.6.12-~~),
+ librust-forgejo-api-0.4+default-dev (>= 0.4.1-~~),
+ librust-futures-0.3+default-dev (>= 0.3.30-~~),
+ librust-git2-0.19+default-dev,
+ librust-hyper-1+default-dev (>= 1.4.1-~~),
+ librust-hyper-util-0.1+default-dev (>= 0.1.6-~~),
+ librust-hyper-util-0.1+http1-dev (>= 0.1.6-~~),
+ librust-hyper-util-0.1+http2-dev (>= 0.1.6-~~),
+ librust-hyper-util-0.1+server-dev (>= 0.1.6-~~),
+ librust-hyper-util-0.1+tokio-dev (>= 0.1.6-~~),
+ librust-open-5+default-dev (>= 5.3.0-~~),
+ librust-rand-0.8+default-dev (>= 0.8.5-~~),
+ librust-serde-1+default-dev (>= 1.0.204-~~),
+ librust-serde-1+derive-dev (>= 1.0.204-~~),
+ librust-serde-json-1+default-dev (>= 1.0.120-~~),
+ librust-sha256-1+default-dev (>= 1.5.0-~~),
+ librust-soft-assert-0.1+default-dev (>= 0.1.1-~~),
+ librust-time-0.3+default-dev (>= 0.3.36-~~),
+ librust-time-0.3+formatting-dev (>= 0.3.36-~~),
+ librust-time-0.3+local-offset-dev (>= 0.3.36-~~),
+ librust-time-0.3+macros-dev (>= 0.3.36-~~),
+ librust-tokio-1+default-dev (>= 1.39.1-~~),
+ librust-tokio-1+full-dev (>= 1.39.1-~~),
+ librust-url-2+default-dev (>= 2.5.2-~~),
+ librust-uuid-1+default-dev (>= 1.10.0-~~),
+ librust-uuid-1+v4-dev (>= 1.10.0-~~),
+ libstd-rust-dev,
+ rustc:native,
+Rules-Requires-Root: no
+Standards-Version: 4.7.0
+Homepage: https://codeberg.org/Cyborus/forgejo-cli
+
+Package: forgejo-cli
+Section: utils
+Architecture: any
+Multi-Arch: allowed
+Depends:
+ ${cargo:Depends},
+ ${misc:Depends},
+ ${shlibs:Depends},
+Recommends:
+ ${cargo:Recommends},
+Suggests:
+ ${cargo:Suggests},
+Provides:
+ ${cargo:Provides},
+Built-Using:
+ ${cargo:Built-Using},
+Static-Built-Using: ${cargo:Static-Built-Using}
+Description: self-hosted lightweight software forge (CLI client)
+ Forgejo is a forge software package for hosting software development version
+ control using Git as well as other collaborative features like bug tracking,
+ code review, continuous integration, kanban boards, tickets, and wikis.
+ .
+ This package contains the CLI client.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..45d8d76
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,47 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: forgejo-cli
+Upstream-Contact: https://codeberg.org/Cyborus/forgejo-cli/issues
+Source: https://codeberg.org/Cyborus/forgejo-cli/tags
+
+Files: *
+Copyright: 2023-2024 Cyborus <cyborus@cyborus.xyz>
+License: Apache-2.0 or MIT
+
+Files: debian/*
+Copyright: 2024 Daniel Baumann <daniel@debian.org>
+License: Apache-2.0 or MIT
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ https://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ The complete text of the Apache-2.0 License
+ can be found in /usr/share/common-licenses/Apache-2.0 file.
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c3eb282
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+%:
+ dh ${@} --buildsystem cargo
+
+override_dh_auto_test:
+ dh_auto_test -- test --all
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)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..965a196
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts=filenamemangle=s/.*\/(.*)\/download/forgejo-cli-$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/forgejo-cli .*/crates/forgejo-cli/@ANY_VERSION@/download