GnuPG with scdaemon_shared-access patch applied
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

57 lines
1.7 KiB

  1. From 114ab3037de3b0f9b35cf023b64c8a9b76070065 Mon Sep 17 00:00:00 2001
  2. From: Debian GnuPG Maintainers <pkg-gnupg-maint@lists.alioth.debian.org>
  3. Date: Tue, 14 Apr 2015 10:02:31 -0400
  4. Subject: [PATCH 6/7] avoid beta warning
  5. avoid self-describing as a beta
  6. Using autoreconf against the source as distributed in tarball form
  7. invariably results in a package that thinks it's a "beta" package,
  8. which produces the "THIS IS A DEVELOPMENT VERSION" warning string.
  9. since we use dh_autoreconf, i need this patch to avoid producing
  10. builds that announce themselves as DEVELOPMENT VERSIONs.
  11. See discussion at:
  12. http://lists.gnupg.org/pipermail/gnupg-devel/2014-November/029065.html
  13. ---
  14. autogen.sh | 6 +++---
  15. 1 file changed, 3 insertions(+), 3 deletions(-)
  16. diff --git a/autogen.sh b/autogen.sh
  17. index b23855061..9b86d3ff9 100755
  18. --- a/autogen.sh
  19. +++ b/autogen.sh
  20. @@ -229,24 +229,24 @@ if [ "$myhost" = "find-version" ]; then
  21. esac
  22. beta=no
  23. - if [ -e .git ]; then
  24. + if false; then
  25. ingit=yes
  26. tmp=$(git describe --match "${matchstr1}" --long 2>/dev/null)
  27. tmp=$(echo "$tmp" | sed s/^"$package"//)
  28. if [ -n "$tmp" ]; then
  29. tmp=$(echo "$tmp" | sed s/^"$package"// \
  30. | awk -F- '$3!=0 && $3 !~ /^beta/ {print"-beta"$3}')
  31. else
  32. tmp=$(git describe --match "${matchstr2}" --long 2>/dev/null \
  33. | awk -F- '$4!=0{print"-beta"$4}')
  34. fi
  35. [ -n "$tmp" ] && beta=yes
  36. rev=$(git rev-parse --short HEAD | tr -d '\n\r')
  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
  47. --
  48. 2.27.0