1
0
Fork 0

Adding debian version 0.0~git20231022.c6c9f9a-1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-22 12:04:34 +02:00
parent 0e47c428eb
commit c76cc3ac5d
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
7 changed files with 91 additions and 0 deletions

35
debian/control vendored Normal file
View file

@ -0,0 +1,35 @@
Source: golang-github-dop251-base64dec
Section: golang
Priority: optional
Maintainer: Daniel Baumann <daniel@debian.org>
Build-Depends:
debhelper-compat (= 13),
dh-sequence-golang,
golang-any,
Rules-Requires-Root: no
Standards-Version: 4.7.2
Homepage: https://github.com/dop251/base64dec
Vcs-Browser: https://forgejo.debian.net/beszel/golang-github-dop251-base64dec
Vcs-Git: https://forgejo.debian.net/beszel/golang-github-dop251-base64dec
Testsuite: autopkgtest-pkg-go
XS-Go-Import-Path: github.com/dop251/base64dec
Package: golang-github-dop251-base64dec-dev
Architecture: all
Multi-Arch: foreign
Depends:
${misc:Depends},
Description: Universal Lenient Base64 Decoder (Go library)
base64dec is a Universal Lenient Base64 Decoder. It's a modified version of the
standard base64 decoder from encoding/base64. The key differences are:
.
* Accepts both Standard and URL-safe encoding, no need to specify it
explicitly.
* Works for both padded and raw inputs.
* The input can be a string or a []byte, no allocation or copy is
performed for either.
.
The goal was to create a decoder compatible with the one used in nodejs
(and possibly elsewhere too). Unfortunately the standard package does
not expose enough API to do this efficiently, and trying all 4 possible
variants (standard/url, padded/raw) seemed wasteful.