diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2002-02-15 07:34:07 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2002-02-15 07:34:07 +0000 |
commit | daa8cb06f00b9558795f1028a6e661fb43ffe666 (patch) | |
tree | 8f6b82127b9767b676e72b573a665a5349295c36 /devel/tcl-trf/files/patch-loadman | |
parent | Initial import of p5-HTML-StickyQuery 0.07 (diff) |
From the software's self-description:
Trf is a TCL extension library. It extends the language
at the C-level with so-called ``transformer''-procedures.
The package is able to intercept all read/write operations
on designated channels, thus giving it the ability to
transform the buffer contents as desired. This allows
things like transparent encryption, compression, charset
recoding, etc. Build upon this framework (and as proof of
concept) a collection of tcl-level commands was implemented,
most of them related to cryptography.
WWW: http://www.oche.de/~akupries/soft/trf/
Notes
Notes:
svn path=/head/; revision=54735
Diffstat (limited to 'devel/tcl-trf/files/patch-loadman')
-rw-r--r-- | devel/tcl-trf/files/patch-loadman | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/devel/tcl-trf/files/patch-loadman b/devel/tcl-trf/files/patch-loadman new file mode 100644 index 000000000000..1561632dbb6d --- /dev/null +++ b/devel/tcl-trf/files/patch-loadman @@ -0,0 +1,53 @@ +--- generic/loadman.h Tue Mar 27 08:08:31 2001 ++++ generic/loadman.h Fri Feb 8 11:31:51 2002 +@@ -48,8 +48,7 @@ + + #ifdef HAVE_MD2_H +-# ifdef OPENSSL_SUB +-# include <openssl/md2.h> +-# else +-# include <md2.h> ++# include <md2.h> ++# ifndef MD2_DIGEST_LENGTH ++# define MD2_DIGEST_LENGTH 16 + # endif + #else +@@ -58,15 +57,10 @@ + + #ifdef HAVE_SHA_H +-# ifdef OPENSSL_SUB +-# include <openssl/sha.h> +-# else +-# include <sha.h> +-# endif ++# include <sha.h> + #else + # include "../compat/sha.h" + #endif + +-#include "../md5-crypt/md5.h" +- ++#include <md5.h> + + #ifdef TCL_STORAGE_CLASS +@@ -87,4 +81,5 @@ + */ + ++#if 0 + typedef struct Md2Functions { + long loaded; +@@ -114,7 +109,4 @@ + } sha1Functions; + +- +- +- + /* Global variables containing the vectors declared above. 99% of the time they + * are read, but during load a write is required, which has to be protected by +@@ -125,4 +117,6 @@ + EXTERN md5Functions md5f; /* THREADING: serialize initialization */ + EXTERN sha1Functions sha1f; /* THREADING: serialize initialization */ ++ ++#endif + + |