[Gpg4win-commits] [git] Gpg4win - branch, website, updated. gpg4win-2.1.0-348-gd12b1b9

by Andre Heinecke cvs at cvs.gnupg.org
Fri Dec 8 11:00:07 CET 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG for Windows".

The branch, website has been updated
       via  d12b1b9327fe612c85c89f0b15a80de9d8a41d9d (commit)
      from  25c4ad6b6d3986f93642da7fed40c7b869a7a9b5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d12b1b9327fe612c85c89f0b15a80de9d8a41d9d
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Fri Dec 8 10:59:42 2017 +0100

    Add swdb to mk-checksums
    
    --

diff --git a/web/mk-chksums b/web/mk-chksums
index 3058b8f..060c959 100755
--- a/web/mk-chksums
+++ b/web/mk-chksums
@@ -8,7 +8,7 @@ if [ -z "$version" ]; then
 fi
 
 for i in gpg4win-$version.tar.bz2 gpg4win-$version.exe \
-         gpg4win-light-$version.exe gpg4win-src-$version.exe ; do
+         gpg4win-src-$version.exe ; do
   if [ ! -f "$i" ]; then
     echo "mk-chksums: file $i is missing in current directory" >&2
     exit 1
@@ -17,35 +17,39 @@ done
 
 sha1_src="`sha1sum gpg4win-$version.tar.bz2 | awk '{print $1}'`"
 sha1_exe="`sha1sum gpg4win-$version.exe | awk '{print $1}'`"
-sha1_exl="`sha1sum gpg4win-light-$version.exe | awk '{print $1}'`"
-sha1_exv="`sha1sum gpg4win-vanilla-$version.exe | awk '{print $1}'`"
 sha1_exs="`sha1sum gpg4win-src-$version.exe | awk '{print $1}'`"
 sha2_src="`sha256sum gpg4win-$version.tar.bz2 | awk '{print $1}'`"
 sha2_exe="`sha256sum gpg4win-$version.exe | awk '{print $1}'`"
-sha2_exl="`sha256sum gpg4win-light-$version.exe | awk '{print $1}'`"
-sha2_exv="`sha256sum gpg4win-vanilla-$version.exe | awk '{print $1}'`"
 sha2_exs="`sha256sum gpg4win-src-$version.exe | awk '{print $1}'`"
 len_src="`ls -l  gpg4win-$version.tar.bz2 | awk '{print $5}'`"
 len_exe="`ls -l  gpg4win-$version.exe | awk '{print $5}'`"
-len_exl="`ls -l  gpg4win-light-$version.exe | awk '{print $5}'`"
-len_exv="`ls -l  gpg4win-vanilla-$version.exe |awk '{print $5}'`"
 len_exs="`ls -l  gpg4win-src-$version.exe | awk '{print $5}'`"
 
 
 cat <<EOF
 m4_define(\`SHA1_SRC',\`$sha1_src')
 m4_define(\`SHA1_EXE',\`$sha1_exe')
-m4_define(\`SHA1_EXL',\`$sha1_exl')
-m4_define(\`SHA1_EXV',\`$sha1_exv')
 m4_define(\`SHA1_EXS',\`$sha1_exs')
 m4_define(\`SHA2_SRC',\`$sha2_src')
 m4_define(\`SHA2_EXE',\`$sha2_exe')
-m4_define(\`SHA2_EXL',\`$sha2_exl')
-m4_define(\`SHA2_EXV',\`$sha2_exv')
 m4_define(\`SHA2_EXS',\`$sha2_exs')
 m4_define(\`LEN_SRC',\`$len_src')
 m4_define(\`LEN_EXE',\`$len_exe')
-m4_define(\`LEN_EXL',\`$len_exl')
-m4_define(\`LEN_EXV',\`$len_exv')
 m4_define(\`LEN_EXS',\`$len_exs')
 EOF
+
+echo "############# SWDB Snippet"
+pref="#+macro: gpg4win_"
+reldate="$(date -u +%Y-%m-%d)"
+echo "${pref}ver  $version"
+echo "${pref}date ${reldate}"
+echo "${pref}src_size $(wc -c < gpg4win-$version.tar.bz2 |awk '{print int($1/1024)}')k"
+echo "${pref}src_sha1 $sha1_src"
+echo "${pref}src_sha2 $sha2_src"
+echo "${pref}exe_size $(wc -c < gpg4win-$version.exe |awk '{print int($1/1024)}')k"
+echo "${pref}exe_sha1 $sha1_exe"
+echo "${pref}exe_sha2 $sha2_exe"
+echo "${pref}isrc_size $(wc -c < gpg4win-src-$version.exe |awk '{print int($1/1024)}')k"
+echo "${pref}isrc_sha1 $sha1_exs"
+echo "${pref}isrc_sha2 $sha2_exs"
+echo "############# END SWDB Snippet"

-----------------------------------------------------------------------

Summary of changes:
 web/mk-chksums | 30 +++++++++++++++++-------------
 1 file changed, 17 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
GnuPG for Windows
http://git.gnupg.org



More information about the Gpg4win-commits mailing list