summaryrefslogtreecommitdiff
path: root/security/rsaref/files
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-02-02 20:11:08 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-02-02 20:11:08 +0000
commit1156f5bc0109c47c62878e7bbcf75fc2957396ca (patch)
tree67e332238d0ce675c0cb1468ec82f68a255014d5 /security/rsaref/files
parentFix a typo. (diff)
encryption/authentication library, RSA/MDX/DES
Notes
Notes: svn path=/head/; revision=5504
Diffstat (limited to 'security/rsaref/files')
-rw-r--r--security/rsaref/files/Makefile25
-rw-r--r--security/rsaref/files/patch-aa23
2 files changed, 48 insertions, 0 deletions
diff --git a/security/rsaref/files/Makefile b/security/rsaref/files/Makefile
new file mode 100644
index 000000000000..1ad713a527d9
--- /dev/null
+++ b/security/rsaref/files/Makefile
@@ -0,0 +1,25 @@
+O= o
+SO= so
+LIB= ar
+
+.SUFFIXES: .c .so .o
+
+.c.so:
+ ${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
+
+RSAREFLIB=librsaref.a
+SORSAREFLIB=librsaref.so.2.0
+
+all: ${RSAREFLIB} ${SORSAREFLIB}
+
+$(RSAREFLIB) : desc.$(O) digit.$(O) md2c.$(O) md5c.$(O) nn.$(O) prime.$(O)\
+ rsa.$(O) r_encode.$(O) r_dh.$(O) r_enhanc.$(O) r_keygen.$(O) r_random.$(O)\
+ r_stdlib.$(O)
+ $(LIB) rc $@ $>
+ ranlib $@
+
+$(SORSAREFLIB) : desc.$(SO) digit.$(SO) md2c.$(SO) md5c.$(SO) nn.$(SO) prime.$(SO)\
+ rsa.$(SO) r_encode.$(SO) r_dh.$(SO) r_enhanc.$(SO) r_keygen.$(SO) r_random.$(SO)\
+ r_stdlib.$(SO)
+ ld -Bshareable -x -o $@ $>
+
diff --git a/security/rsaref/files/patch-aa b/security/rsaref/files/patch-aa
new file mode 100644
index 000000000000..582a86c63139
--- /dev/null
+++ b/security/rsaref/files/patch-aa
@@ -0,0 +1,23 @@
+*** rsaref.h.bak Fri Mar 25 22:01:49 1994
+--- rsaref.h Sun Feb 2 22:30:11 1997
+***************
+*** 8,16 ****
+ #ifndef _RSAREF_H_
+ #define _RSAREF_H_ 1
+
+! #include "md2.h"
+! #include "md5.h"
+! #include "des.h"
+
+ #ifdef __cplusplus
+ extern "C" {
+--- 8,16 ----
+ #ifndef _RSAREF_H_
+ #define _RSAREF_H_ 1
+
+! #include "_md2.h"
+! #include "_md5.h"
+! #include "_des.h"
+
+ #ifdef __cplusplus
+ extern "C" {