summaryrefslogtreecommitdiff
path: root/security/pgp2/patches
diff options
context:
space:
mode:
authortv <tv>1998-03-18 01:51:14 +0000
committertv <tv>1998-03-18 01:51:14 +0000
commita390868a269324ad44d3f4570a02b9ffd03dca9c (patch)
treecb81db56cb6a3655d7d8989b672608e932869582 /security/pgp2/patches
parentec42de8c0c89d4594fbe74fcc3b36e7ab830d580 (diff)
downloadpkgsrc-a390868a269324ad44d3f4570a02b9ffd03dca9c.tar.gz
Import of my version of FreeBSD's pgp 2.6 pkg, reengineered. Differences
from FreeBSD port: - uses our rsaref pkg if USE_RSAREF2 is YES - doesn't use USA_RESIDENT; instead uses USE_RSAREF2 since MIT students and staff may legally use mpilib instead of rsaref - builds 2.6.3a with rsaref as well as 2.6.3ia without (all based on the same sources) - uses asm routines on i386, sparc, and m68k
Diffstat (limited to 'security/pgp2/patches')
-rw-r--r--security/pgp2/patches/patch-aa48
1 files changed, 48 insertions, 0 deletions
diff --git a/security/pgp2/patches/patch-aa b/security/pgp2/patches/patch-aa
new file mode 100644
index 00000000000..367037d5fec
--- /dev/null
+++ b/security/pgp2/patches/patch-aa
@@ -0,0 +1,48 @@
+--- fileio.h.orig Sat Jan 6 14:46:36 1996
++++ fileio.h Tue Feb 17 19:49:06 1998
+@@ -21,15 +21,6 @@
+ #define FOPWPBIN "w+b","ctx=stm"
+ #else
+ #ifdef UNIX
+-/*
+- * Directory for system-wide files. Must end in a /, ready for
+- * dumb appending of the filename. (If not defined, it's not used.)
+- */
+-#ifdef LINUX
+-# define PGP_SYSTEM_DIR "/var/lib/pgp/"
+-#else
+-# define PGP_SYSTEM_DIR "/usr/local/lib/pgp/"
+-#endif
+ #define FOPRBIN "r"
+ #define FOPRTXT "r"
+ #define FOPWBIN "w"
+--- pgp.h.orig Mon Jan 15 15:19:29 1996
++++ pgp.h Tue Feb 17 19:24:28 1998
+@@ -12,6 +12,13 @@
+ #ifndef PGP_H
+ #define PGP_H
+
++#ifdef __NetBSD__
++#include <machine/ansi.h>
++#if BYTE_ORDER == BIG_ENDIAN
++#define HIGHFIRST
++#endif
++#endif
++
+ #include "usuals.h"
+ #include "more.h"
+ #include "armor.h"
+--- rsaglue2.c.orig Tue Jan 2 09:17:27 1996
++++ rsaglue2.c Tue Feb 17 19:24:28 1998
+@@ -52,9 +52,8 @@
+ Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc.\n\
+ Distributed by the Massachusetts Institute of Technology.\n");
+
+-#include <global.h>
+-#include <rsaref.h>
+-#include <rsa.h>
++#include <rsaref/rsaref.h>
++#include <rsaref/rsa.h>
+ /*
+ * The functions we call in rsa.h are:
+ *