mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
This commit was manufactured by cvs2svn to create branch
'GNUPG-1-9-BRANCH'.
This commit is contained in:
parent
8d76177f10
commit
82a17c9fb3
563 changed files with 0 additions and 267875 deletions
|
@ -1,285 +0,0 @@
|
|||
2002-10-17 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* autogen.sh: Allow env variables to override the auto* tool
|
||||
names. Suggested by Simon Josefsson.
|
||||
|
||||
2002-09-11 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* distfiles: Include mk-w32-dist.
|
||||
|
||||
* mk-w32-dist: Convert the character sets on a per language base.
|
||||
|
||||
2002-09-02 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* mk-w32-dist: Include more man pages and gpg split. Changed name
|
||||
of ZIP file to better indicate that this is a command line version.
|
||||
|
||||
2002-08-23 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* autogen.sh : Don't run gettextize.
|
||||
|
||||
2002-08-06 Stefan Bellon <sbellon@sbellon.de>
|
||||
|
||||
* conf-riscos/include/config.h: Changed #define FOO to
|
||||
#define FOO 1.
|
||||
* conf-riscos/include/g10defs.h: Likewise.
|
||||
|
||||
2002-08-03 Stefan Bellon <sbellon@sbellon.de>
|
||||
|
||||
* conf-riscos/include/g10defs.h: Added GNUPG_LIBEXECDIR.
|
||||
* conf-riscos/include/config.h: Changes due to dynload removal and
|
||||
minor changes to avoid some warnings.
|
||||
* conf-riscos/Makefile: Changes due to dynload removal.
|
||||
* conf-riscos/cipher/*: Not needed anymore due to dynload removal.
|
||||
|
||||
2002-07-25 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* gnupgbug: "Warning" -> "WARNING"
|
||||
|
||||
2002-07-01 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* mk-gpg-texi: New.
|
||||
|
||||
2002-06-30 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* mk-w32-dist (bindir): Fixes vor VPATH builds in a subdir,
|
||||
include gpgv.
|
||||
|
||||
2002-06-21 Stefan Bellon <sbellon@sbellon.de>
|
||||
|
||||
* conf-riscos/Makefile: Changes due to moving around RISC OS
|
||||
specific stuff in the code.
|
||||
|
||||
2002-06-07 Stefan Bellon <sbellon@sbellon.de>
|
||||
|
||||
* conf-riscos/include/config.h [__riscos__]: Fixed macro bug.
|
||||
|
||||
2002-05-10 Stefan Bellon <sbellon@sbellon.de>
|
||||
|
||||
* conf-riscos/include/config.h [__riscos__]: Changes for later
|
||||
Norcroft compilers.
|
||||
|
||||
* conf-riscos/Makefile [__riscos__]: Updated.
|
||||
|
||||
2002-04-22 Stefan Bellon <sbellon@sbellon.de>
|
||||
|
||||
* conf-riscos/include/config.h [__riscos__]: Development
|
||||
versions automatically define DEBUG from now on.
|
||||
|
||||
* conf-riscos/Makefile [__riscos__]: Updated for LDAP keyserver
|
||||
code.
|
||||
|
||||
2002-04-19 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* gnupg.spec.in: Removed pubring.asc and OPTIONS. Added
|
||||
samplekeys.asc.
|
||||
|
||||
2002-03-31 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* gnupg.spec.in: Added the gpgkeys_xxx keyserver helpers. Added a
|
||||
* to catch variations on the basic gpg man page (gpg, gpgv). Mark
|
||||
options.skel as a config file. Do not include the FAQ/faq.html
|
||||
twice (in /doc/ and /share/).
|
||||
|
||||
2002-01-02 Stefan Bellon <sbellon@sbellon.de>
|
||||
|
||||
* build-riscos [__riscos__]: Set filetype of Makefile correctly.
|
||||
|
||||
* conf-riscos/include/g10defs.h [__riscos__]: Added GNU GPL
|
||||
header and exec code defines.
|
||||
|
||||
* conf-riscos/include/config.h [__riscos__]: Moved parts to
|
||||
include/util.h where they really belong to.
|
||||
|
||||
* conf-riscos/Makefile [__riscos__]: Updated for new keyserver,
|
||||
exec and photo id code.
|
||||
|
||||
2001-12-22 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* autogen.sh: Fixed last change.
|
||||
|
||||
2001-12-21 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* distfiles: Removed those files which which automake installs by
|
||||
default.
|
||||
|
||||
* autogen.sh: Replaced $() by backticks for system without a posix
|
||||
shell. Removed gawk specific quoting. By David Champion.
|
||||
|
||||
2001-10-22 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* autogen.sh (aclocal_vers): Require automalke 1.5.
|
||||
|
||||
2001-08-21 Stefan Bellon <sbellon@sbellon.de>
|
||||
|
||||
* build-riscos [__riscos__]: New.
|
||||
* conf-riscos [__riscos__]: Ditto.
|
||||
|
||||
2001-08-13 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* autogen.sh: Test on gettext 0.10.38. By Michael Engels.
|
||||
|
||||
2001-08-07 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* autogen.sh: Adjusted --build-w32 for autoconf 2.52
|
||||
|
||||
2001-07-09 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* autogen.sh (autoconf_vers): Require autoconf 2.50
|
||||
|
||||
2001-05-06 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* config.guess, config.sub: Add updates from subversions.gnu.org.
|
||||
|
||||
2001-04-19 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* autogen.sh: Add VPATH build support for option --build-w32.
|
||||
|
||||
2001-03-12 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* config.guess, config.sub: Replaced with the current GNU CVS ones.
|
||||
|
||||
2001-01-18 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* autogen.sh: New options --build-w32
|
||||
* build-w32: Does now call autogen.sh
|
||||
|
||||
2000-11-24 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* build-w32: New script to build the W32 version.
|
||||
* distfiles: And put it into the distribution
|
||||
|
||||
Thu Sep 14 17:45:11 CEST 2000 Werner Koch <wk@openit.de>
|
||||
|
||||
* gnupg.spec.in: Updated.
|
||||
|
||||
Wed Sep 6 17:55:47 CEST 2000 Werner Koch <wk@openit.de>
|
||||
|
||||
* config.guess, config.sub: Replaced with the latest version from the
|
||||
CVS archive. Hope that does not break too much.
|
||||
|
||||
Fri May 12 14:01:20 CEST 2000 Werner Koch <wk@openit.de>
|
||||
|
||||
* gnupg.spec.in: New version from Fabio with some updated descriptions.
|
||||
|
||||
Mon May 1 15:38:04 CEST 2000 Werner Koch <wk@openit.de>
|
||||
|
||||
* gnupg.spec.in: New version from Fabio.
|
||||
|
||||
Fri Mar 17 16:26:05 CET 2000 Werner Koch <wk@openit.de>
|
||||
|
||||
* config.gues, config.sub: Support for s390-ibm-linux-gnu. Thanks
|
||||
to Holger Smolinski.
|
||||
|
||||
Thu Mar 2 15:37:46 CET 2000 Werner Koch <wk@gnupg.de>
|
||||
|
||||
* config.guess: Add support for QNX. By Sam Roberts.
|
||||
* config.sub: Ditto.
|
||||
|
||||
Thu Sep 23 09:49:25 1999 Werner Koch (wk@gnupg.org)
|
||||
|
||||
* commit: Remove leading and trailing empty lines when copying
|
||||
Changes to Changelog
|
||||
|
||||
Wed Sep 15 16:22:17 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* gnupg.spec: Add Portuguese description
|
||||
|
||||
Thu Sep 2 16:40:55 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* mkdiff: changed format of diff file name and made script more
|
||||
general.
|
||||
|
||||
Wed Aug 4 10:34:18 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* config.guess: Updated from gnu/common and applied my emx patch again.
|
||||
* config.sub: Updated from gnu/common.
|
||||
|
||||
Wed Jul 14 19:42:08 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* ltmain.sh, ltconfig.sh : Updated to libtool 1.3.3
|
||||
|
||||
Mon Jul 12 14:55:34 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* autogen.sh: Run libtoolize
|
||||
|
||||
Sat May 22 22:47:26 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* autogen.sh: Fixed the error message for a missing libtool.
|
||||
|
||||
Sat May 8 19:28:08 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* mkinstalldirs, install-sh: New from GNU repository
|
||||
* config.sub, config.guess: Merged with rep version.
|
||||
|
||||
Sun Mar 14 19:34:36 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* autogen.sh: Add a check for libtool because some autoconf macros
|
||||
are needed.
|
||||
|
||||
Mon Feb 22 20:04:00 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* autogen.sh: Enhanced the version testing code (Philippe Laliberte)
|
||||
|
||||
* mkwebpage: Edits the buglist.
|
||||
|
||||
Sat Feb 13 12:04:43 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* autogen.sh: Now uses gettextize
|
||||
|
||||
Wed Feb 10 17:15:39 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* config.sub, config.guess: Support i386-emx-os2
|
||||
|
||||
Sun Jan 17 11:04:33 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* autogen.sh: Now checks for installed gettext
|
||||
|
||||
Sat Jan 16 09:27:30 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* config.guess (m68k-atari-mint): New.
|
||||
* config.sub: Add support for atarist-MiNT
|
||||
|
||||
Wed Jan 13 12:49:36 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* gnupg.spec.in: New
|
||||
* gnupg.spec: Removed
|
||||
|
||||
Wed Dec 23 13:18:14 CET 1998 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* gnupg.spec: Updated version by Fabio Coatti
|
||||
|
||||
Thu Dec 17 18:31:15 CET 1998 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* gnupg.spec: New version by Reuben Sumner and did some more
|
||||
changes.
|
||||
|
||||
Fri Nov 27 12:39:29 CET 1998 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
|
||||
* commit: New
|
||||
|
||||
|
||||
Fri Nov 20 12:01:57 1998 Werner Koch (wk@isil.d.shuttle.de)
|
||||
|
||||
* mkdiff: signs the patch file
|
||||
|
||||
Sat Oct 17 16:10:16 1998 Werner Koch (wk@isil.d.shuttle.de)
|
||||
|
||||
* autogen.sh: New.
|
||||
|
||||
Wed Oct 14 09:55:25 1998 Werner Koch (wk@isil.d.shuttle.de)
|
||||
|
||||
* config.guess (FreeBSD): Changes from Jun Kuriyama to support ELF
|
||||
* config.sub: (freebsd): Add to maybe_os
|
||||
|
||||
|
||||
Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||
|
||||
This file is free software; as a special exception the author gives
|
||||
unlimited permission to copy and/or distribute it, with or without
|
||||
modifications, as long as this notice is preserved.
|
||||
|
||||
This file is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
||||
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
@ -1,148 +0,0 @@
|
|||
#!/bin/sh
|
||||
# Run this to generate all the initial makefiles, etc.
|
||||
#
|
||||
# Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; as a special exception the author gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
PGM=GnuPG
|
||||
lib_config_files=""
|
||||
autoconf_vers=2.52
|
||||
automake_vers=1.6
|
||||
aclocal_vers=1.6
|
||||
|
||||
ACLOCAL=${ACLOCAL:-aclocal}
|
||||
AUTOCONF=${AUTOCONF:-autoconf}
|
||||
AUTOMAKE=${AUTOMAKE:-automake}
|
||||
AUTOHEADER=${AUTOHEADER:-autoheader}
|
||||
DIE=no
|
||||
if test "$1" = "--build-w32"; then
|
||||
tmp=`dirname $0`
|
||||
tsdir=`cd "$tmp"; cd ..; pwd`
|
||||
shift
|
||||
host=i386--mingw32
|
||||
if [ ! -f $tsdir/scripts/config.guess ]; then
|
||||
echo "$tsdir/scripts/config.guess not found" >&2
|
||||
exit 1
|
||||
fi
|
||||
build=`$tsdir/scripts/config.guess`
|
||||
|
||||
if ! mingw32 --version >/dev/null; then
|
||||
echo "We need at least version 0.3 of MingW32/CPD" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -f "$tsdir/config.log" ]; then
|
||||
if ! head $tsdir/config.log | grep i386--mingw32 >/dev/null; then
|
||||
echo "Pease run a 'make distclean' first" >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
crossbindir=`mingw32 --install-dir`/bin
|
||||
CC=`mingw32 --get-path gcc`
|
||||
CPP=`mingw32 --get-path cpp`
|
||||
AR=`mingw32 --get-path ar`
|
||||
RANLIB=`mingw32 --get-path ranlib`
|
||||
export CC CPP AR RANLIB
|
||||
|
||||
disable_foo_tests=""
|
||||
if [ -n "$lib_config_files" ]; then
|
||||
for i in $lib_config_files; do
|
||||
j=`echo $i | tr '[a-z-]' '[A-Z_]'`
|
||||
eval "$j=${crossbindir}/$i"
|
||||
export $j
|
||||
disable_foo_tests="$disable_foo_tests --disable-`echo $i| \
|
||||
sed 's,-config$,,'`-test"
|
||||
if [ ! -f "${crossbindir}/$i" ]; then
|
||||
echo "$i not installed for MingW32" >&2
|
||||
DIE=yes
|
||||
fi
|
||||
done
|
||||
fi
|
||||
[ $DIE = yes ] && exit 1
|
||||
|
||||
$tsdir/configure --build=${build} --host=${host} \
|
||||
${disable_foo_tests} $*
|
||||
exit $?
|
||||
fi
|
||||
|
||||
|
||||
|
||||
if ($AUTOCONF --version) < /dev/null > /dev/null 2>&1 ; then
|
||||
if ($AUTOCONF --version | awk 'NR==1 { if( $3 >= '$autoconf_vers') \
|
||||
exit 1; exit 0; }');
|
||||
then
|
||||
echo "**Error**: "\`autoconf\'" is too old."
|
||||
echo ' (version ' $autoconf_vers ' or newer is required)'
|
||||
DIE="yes"
|
||||
fi
|
||||
else
|
||||
echo
|
||||
echo "**Error**: You must have "\`autoconf\'" installed to compile $PGM."
|
||||
echo ' (version ' $autoconf_vers ' or newer is required)'
|
||||
DIE="yes"
|
||||
fi
|
||||
|
||||
if ($AUTOMAKE --version) < /dev/null > /dev/null 2>&1 ; then
|
||||
if ($AUTOMAKE --version | awk 'NR==1 { if( $4 >= '$automake_vers') \
|
||||
exit 1; exit 0; }');
|
||||
then
|
||||
echo "**Error**: "\`automake\'" is too old."
|
||||
echo ' (version ' $automake_vers ' or newer is required)'
|
||||
DIE="yes"
|
||||
fi
|
||||
if ($ACLOCAL --version) < /dev/null > /dev/null 2>&1; then
|
||||
if ($ACLOCAL --version | awk 'NR==1 { if( $4 >= '$aclocal_vers' ) \
|
||||
exit 1; exit 0; }' );
|
||||
then
|
||||
echo "**Error**: "\`aclocal\'" is too old."
|
||||
echo ' (version ' $aclocal_vers ' or newer is required)'
|
||||
DIE="yes"
|
||||
fi
|
||||
else
|
||||
echo
|
||||
echo "**Error**: Missing "\`aclocal\'". The version of "\`automake\'
|
||||
echo " installed doesn't appear recent enough."
|
||||
DIE="yes"
|
||||
fi
|
||||
else
|
||||
echo
|
||||
echo "**Error**: You must have "\`automake\'" installed to compile $PGM."
|
||||
echo ' (version ' $automake_vers ' or newer is required)'
|
||||
DIE="yes"
|
||||
fi
|
||||
|
||||
|
||||
if (gettext --version </dev/null 2>/dev/null | awk 'NR==1 { split($4,A,"."); \
|
||||
X=10000*A[1]+100*A[2]+A[3]; echo X; if( X >= 1038 ) exit 1; exit 0}')
|
||||
then
|
||||
echo "**Error**: You must have "\`gettext\'" installed to compile $PGM."
|
||||
echo ' (version 0.10.38 or newer is required; get'
|
||||
echo ' ftp://alpha.gnu.org/gnu/gettext/gettext-0.10.38.tar.gz'
|
||||
echo ' or install the latest Debian package)'
|
||||
DIE="yes"
|
||||
fi
|
||||
|
||||
|
||||
if test "$DIE" = "yes"; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Running aclocal..."
|
||||
$ACLOCAL
|
||||
echo "Running autoheader..."
|
||||
$AUTOHEADER
|
||||
echo "Running automake --gnu ..."
|
||||
$AUTOMAKE --gnu;
|
||||
echo "Running autoconf..."
|
||||
$AUTOCONF
|
||||
|
||||
echo "You can now run \"./configure --enable-maintainer-mode\" and then \"make\"."
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
| This is an RISC OS Obey file (filetype &feb) that copies handcrafted files
|
||||
| for the RISC OS version into the correct places.
|
||||
| It won't run on anything other than RISC OS -- I think ;-)
|
||||
|
||||
copy <obey$dir>.conf-riscos.cipher.c.construct <obey$dir>.^.cipher.c.construct ~cf~v
|
||||
copy <obey$dir>.conf-riscos.cipher.c.constructv <obey$dir>.^.cipher.c.constructv ~cf~v
|
||||
copy <obey$dir>.conf-riscos.include.h.config <obey$dir>.^.include.h.config ~cf~v
|
||||
copy <obey$dir>.conf-riscos.include.h.g10defs <obey$dir>.^.include.h.g10defs ~cf~v
|
||||
copy <obey$dir>.conf-riscos.Makefile <obey$dir>.^.Makefile ~cf~v
|
||||
settype <obey$dir>.^.Makefile &fe1
|
||||
echo Done.
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec scripts/autogen.sh --build-w32
|
||||
|
||||
|
||||
|
|
@ -1,63 +0,0 @@
|
|||
#!/bin/bash
|
||||
# need a Posix shell, so we simply use bash
|
||||
|
||||
set -e
|
||||
|
||||
uid=`id -u`
|
||||
date=`date`
|
||||
name=$(awk -F: "\$3==$uid { print \$5 }" /etc/passwd )
|
||||
addr="<`id -un`@`hostname -d`>"
|
||||
|
||||
for i in `find . -name Changes -print`; do
|
||||
dir=`dirname $i`
|
||||
if [ -s $dir/Changes ]; then
|
||||
awk '
|
||||
state == 0 && /^[ \t]*$/ { next }
|
||||
state == 0 { state = 1 }
|
||||
/^[ \t]*$/ { empty++; next }
|
||||
{ while ( empty > 0 ) { print ""; empty--; }; print }
|
||||
' < $dir/Changes > $dir/Changes.tmp
|
||||
if [ -s $dir/Changes.tmp ]; then
|
||||
lines=`wc -l <$dir/Changes.tmp`
|
||||
echo "$date $name $addr" >$dir/ChangeLog.new
|
||||
echo >>$dir/ChangeLog.new
|
||||
cat $dir/Changes.tmp >>$dir/ChangeLog.new
|
||||
echo >>$dir/ChangeLog.new
|
||||
[ -f $dir/ChangeLog ] && cat $dir/ChangeLog >>$dir/ChangeLog.new
|
||||
echo -n > $dir/Changes
|
||||
[ -f $dir/ChangeLog ] && rm $dir/ChangeLog
|
||||
mv $dir/ChangeLog.new $dir/ChangeLog
|
||||
echo "$lines new lines in $dir/ChangeLog"
|
||||
fi
|
||||
rm $dir/Changes.tmp || true
|
||||
fi
|
||||
done
|
||||
|
||||
# Execute canned cvs remove commands
|
||||
for i in `find . -name cvs-remove -print`; do
|
||||
dir=`dirname $i`
|
||||
if [ -s $dir/cvs-remove ]; then
|
||||
here=`pwd`
|
||||
cd $dir
|
||||
if cvs remove -f `cat cvs-remove`; then
|
||||
rm cvs-remove
|
||||
fi
|
||||
cd $here
|
||||
fi
|
||||
done
|
||||
|
||||
# Execute canned cvs add commands
|
||||
for i in `find . -name cvs-add -print`; do
|
||||
dir=`dirname $i`
|
||||
if [ -s $dir/cvs-add ]; then
|
||||
here=`pwd`
|
||||
cd $dir
|
||||
if cvs add `cat cvs-add`; then
|
||||
rm cvs-add
|
||||
fi
|
||||
cd $here
|
||||
fi
|
||||
done
|
||||
|
||||
cvs -z3 commit -m "See ChangeLog: $date $name" $*
|
||||
|
|
@ -1,466 +0,0 @@
|
|||
# Makefile for the RISC OS version of GnuPG
|
||||
CC=cc
|
||||
LINK=link
|
||||
AS=objasm
|
||||
MAKE=amu
|
||||
DEPEND=-depend !Depend
|
||||
LIBLDAP=^.^.openldap-2/0/18
|
||||
CC_FLAGS=-Wpc -apcs 3/26bit/fpe2 -throwback -Otime -IUnix:,include,mpi,intl,zlib,$(LIBLDAP).include -JUnix: -D__riscos__ -DHAVE_CONFIG_H -DNO_ASM -UIS_MODULE -DVERSION="\"$(GnuPG$Version)\"" $(GnuPG$DevDefine)
|
||||
AS_FLAGS=-apcs 3/26bit -throwback -predefine "ARMv4 SETA 0"
|
||||
LD_FLAGS=Unix:o.unixlib
|
||||
CIPHER_OBJS=cipher.o.blowfish \
|
||||
cipher.o.cast5 \
|
||||
cipher.o.cipher \
|
||||
cipher.o.des \
|
||||
cipher.o.dsa \
|
||||
cipher.o.dynload \
|
||||
cipher.o.elgamal \
|
||||
cipher.o.g10c \
|
||||
cipher.o.md \
|
||||
cipher.o.md5 \
|
||||
cipher.o.primegen \
|
||||
cipher.o.pubkey \
|
||||
cipher.o.random \
|
||||
cipher.o.rijndael \
|
||||
cipher.o.rmd160 \
|
||||
cipher.o.rndriscos \
|
||||
cipher.o.rsa \
|
||||
cipher.o.sha1 \
|
||||
cipher.o.smallprime \
|
||||
cipher.o.tiger32 \
|
||||
cipher.o.twofish
|
||||
GETTEXT_OBJS=intl.o.bindtextdom \
|
||||
intl.o.dcgettext \
|
||||
intl.o.dgettext \
|
||||
intl.o.explodename \
|
||||
intl.o.finddomain \
|
||||
intl.o.gettext \
|
||||
intl.o.intl-compat \
|
||||
intl.o.l10nflist \
|
||||
intl.o.loadmsgcat \
|
||||
intl.o.localealias \
|
||||
intl.o.textdomain
|
||||
MPI_OBJS=mpi.o.mpi-add \
|
||||
mpi.o.mpi-bit \
|
||||
mpi.o.mpi-cmp \
|
||||
mpi.o.mpi-div \
|
||||
mpi.o.mpi-gcd \
|
||||
mpi.o.mpi-inline \
|
||||
mpi.o.mpi-inv \
|
||||
mpi.o.mpi-mul \
|
||||
mpi.o.mpi-pow \
|
||||
mpi.o.mpi-mpow \
|
||||
mpi.o.mpi-scan \
|
||||
mpi.o.mpicoder \
|
||||
mpi.o.mpih-div \
|
||||
mpi.o.mpih-mul \
|
||||
mpi.o.mpiutil \
|
||||
mpi.o.g10m \
|
||||
mpi.arm.o.mpih
|
||||
UTIL_OBJS=util.o.argparse \
|
||||
util.o.dotlock \
|
||||
util.o.errors \
|
||||
util.o.fileutil \
|
||||
util.o.g10u \
|
||||
util.o.http \
|
||||
util.o.iobuf \
|
||||
util.o.logger \
|
||||
util.o.memory \
|
||||
util.o.miscutil \
|
||||
util.o.secmem \
|
||||
util.o.strgutil \
|
||||
util.o.ttyio \
|
||||
util.o.riscos
|
||||
ZLIB_OBJS=zlib.o.adler32 \
|
||||
zlib.o.compress \
|
||||
zlib.o.crc32 \
|
||||
zlib.o.deflate \
|
||||
zlib.o.infblock \
|
||||
zlib.o.infcodes \
|
||||
zlib.o.inffast \
|
||||
zlib.o.inflate \
|
||||
zlib.o.inftrees \
|
||||
zlib.o.infutil \
|
||||
zlib.o.trees \
|
||||
zlib.o.uncompr \
|
||||
zlib.o.zutil
|
||||
G10_OBJS=g10.o.armor \
|
||||
g10.o.build-packet \
|
||||
g10.o.cipher \
|
||||
g10.o.comment \
|
||||
g10.o.compress \
|
||||
g10.o.dearmor \
|
||||
g10.o.decrypt \
|
||||
g10.o.delkey \
|
||||
g10.o.encode \
|
||||
g10.o.encr-data \
|
||||
g10.o.exec \
|
||||
g10.o.export \
|
||||
g10.o.free-packet \
|
||||
g10.o.g10 \
|
||||
g10.o.getkey \
|
||||
g10.o.helptext \
|
||||
g10.o.hkp \
|
||||
g10.o.import \
|
||||
g10.o.kbnode \
|
||||
g10.o.keydb \
|
||||
g10.o.keyedit \
|
||||
g10.o.keygen \
|
||||
g10.o.keyid \
|
||||
g10.o.keylist \
|
||||
g10.o.keyring \
|
||||
g10.o.keyserver \
|
||||
g10.o.mainproc \
|
||||
g10.o.mdfilter \
|
||||
g10.o.misc \
|
||||
g10.o.mkdtemp \
|
||||
g10.o.openfile \
|
||||
g10.o.parse-packet \
|
||||
g10.o.passphrase \
|
||||
g10.o.photoid \
|
||||
g10.o.pipemode \
|
||||
g10.o.pkclist \
|
||||
g10.o.plaintext \
|
||||
g10.o.pubkey-enc \
|
||||
g10.o.revoke \
|
||||
g10.o.seckey-cert \
|
||||
g10.o.seskey \
|
||||
g10.o.sig-check \
|
||||
g10.o.sign \
|
||||
g10.o.signal \
|
||||
g10.o.skclist \
|
||||
g10.o.status \
|
||||
g10.o.tdbdump \
|
||||
g10.o.tdbio \
|
||||
g10.o.textfilter \
|
||||
g10.o.trustdb \
|
||||
g10.o.verify
|
||||
GPGV_OBJS=g10.o.armor \
|
||||
g10.o.build-packet \
|
||||
g10.o.compress \
|
||||
g10.o.free-packet \
|
||||
g10.o.getkey \
|
||||
g10.o.gpgv \
|
||||
g10.o.keydb \
|
||||
g10.o.keylist \
|
||||
g10.o.kbnode \
|
||||
g10.o.keyid \
|
||||
g10.o.keyring \
|
||||
g10.o.mainproc \
|
||||
g10.o.mdfilter \
|
||||
g10.o.misc \
|
||||
g10.o.openfile \
|
||||
g10.o.parse-packet \
|
||||
g10.o.plaintext \
|
||||
g10.o.seskey \
|
||||
g10.o.sig-check \
|
||||
g10.o.signal \
|
||||
g10.o.status \
|
||||
g10.o.textfilter \
|
||||
g10.o.verify \
|
||||
util.o.argparse \
|
||||
util.o.errors \
|
||||
util.o.fileutil \
|
||||
util.o.g10u \
|
||||
util.o.iobuf \
|
||||
util.o.logger \
|
||||
util.o.memory \
|
||||
util.o.miscutil \
|
||||
util.o.secmem \
|
||||
util.o.strgutil \
|
||||
util.o.riscos \
|
||||
cipher.o.dsa \
|
||||
cipher.o.dynload \
|
||||
cipher.o.elgamal \
|
||||
cipher.o.g10c \
|
||||
cipher.o.md \
|
||||
cipher.o.md5 \
|
||||
cipher.o.pubkey \
|
||||
cipher.o.rmd160 \
|
||||
cipher.o.rsa \
|
||||
cipher.o.sha1 \
|
||||
cipher.o.tiger32 \
|
||||
mpi.mpi \
|
||||
zlib.zlib
|
||||
GPGKEYS_OBJS=util.o.riscos \
|
||||
util.o.strgutil \
|
||||
util.o.memory \
|
||||
util.o.logger \
|
||||
util.o.secmem \
|
||||
intl.gettext
|
||||
|
||||
## Rule Patterns ##
|
||||
|
||||
.SUFFIXES: .c .o .s
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CC_FLAGS) $(DEPEND) -c -o $@ $<
|
||||
|
||||
.s.o:
|
||||
$(AS) $(AS_FLAGS) $(DEPEND) $< $@
|
||||
|
||||
# Static dependencies:
|
||||
|
||||
all:
|
||||
@echo Use one of the following as target:
|
||||
@echo | dev to build the development version
|
||||
@echo | dist to build the distribution with all archives
|
||||
@echo All other targets are internal and shouldn't be used!
|
||||
|
||||
cipher.cipher: $(CIPHER_OBJS)
|
||||
$(LINK) -aof $(CIPHER_OBJS) -o cipher.cipher
|
||||
|
||||
intl.gettext: $(GETTEXT_OBJS)
|
||||
$(LINK) -aof $(GETTEXT_OBJS) -o intl.gettext
|
||||
|
||||
mpi.mpi: $(MPI_OBJS)
|
||||
$(LINK) -aof $(MPI_OBJS) -o mpi.mpi
|
||||
|
||||
tools.gpgsplit: tools.o.gpgsplit util.util intl.gettext zlib.zlib
|
||||
$(LINK) $(LD_FLAGS) tools.o.gpgsplit util.util intl.gettext zlib.zlib -o tools.gpgsplit
|
||||
-squeeze tools.gpgsplit
|
||||
-copy tools.gpgsplit ADFS::A5.$.tmp.!GnuPG.gpgsplit ~CF~V
|
||||
|
||||
keyserver.gpgkeys_ldap: keyserver.o.gpgkeys_ldap $(GPGKEYS_OBJS) $(LIBLDAP).libraries.libldap.libldap
|
||||
$(LINK) $(LD_FLAGS) keyserver.o.gpgkeys_ldap $(GPGKEYS_OBJS) $(LIBLDAP).libraries.libldap.libldap -o keyserver.gpgkeys_ldap
|
||||
-squeeze keyserver.gpgkeys_ldap
|
||||
-copy keyserver.gpgkeys_ldap ADFS::A5.$.tmp.!GnuPG.gpgkeys_ldap ~CF~V
|
||||
|
||||
riscos.jpegview.jpegview:
|
||||
-dir riscos.jpegview
|
||||
-$(MAKE)
|
||||
-back
|
||||
|
||||
util.util: $(UTIL_OBJS)
|
||||
$(LINK) -aof $(UTIL_OBJS) -o util.util
|
||||
|
||||
zlib.zlib: $(ZLIB_OBJS)
|
||||
$(LINK) -aof zlib.o.* -o zlib.zlib
|
||||
|
||||
g10.gpg: $(G10_OBJS) cipher.o.idea cipher.cipher intl.gettext mpi.mpi util.util zlib.zlib BUILD
|
||||
$(LINK) $(G10_OBJS) $(LD_FLAGS) cipher.o.idea cipher.cipher intl.gettext mpi.mpi util.util zlib.zlib -o g10.gpg
|
||||
-copy g10.gpg ADFS::A5.$.tmp.!GnuPG.gpg ~CFR~V
|
||||
|
||||
g10.gpgv: $(GPGV_OBJS) intl.gettext BUILD
|
||||
$(LINK) $(GPGV_OBJS) intl.gettext $(LD_FLAGS) -o g10.gpgv
|
||||
-copy g10.gpgv ADFS::A5.$.tmp.!GnuPG.gpgv ~CFR~V
|
||||
|
||||
g10.gpgpart: $(G10_OBJS) cipher.cipher intl.gettext mpi.mpi util.util zlib.zlib BUILD
|
||||
drlink034 -aof $(G10_OBJS) $(LD_FLAGS) cipher.cipher intl.gettext mpi.mpi util.util zlib.zlib -o g10.gpgpart
|
||||
|
||||
select-idea-src:
|
||||
-copy distrib.idea-addon.cipher.c.idea cipher.c.idea ~CF~NR~V
|
||||
$(CC) $(CC_FLAGS) $(DEPEND) -c -o cipher.o.idea cipher.c.idea
|
||||
|
||||
select-gpl-src:
|
||||
-copy distrib.non-idea.cipher.c.idea cipher.c.idea ~CF~NR~V
|
||||
$(CC) $(CC_FLAGS) $(DEPEND) -c -o cipher.o.idea cipher.c.idea
|
||||
|
||||
distrib.gnupgsrc/zip: select-gpl-src
|
||||
-zip -9@ distrib.gnupgsrc/zip < distrib.resources.distfiles
|
||||
|
||||
distrib.gnupg/zip: distrib.gpl-bin.!GnuPG.JPEGview distrib.gpl-bin.!GnuPG.gpgsplit distrib.gpl-bin.!GnuPG.gpg distrib.gpl-bin.!GnuPG.gpgv select-gpl-src
|
||||
-copy distrib.resources.History distrib.gpl-bin.History ~CFR~V
|
||||
-copy distrib.resources.Upgrading distrib.gpl-bin.Upgrading ~CFR~V
|
||||
-copy distrib.resources.ReadMe_bin distrib.gpl-bin.!ReadMe1st ~CFR~V
|
||||
-copy distrib.resources.!GnuPG distrib.gpl-bin.!GnuPG ~CFR~V
|
||||
-copy distrib.resources.!GnuPGUser distrib.gpl-bin.!GnuPGUser ~CFR~V
|
||||
-copy distrib.resources.!System distrib.gpl-bin.!System ~CFR~V
|
||||
-copy distrib.resources.orig_docs distrib.gpl-bin.orig_docs ~CFR~V
|
||||
-dir distrib.gpl-bin
|
||||
-zip -r9 ^.gnupg/zip *
|
||||
-back
|
||||
|
||||
distrib.gnupgdev/zip: distrib.private.!GnuPG.JPEGview distrib.private.!GnuPG.gpgsplit distrib.private.!GnuPG.gpgkeys_ldap distrib.private.!GnuPG.gpg distrib.private.!GnuPG.gpgv select-idea-src
|
||||
-ifthere distrib.private.!GnuPG.locale then wipe distrib.private.!GnuPG.locale ~CFR~V
|
||||
-copy distrib.intl.!GnuPG.locale distrib.private.!GnuPG.locale ~CFR~V
|
||||
-copy distrib.resources.History distrib.private.History ~CFR~V
|
||||
-copy distrib.resources.Upgrading distrib.private.Upgrading ~CFR~V
|
||||
-copy distrib.resources.ReadMe_bin distrib.private.!ReadMe1st ~CFR~V
|
||||
-copy distrib.resources.!GnuPG distrib.private.!GnuPG ~CFR~V
|
||||
-copy distrib.resources.!GnuPGUser distrib.private.!GnuPGUser ~CFR~V
|
||||
-copy distrib.resources.!System distrib.private.!System ~CFR~V
|
||||
-copy distrib.resources.orig_docs distrib.private.orig_docs ~CFR~V
|
||||
-dir distrib.private
|
||||
-zip -r9 ^.gnupgdev/zip *
|
||||
-back
|
||||
|
||||
distrib.gnupgidea/zip: cipher.o.idea select-idea-src
|
||||
-copy distrib.resources.ReadMe_idea distrib.idea-addon.!ReadMe ~CFR~V
|
||||
-copy cipher.o.idea distrib.idea-addon.cipher.o.idea ~CFR~V
|
||||
-dir distrib.idea-addon
|
||||
-zip -r9 ^.gnupgidea/zip *
|
||||
-back
|
||||
|
||||
distrib.gnupgpart/zip: g10.gpgpart select-idea-src
|
||||
-copy distrib.resources.ReadMe_part distrib.part.!ReadMe1st ~CFR~V
|
||||
-copy g10.gpgpart distrib.part.g10.gpgpart ~CFR~V
|
||||
-dir distrib.part
|
||||
-zip -r9 ^.gnupgpart/zip *
|
||||
-back
|
||||
|
||||
distrib.gnupgldap/zip: keyserver.gpgkeys_ldap
|
||||
-copy distrib.resources.ReadMe_ldap distrib.ldap.!ReadMe ~CFR~V
|
||||
-copy keyserver.gpgkeys_ldap distrib.ldap.!GnuPG.gpgkeys_ldap ~CFR~V
|
||||
-dir distrib.ldap
|
||||
-zip -r9 ^.gnupgldap/zip *
|
||||
-back
|
||||
|
||||
distrib.gnupgintl/zip:
|
||||
-dir distrib.intl
|
||||
-zip -r9 ^.gnupgintl/zip *
|
||||
-back
|
||||
|
||||
distrib.gpl-bin.!GnuPG.gpg: g10.gpg
|
||||
-copy g10.gpg distrib.gpl-bin.!GnuPG.gpg ~CFR~V
|
||||
-squeeze distrib.gpl-bin.!GnuPG.gpg
|
||||
|
||||
distrib.gpl-bin.!GnuPG.gpgv: g10.gpgv
|
||||
-copy g10.gpgv distrib.gpl-bin.!GnuPG.gpgv ~CFR~V
|
||||
-squeeze distrib.gpl-bin.!GnuPG.gpgv
|
||||
|
||||
distrib.gpl-bin.!GnuPG.gpgsplit: tools.gpgsplit
|
||||
-copy tools.gpgsplit distrib.gpl-bin.!GnuPG.gpgsplit ~CFR~V
|
||||
-squeeze distrib.gpl-bin.!GnuPG.gpgsplit
|
||||
|
||||
distrib.gpl-bin.!GnuPG.JPEGview: riscos.jpegview.jpegview
|
||||
-copy riscos.jpegview.jpegview distrib.gpl-bin.!GnuPG.JPEGview ~CFR~V
|
||||
|
||||
distrib.private.!GnuPG.gpg: g10.gpg
|
||||
-copy g10.gpg distrib.private.!GnuPG.gpg ~CFR~V
|
||||
-squeeze distrib.private.!GnuPG.gpg
|
||||
|
||||
distrib.private.!GnuPG.gpgv: g10.gpgv
|
||||
-copy g10.gpgv distrib.private.!GnuPG.gpgv ~CFR~V
|
||||
-squeeze distrib.private.!GnuPG.gpgv
|
||||
|
||||
distrib.private.!GnuPG.gpgsplit: tools.gpgsplit
|
||||
-copy tools.gpgsplit distrib.private.!GnuPG.gpgsplit ~CFR~V
|
||||
-squeeze distrib.private.!GnuPG.gpgsplit
|
||||
|
||||
distrib.private.!GnuPG.gpgkeys_ldap: keyserver.gpgkeys_ldap
|
||||
-copy keyserver.gpgkeys_ldap distrib.private.!GnuPG.gpgkeys_ldap ~CFR~V
|
||||
-squeeze distrib.private.!GnuPG.gpgkeys_ldap
|
||||
|
||||
distrib.private.!GnuPG.JPEGview: riscos.jpegview.jpegview
|
||||
-copy riscos.jpegview.jpegview distrib.private.!GnuPG.JPEGview ~CFR~V
|
||||
|
||||
clean-cipher:
|
||||
-ifthere cipher.o.* then wipe cipher.o.* ~CFR~V
|
||||
-ifthere cipher.cipher then wipe cipher.cipher ~CFR~V
|
||||
|
||||
clean-intl:
|
||||
-ifthere intl.o.* then wipe intl.o.* ~CFR~V
|
||||
-ifthere intl.gettext then wipe intl.gettext ~CFR~V
|
||||
|
||||
clean-mpi:
|
||||
-ifthere mpi.o.* then wipe mpi.o.* ~CFR~V
|
||||
-ifthere mpi.arm.o.* then wipe mpi.arm.o.* ~CFR~V
|
||||
-ifthere mpi.mpi then wipe mpi.mpi ~CFR~V
|
||||
|
||||
clean-util:
|
||||
-ifthere util.o.* then wipe util.o.* ~CFR~V
|
||||
-ifthere util.util then wipe util.util ~CFR~V
|
||||
|
||||
clean-zlib:
|
||||
-ifthere zlib.o.* then wipe zlib.o.* ~CFR~V
|
||||
-ifthere zlib.zlib then wipe zlib.zlib ~CFR~V
|
||||
|
||||
clean-dist:
|
||||
-ifthere distrib.*/zip then wipe distrib.*/zip ~CFR~V
|
||||
|
||||
clean-g10:
|
||||
-ifthere g10.gpg then wipe g10.gpg ~CFR~V
|
||||
-ifthere g10.gpgv then wipe g10.gpgv ~CFR~V
|
||||
-ifthere g10.gpgpart then wipe g10.gpgpart ~CFR~V
|
||||
-ifthere g10.o.* then wipe g10.o.* ~CFR~V
|
||||
|
||||
clean-keyserver:
|
||||
-ifthere keyserver.gpgkeys_ldap then wipe keyserver.gpgkeys_ldap ~CFR~V
|
||||
-ifthere keyserver.o.* then wipe keyserver.o.* ~CFR~V
|
||||
|
||||
clean-tools:
|
||||
-ifthere tools.gpgsplit then wipe tools.gpgsplit ~CFR~V
|
||||
-ifthere tools.o.* then wipe tools.o.* ~CFR~V
|
||||
|
||||
clean-riscos:
|
||||
-ifthere riscos.jpegview.jpegview then wipe riscos.jpegview.jpegview ~CFR~V
|
||||
|
||||
clean-version:
|
||||
-ifthere g10.o.armor then wipe g10.o.armor ~CFR~V
|
||||
-ifthere g10.o.encode then wipe g10.o.encode ~CFR~V
|
||||
-ifthere g10.o.g10 then wipe g10.o.g10 ~CFR~V
|
||||
-ifthere g10.o.gpgv then wipe g10.o.gpgv ~CFR~V
|
||||
-ifthere g10.o.keygen then wipe g10.o.keygen ~CFR~V
|
||||
-ifthere g10.o.sign then wipe g10.o.sign ~CFR~V
|
||||
-ifthere g10.gpg then wipe g10.gpg ~CFR~V
|
||||
-ifthere g10.gpgv then wipe g10.gpgv ~CFR~V
|
||||
-ifthere g10.gpgpart then wipe g10.gpgpart ~CFR~V
|
||||
|
||||
clean: clean-dist clean-cipher clean-intl clean-mpi clean-util clean-zlib clean-g10 clean-keyserver clean-tools clean-riscos
|
||||
|
||||
g10.o.armor: BUILD
|
||||
$(CC) $(CC_FLAGS) $(DEPEND) -c -o g10.o.armor g10.c.armor
|
||||
|
||||
g10.o.encode: BUILD
|
||||
$(CC) $(CC_FLAGS) $(DEPEND) -c -o g10.o.encode g10.c.encode
|
||||
|
||||
g10.o.g10: BUILD
|
||||
$(CC) $(CC_FLAGS) $(DEPEND) -c -o g10.o.g10 g10.c.g10
|
||||
|
||||
g10.o.gpgv: BUILD
|
||||
$(CC) $(CC_FLAGS) $(DEPEND) -c -o g10.o.gpgv g10.c.gpgv
|
||||
|
||||
g10.o.keygen: BUILD
|
||||
$(CC) $(CC_FLAGS) $(DEPEND) -c -o g10.o.keygen g10.c.keygen
|
||||
|
||||
g10.o.sign: BUILD
|
||||
$(CC) $(CC_FLAGS) $(DEPEND) -c -o g10.o.sign g10.c.sign
|
||||
|
||||
dev: clean-version
|
||||
$(MAKE) fast-dev
|
||||
|
||||
fast-dev: BUILD
|
||||
setver configure/ac AC_INIT(gnupg, , dev
|
||||
wipe distrib.private.!GnuPG.gpg* ~CFR~V
|
||||
-$(MAKE) keyserver.gpgkeys_ldap
|
||||
$(MAKE) tools.gpgsplit
|
||||
$(MAKE) distrib.gnupgdev/zip
|
||||
ifthere <WebServe$ServeRoot>.private.gnupgdev/zip then wipe <WebServe$ServeRoot>.private.gnupgdev/zip ~CFR~V
|
||||
rename distrib.gnupgdev/zip <WebServe$ServeRoot>.private.gnupgdev/zip
|
||||
|
||||
dist: BUILD clean-version tools.gpgsplit
|
||||
setver configure/ac AC_INIT(gnupg, , dist
|
||||
wipe distrib.gpl-bin.!GnuPG.gpg* ~CFR~V
|
||||
$(MAKE) distrib.gnupg/zip
|
||||
$(MAKE) distrib.gnupgidea/zip
|
||||
$(MAKE) distrib.gnupgpart/zip
|
||||
wipe distrib.private.!GnuPG.gpg* ~CFR~V
|
||||
$(MAKE) distrib.gnupgdev/zip
|
||||
$(MAKE) distrib.gnupgsrc/zip
|
||||
$(MAKE) distrib.gnupgintl/zip
|
||||
$(MAKE) distrib.gnupgldap/zip
|
||||
$(MAKE) select-idea-src
|
||||
ifthere <WebServe$ServeRoot>.archives.gnupg/zip then wipe <WebServe$ServeRoot>.archives.gnupg/zip ~CFR~V
|
||||
ifthere <WebServe$ServeRoot>.private.gnupgdev/zip then wipe <WebServe$ServeRoot>.private.gnupgdev/zip ~CFR~V
|
||||
ifthere <WebServe$ServeRoot>.archives.gnupgidea/zip then wipe <WebServe$ServeRoot>.archives.gnupgidea/zip ~CFR~V
|
||||
ifthere <WebServe$ServeRoot>.archives.gnupgpart/zip then wipe <WebServe$ServeRoot>.archives.gnupgpart/zip ~CFR~V
|
||||
ifthere <WebServe$ServeRoot>.archives.gnupgsrc/zip then wipe <WebServe$ServeRoot>.archives.gnupgsrc/zip ~CFR~V
|
||||
ifthere <WebServe$ServeRoot>.archives.gnupgintl/zip then wipe <WebServe$ServeRoot>.archives.gnupgintl/zip ~CFR~V
|
||||
ifthere <WebServe$ServeRoot>.archives.gnupgldap/zip then wipe <WebServe$ServeRoot>.archives.gnupgldap/zip ~CFR~V
|
||||
ifthere <WebServe$ServeRoot>.gnupg_history/txt then wipe <WebServe$ServeRoot>.gnupg_history/txt ~CFR~V
|
||||
ifthere <WebServe$ServeRoot>.gnupg_news/txt then wipe <WebServe$ServeRoot>.gnupg_news/txt ~CFR~V
|
||||
rename distrib.gnupgdev/zip <WebServe$ServeRoot>.private.gnupgdev/zip
|
||||
rename distrib.gnupg/zip <WebServe$ServeRoot>.archives.gnupg/zip
|
||||
rename distrib.gnupgidea/zip <WebServe$ServeRoot>.archives.gnupgidea/zip
|
||||
rename distrib.gnupgpart/zip <WebServe$ServeRoot>.archives.gnupgpart/zip
|
||||
rename distrib.gnupgsrc/zip <WebServe$ServeRoot>.archives.gnupgsrc/zip
|
||||
rename distrib.gnupgintl/zip <WebServe$ServeRoot>.archives.gnupgintl/zip
|
||||
rename distrib.gnupgldap/zip <WebServe$ServeRoot>.archives.gnupgldap/zip
|
||||
copy distrib.resources.History <WebServe$ServeRoot>.gnupg_history/txt ~CFR~V
|
||||
copy distrib.resources.orig_docs.NEWS <WebServe$ServeRoot>.gnupg_news/txt ~CFR~V
|
||||
unset GnuPG$DevDefine
|
||||
unset GnuPG$Version
|
||||
updatesigs <WebServe$ServeRoot>.archives --secring adfs::ap.$.secring/gpg
|
||||
|
||||
# Dynamic dependencies:
|
|
@ -1,390 +0,0 @@
|
|||
/* config.h - hand edited by Stefan Bellon to suit RISC OS needs
|
||||
* Copyright (C) 2001 Free Software Foundation, Inc.
|
||||
*
|
||||
* This file is part of GNUPG.
|
||||
*
|
||||
* GNUPG is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GNUPG is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
*/
|
||||
#ifndef G10_CONFIG_H
|
||||
#define G10_CONFIG_H
|
||||
|
||||
/* need this, because some autoconf tests rely on this (e.g. stpcpy)
|
||||
* and it should be used for new programs
|
||||
*/
|
||||
#define _GNU_SOURCE 1
|
||||
|
||||
|
||||
/* Define if using alloca.c. */
|
||||
#undef C_ALLOCA
|
||||
|
||||
/* Define to empty if the keyword does not work. */
|
||||
/* #undef const */
|
||||
|
||||
/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
|
||||
This function is required for alloca.c support on those systems. */
|
||||
#undef CRAY_STACKSEG_END
|
||||
|
||||
/* Define if you have alloca, as a function or macro. */
|
||||
/* #undef HAVE_ALLOCA */
|
||||
#define HAVE_ALLOCA 1
|
||||
|
||||
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
|
||||
/* #undef HAVE_ALLOCA_H */
|
||||
#define HAVE_ALLOCA_H 1
|
||||
|
||||
/* #undef _LIBC */
|
||||
|
||||
/* Define if you don't have vprintf but do have _doprnt. */
|
||||
#undef HAVE_DOPRNT
|
||||
|
||||
/* Define if you have the vprintf function. */
|
||||
#define HAVE_VPRINTF 1
|
||||
|
||||
/* Define to `long' if <sys/types.h> doesn't define. */
|
||||
#undef off_t
|
||||
|
||||
/* Define if you need to in order for stat and other things to work. */
|
||||
#undef _POSIX_SOURCE
|
||||
|
||||
/* Define as the return type of signal handlers (int or void). */
|
||||
#define RETSIGTYPE void
|
||||
|
||||
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
||||
#define size_t unsigned int
|
||||
|
||||
/* If using the C implementation of alloca, define if you know the
|
||||
direction of stack growth for your system; otherwise it will be
|
||||
automatically deduced at run-time.
|
||||
STACK_DIRECTION > 0 => grows toward higher addresses
|
||||
STACK_DIRECTION < 0 => grows toward lower addresses
|
||||
STACK_DIRECTION = 0 => direction of growth unknown
|
||||
*/
|
||||
#undef STACK_DIRECTION
|
||||
|
||||
/* Define if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Define if `sys_siglist' is declared by <signal.h>. */
|
||||
#define SYS_SIGLIST_DECLARED 1
|
||||
|
||||
#undef M_DEBUG
|
||||
#undef M_GUARD
|
||||
#define PRINTABLE_OS_NAME "RISC OS"
|
||||
|
||||
/* Define if your locale.h file contains LC_MESSAGES. */
|
||||
#define HAVE_LC_MESSAGES 1
|
||||
|
||||
/* Define to 1 if NLS is requested. */
|
||||
#define ENABLE_NLS 1
|
||||
|
||||
/* Define as 1 if you have catgets and don't want to use GNU gettext. */
|
||||
#undef HAVE_CATGETS
|
||||
|
||||
/* Define as 1 if you have gettext and don't want to use GNU gettext. */
|
||||
#undef HAVE_GETTEXT
|
||||
|
||||
#undef BIG_ENDIAN_HOST
|
||||
#define LITTLE_ENDIAN_HOST 1
|
||||
|
||||
#undef HAVE_BYTE_TYPEDEF
|
||||
#undef HAVE_USHORT_TYPEDEF
|
||||
#undef HAVE_ULONG_TYPEDEF
|
||||
#undef HAVE_U16_TYPEDEF
|
||||
#undef HAVE_U32_TYPEDEF
|
||||
|
||||
#undef HAVE_BROKEN_MLOCK
|
||||
|
||||
/* defined if we have a /dev/random and /dev/urandom */
|
||||
#undef HAVE_DEV_RANDOM
|
||||
/* and the real names of the random devices */
|
||||
#undef NAME_OF_DEV_RANDOM
|
||||
#undef NAME_OF_DEV_URANDOM
|
||||
/* Linux has an ioctl */
|
||||
#undef HAVE_DEV_RANDOM_IOCTL
|
||||
|
||||
/* see cipher/rndegd.c */
|
||||
#undef EGD_SOCKET_NAME
|
||||
|
||||
#undef USE_DYNAMIC_LINKING
|
||||
#undef HAVE_DL_DLOPEN
|
||||
#undef HAVE_DL_SHL_LOAD
|
||||
#undef HAVE_DLD_DLD_LINK
|
||||
|
||||
#undef USE_SHM_COPROCESSING
|
||||
|
||||
#undef IPC_HAVE_SHM_LOCK
|
||||
#undef IPC_RMID_DEFERRED_RELEASE
|
||||
|
||||
/* set this to limit filenames to the 8.3 format */
|
||||
#undef USE_ONLY_8DOT3
|
||||
/* defined if we must run on a stupid file system */
|
||||
#undef HAVE_DRIVE_LETTERS
|
||||
/* defined if we run on some of the PCDOS like systems (DOS, Windoze. OS/2)
|
||||
* with special properties like no file modes */
|
||||
#undef HAVE_DOSISH_SYSTEM
|
||||
/* because the Unix gettext has to much overhead on MingW32 systems
|
||||
* and these systems lack Posix functions, we use a simplified version
|
||||
* of gettext */
|
||||
#undef USE_SIMPLE_GETTEXT
|
||||
/* At some point in the system we need to know that we use the Windows
|
||||
* random module. */
|
||||
#undef USE_STATIC_RNDW32
|
||||
|
||||
#undef USE_CAPABILITIES
|
||||
|
||||
/* Some systems have mkdir that takes a single argument. */
|
||||
#undef MKDIR_TAKES_ONE_ARG
|
||||
|
||||
/* The number of bytes in a unsigned int. */
|
||||
#define SIZEOF_UNSIGNED_INT 4
|
||||
|
||||
/* The number of bytes in a unsigned long. */
|
||||
#define SIZEOF_UNSIGNED_LONG 4
|
||||
|
||||
/* The number of bytes in a unsigned long long. */
|
||||
#define SIZEOF_UNSIGNED_LONG_LONG 0
|
||||
|
||||
/* The number of bytes in a unsigned short. */
|
||||
#define SIZEOF_UNSIGNED_SHORT 2
|
||||
|
||||
/* Define if you have the __argz_count function. */
|
||||
#undef HAVE___ARGZ_COUNT
|
||||
|
||||
/* Define if you have the __argz_next function. */
|
||||
#undef HAVE___ARGZ_NEXT
|
||||
|
||||
/* Define if you have the __argz_stringify function. */
|
||||
#undef HAVE___ARGZ_STRINGIFY
|
||||
|
||||
/* Define if you have the atexit function. */
|
||||
#define HAVE_ATEXIT 1
|
||||
|
||||
/* Define if you have the clock_gettime function. */
|
||||
#undef HAVE_CLOCK_GETTIME
|
||||
|
||||
/* Define if you have the dcgettext function. */
|
||||
#undef HAVE_DCGETTEXT
|
||||
|
||||
/* Define if you have the dlopen function. */
|
||||
#undef HAVE_DLOPEN
|
||||
|
||||
/* Define if you have the fopen64 function. */
|
||||
#undef HAVE_FOPEN64
|
||||
|
||||
/* Define if you have the fstat64 function. */
|
||||
#undef HAVE_FSTAT64
|
||||
|
||||
/* Define if you have the getcwd function. */
|
||||
#define HAVE_GETCWD 1
|
||||
|
||||
/* Define if you have the gethrtime function. */
|
||||
#undef HAVE_GETHRTIME
|
||||
|
||||
/* Define if you have the getpagesize function. */
|
||||
#define HAVE_GETPAGESIZE 1
|
||||
|
||||
/* Define if you have the getrusage function. */
|
||||
#define HAVE_GETRUSAGE 1
|
||||
|
||||
/* Define if you have the gettimeofday function. */
|
||||
#define HAVE_GETTIMEOFDAY 1
|
||||
|
||||
/* Define if you have the memicmp function. */
|
||||
#undef HAVE_MEMICMP
|
||||
|
||||
/* Define if you have the memmove function. */
|
||||
#define HAVE_MEMMOVE 1
|
||||
|
||||
/* Define if you have the mlock function. */
|
||||
#undef HAVE_MLOCK
|
||||
|
||||
/* Define if you have the mmap function. */
|
||||
#undef HAVE_MMAP
|
||||
|
||||
/* Define if you have the munmap function. */
|
||||
#undef HAVE_MUNMAP
|
||||
|
||||
/* Define if you have the nl_langinfo function. */
|
||||
#undef HAVE_NL_LANGINFO
|
||||
|
||||
/* Define if you have the putenv function. */
|
||||
#define HAVE_PUTENV 1
|
||||
|
||||
/* Define if you have the raise function. */
|
||||
#define HAVE_RAISE 1
|
||||
|
||||
/* Define if you have the rand function. */
|
||||
#define HAVE_RAND 1
|
||||
|
||||
/* Define if you have the setenv function. */
|
||||
#define HAVE_SETENV 1
|
||||
|
||||
/* Define if you have the setlocale function. */
|
||||
#define HAVE_SETLOCALE 1
|
||||
|
||||
/* Define if you have the setrlimit function. */
|
||||
#define HAVE_SETRLIMIT 1
|
||||
|
||||
/* Define if you have the sigaction function. */
|
||||
#define HAVE_SIGACTION 1
|
||||
|
||||
/* Define if you have the sigprocmask function. */
|
||||
#define HAVE_SIGPROCMASK 1
|
||||
|
||||
/* Define if you have the stpcpy function. */
|
||||
#define HAVE_STPCPY 1
|
||||
|
||||
/* Define if you have the strcasecmp function. */
|
||||
#define HAVE_STRCASECMP 1
|
||||
|
||||
/* Define if you have the strchr function. */
|
||||
#define HAVE_STRCHR 1
|
||||
|
||||
/* Define if you have the strdup function. */
|
||||
#define HAVE_STRDUP 1
|
||||
|
||||
/* Define if you have the strerror function. */
|
||||
#define HAVE_STRERROR 1
|
||||
|
||||
/* Define if you have the strftime function. */
|
||||
#define HAVE_STRFTIME 1
|
||||
|
||||
/* Define if you have the stricmp function. */
|
||||
#define HAVE_STRICMP 1
|
||||
|
||||
/* Define if you have the strlwr function. */
|
||||
#undef HAVE_STRLWR
|
||||
|
||||
/* Define if you have the strtoul function. */
|
||||
#define HAVE_STRTOUL 1
|
||||
|
||||
/* Define if you have the tcgetattr function. */
|
||||
#undef HAVE_TCGETATTR
|
||||
|
||||
/* Define if you have the wait4 function. */
|
||||
#define HAVE_WAIT4 1
|
||||
|
||||
/* Define if you have the waitpid function. */
|
||||
#define HAVE_WAITPID 1
|
||||
|
||||
/* Define if you have the <argz.h> header file. */
|
||||
#undef HAVE_ARGZ_H
|
||||
|
||||
/* Define if you have the <direct.h> header file. */
|
||||
#undef HAVE_DIRECT_H
|
||||
|
||||
/* Define if you have the <gdbm.h> header file. */
|
||||
#undef HAVE_GDBM_H
|
||||
|
||||
/* Define if you have the <langinfo.h> header file. */
|
||||
#undef HAVE_LANGINFO_H
|
||||
|
||||
/* Define if you have the <limits.h> header file. */
|
||||
#define HAVE_LIMITS_H 1
|
||||
|
||||
/* Define if you have the <linux/random.h> header file. */
|
||||
#undef HAVE_LINUX_RANDOM_H
|
||||
|
||||
/* Define if you have the <locale.h> header file. */
|
||||
#define HAVE_LOCALE_H 1
|
||||
|
||||
/* Define if you have the <malloc.h> header file. */
|
||||
#define HAVE_MALLOC_H 1
|
||||
|
||||
/* Define if you have the <nl_types.h> header file. */
|
||||
#undef HAVE_NL_TYPES_H
|
||||
|
||||
/* Define if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define if you have the <sys/capability.h> header file. */
|
||||
#undef HAVE_SYS_CAPABILITY_H
|
||||
|
||||
/* Define if you have the <sys/ipc.h> header file. */
|
||||
#undef HAVE_SYS_IPC_H
|
||||
|
||||
/* Define if you have the <sys/mman.h> header file. */
|
||||
#define HAVE_SYS_MMAN_H 1
|
||||
|
||||
/* Define if you have the <sys/param.h> header file. */
|
||||
#define HAVE_SYS_PARAM_H 1
|
||||
|
||||
/* Define if you have the <sys/shm.h> header file. */
|
||||
#undef HAVE_SYS_SHM_H
|
||||
|
||||
/* Define if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define if you have the <termio.h> header file. */
|
||||
#undef HAVE_TERMIO_H
|
||||
|
||||
/* Define if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Define if you have the <zlib.h> header file. */
|
||||
#define HAVE_ZLIB_H 1
|
||||
|
||||
/* Define if you have the dl library (-ldl). */
|
||||
#undef HAVE_LIBDL
|
||||
|
||||
/* Define if you have the dld library (-ldld). */
|
||||
#undef HAVE_LIBDLD
|
||||
|
||||
/* Define if you have the gdbm library (-lgdbm). */
|
||||
#undef HAVE_LIBGDBM
|
||||
|
||||
/* Define if you have the i library (-li). */
|
||||
#undef HAVE_LIBI
|
||||
|
||||
/* Define if you have the nsl library (-lnsl). */
|
||||
#undef HAVE_LIBNSL
|
||||
|
||||
/* Define if you have the rt library (-lrt). */
|
||||
#undef HAVE_LIBRT
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "GnuPG"
|
||||
|
||||
|
||||
/* define if compiled symbols have a leading underscore */
|
||||
#define WITH_SYMBOL_UNDERSCORE 1
|
||||
|
||||
#ifdef IS_DEVELOPMENT_VERSION
|
||||
#define DEBUG 1
|
||||
/* #define M_DEBUG */
|
||||
#define M_GUARD 1
|
||||
#endif
|
||||
|
||||
#define USE_RNDRISCOS 1
|
||||
|
||||
/* RISC OS specifica */
|
||||
#if (__CC_NORCROFT == 1) /* Norcroft */
|
||||
# undef __GNUC__
|
||||
# define __GNUC_MINOR__ 0
|
||||
# define __GLIBC__ 0
|
||||
# define __attribute__(x)
|
||||
# if (__CC_NORCROFT_VERSION < 544) /* old version of Norcroft */
|
||||
# define inline __inline
|
||||
# define STR(a) #a
|
||||
# define __func__ "[" __FILE__ ":" STR(__LINE__) "]"
|
||||
# endif
|
||||
#else /* gcc */
|
||||
#endif
|
||||
|
||||
/* #define USE_EXTERNAL_HKP */
|
||||
|
||||
#include "g10defs.h"
|
||||
|
||||
#endif /*G10_CONFIG_H*/
|
|
@ -1,42 +0,0 @@
|
|||
/* g10defs.h - hand edited by Stefan Bellon to suit RISC OS needs
|
||||
* Copyright (C) 2001 Free Software Foundation, Inc.
|
||||
*
|
||||
* This file is part of GNUPG.
|
||||
*
|
||||
* GNUPG is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GNUPG is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
*/
|
||||
|
||||
/* Path variables and filing system constants for RISC OS */
|
||||
#define G10_LOCALEDIR "<GnuPG$Dir>.locale"
|
||||
#define GNUPG_LIBDIR "<GnuPG$Dir>"
|
||||
#define GNUPG_LIBEXECDIR "<GnuPG$Dir>"
|
||||
#define GNUPG_DATADIR "<GnuPG$Dir>"
|
||||
#define GNUPG_HOMEDIR "<GnuPGUser$Dir>"
|
||||
#define LOCALE_ALIAS_PATH "<GnuPG$Dir>.locale"
|
||||
#define GNULOCALEDIR "<GnuPG$Dir>.locale"
|
||||
#define DIRSEP_C '.'
|
||||
#define EXTSEP_C '/'
|
||||
#define DIRSEP_S "."
|
||||
#define EXTSEP_S "/"
|
||||
|
||||
/* This file defines some basic constants for the MPI machinery. We
|
||||
* need to define the types on a per-CPU basis, so it is done with
|
||||
* this file here. */
|
||||
#define BYTES_PER_MPI_LIMB (SIZEOF_UNSIGNED_LONG)
|
||||
|
||||
/* External process spawning mechanism */
|
||||
#if !(defined(HAVE_FORK) && defined(HAVE_PIPE) && defined(HAVE_WAITPID))
|
||||
#define EXEC_TEMPFILE_ONLY 1
|
||||
#endif
|
1317
scripts/config.guess
vendored
1317
scripts/config.guess
vendored
File diff suppressed because it is too large
Load diff
1411
scripts/config.sub
vendored
1411
scripts/config.sub
vendored
File diff suppressed because it is too large
Load diff
|
@ -1,6 +0,0 @@
|
|||
mkdiff
|
||||
build-w32
|
||||
gnupg.spec.in
|
||||
autogen.sh
|
||||
mk-gpg-texi
|
||||
mk-w32-dist
|
|
@ -1,177 +0,0 @@
|
|||
#
|
||||
# gnupg -- gnu privacy guard
|
||||
# This is a template. The dist target uses it to create the real file.
|
||||
#
|
||||
%define version @pkg_version@
|
||||
%define name gnupg
|
||||
Summary: GNU Utility for data encryption and digital signatures
|
||||
Summary(it): Utility GNU per la sicurezza nelle comunicazioni e nell'archiviazione dei dati.
|
||||
Summary(cs): GNU nástroj pro ¹ifrovanou komunikaci a bezpeèné ukládání dat
|
||||
Summary(fr): Utilitaire GNU de chiffrement et d'authentification des communications et des données
|
||||
Summary(pl): Narzedzie GNU do szyfrowania i podpisywania danych
|
||||
Vendor: GNU Privacy Guard Project
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: 1
|
||||
Copyright: GPL
|
||||
Group: Applications/Cryptography
|
||||
Group(cs): Aplikace/©ifrování
|
||||
Group(fr): Applications/Cryptographie
|
||||
Group(it): Applicazioni/Crittografia
|
||||
Source: ftp://ftp.gnupg.org/pub/gcrypt/%{name}-%{version}.tar.gz
|
||||
URL: http://www.gnupg.org
|
||||
Provides: gpg openpgp
|
||||
BuildRoot: /tmp/rpmbuild_%{name}
|
||||
|
||||
%changelog
|
||||
* Fri Apr 19 2002 David Shaw <dshaw@jabberwocky.com>
|
||||
- Removed OPTIONS and pubring.asc - no longer used
|
||||
- Added doc/samplekeys.asc
|
||||
* Sun Mar 31 2002 David Shaw <dshaw@jabberwocky.com>
|
||||
- Added the gpgkeys_xxx keyserver helpers.
|
||||
- Added a * to catch variations on the basic gpg man page (gpg, gpgv).
|
||||
- Mark options.skel as a config file.
|
||||
- Do not include the FAQ/faq.html twice (in /doc/ and /share/).
|
||||
|
||||
* Wed Sep 06 2000 Fabio Coatti <cova@ferrara.linux.it>
|
||||
- Added Polish description and summary (Kindly provided by
|
||||
Lukasz Stelmach <stelmacl@ee.pw.edu.pl>)
|
||||
|
||||
* Thu Jul 13 2000 Fabio Coatti <cova@ferrara.linux.it>
|
||||
- Added a * to catch all formats for man pages (plain, gz, bz2...)
|
||||
|
||||
* Mon May 01 2000 Fabio Coatti <cova@ferrara.linux.it>
|
||||
- Some corrections in French description, thanks to Gaël Quéri
|
||||
<gqueri@mail.dotcom.fr>; Some corrections to Italian descriptions.
|
||||
|
||||
* Tue Apr 25 2000 Fabio Coatti <cova@ferrara.linux.it>
|
||||
- Removed the no longer needed patch for man page by Keith Owens
|
||||
|
||||
* Wed Mar 1 2000 Petr Kri¹tof <Petr@Kristof.CZ>
|
||||
- Czech descriptions added; some fixes and updates.
|
||||
|
||||
* Sat Jan 15 2000 Keith Owens <kaos@ocs.com.au>
|
||||
- Add missing man page as separate patch instead of updating the tar file.
|
||||
|
||||
* Mon Dec 27 1999 Fabio Coatti <cova@ferrara.linux.it>
|
||||
- Upgraded for 1.0.1 (added missing gpg.1 man page)
|
||||
|
||||
* Sat May 29 1999 Fabio Coatti <cova@ferrara.linux.it>
|
||||
- Some corrections in French description, thanks to Gaël Quéri <gqueri@mail.dotcom.fr>
|
||||
|
||||
* Mon May 17 1999 Fabio Coatti <cova@felix.unife.it>
|
||||
- Added French description, provided by
|
||||
Christophe Labouisse <labouiss@cybercable.fr>
|
||||
|
||||
* Thu May 06 1999 Fabio Coatti <cova@felix.unife.it>
|
||||
- Upgraded for 0.9.6 (removed gpgm)
|
||||
|
||||
* Tue Jan 12 1999 Fabio Coatti <cova@felix.unife.it>
|
||||
- LINGUAS variable is now unset in configure to ensure that all languages will be built. (Thanks to Luca Olivetti <luca@luca.ddns.org>)
|
||||
|
||||
* Sat Jan 02 1999 Fabio Coatti <cova@felix.unife.it>
|
||||
- Added pl language file.
|
||||
- Included g10/pubring.asc in documentation files.
|
||||
|
||||
* Sat Dec 19 1998 Fabio Coatti <cova@felix.unife.it>
|
||||
- Modified the spec file provided by Caskey L. Dickson <caskey-at-technocage.com>
|
||||
- Now it can be built also by non-root. Installation has to be done as
|
||||
root, gpg is suid.
|
||||
- Added some changes by Ross Golder <rossigee@bigfoot.com>
|
||||
- Updates for version 0.4.5 of GnuPG (.mo files)
|
||||
|
||||
%description
|
||||
GnuPG (GNU Privacy Guard) is a GNU utility for encrypting data and
|
||||
creating digital signatures. GnuPG has advanced key management
|
||||
capabilities and is compliant with the proposed OpenPGP Internet
|
||||
standard described in RFC2440. Since GnuPG doesn't use any patented
|
||||
algorithm, it is not compatible with any version of PGP2 (PGP2.x uses
|
||||
only IDEA, patented worldwide, and RSA, which is patented in the US
|
||||
until 9/20/00).
|
||||
|
||||
%description -l it
|
||||
GnuPG (GNU Privacy Guard) è una utility GNU per la cifratura di dati e
|
||||
la creazione di firme digitali. Possiede una gestione avanzata delle
|
||||
chiavi ed è conforme allo standard Internet OpenPGP, descritto nella
|
||||
RFC 2440. Non utilizzando algoritmi brevettati, non è compatibile con
|
||||
PGP2 (PGP2.x usa solo IDEA, coperto da brevetto mondiale, ed RSA,
|
||||
brevettato negli USA con scadenza 20/09/2000). Questi algoritmi sono
|
||||
utilizzabili da GnuPG tramite moduli esterni.
|
||||
|
||||
%description -l fr
|
||||
GnuPG est un utilitaire GNU destiné à chiffrer des données et à créer
|
||||
des signatures électroniques. Il a des capacités avancées de gestion de
|
||||
clés et il est conforme à la norme proposée OpenPGP décrite dans la
|
||||
RFC2440. Comme GnuPG n'utilise pas d'algorithme breveté, il n'est
|
||||
compatible avec aucune version de PGP2 (PGP2.x ne sait utiliser que
|
||||
l'IDEA breveté dans le monde entier et RSA, breveté aux États-Unis
|
||||
jusqu'au 20 septembre 2000).
|
||||
|
||||
%description -l cs
|
||||
GnuPG je GNU nástroj pro bezpeènou komunikaci a ukládání dat. Mù¾e být
|
||||
pou¾it na ¹ifrování dat a vytváøení digitálních podpisù. Obsahuje
|
||||
funkce pro pokroèilou správu klíèù a vyhovuje navrhovanému OpenPGP
|
||||
Internet standardu podle RFC2440. Byl vytvoøen jako kompletní
|
||||
náhrada za PGP. Proto¾e neobsahuje ¹ifrovací algoritmy IDEA nebo RSA,
|
||||
mù¾e být pou¾íván bez omezení.
|
||||
Proto¾e GnuPG nepou¾ívá ¾ádný patentovaný algoritmus, nemù¾e být úplnì
|
||||
kompatibilní s PGP verze 2. PGP 2.x pou¾ívá algoritmy IDEA (patentováno
|
||||
celosvìtovì) a RSA (patentováno ve Spojených státech do 20. záøí
|
||||
2000). Tyto algoritmy lze zavést do GnuPG pomocí externích modulù.
|
||||
|
||||
%description -l pl
|
||||
GnuPG (GNU Privacy Guard) jest nazedziem do szfrowania danych i tworzenia
|
||||
cyfrowych podpisów. GnuPG posiada zaawansowane mozliwosci obslugi kluczy
|
||||
i jest zgodne z OpenPGP, proponowanym standardem internetowym opisanym
|
||||
w RFC2440. Poniewaz GnuPG nie uzywa zadnych opatentowanych algorytmów
|
||||
nie jest wiec zgodne z jaka kolwiek wersja PGP2 (PGP2.x kozysta jedynie
|
||||
z algorytmów: IDEA, opatentowanego na calym swiecie, oraz RSA, którego
|
||||
patent na terenie Stanów Zjednoczonych wygasa 20 wrzesnia 2000).
|
||||
|
||||
%prep
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
|
||||
|
||||
%setup
|
||||
|
||||
%build
|
||||
if test -n "$LINGUAS"; then
|
||||
unset LINGUAS
|
||||
fi
|
||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --enable-shared
|
||||
make
|
||||
|
||||
%install
|
||||
make install-strip prefix=$RPM_BUILD_ROOT/usr
|
||||
|
||||
%files
|
||||
|
||||
%doc %attr (-,root,root) INSTALL
|
||||
%doc %attr (-,root,root) AUTHORS
|
||||
%doc %attr (-,root,root) COPYING
|
||||
%doc %attr (-,root,root) ChangeLog
|
||||
%doc %attr (-,root,root) NEWS
|
||||
%doc %attr (-,root,root) README
|
||||
%doc %attr (-,root,root) THANKS
|
||||
%doc %attr (-,root,root) TODO
|
||||
%doc %attr (-,root,root) PROJECTS
|
||||
%doc %attr (-,root,root) doc/DETAILS
|
||||
%doc %attr (-,root,root) doc/FAQ
|
||||
%doc %attr (-,root,root) doc/faq.html
|
||||
%doc %attr (-,root,root) doc/HACKING
|
||||
%doc %attr (-,root,root) doc/OpenPGP
|
||||
%doc %attr (-,root,root) doc/samplekeys.asc
|
||||
|
||||
%attr (-,root,root) /usr/man/man1/gpg*.1*
|
||||
%attr (4755,root,root) /usr/bin/gpg
|
||||
%attr (-,root,root) /usr/bin/gpgkeys_*
|
||||
|
||||
%attr (-,root,root) /usr/share/locale/*/*/%{name}.mo
|
||||
|
||||
%attr (-,root,root) /usr/lib/%{name}
|
||||
|
||||
%config %attr (-,root,root) /usr/share/%{name}/options.skel
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
|
185
scripts/gnupgbug
185
scripts/gnupgbug
|
@ -1,185 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
#
|
||||
# File a bug against the GNU Privacy Guard.
|
||||
#
|
||||
|
||||
#
|
||||
# Copyright (c) 2000 Thomas Roessler <roessler@guug.de>
|
||||
#
|
||||
#
|
||||
# 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
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
#
|
||||
|
||||
SUBMIT="submit@bugs.guug.de"
|
||||
DEBIAN_SUBMIT="submit@bugs.debian.org"
|
||||
|
||||
|
||||
include_file ()
|
||||
{
|
||||
echo
|
||||
echo "--- Begin $1"
|
||||
sed -e 's/^-/- -/' $1 | egrep -v '^[ ]*(#|$)'
|
||||
echo "--- End $1"
|
||||
echo
|
||||
}
|
||||
|
||||
case `echo -n` in
|
||||
"") n=-n; c= ;;
|
||||
*) n=; c='\c' ;;
|
||||
esac
|
||||
|
||||
|
||||
exec > /dev/tty
|
||||
exec < /dev/tty
|
||||
|
||||
SCRATCH=${TMPDIR-/tmp}/`basename $0`.`hostname`.$$
|
||||
|
||||
mkdir ${SCRATCH} || \
|
||||
{
|
||||
echo "`basename $0`: Can't create temporary directory." >& 2 ;
|
||||
exit 1 ;
|
||||
}
|
||||
|
||||
trap "rm -r -f ${SCRATCH} ; trap '' 0 ; exit" 0 1 2
|
||||
|
||||
TEMPLATE=${SCRATCH}/template.txt
|
||||
|
||||
echo "Please enter a one-line description of the problem you experience:"
|
||||
echo $n "> $c"
|
||||
read SUBJECT
|
||||
|
||||
echo $n "Do you want to include your personal GnuPG configuration files? [Y|n]$c"
|
||||
read personal
|
||||
case "$personal" in
|
||||
[nN]*) personal=no ;;
|
||||
*) personal=yes ;;
|
||||
esac
|
||||
|
||||
if test -f /etc/debian_version ; then
|
||||
DEBIAN=yes
|
||||
echo $n "Checking whether GnuPG has been installed as a package... $c"
|
||||
GNUPGVERSION="`dpkg -l gnupg | grep ^i | awk '{print $3}'`" 2> /dev/null
|
||||
if test "$GNUPGVERSION" ; then
|
||||
DPKG=yes
|
||||
else
|
||||
DPKG=no
|
||||
fi
|
||||
echo "$DPKG"
|
||||
if test "$DPKG" = "no" ; then
|
||||
echo $n "File this bug with Debian? [Y|n]$c"
|
||||
read $DPKG
|
||||
case "$DPKG" in
|
||||
[nN]) DPKG=no ;;
|
||||
*) DPKG=yes ;;
|
||||
esac
|
||||
fi
|
||||
else
|
||||
DEBIAN=no
|
||||
DPKG=no
|
||||
fi
|
||||
|
||||
test "$MUTTVERSION" || MUTTVERSION="`mutt -v | head -1 | awk '{print $2}' | tr -d i`"
|
||||
test "$DPKG" = "yes" && SUBMIT="$SUBMIT, $DEBIAN_SUBMIT"
|
||||
|
||||
|
||||
exec > ${TEMPLATE}
|
||||
|
||||
echo "Subject: mutt-$MUTTVERSION: $SUBJECT"
|
||||
echo "To: $SUBMIT"
|
||||
echo "Cc: $LOGNAME"
|
||||
echo
|
||||
echo "Package: mutt"
|
||||
echo "Version: $MUTTVERSION"
|
||||
echo
|
||||
echo "-- Please type your report below this line"
|
||||
echo
|
||||
echo
|
||||
echo
|
||||
|
||||
if test "$DEBIAN" = "yes" ; then
|
||||
echo "Obtaining Debian-specific information..." > /dev/tty
|
||||
bug -p -s dummy mutt | \
|
||||
sed -n -e "/^-- System Information/,/^---/p" | \
|
||||
grep -v '^---'
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "-- Mutt Version Information"
|
||||
echo
|
||||
mutt -v
|
||||
|
||||
if test "$personal" = "yes" ; then
|
||||
CANDIDATES=".muttrc-${MUTTVERSION} .muttrc .mutt/muttrc-${MUTTVERSION} .mutt/muttrc"
|
||||
MATCHED="none"
|
||||
for f in $CANDIDATES; do
|
||||
if test -f "${HOME}/$f" ; then
|
||||
MATCHED="${HOME}/$f"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if test "$MATCHED" = "none" ; then
|
||||
echo "WARNING: Can't find your personal .muttrc." >&2
|
||||
else
|
||||
include_file $MATCHED
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$global" = "yes" ; then
|
||||
CANDIDATES="Muttrc-${MUTTVERSION} Muttrc"
|
||||
DIRECTORIES="/etc /usr/local/share/mutt"
|
||||
MATCHED="none"
|
||||
for d in $DIRECTORIES ; do
|
||||
for f in $CANDIDATES; do
|
||||
if test -f $d/$f ; then
|
||||
MATCHED="$d/$f"
|
||||
break
|
||||
fi
|
||||
done
|
||||
test "$MATCHED" = "none" || break
|
||||
done
|
||||
|
||||
if test "$MATCHED" = "none" ; then
|
||||
echo "WARNING: Can't find global Muttrc." >&2
|
||||
else
|
||||
include_file $MATCHED
|
||||
fi
|
||||
fi
|
||||
|
||||
exec > /dev/tty
|
||||
|
||||
cp $TEMPLATE $SCRATCH/mutt-bug.txt
|
||||
|
||||
input="e"
|
||||
while : ; do
|
||||
if test "$input" = "e" ; then
|
||||
${VISUAL-vi} $SCRATCH/mutt-bug.txt
|
||||
if cmp $SCRATCH/mutt-bug.txt ${TEMPLATE} > /dev/null ; then
|
||||
echo "WARNING: Bug report was not modified!"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo $n "Submit, Edit, Print, Quit? [S|e|p|q]$c"
|
||||
read _input
|
||||
input="`echo $_input | tr EPSQ epsq`"
|
||||
case $input in
|
||||
e*) ;;
|
||||
p*) ${PAGER-more} $SCRATCH/mutt-bug.txt ;;
|
||||
s*|"") /usr/sbin/sendmail -t < $SCRATCH/mutt-bug.txt ; exit ;;
|
||||
q*) exit
|
||||
esac
|
||||
done
|
||||
|
|
@ -1,595 +0,0 @@
|
|||
#! /usr/bin/perl
|
||||
# -*-Perl-*-
|
||||
#
|
||||
# Perl filter to handle the log messages from the checkin of files in
|
||||
# a directory. This script will group the lists of files by log
|
||||
# message, and mail a single consolidated log message at the end of
|
||||
# the commit.
|
||||
#
|
||||
# This file assumes a pre-commit checking program that leaves the
|
||||
# names of the first and last commit directories in a temporary file.
|
||||
#
|
||||
# Contributed by David Hampton <hampton@cisco.com>
|
||||
#
|
||||
# hacked greatly by Greg A. Woods <woods@planix.com>
|
||||
#
|
||||
# Modified by werner.koch@guug.de to add support for
|
||||
# automagically extraction of ChangeLog entries 1998-12-29
|
||||
|
||||
# Usage: log_accum.pl [-d] [-s] [-M module] [[-m mailto] ...] [[-R replyto] ...] [-f logfile]
|
||||
# -d - turn on debugging
|
||||
# -m mailto - send mail to "mailto" (multiple)
|
||||
# -R replyto - set the "Reply-To:" to "replyto" (multiple)
|
||||
# -M modulename - set module name to "modulename"
|
||||
# -f logfile - write commit messages to logfile too
|
||||
# -s - *don't* run "cvs status -v" for each file
|
||||
# -w - show working directory with log message
|
||||
|
||||
#
|
||||
# Configurable options
|
||||
#
|
||||
|
||||
# set this to something that takes a whole message on stdin
|
||||
$MAILER = "/usr/lib/sendmail -t";
|
||||
|
||||
#
|
||||
# End user configurable options.
|
||||
#
|
||||
|
||||
# Constants (don't change these!)
|
||||
#
|
||||
$STATE_NONE = 0;
|
||||
$STATE_CHANGED = 1;
|
||||
$STATE_ADDED = 2;
|
||||
$STATE_REMOVED = 3;
|
||||
$STATE_LOG = 4;
|
||||
|
||||
$LAST_FILE = "/tmp/#cvs.lastdir";
|
||||
|
||||
$CHANGED_FILE = "/tmp/#cvs.files.changed";
|
||||
$ADDED_FILE = "/tmp/#cvs.files.added";
|
||||
$REMOVED_FILE = "/tmp/#cvs.files.removed";
|
||||
$LOG_FILE = "/tmp/#cvs.files.log";
|
||||
|
||||
$FILE_PREFIX = "#cvs.files";
|
||||
|
||||
#
|
||||
# Subroutines
|
||||
#
|
||||
|
||||
sub cleanup_tmpfiles {
|
||||
local($wd, @files);
|
||||
|
||||
$wd = `pwd`;
|
||||
chdir("/tmp") || die("Can't chdir('/tmp')\n");
|
||||
opendir(DIR, ".");
|
||||
push(@files, grep(/^$FILE_PREFIX\..*\.$id$/, readdir(DIR)));
|
||||
closedir(DIR);
|
||||
foreach (@files) {
|
||||
unlink $_;
|
||||
}
|
||||
unlink $LAST_FILE . "." . $id;
|
||||
|
||||
chdir($wd);
|
||||
}
|
||||
|
||||
sub write_logfile {
|
||||
local($filename, @lines) = @_;
|
||||
|
||||
open(FILE, ">$filename") || die("Cannot open log file $filename.\n");
|
||||
print FILE join("\n", @lines), "\n";
|
||||
close(FILE);
|
||||
}
|
||||
|
||||
sub append_to_logfile {
|
||||
local($filename, @lines) = @_;
|
||||
|
||||
open(FILE, ">$filename") || die("Cannot open log file $filename.\n");
|
||||
print FILE join("\n", @lines), "\n";
|
||||
close(FILE);
|
||||
}
|
||||
|
||||
sub format_names {
|
||||
local($dir, @files) = @_;
|
||||
local(@lines);
|
||||
|
||||
$format = "\t%-" . sprintf("%d", length($dir)) . "s%s ";
|
||||
|
||||
$lines[0] = sprintf($format, $dir, ":");
|
||||
|
||||
if ($debug) {
|
||||
print STDERR "format_names(): dir = ", $dir, "; files = ", join(":", @files), ".\n";
|
||||
}
|
||||
foreach $file (@files) {
|
||||
if (length($lines[$#lines]) + length($file) > 65) {
|
||||
$lines[++$#lines] = sprintf($format, " ", " ");
|
||||
}
|
||||
$lines[$#lines] .= $file . " ";
|
||||
}
|
||||
|
||||
@lines;
|
||||
}
|
||||
|
||||
sub format_lists {
|
||||
local(@lines) = @_;
|
||||
local(@text, @files, $lastdir);
|
||||
|
||||
if ($debug) {
|
||||
print STDERR "format_lists(): ", join(":", @lines), "\n";
|
||||
}
|
||||
@text = ();
|
||||
@files = ();
|
||||
$lastdir = shift @lines; # first thing is always a directory
|
||||
if ($lastdir !~ /.*\/$/) {
|
||||
die("Damn, $lastdir doesn't look like a directory!\n");
|
||||
}
|
||||
foreach $line (@lines) {
|
||||
if ($line =~ /.*\/$/) {
|
||||
push(@text, &format_names($lastdir, @files));
|
||||
$lastdir = $line;
|
||||
@files = ();
|
||||
} else {
|
||||
push(@files, $line);
|
||||
}
|
||||
}
|
||||
push(@text, &format_names($lastdir, @files));
|
||||
|
||||
@text;
|
||||
}
|
||||
|
||||
sub append_names_to_file {
|
||||
local($filename, $dir, @files) = @_;
|
||||
|
||||
if (@files) {
|
||||
open(FILE, ">>$filename") || die("Cannot open file $filename.\n");
|
||||
print FILE $dir, "\n";
|
||||
print FILE join("\n", @files), "\n";
|
||||
close(FILE);
|
||||
}
|
||||
}
|
||||
|
||||
sub read_line {
|
||||
local($line);
|
||||
local($filename) = @_;
|
||||
|
||||
open(FILE, "<$filename") || die("Cannot open file $filename.\n");
|
||||
$line = <FILE>;
|
||||
close(FILE);
|
||||
chop($line);
|
||||
$line;
|
||||
}
|
||||
|
||||
sub read_logfile {
|
||||
local(@text);
|
||||
local($filename, $leader) = @_;
|
||||
|
||||
open(FILE, "<$filename");
|
||||
while (<FILE>) {
|
||||
chop;
|
||||
push(@text, $leader.$_);
|
||||
}
|
||||
close(FILE);
|
||||
@text;
|
||||
}
|
||||
|
||||
sub build_header {
|
||||
local($header);
|
||||
local($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
|
||||
$header = sprintf("CVSROOT:\t%s\nModule name:\t%s\nRepository:\t%s\nChanges by:\t%s@%s\t%02d/%02d/%02d %02d:%02d:%02d",
|
||||
$cvsroot,
|
||||
$modulename,
|
||||
$dir,
|
||||
$login, $hostdomain,
|
||||
$year%100, $mon+1, $mday,
|
||||
$hour, $min, $sec);
|
||||
}
|
||||
|
||||
sub mail_notification {
|
||||
local(@text) = @_;
|
||||
|
||||
# if only we had strftime()... stuff stolen from perl's ctime.pl:
|
||||
local($[) = 0;
|
||||
|
||||
@DoW = ('Sun','Mon','Tue','Wed','Thu','Fri','Sat');
|
||||
@MoY = ('Jan','Feb','Mar','Apr','May','Jun',
|
||||
'Jul','Aug','Sep','Oct','Nov','Dec');
|
||||
|
||||
# Determine what time zone is in effect.
|
||||
# Use GMT if TZ is defined as null, local time if TZ undefined.
|
||||
# There's no portable way to find the system default timezone.
|
||||
#
|
||||
$TZ = defined($ENV{'TZ'}) ? ( $ENV{'TZ'} ? $ENV{'TZ'} : 'GMT' ) : '';
|
||||
|
||||
# Hack to deal with 'PST8PDT' format of TZ
|
||||
# Note that this can't deal with all the esoteric forms, but it
|
||||
# does recognize the most common: [:]STDoff[DST[off][,rule]]
|
||||
#
|
||||
if ($TZ =~ /^([^:\d+\-,]{3,})([+-]?\d{1,2}(:\d{1,2}){0,2})([^\d+\-,]{3,})?/) {
|
||||
$TZ = $isdst ? $4 : $1;
|
||||
$tzoff = sprintf("%05d", -($2) * 100);
|
||||
}
|
||||
|
||||
# perl-4.036 doesn't have the $zone or $gmtoff...
|
||||
($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst, $zone, $gmtoff) =
|
||||
($TZ eq 'GMT') ? gmtime(time) : localtime(time);
|
||||
|
||||
$year += ($year < 70) ? 2000 : 1900;
|
||||
|
||||
if ($gmtoff != 0) {
|
||||
$tzoff = sprintf("%05d", ($gmtoff / 60) * 100);
|
||||
}
|
||||
if ($zone ne '') {
|
||||
$TZ = $zone;
|
||||
}
|
||||
|
||||
# ok, let's try....
|
||||
$rfc822date = sprintf("%s, %2d %s %4d %2d:%02d:%02d %s (%s)",
|
||||
$DoW[$wday], $mday, $MoY[$mon], $year,
|
||||
$hour, $min, $sec, $tzoff, $TZ);
|
||||
|
||||
open(MAIL, "| $MAILER");
|
||||
print MAIL "Date: " . $rfc822date . "\n";
|
||||
print MAIL "Subject: CVS Update: " . $modulename . "\n";
|
||||
print MAIL "To: " . $mailto . "\n";
|
||||
print MAIL "Reply-To: " . $replyto . "\n";
|
||||
print MAIL "\n";
|
||||
print MAIL join("\n", @text), "\n";
|
||||
close(MAIL);
|
||||
}
|
||||
|
||||
sub write_commitlog {
|
||||
local($logfile, @text) = @_;
|
||||
|
||||
open(FILE, ">>$logfile");
|
||||
print FILE join("\n", @text), "\n";
|
||||
close(FILE);
|
||||
}
|
||||
|
||||
#
|
||||
# Main Body
|
||||
#
|
||||
|
||||
# Initialize basic variables
|
||||
#
|
||||
$debug = 0;
|
||||
$id = getpgrp(); # note, you *must* use a shell which does setpgrp()
|
||||
$state = $STATE_NONE;
|
||||
$login = getlogin || (getpwuid($<))[0] || "nobody";
|
||||
chop($hostname = `hostname`);
|
||||
chop($domainname = `domainname`);
|
||||
if ($domainname !~ '^\..*') {
|
||||
$domainname = '.' . $domainname;
|
||||
}
|
||||
$hostdomain = $hostname . $domainname;
|
||||
$cvsroot = $ENV{'CVSROOT'};
|
||||
$do_status = 1; # moderately useful
|
||||
$show_wd = 0; # useless in client/server
|
||||
$modulename = "";
|
||||
|
||||
# parse command line arguments (file list is seen as one arg)
|
||||
#
|
||||
while (@ARGV) {
|
||||
$arg = shift @ARGV;
|
||||
|
||||
if ($arg eq '-d') {
|
||||
$debug = 1;
|
||||
print STDERR "Debug turned on...\n";
|
||||
} elsif ($arg eq '-m') {
|
||||
if ($mailto eq '') {
|
||||
$mailto = shift @ARGV;
|
||||
} else {
|
||||
$mailto = $mailto . ", " . shift @ARGV;
|
||||
}
|
||||
} elsif ($arg eq '-R') {
|
||||
if ($replyto eq '') {
|
||||
$replyto = shift @ARGV;
|
||||
} else {
|
||||
$replyto = $replyto . ", " . shift @ARGV;
|
||||
}
|
||||
} elsif ($arg eq '-M') {
|
||||
$modulename = shift @ARGV;
|
||||
} elsif ($arg eq '-s') {
|
||||
$do_status = 0;
|
||||
} elsif ($arg eq '-w') {
|
||||
$show_wd = 1;
|
||||
} elsif ($arg eq '-f') {
|
||||
($commitlog) && die("Too many '-f' args\n");
|
||||
$commitlog = shift @ARGV;
|
||||
} else {
|
||||
($donefiles) && die("Too many arguments! Check usage.\n");
|
||||
$donefiles = 1;
|
||||
@files = split(/ /, $arg);
|
||||
}
|
||||
}
|
||||
($mailto) || die("No mail recipient specified (use -m)\n");
|
||||
if ($replyto eq '') {
|
||||
$replyto = $login;
|
||||
}
|
||||
|
||||
# for now, the first "file" is the repository directory being committed,
|
||||
# relative to the $CVSROOT location
|
||||
#
|
||||
@path = split('/', $files[0]);
|
||||
|
||||
# XXX There are some ugly assumptions in here about module names and
|
||||
# XXX directories relative to the $CVSROOT location -- really should
|
||||
# XXX read $CVSROOT/CVSROOT/modules, but that's not so easy to do, since
|
||||
# XXX we have to parse it backwards.
|
||||
# XXX
|
||||
# XXX Fortunately it's relatively easy for the user to specify the
|
||||
# XXX module name as appropriate with a '-M' via the directory
|
||||
# XXX matching in loginfo.
|
||||
#
|
||||
if ($modulename eq "") {
|
||||
$modulename = $path[0]; # I.e. the module name == top-level dir
|
||||
}
|
||||
if ($#path == 0) {
|
||||
$dir = ".";
|
||||
} else {
|
||||
$dir = join('/', @path);
|
||||
}
|
||||
$dir = $dir . "/";
|
||||
|
||||
if ($debug) {
|
||||
print STDERR "module - ", $modulename, "\n";
|
||||
print STDERR "dir - ", $dir, "\n";
|
||||
print STDERR "path - ", join(":", @path), "\n";
|
||||
print STDERR "files - ", join(":", @files), "\n";
|
||||
print STDERR "id - ", $id, "\n";
|
||||
}
|
||||
|
||||
# Check for a new directory first. This appears with files set as follows:
|
||||
#
|
||||
# files[0] - "path/name/newdir"
|
||||
# files[1] - "-"
|
||||
# files[2] - "New"
|
||||
# files[3] - "directory"
|
||||
#
|
||||
if ($files[2] =~ /New/ && $files[3] =~ /directory/) {
|
||||
local(@text);
|
||||
|
||||
@text = ();
|
||||
push(@text, &build_header());
|
||||
push(@text, "");
|
||||
push(@text, $files[0]);
|
||||
push(@text, "");
|
||||
|
||||
while (<STDIN>) {
|
||||
chop; # Drop the newline
|
||||
push(@text, $_);
|
||||
}
|
||||
|
||||
&mail_notification($mailto, @text);
|
||||
|
||||
exit 0;
|
||||
}
|
||||
|
||||
# Check for an import command. This appears with files set as follows:
|
||||
#
|
||||
# files[0] - "path/name"
|
||||
# files[1] - "-"
|
||||
# files[2] - "Imported"
|
||||
# files[3] - "sources"
|
||||
#
|
||||
if ($files[2] =~ /Imported/ && $files[3] =~ /sources/) {
|
||||
local(@text);
|
||||
|
||||
@text = ();
|
||||
push(@text, &build_header());
|
||||
push(@text, "");
|
||||
push(@text, $files[0]);
|
||||
push(@text, "");
|
||||
|
||||
while (<STDIN>) {
|
||||
chop; # Drop the newline
|
||||
push(@text, $_);
|
||||
}
|
||||
|
||||
&mail_notification(@text);
|
||||
|
||||
exit 0;
|
||||
}
|
||||
|
||||
# Iterate over the body of the message collecting information.
|
||||
#
|
||||
while (<STDIN>) {
|
||||
chop; # Drop the newline
|
||||
|
||||
if (/^In directory/) {
|
||||
if ($show_wd) { # useless in client/server mode
|
||||
push(@log_lines, $_);
|
||||
push(@log_lines, "");
|
||||
}
|
||||
next;
|
||||
}
|
||||
|
||||
if (/^Modified Files/) { $state = $STATE_CHANGED; next; }
|
||||
if (/^Added Files/) { $state = $STATE_ADDED; next; }
|
||||
if (/^Removed Files/) { $state = $STATE_REMOVED; next; }
|
||||
if (/^Log Message/) { $state = $STATE_LOG; next; }
|
||||
|
||||
s/^[ \t\n]+//; # delete leading whitespace
|
||||
s/[ \t\n]+$//; # delete trailing whitespace
|
||||
|
||||
if ($state == $STATE_CHANGED) { push(@changed_files, split); }
|
||||
if ($state == $STATE_ADDED) { push(@added_files, split); }
|
||||
if ($state == $STATE_REMOVED) { push(@removed_files, split); }
|
||||
if ($state == $STATE_LOG) {
|
||||
if( /^See[ ]ChangeLog:[ ](.*)/ ) {
|
||||
$changelog = $1;
|
||||
$okay = false;
|
||||
open(RCS, "-|") || exec 'cvs', '-Qn', 'update', '-p', 'ChangeLog';
|
||||
while (<RCS>) {
|
||||
if( /^$changelog .*/ ) {
|
||||
$okay = true;
|
||||
push(@log_lines, $_);
|
||||
}
|
||||
elsif( $okay ) {
|
||||
last if( /^[A-Z]+.*/ );
|
||||
push(@log_lines, $_);
|
||||
}
|
||||
}
|
||||
while (<RCS>) { ; }
|
||||
close(RCS);
|
||||
}
|
||||
else {
|
||||
push(@log_lines, $_);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Strip leading and trailing blank lines from the log message. Also
|
||||
# compress multiple blank lines in the body of the message down to a
|
||||
# single blank line.
|
||||
#
|
||||
while ($#log_lines > -1) {
|
||||
last if ($log_lines[0] ne "");
|
||||
shift(@log_lines);
|
||||
}
|
||||
while ($#log_lines > -1) {
|
||||
last if ($log_lines[$#log_lines] ne "");
|
||||
pop(@log_lines);
|
||||
}
|
||||
for ($i = $#log_lines; $i > 0; $i--) {
|
||||
if (($log_lines[$i - 1] eq "") && ($log_lines[$i] eq "")) {
|
||||
splice(@log_lines, $i, 1);
|
||||
}
|
||||
}
|
||||
|
||||
if ($debug) {
|
||||
print STDERR "Searching for log file index...";
|
||||
}
|
||||
# Find an index to a log file that matches this log message
|
||||
#
|
||||
for ($i = 0; ; $i++) {
|
||||
local(@text);
|
||||
|
||||
last if (! -e "$LOG_FILE.$i.$id"); # the next available one
|
||||
@text = &read_logfile("$LOG_FILE.$i.$id", "");
|
||||
last if ($#text == -1); # nothing in this file, use it
|
||||
last if (join(" ", @log_lines) eq join(" ", @text)); # it's the same log message as another
|
||||
}
|
||||
if ($debug) {
|
||||
print STDERR " found log file at $i.$id, now writing tmp files.\n";
|
||||
}
|
||||
|
||||
# Spit out the information gathered in this pass.
|
||||
#
|
||||
&append_names_to_file("$CHANGED_FILE.$i.$id", $dir, @changed_files);
|
||||
&append_names_to_file("$ADDED_FILE.$i.$id", $dir, @added_files);
|
||||
&append_names_to_file("$REMOVED_FILE.$i.$id", $dir, @removed_files);
|
||||
&write_logfile("$LOG_FILE.$i.$id", @log_lines);
|
||||
|
||||
# Check whether this is the last directory. If not, quit.
|
||||
#
|
||||
if ($debug) {
|
||||
print STDERR "Checking current dir against last dir.\n";
|
||||
}
|
||||
$_ = &read_line("$LAST_FILE.$id");
|
||||
|
||||
if ($_ ne $cvsroot . "/" . $files[0]) {
|
||||
if ($debug) {
|
||||
print STDERR sprintf("Current directory %s is not last directory %s.\n", $cvsroot . "/" .$files[0], $_);
|
||||
}
|
||||
exit 0;
|
||||
}
|
||||
if ($debug) {
|
||||
print STDERR sprintf("Current directory %s is last directory %s -- all commits done.\n", $files[0], $_);
|
||||
}
|
||||
|
||||
#
|
||||
# End Of Commits!
|
||||
#
|
||||
|
||||
# This is it. The commits are all finished. Lump everything together
|
||||
# into a single message, fire a copy off to the mailing list, and drop
|
||||
# it on the end of the Changes file.
|
||||
#
|
||||
|
||||
#
|
||||
# Produce the final compilation of the log messages
|
||||
#
|
||||
@text = ();
|
||||
@status_txt = ();
|
||||
push(@text, &build_header());
|
||||
push(@text, "");
|
||||
|
||||
for ($i = 0; ; $i++) {
|
||||
last if (! -e "$LOG_FILE.$i.$id"); # we're done them all!
|
||||
@lines = &read_logfile("$CHANGED_FILE.$i.$id", "");
|
||||
if ($#lines >= 0) {
|
||||
push(@text, "Modified files:");
|
||||
push(@text, &format_lists(@lines));
|
||||
}
|
||||
@lines = &read_logfile("$ADDED_FILE.$i.$id", "");
|
||||
if ($#lines >= 0) {
|
||||
push(@text, "Added files:");
|
||||
push(@text, &format_lists(@lines));
|
||||
}
|
||||
@lines = &read_logfile("$REMOVED_FILE.$i.$id", "");
|
||||
if ($#lines >= 0) {
|
||||
push(@text, "Removed files:");
|
||||
push(@text, &format_lists(@lines));
|
||||
}
|
||||
if ($#text >= 0) {
|
||||
push(@text, "");
|
||||
}
|
||||
@lines = &read_logfile("$LOG_FILE.$i.$id", "\t");
|
||||
if ($#lines >= 0) {
|
||||
push(@text, "Log message:");
|
||||
push(@text, @lines);
|
||||
push(@text, "");
|
||||
}
|
||||
if ($do_status) {
|
||||
local(@changed_files);
|
||||
|
||||
@changed_files = ();
|
||||
push(@changed_files, &read_logfile("$CHANGED_FILE.$i.$id", ""));
|
||||
push(@changed_files, &read_logfile("$ADDED_FILE.$i.$id", ""));
|
||||
push(@changed_files, &read_logfile("$REMOVED_FILE.$i.$id", ""));
|
||||
|
||||
if ($debug) {
|
||||
print STDERR "main: pre-sort changed_files = ", join(":", @changed_files), ".\n";
|
||||
}
|
||||
sort(@changed_files);
|
||||
if ($debug) {
|
||||
print STDERR "main: post-sort changed_files = ", join(":", @changed_files), ".\n";
|
||||
}
|
||||
|
||||
foreach $dofile (@changed_files) {
|
||||
if ($dofile =~ /\/$/) {
|
||||
next; # ignore the silly "dir" entries
|
||||
}
|
||||
if ($debug) {
|
||||
print STDERR "main(): doing 'cvs -nQq status -v $dofile'\n";
|
||||
}
|
||||
open(STATUS, "-|") || exec 'cvs', '-nQq', 'status', '-v', $dofile;
|
||||
while (<STATUS>) {
|
||||
chop;
|
||||
push(@status_txt, $_);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Write to the commitlog file
|
||||
#
|
||||
if ($commitlog) {
|
||||
&write_commitlog($commitlog, @text);
|
||||
}
|
||||
|
||||
if ($#status_txt >= 0) {
|
||||
push(@text, @status_txt);
|
||||
}
|
||||
|
||||
# Mailout the notification.
|
||||
#
|
||||
&mail_notification(@text);
|
||||
|
||||
# cleanup
|
||||
#
|
||||
if (! $debug) {
|
||||
&cleanup_tmpfiles();
|
||||
}
|
||||
|
||||
exit 0;
|
|
@ -1,70 +0,0 @@
|
|||
#!/bin/sh
|
||||
# mail a compressed version of the current translation to the Last-Translator
|
||||
#
|
||||
|
||||
# remove the colon to armor this script.
|
||||
SENDMAIL=": /usr/sbin/sendmail"
|
||||
|
||||
for file in *.po; do
|
||||
addr=$(awk '/Last-Translator:/ { printf "%s", $0; exit 0}' $file | sed 's/.*\(<.*>\).*/\1/')
|
||||
ll=$(basename $file .po)
|
||||
|
||||
if ! msgfmt -vc $file 2>&1| egrep -q 'fuzzy|untranslated|error'; then
|
||||
echo "$file: okay" >&2
|
||||
continue;
|
||||
fi
|
||||
|
||||
if ! echo "$addr" | grep -q @ ; then
|
||||
echo "$file: no translator known" >&2
|
||||
continue;
|
||||
fi
|
||||
|
||||
echo "$file: sending to $addr"
|
||||
( cat <<EOF
|
||||
From: translations@gnupg.org
|
||||
To: $addr
|
||||
Subject: GnuPG translation ($ll)
|
||||
Mime-Version: 1.0
|
||||
Content-Type: multipart/mixed; boundary="=-=-="
|
||||
|
||||
--=-=-=
|
||||
|
||||
Hi!
|
||||
|
||||
Please find attached the latest version of the PO file for your GnuPG
|
||||
translation ($file). I would appreciate if you can fix any remaining
|
||||
fuzzy or untranslated entries. If you need access to the code
|
||||
please use http://cvs.gnupg.org or get the latest snapshot at
|
||||
ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/gnupg-1.1.92.tar.gz
|
||||
|
||||
IMHO it is important to have a basic understanding of GnuPG's
|
||||
functionality to do a correct translation. A false translation might
|
||||
need to security problems. This is the reason why I prefer to contact
|
||||
you directly and not to work only with the TP Robot.
|
||||
|
||||
Output of msgfmt is:
|
||||
$(msgfmt --check --statistics $file 2>&1 | head)
|
||||
|
||||
If you are not able to continue the translation work, I suggest to
|
||||
pass this message on to another translator and drop me a short note.
|
||||
|
||||
Thanks,
|
||||
|
||||
Werner
|
||||
|
||||
|
||||
--=-=-=
|
||||
Content-Type: application/octet-stream
|
||||
Content-Disposition: attachment; filename=gnupg-${file}.gz
|
||||
Content-Transfer-Encoding: base64
|
||||
|
||||
EOF
|
||||
|
||||
gzip <$file | mimencode
|
||||
|
||||
echo ""
|
||||
echo "--=-=-=--"
|
||||
echo ""
|
||||
) | $SENDMAIL -oi "$addr"
|
||||
|
||||
done
|
|
@ -1,46 +0,0 @@
|
|||
#!/bin/sh
|
||||
# Helper to create the texinfo versions from gpg.sgml
|
||||
#
|
||||
# Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; as a special exception the author gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
set -e
|
||||
|
||||
for file in gpg gpgv; do
|
||||
sgml2xml -x lower ${file}.sgml >${file}.xml
|
||||
docbook2texi ${file}.xml | sed 's,--,---,' | (
|
||||
case "$file" in
|
||||
*gpgv)
|
||||
sed '/@setfilename/a \
|
||||
@dircategory GnuPG\
|
||||
@direntry\
|
||||
* gpgv: (gpgv). GnuPG signature verification tool.\
|
||||
@end direntry
|
||||
'
|
||||
;;
|
||||
|
||||
gpg)
|
||||
sed '/@setfilename/a \
|
||||
@dircategory GnuPG\
|
||||
@direntry\
|
||||
* gpg: (gpg). GnuPG encryption and signing tool.\
|
||||
@end direntry
|
||||
'
|
||||
;;
|
||||
|
||||
*)
|
||||
cat
|
||||
;;
|
||||
esac
|
||||
) >${file}.texi
|
||||
done
|
||||
|
||||
|
||||
|
|
@ -1,90 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2000, 2001 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; as a special exception the author gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
set -e
|
||||
|
||||
cd dist-w32
|
||||
|
||||
bindir=..
|
||||
|
||||
if [ -f ../README ]; then
|
||||
srcdir=..
|
||||
elif [ -f ../../README ]; then
|
||||
srcdir=../..
|
||||
bindir=..
|
||||
elif [ -f ../../gnupg-stable/README ]; then
|
||||
srcdir=../../gnupg-stable
|
||||
elif [ -f ../../../gnupg-stable/README ]; then
|
||||
srcdir=../../../gnupg-stable
|
||||
else
|
||||
echo "cannot figure out the source dir" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
version=$(sed -n 's/^#[ ]*define[ ][ ]*VERSION[ ][ ]*\"\([0-9.]*\)\"/\1/p' $bindir/config.h)
|
||||
echo "building version $version"
|
||||
|
||||
rm * || true
|
||||
|
||||
cp ${bindir}/g10/gpg.exe gpg.exe
|
||||
mingw32 strip gpg.exe
|
||||
cp ${bindir}/g10/gpgv.exe gpgv.exe
|
||||
mingw32 strip gpgv.exe
|
||||
cp ${bindir}/tools/gpgsplit.exe gpgsplit.exe
|
||||
mingw32 strip gpgsplit.exe
|
||||
|
||||
for i in FAQ; do
|
||||
cp ${bindir}/doc/$i .
|
||||
todos $i
|
||||
done
|
||||
man -Tlatin1 -l ${srcdir}/doc/gpg.1 | sed `printf "s/\b.//g"` >gpg.man
|
||||
todos gpg.man
|
||||
man -Tlatin1 -l ${srcdir}/doc/gpgv.1 | sed `printf "s/\b.//g"` >gpgv.man
|
||||
todos gpgv.man
|
||||
man -Tlatin1 -l ${srcdir}/doc/gnupg.7 | sed `printf "s/\b.//g"` >gnupg.man
|
||||
todos gnupg.man
|
||||
for i in README COPYING; do
|
||||
cp ${srcdir}/$i .
|
||||
todos $i
|
||||
done
|
||||
for i in README.W32 gnupg-w32.reg; do
|
||||
cp ${srcdir}/doc/$i .
|
||||
todos $i
|
||||
done
|
||||
|
||||
|
||||
for i in ${srcdir}/po/*.po; do
|
||||
lang=$(basename $i .po)
|
||||
fromset=`sed -n '/^"Content-Type:/ s/.*charset=\([a-zA-Z0-9_-]*\).*/\1/p' $i`
|
||||
case $lang in
|
||||
cs|pl) toset="CP1250" ;;
|
||||
tr) toset="CP1254" ;; # DOS: CP857
|
||||
el) toset="CP1253" ;; # same as latin-7?
|
||||
el|eo|et|ja) toset="" ;;
|
||||
*) toset="CP850" ;;
|
||||
esac
|
||||
if [ -n "$toset" ]; then
|
||||
echo "$lang: converting from $fromset to $toset" >&2
|
||||
iconv --silent --from-code=$fromset --to-code=$toset < $i | \
|
||||
sed "/^\"Content-Type:/ s/charset=[a-zA-Z0-9_-]*/charset=$toset/" | \
|
||||
msgfmt --output-file=$lang.mo -
|
||||
else
|
||||
echo "$lang: keeping $fromset" >&2
|
||||
msgfmt --output-file=$lang.mo $i
|
||||
fi
|
||||
done
|
||||
zip -9 "gnupg-w32cli-${version}.zip" *
|
||||
|
||||
|
||||
|
||||
|
115
scripts/mkdiff
115
scripts/mkdiff
|
@ -1,115 +0,0 @@
|
|||
#!/bin/sh
|
||||
# Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; as a special exception the author gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
# Please note that this script is now maintained outside of GNUPG.
|
||||
# To get the most up to date version use
|
||||
# cvs -d :pserver:anoncvs@cvs.gnupg.org:/cvs/wk checkout misc-scripts/mkdiff
|
||||
|
||||
if [ $# != 1 ] ; then
|
||||
echo "usage: mkdiff package-name" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
pack="$1"
|
||||
|
||||
set -e
|
||||
|
||||
curr_ver=$(ls $pack-*.tar.gz 2>/dev/null | sed "s/^$pack-\(.*\)\.tar\.gz/\1/"\
|
||||
| sort -r -t '.' -n +0 -1 +1 -2 +2 | head -1 )
|
||||
if [ ! -f $pack-$curr_ver.tar.gz ]; then
|
||||
echo "mkdiff: no current version of package $pack found" >&2
|
||||
exit 1
|
||||
fi
|
||||
prev_ver=$(ls $pack-*.tar.gz 2>/dev/null | sed "s/^$pack-\(.*\)\.tar\.gz/\1/"\
|
||||
| sort -r -t '.' -n +0 -1 +1 -2 +2 | head -2 | tail -1 )
|
||||
if [ "$prev_ver" = "$curr_ver" ]; then
|
||||
echo "mkdiff: no previous version of package $pack found" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Current is: $pack-$curr_ver"
|
||||
echo "Previous is: $pack-$prev_ver"
|
||||
|
||||
|
||||
echo "Removing old directories"
|
||||
[ -d "$pack-$curr_ver" ] && rm -rf "$pack-$curr_ver"
|
||||
[ -d "$pack-$prev_ver" ] && rm -rf "$pack-$prev_ver"
|
||||
|
||||
echo "Unpacking previous and current tar"
|
||||
tar xzf "$pack-$curr_ver.tar.gz"
|
||||
rm -f $pack-${curr_ver}/po/*.gmo
|
||||
tar xzf "$pack-$prev_ver.tar.gz"
|
||||
rm -f $pack-${prev_ver}/po/*.gmo
|
||||
|
||||
|
||||
echo "Diffing"
|
||||
tmp_name="$pack-$prev_ver-$curr_ver.diff.tmp"
|
||||
diff_name="$pack-$prev_ver-$curr_ver.diff"
|
||||
|
||||
diff -urN "$pack-$prev_ver/" "$pack-$curr_ver/" > $tmp_name || true
|
||||
|
||||
echo "Making patch file"
|
||||
|
||||
cat <<EOF > $diff_name
|
||||
|
||||
This is a patch file to create version $curr_ver from $prev_ver.
|
||||
|
||||
Please check the signature of this patch file:
|
||||
|
||||
zcat somepath/$pack-$prev_ver-$curr_ver.diff.gz | gpg --verify
|
||||
|
||||
Change to directory $pack-$prev_ver (or however you renamed it)
|
||||
and give this command:
|
||||
|
||||
zcat somepath/$pack-$prev_ver-$curr_ver.diff.gz | patch -p1
|
||||
|
||||
It is a good idea to rename your current directory to $pack-$curr_ver now.
|
||||
|
||||
|
||||
|
||||
Prereq: $prev_ver
|
||||
|
||||
EOF
|
||||
|
||||
sed -ne '/^diff.*VERSION/,/^+[0-9][0-9]*/ p' $tmp_name >> $diff_name
|
||||
echo >> $diff_name
|
||||
sed -e '/^diff.*VERSION/,/^+[0-9][0-9]*/ d' $tmp_name >> $diff_name
|
||||
|
||||
rm $tmp_name
|
||||
|
||||
echo "Signing and compressing patch file"
|
||||
gpg --clearsign --not-dash-escaped -u 57548DCD \
|
||||
< $diff_name | gzip --best > $diff_name.gz
|
||||
rm $diff_name
|
||||
|
||||
echo "Checking patch file"
|
||||
cd $pack-$prev_ver
|
||||
zcat ../$diff_name.gz | patch -s -p1
|
||||
rm $(find . -name "*.orig") 2>/dev/null || true
|
||||
cd ..
|
||||
|
||||
if ! diff -urN "$pack-$prev_ver/" "$pack-$curr_ver/" >/dev/null ; then
|
||||
echo "compare failed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! zcat $diff_name.gz | gpg --batch --verify ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
echo "cleaning up"
|
||||
|
||||
rm -rf "$pack-$curr_ver"
|
||||
rm -rf "$pack-$prev_ver"
|
||||
|
||||
echo "Patch file $diff_name.gz is good."
|
||||
|
|
@ -1,101 +0,0 @@
|
|||
#! /bin/sh
|
||||
# mkinstalldirs --- make directory hierarchy
|
||||
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
|
||||
# Created: 1993-05-16
|
||||
# Public domain
|
||||
|
||||
# $Id$
|
||||
|
||||
errstatus=0
|
||||
dirmode=""
|
||||
|
||||
usage="\
|
||||
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
|
||||
|
||||
# process command line arguments
|
||||
while test $# -gt 0 ; do
|
||||
case "${1}" in
|
||||
-h | --help | --h* ) # -h for help
|
||||
echo "${usage}" 1>&2; exit 0 ;;
|
||||
-m ) # -m PERM arg
|
||||
shift
|
||||
test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
|
||||
dirmode="${1}"
|
||||
shift ;;
|
||||
-- ) shift; break ;; # stop option processing
|
||||
-* ) echo "${usage}" 1>&2; exit 1 ;; # unknown option
|
||||
* ) break ;; # first non-opt arg
|
||||
esac
|
||||
done
|
||||
|
||||
for file
|
||||
do
|
||||
if test -d "$file"; then
|
||||
shift
|
||||
else
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
case $# in
|
||||
0) exit 0 ;;
|
||||
esac
|
||||
|
||||
case $dirmode in
|
||||
'')
|
||||
if mkdir -p -- . 2>/dev/null; then
|
||||
echo "mkdir -p -- $*"
|
||||
exec mkdir -p -- "$@"
|
||||
fi ;;
|
||||
*)
|
||||
if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
|
||||
echo "mkdir -m $dirmode -p -- $*"
|
||||
exec mkdir -m "$dirmode" -p -- "$@"
|
||||
fi ;;
|
||||
esac
|
||||
|
||||
for file
|
||||
do
|
||||
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
|
||||
shift
|
||||
|
||||
pathcomp=
|
||||
for d
|
||||
do
|
||||
pathcomp="$pathcomp$d"
|
||||
case "$pathcomp" in
|
||||
-* ) pathcomp=./$pathcomp ;;
|
||||
esac
|
||||
|
||||
if test ! -d "$pathcomp"; then
|
||||
echo "mkdir $pathcomp"
|
||||
|
||||
mkdir "$pathcomp" || lasterr=$?
|
||||
|
||||
if test ! -d "$pathcomp"; then
|
||||
errstatus=$lasterr
|
||||
else
|
||||
if test ! -z "$dirmode"; then
|
||||
echo "chmod $dirmode $pathcomp"
|
||||
|
||||
lasterr=""
|
||||
chmod "$dirmode" "$pathcomp" || lasterr=$?
|
||||
|
||||
if test ! -z "$lasterr"; then
|
||||
errstatus=$lasterr
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
pathcomp="$pathcomp/"
|
||||
done
|
||||
done
|
||||
|
||||
exit $errstatus
|
||||
|
||||
# Local Variables:
|
||||
# mode: shell-script
|
||||
# sh-indentation: 3
|
||||
# End:
|
||||
# mkinstalldirs ends here
|
|
@ -1,79 +0,0 @@
|
|||
#!/bin/sh
|
||||
# Make a snapshot of the CVS head revision
|
||||
|
||||
exec >>/home/koch/mksnapshot.log 2>&1
|
||||
|
||||
echo "Started at `date`."
|
||||
set -e
|
||||
|
||||
ftp_dir=$1
|
||||
|
||||
cd $HOME/pub
|
||||
PATH="$HOME/bin:$PATH"
|
||||
|
||||
fix_version () {
|
||||
version=$(cat $1/VERSION)
|
||||
echo "$version-snap$(date +%Y-%m-%d)" >$1/VERSION
|
||||
cat <<EOF >$1/SNAPSHOT
|
||||
WARNING!
|
||||
|
||||
This is a snapshot of the current CVS head branch!
|
||||
|
||||
It may not compile or not work. Please don't report
|
||||
bugs about this snapshot release it is just for your
|
||||
convenience and to reduce the load of out CVS server.
|
||||
|
||||
Thanks,
|
||||
|
||||
Werner
|
||||
EOF
|
||||
}
|
||||
|
||||
build_dist () {
|
||||
set +e
|
||||
nice scripts/autogen.sh && nice ./configure && nice make dist
|
||||
if ! awk '
|
||||
/^diff gnupg-snapshot\/VERSION/ { getline; getline; getline; getline; next }
|
||||
/^Common subdirectories:/ { next }
|
||||
/~$/ { next }
|
||||
{ exit 1 }
|
||||
' ; then
|
||||
# Okay, we have some changes and it is not only the version number
|
||||
rm $ftp_dir/gnupg-*snap*-*-*.tar.gz
|
||||
mv gnupg-*.tar.gz $ftp_dir/
|
||||
fi
|
||||
make distclean
|
||||
set -e
|
||||
}
|
||||
|
||||
|
||||
|
||||
do_export () {
|
||||
pgm=$1
|
||||
mod=$2
|
||||
|
||||
rm -rf $pgm.new || true
|
||||
rm -rf $pgm.old || true
|
||||
cvs -Q export -r HEAD -d $pgm.new $mod
|
||||
fix_version $pgm.new
|
||||
if [ -n "$ftp_dir" ]; then
|
||||
here=$(pwd)
|
||||
cd $pgm.new
|
||||
build_dist
|
||||
cd $here
|
||||
fi
|
||||
[ -d $pgm ] && mv $pgm $pgm.old
|
||||
if ! mv $pgm.new $pgm ; then
|
||||
echo "rename failed - restoring" >&2
|
||||
mv $pgm.old $pgm
|
||||
exit 1
|
||||
fi
|
||||
rm -rf $pgm.old || true
|
||||
}
|
||||
|
||||
|
||||
do_export gnupg-snapshot gnupg
|
||||
|
||||
echo "Ended at `date`."
|
||||
exit 0
|
||||
|
|
@ -1,105 +0,0 @@
|
|||
#!/bin/sh
|
||||
# Make a snapshot of the CVS head revision for the gnupg webpages
|
||||
|
||||
|
||||
set -e
|
||||
|
||||
cd $HOME/pub
|
||||
|
||||
extract_date () {
|
||||
# This strange construct is to speed up things. Grouping a "s" and a "q"
|
||||
# does not work. Anyway we should use awk instead.
|
||||
# Have to quote the I from $Id so that CVS does not expand it
|
||||
sed '/^.*\$[I]d:.*\$.*$/q' $1 |
|
||||
sed -n 's!^.*\$[I]d: [^ ]\+ [^ ]\+ \([0-9]*\)/\([0-9]*\)/\([0-9]*\) [^ ]\+ \([^ ]\+\).*$!\1-\2-\3 \4!p'
|
||||
}
|
||||
|
||||
# We have to edit most files
|
||||
sed_it () {
|
||||
src=$1
|
||||
dst=$2
|
||||
|
||||
for srcdir in `find $src -type d -print` ; do
|
||||
dstdir=`echo "$srcdir" | sed "s/^$src/$dst/g"`
|
||||
mkdir $dstdir || true
|
||||
for sf in `find $srcdir -type f -maxdepth 1 -print`; do
|
||||
updated=`extract_date $sf`
|
||||
df="$dstdir/`basename $sf`"
|
||||
case "$df" in
|
||||
*.html)
|
||||
sed "/@FOOTER@/ {
|
||||
r $src/footer.html.inc
|
||||
d
|
||||
}
|
||||
/^<body>$/ {
|
||||
r $src/body-tag.html.inc
|
||||
d
|
||||
}
|
||||
/@UPDATED@/c\\
|
||||
Updated: $updated \\
|
||||
<hr>
|
||||
/@INSERT_BUGLIST_HERE@/ {
|
||||
r $src/BUGS
|
||||
d
|
||||
}
|
||||
/@HOSTEDBY@/ {
|
||||
r $src/hostedby.html.inc
|
||||
d
|
||||
}
|
||||
" $sf > $df
|
||||
;;
|
||||
*.html.inc | *~ | *.tmp | */BUGS )
|
||||
:
|
||||
;;
|
||||
*)
|
||||
cat $sf > $df
|
||||
;;
|
||||
esac
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
do_export () {
|
||||
pgm=$1
|
||||
mod=$2
|
||||
|
||||
rm -rf $pgm.tmp 2>/dev/null || true
|
||||
rm -rf $pgm.new || true
|
||||
rm -rf $pgm.old || true
|
||||
cvs -Q export -r HEAD -d $pgm.tmp $mod
|
||||
cat <<EOF >$pgm.tmp/NEWS
|
||||
[ This is a snapshot of the NEWS file from the CVS head revision.
|
||||
You will find the NEWS for the latest revision below the line
|
||||
"Noteworthy changes in version 0.x.y".
|
||||
(wk $(date +%Y-%m-%d)) ]
|
||||
|
||||
|
||||
EOF
|
||||
cvs -Q checkout -p gnupg/NEWS >>$pgm.tmp/NEWS
|
||||
cvs -Q checkout -p gnupg/BUGS | sed '1,/^~~~~~~~~~~~/ d' > $pgm.tmp/BUGS
|
||||
echo "(List generated from CVS: " $(date +%Y-%m-%d) ")" >> $pgm.tmp/BUGS
|
||||
sed_it $pgm.tmp $pgm.new
|
||||
rm -rf $pgm.tmp || true
|
||||
ln -sf gnupg.html $pgm.new/index.html
|
||||
|
||||
rm -rf $pgm.old || true
|
||||
[ -d $pgm ] && mv $pgm $pgm.old
|
||||
if ! mv $pgm.new $pgm ; then
|
||||
echo "rename failed - restoring" >&2
|
||||
mv $pgm.old $pgm
|
||||
exit 1
|
||||
fi
|
||||
rm -rf $pgm.old || true
|
||||
}
|
||||
|
||||
|
||||
do_export gnupg-www gnupg-www
|
||||
|
||||
#cd gnupg-www
|
||||
#tar czf /home/ftp/pub/gcrypt/.old/webpages.tmp *
|
||||
#mv /home/ftp/pub/gcrypt/old/webpages.tmp /home/ftp/pub/gcrypt/old/webpages.tar.gz
|
||||
|
||||
|
||||
exit 0
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue