Resync upstream files.

* GNUmakefile: Run 'make fetch'.
* build-aux/announce-gen: Likewise.
* build-aux/config.guess: Likewise.
* build-aux/config.sub: Likewise.
* build-aux/gnupload: Likewise.
* build-aux/texinfo.tex: Likewise.
* build-aux/vc-list-files: Likewise.
* doc/gnu-oids.texi: Likewise.
* doc/standards.texi: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
This commit is contained in:
Eric Blake 2009-03-14 16:23:29 -06:00
parent ee55d7737c
commit e994faac09
10 changed files with 382 additions and 121 deletions

View File

@ -1,3 +1,16 @@
2009-03-14 Eric Blake <ebb9@byu.net>
Resync upstream files.
* GNUmakefile: Run 'make fetch'.
* build-aux/announce-gen: Likewise.
* build-aux/config.guess: Likewise.
* build-aux/config.sub: Likewise.
* build-aux/gnupload: Likewise.
* build-aux/texinfo.tex: Likewise.
* build-aux/vc-list-files: Likewise.
* doc/gnu-oids.texi: Likewise.
* doc/standards.texi: Likewise.
2009-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2009-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
New test for SunStudio `restrict' handling. New test for SunStudio `restrict' handling.

View File

@ -5,7 +5,7 @@
# It is necessary if you want to build targets usually of interest # It is necessary if you want to build targets usually of interest
# only to the maintainer. # only to the maintainer.
# Copyright (C) 2001, 2003, 2006-2008 Free Software Foundation, Inc. # Copyright (C) 2001, 2003, 2006-2009 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -38,6 +38,9 @@ ifeq ($(_have-Makefile),yes)
# Make tar archive easier to reproduce. # Make tar archive easier to reproduce.
export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner
# Allow the user to add to this in the Makefile.
ALL_RECURSIVE_TARGETS =
include Makefile include Makefile
# Some projects override e.g., _autoreconf here. # Some projects override e.g., _autoreconf here.
@ -61,7 +64,7 @@ ifeq ($(_have-git-version-gen)0,yes$(MAKELEVEL))
&& $(_build-aux)/git-version-gen .tarball-version) && $(_build-aux)/git-version-gen .tarball-version)
ifneq ($(_curr-ver),$(VERSION)) ifneq ($(_curr-ver),$(VERSION))
ifeq ($(_curr-ver),UNKNOWN) ifeq ($(_curr-ver),UNKNOWN)
$(info WARNING: unable to verify if $(VERSION) is correct version) $(info WARNING: unable to verify if $(VERSION) is the correct version)
else else
ifneq (,$(_is-install-target)) ifneq (,$(_is-install-target))
# GNU Coding Standards state that 'make install' should not cause # GNU Coding Standards state that 'make install' should not cause
@ -107,6 +110,18 @@ abort-due-to-no-makefile:
endif endif
# Tell version 3.79 and up of GNU make to not build goals in this # Tell version 3.79 and up of GNU make to not build goals in this
# directory in parallel. This is necessary in case someone tries to # directory in parallel, in case someone tries to build multiple
# build multiple targets on one command line. # targets, and one of them can cause a recursive target to be invoked.
# Only set this if Automake doesn't provide it.
AM_RECURSIVE_TARGETS ?= $(RECURSIVE_TARGETS:-recursive=) \
$(RECURSIVE_CLEAN_TARGETS:-recursive=) \
dist distcheck tags ctags
ALL_RECURSIVE_TARGETS += $(AM_RECURSIVE_TARGETS)
ifneq ($(word 2, $(MAKECMDGOALS)), )
ifneq ($(filter $(ALL_RECURSIVE_TARGETS), $(MAKECMDGOALS)), )
.NOTPARALLEL: .NOTPARALLEL:
endif
endif

View File

