1
0
Fork 0

Adding debian version 0.2.0-1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-11 12:14:18 +01:00
parent 80bb1315ee
commit 2441b8b55e
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
9 changed files with 153 additions and 0 deletions

1
debian/cargo-checksum.json vendored Normal file
View file

@ -0,0 +1 @@
{"package":"453441b4dc2c932f5f6e71f40871075dd1d88afe7b946d79c560bb1306086e28","files":{}}

5
debian/changelog vendored Normal file
View file

@ -0,0 +1,5 @@
forgejo-cli (0.2.0-1) unstable; urgency=low
* Initial upload to sid (Closes: #1085862).
-- Daniel Baumann <daniel@debian.org> Thu, 23 Jan 2025 19:58:03 +0100

72
debian/control vendored Normal file
View file

@ -0,0 +1,72 @@
Source: forgejo-cli
Section: utils
Priority: optional
Maintainer: Daniel Baumann <daniel@debian.org>
Build-Depends:
debhelper-compat (= 13),
dh-sequence-cargo,
cargo:native,
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-cfg-if-1+default-dev,
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.5+default-dev,
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.

47
debian/copyright vendored Normal file
View file

@ -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-2025 Cyborus <cyborus@cyborus.xyz>
License: Apache-2.0 or MIT
Files: debian/*
Copyright: 2025 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.

View file

@ -0,0 +1,15 @@
Author: Daniel Baumann <daniel@debian.org>
Description: Building with rust-comrak from the archive.
diff -Naurp forgejo-cli.orig/Cargo.toml forgejo-cli/Cargo.toml
--- forgejo-cli.orig/Cargo.toml
+++ forgejo-cli/Cargo.toml
@@ -51,7 +51,7 @@ version = "4.5.11"
features = ["derive"]
[dependencies.comrak]
-version = "0.26.0"
+version = "0.29.0"
[dependencies.crossterm]
version = "0.27.0"

1
debian/patches/series vendored Normal file
View file

@ -0,0 +1 @@
debian/0001-rust-comrak.patch

7
debian/rules vendored Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/make -f
%:
dh ${@} --buildsystem cargo
override_dh_auto_test:
dh_auto_test -- test --all

1
debian/source/format vendored Normal file
View file

@ -0,0 +1 @@
3.0 (quilt)

4
debian/watch vendored Normal file
View file

@ -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