diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1997-02-02 20:11:08 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1997-02-02 20:11:08 +0000 |
commit | 1156f5bc0109c47c62878e7bbcf75fc2957396ca (patch) | |
tree | 67e332238d0ce675c0cb1468ec82f68a255014d5 /security/rsaref | |
parent | 4f4d441b7c1a410dc17e0f6705bdd4e7fdc23f93 (diff) | |
download | ports-1156f5bc0109c47c62878e7bbcf75fc2957396ca.tar.gz ports-1156f5bc0109c47c62878e7bbcf75fc2957396ca.zip |
Notes
Diffstat (limited to 'security/rsaref')
-rw-r--r-- | security/rsaref/Makefile | 41 | ||||
-rw-r--r-- | security/rsaref/distinfo | 1 | ||||
-rw-r--r-- | security/rsaref/files/Makefile | 25 | ||||
-rw-r--r-- | security/rsaref/files/patch-aa | 23 | ||||
-rw-r--r-- | security/rsaref/pkg-comment | 1 | ||||
-rw-r--r-- | security/rsaref/pkg-descr | 21 | ||||
-rw-r--r-- | security/rsaref/pkg-plist | 10 |
7 files changed, 122 insertions, 0 deletions
diff --git a/security/rsaref/Makefile b/security/rsaref/Makefile new file mode 100644 index 000000000000..5085ee4a5f3f --- /dev/null +++ b/security/rsaref/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: rsaref +# Version required: 2.0 +# +# Date created: 2 Feb 1997 +# Whom: ache +# +# $Id: Makefile,v 1.18 1996/11/18 14:13:26 asami Exp $ +# + +PKGNAME= rsaref-2.0 +DISTNAME= rsaref20.1996 +CATEGORIES= security +MASTER_SITES= ftp://utopia.hacktic.nl/pub/replay/pub/crypto/LIBS/rsa/ +EXTRACT_SUFX= .tar.Z + +MAINTAINER= ache@FreeBSD.ORG + +WRKSRC= ${WRKDIR}/source +RESTRICTED= "Crypto" + +pre-configure: + cp ${FILESDIR}/Makefile ${WRKSRC} + cd ${WRKSRC} && \ + cp des.h _des.h && \ + cp md2.h _md2.h && \ + cp md5.h _md5.h + +do-install: + cd ${WRKSRC} && \ + ${INSTALL_DATA} _des.h _md2.h _md5.h rsaref.h global.h \ + ${PREFIX}/include + cd ${WRKSRC} && \ + ${INSTALL_DATA} librsaref.a librsaref.so.2.0 \ + ${PREFIX}/lib + /sbin/ldconfig -m ${PREFIX}/lib + install -d -m 555 ${PREFIX}/share/doc/rsaref + cd ${WRKDIR}/doc && \ + ${INSTALL_DATA} info.txt rsaref.txt \ + ${PREFIX}/share/doc/rsaref + +.include <bsd.port.mk> diff --git a/security/rsaref/distinfo b/security/rsaref/distinfo new file mode 100644 index 000000000000..5f6217a531ed --- /dev/null +++ b/security/rsaref/distinfo @@ -0,0 +1 @@ +MD5 (rsaref20.1996.tar.Z) = 6b8df27a1b0b0f7dfb81adac2c222395 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" { diff --git a/security/rsaref/pkg-comment b/security/rsaref/pkg-comment new file mode 100644 index 000000000000..c4230f9ef13f --- /dev/null +++ b/security/rsaref/pkg-comment @@ -0,0 +1 @@ +encryption/authentication library, RSA/MDX/DES diff --git a/security/rsaref/pkg-descr b/security/rsaref/pkg-descr new file mode 100644 index 000000000000..b0d0b0948972 --- /dev/null +++ b/security/rsaref/pkg-descr @@ -0,0 +1,21 @@ +RSAREF is a free, portable software developer's library of popular +encryption and authentication algorithms. The name "RSAREF" means +"RSA reference." RSA Laboratories intends RSAREF to serve as a free, +educational reference implementation of modern public- and secret-key +cryptography. + +RSAREF 2.0 supports the following algorithms: + + o RSA encryption and key generation, as defined by RSA + Laboratories' Public-Key Cryptography Standards (PKCS) + + o MD2 and MD5 message digests + + o DES (Data Encryption Standard) in cipher-block chaining mode + + o Diffie-Hellman key agreement + + o DESX, RSA Data Security's efficient, secure DES enhancement + + o Triple-DES, for added security with three DES operations + diff --git a/security/rsaref/pkg-plist b/security/rsaref/pkg-plist new file mode 100644 index 000000000000..cac4ad9a28be --- /dev/null +++ b/security/rsaref/pkg-plist @@ -0,0 +1,10 @@ +lib/librsaref.a +lib/librsaref.so.2.0 +@exec /sbin/ldconfig -m %B +include/_md2.h +include/_md5.h +include/_des.h +include/global.h +include/rsaref.h +share/doc/rsaref/info.txt +share/doc/rsaref/rsaref.txt |