@ -1,13 +1,13 @@
#!/usr/bin/perl -w #!/usr/bin/perl -w
# Generate a release announcement message. # Generate a release announcement message.
my $VERSION = '2008-12-02 16:28'; # UTC my $VERSION = '2009-03-05 09:52'; # UTC
# The definition above must lie within the first 8 lines in order # The definition above must lie within the first 8 lines in order
# for the Emacs time-stamp write hook (at end) to update it. # for the Emacs time-stamp write hook (at end) to update it.
# If you change this file with Emacs, please let the write hook # If you change this file with Emacs, please let the write hook
# do its job. Otherwise, update this string manually. # do its job. Otherwise, update this string manually.
# Copyright (C) 2002-2008 Free Software Foundation, Inc. # Copyright (C) 2002-2009 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -34,6 +34,7 @@ use POSIX qw(strftime);
(my $ME = $0) =~ s|.*/||; (my $ME = $0) =~ s|.*/||;
my %valid_release_types = map {$_ => 1} qw (alpha beta major); my %valid_release_types = map {$_ => 1} qw (alpha beta major);
my @archive_suffixes = ('tar.gz', 'tar.bz2', 'tar.lzma', 'tar.xz');
END END
{ {
@ -96,6 +97,8 @@ The following are optional:
VERSION is the result of running git describe VERSION is the result of running git describe
in the gnulib source directory. in the gnulib source directory.
required if gnulib is in TOOL_LIST. required if gnulib is in TOOL_LIST.
--no-print-checksums do not emit MD5 or SHA1 checksums
--archive-suffix=SUF add SUF to the list of archive suffixes
--help display this help and exit --help display this help and exit
--version output version information and exit --version output version information and exit
@ -185,8 +188,7 @@ sub print_checksums (@)
print "$dig $f\n"; print "$dig $f\n";
} }
} }
print "\n";
} }
=item C<print_news_deltas ($news_file, $prev_version, $curr_version) =item C<print_news_deltas ($news_file, $prev_version, $curr_version)
@ -377,6 +379,7 @@ sub get_tool_versions ($$)
my @news_file; my @news_file;
my $bootstrap_tools; my $bootstrap_tools;
my $gnulib_version; my $gnulib_version;
my $print_checksums_p = 1;
GetOptions GetOptions
( (
@ -389,6 +392,8 @@ sub get_tool_versions ($$)
'news=s' => \@news_file, 'news=s' => \@news_file,
'bootstrap-tools=s' => \$bootstrap_tools, 'bootstrap-tools=s' => \$bootstrap_tools,
'gnulib-version=s' => \$gnulib_version, 'gnulib-version=s' => \$gnulib_version,
'print-checksums!' => \$print_checksums_p,
'archive-suffix=s' => \@archive_suffixes,
help => sub { usage 0 }, help => sub { usage 0 },
version => sub { print "$ME version $VERSION\n"; exit }, version => sub { print "$ME version $VERSION\n"; exit },
@ -426,16 +431,14 @@ sub get_tool_versions ($$)
and usage 1; and usage 1;
my $my_distdir = "$package_name-$curr_version"; my $my_distdir = "$package_name-$curr_version";
my $tgz = "$my_distdir.tar.gz";
my $tbz = "$my_distdir.tar.bz2";
my $lzma = "$my_distdir.tar.lzma";
my $xz = "$my_distdir.tar.xz";
my $xd = "$package_name-$prev_version-$curr_version.xdelta"; my $xd = "$package_name-$prev_version-$curr_version.xdelta";
my @tarballs = grep {-f $_} ($tgz, $tbz, $lzma, $xz); my @candidates = map { "$my_distdir.$_" } @archive_suffixes;
my @tarballs = grep {-f $_} @candidates;
@tarballs @tarballs
or die "$ME: none of $tgz, $tbz, $lzma or $xz were found\n"; or die "$ME: none of " . join(', ', @candidates) . " were found\n";
my @sizable = @tarballs; my @sizable = @tarballs;
-f $xd -f $xd
and push @sizable, $xd; and push @sizable, $xd;
@ -464,16 +467,16 @@ EOF
print_locations ("GPG detached signatures[*]", @url_dir_list, %size, print_locations ("GPG detached signatures[*]", @url_dir_list, %size,
@sig_files); @sig_files);
print_checksums (@sizable); $print_checksums_p
and print_checksums (@sizable);
print <<EOF; print <<EOF;
[*] You can use either of the above signature files to verify that [*] You can use either of the above signature files to verify that
the corresponding file (without the .sig suffix) is intact. First, the corresponding file (without the .sig suffix) is intact. First,
be sure to download both the .sig file and the corresponding tarball. be sure to download both the .sig file and the corresponding tarball.
Then, run a command like this: Then, run a command like this:
gpg --verify $tgz.sig gpg --verify $tarballs[0].sig
If that command fails because you don't have the required public key, If that command fails because you don't have the required public key,
then run this command to import it: then run this command to import it:

View File

@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# Free Software Foundation, Inc. # Free Software Foundation, Inc.
timestamp='2008-12-19' timestamp='2009-02-03'
# This file is free software; you can redistribute it and/or modify it # This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by # under the terms of the GNU General Public License as published by
@ -1350,6 +1350,9 @@ EOF
i*86:rdos:*:*) i*86:rdos:*:*)
echo ${UNAME_MACHINE}-pc-rdos echo ${UNAME_MACHINE}-pc-rdos
exit ;; exit ;;
i*86:AROS:*:*)
echo ${UNAME_MACHINE}-pc-aros
exit ;;
esac esac
#echo '(No uname command or uname output not recognized.)' 1>&2 #echo '(No uname command or uname output not recognized.)' 1>&2

