1
0
Fork 0

Compare commits

...

9 commits

Author SHA1 Message Date
ed76396411
Releasing debian version 0.5.5-4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 09:03:08 +01:00
a199175324
Using codenames in changelog.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 07:47:47 +01:00
9a9d70c6df
Updating year in debian copyright for 2025.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 06:54:35 +01:00
c138eef468
Adding vcs fields.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 05:19:12 +01:00
05c093bee2
Releasing debian version 0.5.5-3.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 05:17:21 +01:00
ff2a270f2b
Correcting weird auto-generated depends on rust-git2 (Closes: #1090063).
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 05:17:18 +01:00
02b714ffe9
Releasing debian version 0.5.5-2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 05:17:08 +01:00
30bd235628
Updating maintainer email address.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 05:17:05 +01:00
c6e80d573f
Adding debian version 0.5.5-1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 05:16:52 +01:00
10 changed files with 198 additions and 0 deletions

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

@ -0,0 +1 @@
{"package":"3810b5af212b013fe7302b12d86616c6c39a48e18f2e4b812a5a9e5710213791","files":{}}

26
debian/changelog vendored Normal file
View file

@ -0,0 +1,26 @@
rust-auth-git2 (0.5.5-4) sid; urgency=medium
* Adding vcs fields.
* Updating year in debian copyright for 2025.
* Using codenames in changelog.
-- Daniel Baumann <daniel@debian.org> Wed, 05 Feb 2025 09:03:02 +0100
rust-auth-git2 (0.5.5-3) sid; urgency=medium
* Correcting weird auto-generated depends on rust-git2 (Closes:
#1090063).
-- Daniel Baumann <daniel@debian.org> Mon, 16 Dec 2024 10:17:48 +0100
rust-auth-git2 (0.5.5-2) sid; urgency=medium
* Updating maintainer email address.
-- Daniel Baumann <daniel@debian.org> Sun, 15 Dec 2024 20:32:46 +0100
rust-auth-git2 (0.5.5-1) sid; urgency=low
* Initial upload to sid (build-depends of forgejo-cli).
-- Daniel Baumann <daniel@debian.org> Wed, 20 Nov 2024 07:47:03 +0100

64
debian/control vendored Normal file
View file

@ -0,0 +1,64 @@
Source: rust-auth-git2
Section: rust
Priority: optional
Maintainer: Daniel Baumann <daniel@debian.org>
Build-Depends:
cargo:native <!nocheck>,
debhelper-compat (= 13),
dh-sequence-cargo,
librust-dirs-5+default-dev (>= 5.0.1-~~) <!nocheck>,
librust-git2+default-dev (>= 0.19.0-~~) <!nocheck>,
librust-terminal-prompt-0.2+default-dev (>= 0.2.2-~~) <!nocheck>,
libstd-rust-dev <!nocheck>,
rustc:native <!nocheck>,
Rules-Requires-Root: no
Standards-Version: 4.7.0
Homepage: https://github.com/de-vri-es/auth-git2-rs
Vcs-Browser: https://forgejo.debian.net/forgejo/rust-auth-git2
Vcs-Git: https://forgejo.debian.net/forgejo/rust-auth-git2
X-Cargo-Crate: auth-git2
Package: librust-auth-git2+log-dev
Section: rust
Architecture: any
Multi-Arch: same
Depends:
librust-auth-git2-dev (= ${binary:Version}),
librust-log-0.4+default-dev (>= 0.4.19-~~),
${misc:Depends},
Provides:
librust-auth-git2-0+log-dev (= ${binary:Version}),
librust-auth-git2-0.5+log-dev (= ${binary:Version}),
librust-auth-git2-0.5.5+log-dev (= ${binary:Version}),
Description: Authentication for git2 - feature "log"
Authentication with git can be quite difficult to implement correctly,
this crate aims to make it easy.
.
This metapackage enables feature "log" for the Rust auth-git2 crate,
by pulling in any additional dependencies needed by that feature.
Package: librust-auth-git2-dev
Section: rust
Architecture: any
Multi-Arch: same
Depends:
librust-dirs-5+default-dev (>= 5.0.1-~~),
librust-git2+default-dev (>= 0.19.0-~~),
librust-terminal-prompt-0.2+default-dev (>= 0.2.2-~~),
${misc:Depends},
Suggests:
librust-auth-git2+log-dev (= ${binary:Version}),
Provides:
librust-auth-git2+default-dev (= ${binary:Version}),
librust-auth-git2-0+default-dev (= ${binary:Version}),
librust-auth-git2-0-dev (= ${binary:Version}),
librust-auth-git2-0.5+default-dev (= ${binary:Version}),
librust-auth-git2-0.5-dev (= ${binary:Version}),
librust-auth-git2-0.5.5+default-dev (= ${binary:Version}),
librust-auth-git2-0.5.5-dev (= ${binary:Version}),
Description: Authentication for git - Rust source code
Authentication with git can be quite difficult to implement correctly,
this crate aims to make it easy.
.
This package contains the source for the Rust auth_git2 crate
for use with cargo and dh-cargo.

34
debian/copyright vendored Normal file
View file

@ -0,0 +1,34 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: auth-git2
Upstream-Contact: https://github.com/de-vri-es/auth-git2-rs/issues
Source: https://github.com/de-vri-es/auth-git2-rs/tags
Files: *
Copyright: 2023-2024 Maarten de Vries <maarten@de-vri.es>
License: BSD-2-Clause
Files: debian/*
Copyright: 2024-2025 Daniel Baumann <daniel@debian.org>
License: BSD-2-Clause
License: BSD-2-Clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
.
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -0,0 +1 @@
librust-auth-git2+log-dev binary: empty-rust-library-declares-provides *

1
debian/librust-auth-git2-dev.examples vendored Normal file
View file

@ -0,0 +1 @@
examples/*

15
debian/rules vendored Executable file
View file

@ -0,0 +1,15 @@
#!/usr/bin/make -f
%:
dh ${@} --buildsystem cargo
execute_after_dh_auto_install:
# removing unneeded files
rm -rf debian/librust-*/usr/share/cargo/registry/*/.git*
rm -f debian/librust-*/usr/share/cargo/registry/*/*.orig
rm -f debian/librust-*/usr/share/cargo/registry/*/*.md
rm -f debian/librust-*/usr/share/cargo/registry/*/*.tpl
rm -f debian/librust-*/usr/share/cargo/registry/*/CHANGELOG
# installed via librust-terminal-prompt-dev.examples
rm -rf debian/librust-*/usr/share/cargo/registry/*/examples

1
debian/source/format vendored Normal file
View file

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

51
debian/tests/control vendored Normal file
View file

@ -0,0 +1,51 @@
Test-Command: /usr/share/cargo/bin/cargo-auto-test auth-git2 0.5.5 --all-targets --all-features
Features: test-name=rust-auth-git2:@
Depends:
dh-cargo (>= 31),
librust-assert2-0.3+default-dev (>= 0.3.11-~~),
librust-clap-4+default-dev (>= 4.3.21-~~),
librust-clap-4+derive-dev (>= 4.3.21-~~),
librust-env-logger-0.10+default-dev,
librust-git2+default-dev (>= 0.19.0-~~),
rustc,
@,
Restrictions: allow-stderr, skip-not-installable
Test-Command: /usr/share/cargo/bin/cargo-auto-test auth-git2 0.5.5 --all-targets
Features: test-name=librust-auth-git2-dev:default
Depends:
dh-cargo (>= 31),
librust-assert2-0.3+default-dev (>= 0.3.11-~~),
librust-clap-4+default-dev (>= 4.3.21-~~),
librust-clap-4+derive-dev (>= 4.3.21-~~),
librust-env-logger-0.10+default-dev,
librust-git2+default-dev (>= 0.19.0-~~),
rustc,
@,
Restrictions: allow-stderr, skip-not-installable
Test-Command: /usr/share/cargo/bin/cargo-auto-test auth-git2 0.5.5 --all-targets --no-default-features
Features: test-name=librust-auth-git2-dev:
Depends:
dh-cargo (>= 31),
librust-assert2-0.3+default-dev (>= 0.3.11-~~),
librust-clap-4+default-dev (>= 4.3.21-~~),
librust-clap-4+derive-dev (>= 4.3.21-~~),
librust-env-logger-0.10+default-dev,
librust-git2+default-dev (>= 0.19.0-~~),
rustc,
@,
Restrictions: allow-stderr, skip-not-installable
Test-Command: /usr/share/cargo/bin/cargo-auto-test auth-git2 0.5.5 --all-targets --no-default-features --features log
Features: test-name=librust-auth-git2+log-dev:log
Depends:
dh-cargo (>= 31),
librust-assert2-0.3+default-dev (>= 0.3.11-~~),
librust-clap-4+default-dev (>= 4.3.21-~~),
librust-clap-4+derive-dev (>= 4.3.21-~~),
librust-env-logger-0.10+default-dev,
librust-git2+default-dev (>= 0.19.0-~~),
rustc,
@,
Restrictions: allow-stderr, skip-not-installable

4
debian/watch vendored Normal file
View file

@ -0,0 +1,4 @@
version=4
opts=filenamemangle=s/.*\/(.*)\/download/auth-git2-$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/auth-git2 .*/crates/auth-git2/@ANY_VERSION@/download