File: 25_norevisionfromgit.diff

package info (click to toggle)
libksba 1.6.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,048 kB
  • sloc: ansic: 23,601; sh: 5,263; yacc: 859; makefile: 292; sed: 37; awk: 32
file content (25 lines) | stat: -rw-r--r-- 720 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Do not pull revision info from GIT
 Stop trying to pull version info from GIT when autoconf is run.
Author: Andreas Metzler <ametzler@debian.org>
Bug-Debian: https://bugs.debian.org/1014149
Origin: vendor
Forwarded: no
Last-Update: 2027-06-29

--- a/autogen.sh
+++ b/autogen.sh
@@ -267,12 +267,12 @@ if [ "$myhost" = "find-version" ]; then
       [ -n "$tmp" ] && beta=yes
       rev=$(git rev-parse --short HEAD | tr -d '\n\r')
       rvd=$((0x$(echo ${rev} | dd bs=1 count=4 2>/dev/null)))
     else
       ingit=no
-      beta=yes
-      tmp="-unknown"
+      beta=no
+      tmp=""
       rev="0000000"
       rvd="0"
     fi
 
     echo "$package-$vers$tmp:$beta:$ingit:$vers$tmp:$vers:$tmp:$rev:$rvd:"