10
build-aux/config.sub vendored
View File

@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# Free Software Foundation, Inc. # Free Software Foundation, Inc.
timestamp='2008-12-11' timestamp='2009-02-03'
# This file is (in principle) common to ALL GNU software. # This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software # The presence of a machine in this file suggests that SOME GNU software
@ -122,6 +122,7 @@ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in case $maybe_os in
nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
kopensolaris*-gnu* | \
storm-chaos* | os2-emx* | rtmk-nova*) storm-chaos* | os2-emx* | rtmk-nova*)
os=-$maybe_os os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
@ -445,6 +446,10 @@ case $basic_machine in
basic_machine=m68k-apollo basic_machine=m68k-apollo
os=-bsd os=-bsd
;; ;;
aros)
basic_machine=i386-pc
os=-aros
;;
aux) aux)
basic_machine=m68k-apple basic_machine=m68k-apple
os=-aux os=-aux
@ -1256,8 +1261,9 @@ case $os in
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
| -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
| -kopensolaris* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
| -aos* \ | -aos* | -aros* \
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \

View File

@ -1,9 +1,9 @@
#!/bin/sh #!/bin/sh
# Sign files and upload them. # Sign files and upload them.
scriptversion=2008-11-12.21 scriptversion=2009-03-05.20
# Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation # Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -23,98 +23,193 @@ scriptversion=2008-11-12.21
set -e set -e
GPG='gpg --batch --no-tty' GPG='gpg --batch --no-tty'
conffile=.gnuploadrc
to= to=
delete=false dry_run=false
symlink_files=
delete_files=
delete_symlinks=
collect_var=
dbg=
usage="Usage: $0 [OPTIONS]... FILES... usage="Usage: $0 [OPTIONS]... [COMMAND] FILES... [[COMMAND] FILES...]
Sign all FILES, and upload them to (or delete them from) selected Sign all FILES, and upload them to selected destinations, according to
destinations, according to
<http://www.gnu.org/prep/maintain/html_node/Automated-FTP-Uploads.html>. <http://www.gnu.org/prep/maintain/html_node/Automated-FTP-Uploads.html>.
Commands:
--delete delete FILES from destination
--symlink create symbolic links
--rmsymlink remove symbolic links
-- treat the remaining arguments as files to upload
Options: Options:
--help print this help text and exit --help print this help text and exit
--to DEST specify one destination for FILES --to DEST specify one destination for FILES
(multiple --to options are allowed) (multiple --to options are allowed)
--user NAME sign with key NAME --user NAME sign with key NAME
--delete delete FILES from destination instead of uploading --symlink-regex[=EXPR] use sed script EXPR to compute symbolic link names
--dry-run do nothing, show what would have been done
--version output version information and exit --version output version information and exit
If --symlink-regex is given without EXPR, then the link target name
is created by replacing the version information with \`-latest', e.g.:
foo-1.3.4.tar.gz -> foo-latest.tar.gz
Recognized destinations are: Recognized destinations are:
alpha.gnu.org:DIRECTORY alpha.gnu.org:DIRECTORY
savannah.gnu.org:DIRECTORY savannah.gnu.org:DIRECTORY
savannah.nongnu.org:DIRECTORY savannah.nongnu.org:DIRECTORY
ftp.gnu.org:DIRECTORY ftp.gnu.org:DIRECTORY
build directive files and upload files by FTP build directive files and upload files by FTP
download.gnu.org.ua:{alpha|ftp}/DIRECTORY
build directive files and upload files by SFTP
[user@]host:DIRECTORY upload files with scp [user@]host:DIRECTORY upload files with scp
Deletion only works for ftp.gnu.org and alpha.gnu.org (using the Options and commands are applied in order. If the file $conffile exists
archive: directive). Otherwise it is a no-op. Deleting a file foo also in the current working directory, its contents are prepended to the
deletes foo.sig; do not specify the .sig explicitly. actual command line options. Use this to keep your defaults. Comments
(#) and empty lines in $conffile are allowed.
Simple single-target single-file examples: Examples:
gnupload --to alpha.gnu.org:automake automake-1.8.2b.tar.gz 1. Upload automake-1.8.2b.tar.gz and automake-1.8.2b.tar.bz2 to two sites:
gnupload --to ftp.gnu.org:automake automake-1.8.3.tar.gz
gnupload --to alpha.gnu.org:automake --delete automake-oops.tar.gz
Multiple-target multiple-file example:
gnupload --to sources.redhat.com:~ftp/pub/automake \\ gnupload --to sources.redhat.com:~ftp/pub/automake \\
--to alpha.gnu.org:automake \\ --to alpha.gnu.org:automake \\
automake-1.8.2b.tar.gz automake-1.8.2b.tar.bz2 automake-1.8.2b.tar.gz automake-1.8.2b.tar.bz2
2. Same as above, but also create symbolic links to automake-latest.tar.*:
gnupload --to sources.redhat.com:~ftp/pub/automake \\
--to alpha.gnu.org:automake \\
--symlink-regex \\
automake-1.8.2b.tar.gz automake-1.8.2b.tar.bz2
3. Symlink automake-1.8.2b.tar.gz to automake-latest.tar.gz and
automake-1.8.2b.tar.bz2 to automake-latest.tar.bz2 on both sites:
gnupload --to sources.redhat.com:~ftp/pub/automake \\
--to alpha.gnu.org:automake \\
--symlink automake-1.8.2b.tar.gz automake-latest.tar.gz \\
automake-1.8.2b.tar.bz2 automake-latest.tar.bz2
4. Delete automake-1.8.2a.tar.gz and .bz2, remove symlink
automake-latest.tar.gz and upload automake-1.8.2b.tar.gz:
gnupload --to sources.redhat.com:~ftp/pub/automake \\
--to alpha.gnu.org:automake \\
--delete automake-1.8.2a.tar.gz automake-1.8.2a.tar.bz2 \\
--rmsymlink automake-latest.tar.gz \\
-- \\
automake-1.8.2b.tar.gz automake-1.8.2b.tar.bz2
Report bugs to <bug-automake@gnu.org>. Report bugs to <bug-automake@gnu.org>.
Send patches to <automake-patches@gnu.org>." Send patches to <automake-patches@gnu.org>."
# Read local configuration file
if test -r "$conffile"; then
echo "$0: Reading configuration file $conffile"
eval set x "`sed 's/#.*$//;/^$/d' \"$conffile\" | tr '\012\015' ' '` \"\$@\""
shift
fi
while test -n "$1"; do while test -n "$1"; do
case $1 in case $1 in
--delete) -*)
delete=true collect_var=
shift case $1 in
;;
--help) --help)
echo "$usage" echo "$usage"
exit $? exit $?
;; ;;
--to) --to)
if test -z "$2"; then if test -z "$2"; then
echo "$0: Missing argument for --to" 1>&2 echo "$0: Missing argument for --to" 1>&2
exit 1 exit 1
else else
to="$to $2" to="$to $2"
shift 2 shift
fi fi
;; ;;
--user) --user)
if test -z "$2"; then if test -z "$2"; then
echo "$0: Missing argument for --user" 1>&2 echo "$0: Missing argument for --user" 1>&2
exit 1 exit 1
else else
GPG="$GPG --local-user $2" GPG="$GPG --local-user $2"
shift 2 shift
fi fi
;; ;;
--delete)
collect_var=delete_files
;;
--rmsymlink)
collect_var=delete_symlinks
;;
--symlink-regex=*)
symlink_expr=`expr "$1" : '[^=]*=\(.*\)'`
;;
--symlink-regex)
symlink_expr='s|-[0-9][0-9\.]*\(-[0-9][0-9]*\)\{0,1\}\.|-latest.|'
;;
--symlink)
collect_var=symlink_files
;;
--dry-run|-n)
dry_run=:
;;
--version) --version)
echo "gnupload $scriptversion" echo "gnupload $scriptversion"
exit $? exit $?
;; ;;
--)
shift
break
;;
-*) -*)
echo "$0: Unknown option \`$1', try \`$0 --help'" 1>&2 echo "$0: Unknown option \`$1', try \`$0 --help'" 1>&2
exit 1 exit 1
;; ;;
*) esac
;;
*)
if test -z "$collect_var"; then
break break
;; else
eval "$collect_var=\"\$$collect_var $1\""
fi
;;
esac esac
shift
done done
if test $# = 0; then dprint()
echo "$0: No file to upload or delete" 1>&2 {
exit 1 echo "Running $*..."
else }
:
if $dry_run; then
dbg=dprint
fi fi
if $delete; then :; else if test -z "$to"; then
echo "$0: Missing destination sites" >&2
exit 1
fi
if test -n "$symlink_files"; then
x=`echo "$symlink_files" | sed 's/[^ ]//g;s/ //g'`
if test -n "$x"; then
echo "$0: Odd number of symlink arguments" >&2
exit 1
fi
fi
if test $# = 0; then
if test -z "${symlink_files}${delete_files}${delete_symlinks}"; then
echo "$0: No file to upload" 1>&2
exit 1
fi
else
# Make sure all files exist. We don't want to ask # Make sure all files exist. We don't want to ask
# for the passphrase if the script will fail. # for the passphrase if the script will fail.
for file for file
@ -122,8 +217,15 @@ if $delete; then :; else
if test ! -f $file; then if test ! -f $file; then
echo "$0: Cannot find \`$file'" 1>&2 echo "$0: Cannot find \`$file'" 1>&2
exit 1 exit 1
else elif test -n "$symlink_expr"; then
: linkname=`echo $file | sed "$symlink_expr"`
if test -z "$linkname"; then
echo "$0: symlink expression produces empty results" >&2
exit 1
elif test "$linkname" = $file; then
echo "$0: symlink expression does not alter file name" >&2
exit 1
fi
fi fi
done done
fi fi
@ -143,72 +245,164 @@ read -r passphrase
stty echo stty echo
echo echo
# Nothing to sign if deleting. if test $# -ne 0; then
if $delete; then :; else
for file for file
do do
echo "Signing $file..." echo "Signing $file..."
rm -f $file.sig rm -f $file.sig
echo $passphrase | $GPG --passphrase-fd 0 -ba -o $file.sig $file echo "$passphrase" | $dbg $GPG --passphrase-fd 0 -ba -o $file.sig $file
done done
fi fi
# mkdirective DESTDIR BASE FILE STMT
# Arguments: See upload, below
mkdirective ()
{
stmt="$4"
if test -n "$3"; then
stmt="
filename: $3$stmt"
fi
cat >${2}.directive<<EOF
version: 1.1
directory: $1
comment: gnupload v. $scriptversion$stmt
EOF
if $dry_run; then
echo "File ${2}.directive:"
cat ${2}.directive
echo "File ${2}.directive:" | sed 's/./-/g'
fi
}
mksymlink ()
{
while test $# -ne 0
do
echo "symlink: $1 $2"
shift
shift
done
}
# upload DEST DESTDIR BASE FILE STMT FILES
# Arguments:
# DEST Destination site;
# DESTDIR Destination directory;
# BASE Base name for the directive file;
# FILE Name of the file to distribute (may be empty);
# STMT Additional statements for the directive file;
# FILES List of files to upload.
upload ()
{
dest=$1
destdir=$2
base=$3
file=$4
stmt=$5
files=$6
rm -f $base.directive $base.directive.asc
case $dest in
alpha.gnu.org:*)
mkdirective "$destdir" "$base" "$file" "$stmt"
echo "$passphrase" | $dbg $GPG --passphrase-fd 0 --clearsign $base.directive
$dbg ncftpput ftp-upload.gnu.org /incoming/alpha $files $base.directive.asc
;;
ftp.gnu.org:*)
mkdirective "$destdir" "$base" "$file" "$stmt"
echo "$passphrase" | $dbg $GPG --passphrase-fd 0 --clearsign $base.directive
$dbg ncftpput ftp-upload.gnu.org /incoming/ftp $files $base.directive.asc
;;
savannah.gnu.org:*)
if test -z "$files"; then
echo "$0: warning: standalone directives not applicable for $dest" >&2
fi
$dbg ncftpput savannah.gnu.org /incoming/savannah/$destdir $files
;;
savannah.nongnu.org:*)
if test -z "$files"; then
echo "$0: warning: standalone directives not applicable for $dest" >&2
fi
$dbg ncftpput savannah.nongnu.org /incoming/savannah/$destdir $files
;;
download.gnu.org.ua:alpha/*|download.gnu.org.ua:ftp/*)
destdir_p1=`echo "$destdir" | sed 's,^[^/]*/,,'`
destdir_topdir=`echo "$destdir" | sed 's,/.*,,'`
mkdirective "$destdir_p1" "$base" "$file" "$stmt"
echo "$passphrase" | $dbg $GPG --passphrase-fd 0 --clearsign $base.directive
for f in $files $base.directive.asc
do
echo put $f
done | $dbg sftp -b - puszcza.gnu.org.ua:/incoming/$destdir_topdir
;;
/*)
dest_host=`echo "$dest" | sed 's,:.*,,'`
mkdirective "$destdir" "$base" "$file" "$stmt"
echo "$passphrase" | $dbg $GPG --passphrase-fd 0 --clearsign $base.directive
$dbg cp $files $base.directive.asc $dest_host
;;
*)
if test -z "$files"; then
echo "$0: warning: standalone directives not applicable for $dest" >&2
fi
$dbg scp $files $dest
;;
esac
rm -f $base.directive $base.directive.asc
}
#####
# Process any standalone directives
stmt=
if test -n "$symlink_files"; then
stmt="$stmt
`mksymlink $symlink_files`"
fi
for file in $delete_files
do
stmt="$stmt
archive: $file"
done
for file in $delete_symlinks
do
stmt="$stmt
rmsymlink: $file"
done
if test -n "$stmt"; then
for dest in $to
do
destdir=`echo $dest | sed 's/[^:]*://'`
upload "$dest" "$destdir" "`hostname`-$$" "" "$stmt"
done
fi
# Process actual uploads
for dest in $to for dest in $to
do do
for file for file
do do
# Prepare arguments. echo "Uploading $file to $dest..."
if $delete; then stmt=
echo "Removing $file from $dest..." files="$file $file.sig"
files= # nothing to upload if deleting
directive="archive: $file"
else
echo "Uploading $file to $dest..."
files="$file $file.sig"
directive="filename: "`basename -- "$file"`
fi
destdir=`echo $dest | sed 's/[^:]*://'` destdir=`echo $dest | sed 's/[^:]*://'`
if test -n "$symlink_expr"; then
case $dest in linkname=`echo $file | sed "$symlink_expr"`
alpha.gnu.org:*) stmt="$stmt
rm -f $file.directive $file.directive.asc symlink: $file $linkname
cat >$file.directive<<EOF symlink: $file.sig $linkname.sig"
version: 1.1 fi
directory: $destdir upload "$dest" "$destdir" "$file" "$file" "$stmt" "$files"
$directive
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
cat >$file.directive<<EOF
version: 1.1
directory: $destdir
$directive
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
;;
savannah.gnu.org:*)
# We only know how to implement delete for {ftp,alpha}.gnu.org.
$delete \
|| ncftpput savannah.gnu.org /incoming/savannah/$destdir $files
;;
savannah.nongnu.org:*)
$delete \
|| ncftpput savannah.nongnu.org /incoming/savannah/$destdir $files
;;
*)
$delete \
|| scp $files $dest
;;
esac
done done
done done
exit 0
# Local variables: # Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp) # eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion=" # time-stamp-start: "scriptversion="

View File

@ -3,7 +3,7 @@
% Load plain if necessary, i.e., if running under initex. % Load plain if necessary, i.e., if running under initex.
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
% %
\def\texinfoversion{2009-01-01.14} \def\texinfoversion{2009-01-18.17}
% %
% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@ -1578,7 +1578,8 @@ output) for that.)}
\def\@{@}% \def\@{@}%
\let\/=\empty \let\/=\empty
\makevalueexpandable \makevalueexpandable
% \indexnofonts -- is that what we want? % do we want to go so far as to use \indexnofonts instead of just
% special-casing \var here?
\def\var##1{##1}% \def\var##1{##1}%
% %
\leavevmode\setcolor{\urlcolor}% \leavevmode\setcolor{\urlcolor}%
@ -2585,7 +2586,7 @@ end
% monospace, don't change it; that way, we respect @kbdinputstyle. But % monospace, don't change it; that way, we respect @kbdinputstyle. But
% if it isn't monospace, then use \tt. % if it isn't monospace, then use \tt.
% %
\def\key#1{{\setupmarkupstyle{key} \def\key#1{{\setupmarkupstyle{key}%
\nohyphenation \nohyphenation
\ifmonospace\else\tt\fi \ifmonospace\else\tt\fi
#1}\null} #1}\null}
@ -3418,9 +3419,18 @@ end
\parindent=0pt \parindent=0pt
\parskip=\smallskipamount \parskip=\smallskipamount
\ifdim\parskip=0pt \parskip=2pt \fi \ifdim\parskip=0pt \parskip=2pt \fi
%
% Try typesetting the item mark that if the document erroneously says
% something like @itemize @samp (intending @table), there's an error
% right away at the @itemize. It's not the best error message in the
% world, but it's better than leaving it to the @item. This means if
% the user wants an empty mark, they have to say @w{} not just @w.
\def\itemcontents{#1}% \def\itemcontents{#1}%
\setbox0 = \hbox{\itemcontents}%
%
% @itemize with no arg is equivalent to @itemize @bullet. % @itemize with no arg is equivalent to @itemize @bullet.
\ifx\itemcontents\empty\def\itemcontents{\bullet}\fi \ifx\itemcontents\empty\def\itemcontents{\bullet}\fi
%
\let\item=\itemizeitem \let\item=\itemizeitem
} }
@ -3441,6 +3451,7 @@ end
\ifnum\lastpenalty<10000 \parskip=0in \fi \ifnum\lastpenalty<10000 \parskip=0in \fi
\noindent \noindent
\hbox to 0pt{\hss \itemcontents \kern\itemmargin}% \hbox to 0pt{\hss \itemcontents \kern\itemmargin}%
%
\vadjust{\penalty 1200}}% not good to break after first line of item. \vadjust{\penalty 1200}}% not good to break after first line of item.
\flushcr \flushcr
} }
@ -3662,12 +3673,19 @@ end
% %
% @headitem starts a heading row, which we typeset in bold. % @headitem starts a heading row, which we typeset in bold.
% Assignments have to be global since we are inside the implicit group % Assignments have to be global since we are inside the implicit group
% of an alignment entry. Note that \everycr resets \everytab. % of an alignment entry. \everycr resets \everytab so we don't have to
\def\headitem{\checkenv\multitable \crcr \global\everytab={\bf}\the\everytab}% % undo it ourselves.
\def\headitemfont{\b}% for people to use in the template row; not changeable
\def\headitem{%
\checkenv\multitable
\crcr
\global\everytab={\bf}% can't use \headitemfont since the parsing differs
\the\everytab % for the first item
}%
% %
% A \tab used to include \hskip1sp. But then the space in a template % A \tab used to include \hskip1sp. But then the space in a template
% line is not enough. That is bad. So let's go back to just `&' until % line is not enough. That is bad. So let's go back to just `&' until
% we encounter the problem it was intended to solve again. % we again encounter the problem the 1sp was intended to solve.
% --karl, nathan@acm.org, 20apr99. % --karl, nathan@acm.org, 20apr99.
\def\tab{\checkenv\multitable &\the\everytab}% \def\tab{\checkenv\multitable &\the\everytab}%

View File

@ -2,9 +2,9 @@
# List version-controlled file names. # List version-controlled file names.
# Print a version string. # Print a version string.
scriptversion=2008-07-11.19 scriptversion=2009-03-01.09
# Copyright (C) 2006-2008 Free Software Foundation, Inc. # Copyright (C) 2006-2009 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -89,7 +89,7 @@ elif test -d CVS; then
if (!$1 && $3 !~ /^-/) { \ if (!$1 && $3 !~ /^-/) { \
f=FILENAME; \ f=FILENAME; \
if (f ~ /CVS\/Entries$/) \ if (f ~ /CVS\/Entries$/) \
f = substr(f, 0, length(f)-11); \ f = substr(f, 1, length(f)-11); \
print f $2; \ print f $2; \
}}'\'' \ }}'\'' \
`find "$dir" -name Entries -print` /dev/null' $postprocess `find "$dir" -name Entries -print` /dev/null' $postprocess

View File

@ -1,6 +1,6 @@
@c This table of OID's is included in the GNU Coding Standards. @c This table of OID's is included in the GNU Coding Standards.
@c @c
@c Copyright 2008 Free Software Foundation, Inc. @c Copyright 2008, 2009 Free Software Foundation, Inc.
@c @c
@c Copying and distribution of this file, with or without modification, @c Copying and distribution of this file, with or without modification,
@c are permitted in any medium without royalty provided the copyright @c are permitted in any medium without royalty provided the copyright
@ -8,7 +8,7 @@
@c @c
@c When adding new OIDs, please add them also to @c When adding new OIDs, please add them also to
@c http://www.alvestrand.no/objectid/ (except it gets an internal @c http://www.alvestrand.no/objectid/ (except it gets an internal
@c server error ) @c server error, so never mind)
@c (Our page is http://www.alvestrand.no/objectid/1.3.6.1.4.1.11591.html.) @c (Our page is http://www.alvestrand.no/objectid/1.3.6.1.4.1.11591.html.)
1.3.6.1.4.1.11591 GNU 1.3.6.1.4.1.11591 GNU
@ -26,6 +26,9 @@
@c Added 2008-10-24 on request from Sergey Poznyakoff <gray@gnu.org.ua> @c Added 2008-10-24 on request from Sergey Poznyakoff <gray@gnu.org.ua>
1.3.6.1.4.1.11591.5 GNU Mailutils 1.3.6.1.4.1.11591.5 GNU Mailutils
@c Added 2009-03-03 on request from Simon Josefsson <simon@josefsson.org>
1.3.6.1.4.1.11591.5 GNU Shishi
1.3.6.1.4.1.11591.12 digestAlgorithm 1.3.6.1.4.1.11591.12 digestAlgorithm
1.3.6.1.4.1.11591.12.2 TIGER/192 1.3.6.1.4.1.11591.12.2 TIGER/192
1.3.6.1.4.1.11591.13 encryptionAlgorithm 1.3.6.1.4.1.11591.13 encryptionAlgorithm

View File

@ -3,7 +3,7 @@
@setfilename standards.info @setfilename standards.info
@settitle GNU Coding Standards @settitle GNU Coding Standards
@c This date is automagically updated when you save this file: @c This date is automagically updated when you save this file:
@set lastupdate November 6, 2008 @set lastupdate January 31, 2009
@c %**end of header @c %**end of header
@dircategory GNU organization @dircategory GNU organization
@ -27,7 +27,7 @@
The GNU coding standards, last updated @value{lastupdate}. The GNU coding standards, last updated @value{lastupdate}.
Copyright @copyright{} 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, Copyright @copyright{} 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
Foundation, Inc. Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document Permission is granted to copy, distribute and/or modify this document
@ -1086,13 +1086,19 @@ is seen, and the program should not perform its normal function.
@cindex address for bug reports @cindex address for bug reports
@cindex bug reports @cindex bug reports
Near the end of the @samp{--help} option's output there should be a line Near the end of the @samp{--help} option's output, please place lines
that says where to mail bug reports. It should have this format: giving the email address for bug reports, the package's home page
(normally @indicateurl{http://www.gnu.org/software/@var{pkg}}, and the
general page for help using GNU programs. The format should be like this:
@example @example
Report bugs to @var{mailing-address}. Report bugs to: @var{mailing-address}
@var{pkg} home page: <http://www.gnu.org/software/@var{pkg}/>
General help using GNU software: <http://www.gnu.org/gethelp/>
@end example @end example
It is ok to mention other appropriate mailing lists and web pages.
@node Option Table @node Option Table
@section Table of Long Options @section Table of Long Options