[Gpg4win-commits] r449 - in trunk: . packages

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Jul 9 16:29:26 CEST 2007


Author: marcus
Date: 2007-07-09 16:29:25 +0200 (Mon, 09 Jul 2007)
New Revision: 449

Modified:
   trunk/ChangeLog
   trunk/packages/download.sh
   trunk/packages/packages.current
Log:
2007-07-09  Marcus Brinkmann  <marcus at g10code.de>

	* packages/download.sh: Implement a new function "ren" for
	renaming.
	* packages/packages.current: Rename gnupg 2.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-07-09 13:50:44 UTC (rev 448)
+++ trunk/ChangeLog	2007-07-09 14:29:25 UTC (rev 449)
@@ -1,5 +1,9 @@
 2007-07-09  Marcus Brinkmann  <marcus at g10code.de>
 
+	* packages/download.sh: Implement a new function "ren" for
+	renaming.
+	* packages/packages.current: Rename gnupg 2.
+
 	* packages/packages.current: Update to GPGME 1.1.5.
 
 	* src/Makefile.am (gpg4win_pkg_gpgme_configure): Enable gpgsm.

Modified: trunk/packages/download.sh
===================================================================
--- trunk/packages/download.sh	2007-07-09 13:50:44 UTC (rev 448)
+++ trunk/packages/download.sh	2007-07-09 14:29:25 UTC (rev 449)
@@ -134,6 +134,24 @@
            fi
        fi
        ;;
+     ren)
+       if [ -z "$value" ]; then
+           echo "syntax error in ren statement, line $lnr" >&2
+           exit 1
+       fi
+       if [ -z "$name" ]; then
+           echo "no file name for ren statement, line $lnr" >&2
+           exit 1
+       fi
+       echo -n "renaming    \`$name' ..."
+       if mv -f "$name" "$value" ; then
+           echo " okay"
+       else
+           echo " FAILED (line $lnr)"
+           echo "line $lnr: renaming $name failed" >> '.#download.failed'
+       fi
+       name="$value"
+       ;;
      chk)
        if [ -z "$value" ]; then
            echo "syntax error in chk statement, line $lnr" >&2

Modified: trunk/packages/packages.current
===================================================================
--- trunk/packages/packages.current	2007-07-09 13:50:44 UTC (rev 448)
+++ trunk/packages/packages.current	2007-07-09 14:29:25 UTC (rev 449)
@@ -229,6 +229,7 @@
 chk  22149105845c79068771837c8deb7d5ba0854927
 
 file gnupg/gnupg-2.0.5.tar.bz2
+ren  gnupg2-2.0.5.tar.bz2
 chk  9435e7fabe525ce943a5818008d412ecad244018
 
 file libgpg-error/libgpg-error-1.5.tar.bz2



More information about the Gpg4win-commits mailing list