- 07-FEB-2001, David Mathog, mathog@caltech.edu    (Install notes version 3)   8 These notes describe how to install gnupg 1.0.4 on a VMSA system.  This port has not been tested extensively - use entirely ) at your own risk! (It is very unclear if  3 the rndvms.c function works - or ever gets called!)   6 1.  This distribution is based on 1.0.4 obtained from :     ftp.gnupg.org, unpacked.  There was one security patchA     which was applied on a unix system and the files copied over. @     MAKE_VMS.COM is based on that from 1.0.2 and differs only in     minor details.  6 2.  set default to the top level of that distribution.   3.  Obtain the VMS port from    A     http://seqaxp.bio.caltech.edu/pub/SOFTWARE/gnupg1_0_4_vms.zip   D     (Hopefully this is legal.  If not, it will be replaced by a diff1     between the distribution and my VMS variant.)   I 4.  Unpack it in the top level of the gnupg distribution.  You will find       the following files:  )     AAA_VMS_INSTALL.TXT         This file 1     AAA_VMS_PORT_NOTES.TXT      Notes on the port A     GPG_MAN.HTML                GnuPG man page, converted to html 9     MAKE_VMS.COM                Build procedure for GnuPG :     VMS_CONFIG.H                files needed for the build!     VMS_G10DEFS.H               " !     RNDVMS.C                    " !     VMS_CONSTRUCT.C             "   @ 5.  The following files WERE edited in this version.  (You don't     need to do it yourself.)  N $ diff PRGDISK:[SHARED.PROGRAMS.GNUPG.GNUPG-1_0_4.G10]KEYGEN.C KEYGEN.C_DIST;1 ************> File PRGDISK:[SHARED.PROGRAMS.GNUPG.GNUPG-1_0_2.G10]KEYGEN.C;2D   732   /*          if( (time_t)((ulong)(curtime+interval)) < 0 ) */C   733               if( (long int)((ulong)(curtime+interval)) < 0 ) F   734                   tty_printf(_("Your system can't display dates  beyond 2038.\n"  ******C File PRGDISK:[SHARED.PROGRAMS.GNUPG.GNUPG-1_0_2.G10]KEYGEN.C_DIST;1 A   732               if( (time_t)((ulong)(curtime+interval)) < 0 ) F   733                   tty_printf(_("Your system can't display dates  beyond 2038.\n"  ************   $ diff ttyio.c .c_dist ************> File PRGDISK:[SHARED.PROGRAMS.GNUPG.GNUPG-1_0_4.UTIL]TTYIO.C;4@   123       ttyfp = batchmode? stderr : fopen(TERMDEVICE, "r+");   124       if( !ttyfp ) {W   125           log_error("cannot open terminal%s: %s\n", TERMDEVICE,strerror(errno) );    126           exit(2);
   127       }    128    129     #endif ******C File PRGDISK:[SHARED.PROGRAMS.GNUPG.GNUPG-1_0_2.UTIL]TTYIO.C_DIST;1 @   123       ttyfp = batchmode? stderr : fopen("/dev/tty", "r+");   124       if( !ttyfp ) {J   125           log_error("cannot open /dev/tty: %s\n", strerror(errno) );   126           exit(2);
   127       }    128     #endif ************  J 6.  There are Alpha binaries in this distribution.  If you need to rebuild     use:  #     @MAKE_VMS             (regular) *     @MAKE_VMS  anything   (debug versions)  8 7.  Define a symbol for gnupg.  Define the logicals for:  (     #define G10_LOCALEDIR "/GNUPGLOCALE"%     #define GNUPG_LIBDIR  "/GNUPGLIB" &     #define GNUPG_DATADIR "/GNUPGDATA"      On my system these are:  E   "GNUPGDATA" = "SEQAXP$DKA0:[SHARED.PROGRAMS.GNUPG.GNUPG-1_0_4.G10]"    "GNUPGLIB" = "NLA0:"J   "GNUPGLOCALE" = "SEQAXP$DKA0:[SHARED.PROGRAMS.GNUPG.GNUPG-1_0_4.LOCALE]"    