[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ftp.gnu.org no longer working with old method?
From: |
Alexandre Duret-Lutz |
Subject: |
Re: ftp.gnu.org no longer working with old method? |
Date: |
Mon, 16 Oct 2006 21:26:09 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) |
>>> "PE" == Paul Eggert <address@hidden> writes:
PE> Alexandre Duret-Lutz <address@hidden> writes:
>> A new version of gnupload is in Automake's CVS (and attached).
PE> Thanks, but it's not in Automake's CVS yet. Did you have second
PE> thoughts?
I was making too many things at the same time and forgot to run
clcommit and send the patch.
It's now done.
2006-10-16 Alexandre Duret-Lutz <address@hidden>
* lib/gnupload: Update to version 1.1 of directive file.
Index: lib/gnupload
===================================================================
RCS file: /cvs/automake/automake/lib/gnupload,v
retrieving revision 1.7
diff -u -r1.7 gnupload
--- lib/gnupload 13 May 2006 17:53:38 -0000 1.7
+++ lib/gnupload 15 Oct 2006 19:36:46 -0000
@@ -1,7 +1,7 @@
#!/bin/sh
# Sign files and upload them.
-scriptversion=2006-05-11.09
+scriptversion=2006-10-15.21
# Copyright (C) 2004, 2005, 2006 Free Software Foundation
#
@@ -143,14 +143,22 @@
case $dest in
alpha.gnu.org:*)
rm -f $file.directive $file.directive.asc
- echo directory: $destdir >$file.directive
+ cat >$file.directive<<EOF
+version: 1.1
+directory: $destdir
+archive: $file
+EOF
echo "$passphrase" | $GPG --passphrase-fd 0 --clearsign $file.directive
ncftpput ftp-upload.gnu.org /incoming/alpha $files $file.directive.asc
rm -f $file.directive $file.directive.asc
;;
ftp.gnu.org:*)
rm -f $file.directive $file.directive.asc
- echo directory: $destdir >$file.directive
+ cat >$file.directive<<EOF
+version: 1.1
+directory: $destdir
+archive: $file
+EOF
echo "$passphrase" | $GPG --passphrase-fd 0 --clearsign $file.directive
ncftpput ftp-upload.gnu.org /incoming/ftp $files $file.directive.asc
rm -f $file.directive $file.directive.asc
--
Alexandre Duret-Lutz
Shared books are happy books. http://www.bookcrossing.com/friend/gadl