gioser

sergio/takana

> Una distribución Linux construida con un laboratorio funcional y hermético en el > sótano, y una terminal mutable, clásica y anárquica en el piso de arriba — diseñada > desde el suelo para que una IA programadora entienda, modifique y co…

TOML 1173Shell 64Rust 62Markdown 441482 Definiciones

⎇ 2354fe4255900ea77f5fe39d1271d61eb86e2841 recipes/0010-avoid-beta-warning.patch 46 líneas · 1.4 KB Historia crudo

base-system-3: promover cadena crypto + libusb/usbutils + gnupg (índice 743) ecf05e1b9 · sergio ·

1From: Debian GnuPG Maintainers <pkg-gnupg-maint@lists.alioth.debian.org>
2Date: Tue, 14 Apr 2015 10:02:31 -0400
3Subject: avoid-beta-warning
4
5avoid self-describing as a beta
6
7Using autoreconf against the source as distributed in tarball form
8invariably results in a package that thinks it's a "beta" package,
9which produces the "THIS IS A DEVELOPMENT VERSION" warning string.
10
11since we use dh_autoreconf, i need this patch to avoid producing
12builds that announce themselves as DEVELOPMENT VERSIONs.
13
14See discussion at:
15
16 http://lists.gnupg.org/pipermail/gnupg-devel/2014-November/029065.html
17---
18 autogen.sh | 6 +++---
19 1 file changed, 3 insertions(+), 3 deletions(-)
20
21Patch-Source: https://sources.debian.org/data/main/g/gnupg2/2.2.27-2/debian/patches/debian-packaging/avoid-beta-warning.patch
22
23diff --git a/autogen.sh b/autogen.sh
24index b238550..9b86d3f 100755
25--- a/autogen.sh
26+++ b/autogen.sh
27@@ -229,7 +229,7 @@ if [ "$myhost" = "find-version" ]; then
28     esac
29 
30     beta=no
31-    if [ -e .git ]; then
32+    if false; then
33       ingit=yes
34       tmp=$(git describe --match "${matchstr1}" --long 2>/dev/null)
35       tmp=$(echo "$tmp" | sed s/^"$package"//)
36@@ -245,8 +245,8 @@ if [ "$myhost" = "find-version" ]; then
37       rvd=$((0x$(echo ${rev} | dd bs=1 count=4 2>/dev/null)))
38     else
39       ingit=no
40-      beta=yes
41-      tmp="-unknown"
42+      beta=no
43+      tmp=""
44       rev="0000000"
45       rvd="0"
46     fi