diff options
author | kris <kris@FreeBSD.org> | 2003-10-05 11:58:53 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2003-10-05 11:58:53 +0800 |
commit | 99f8a03e1c2d95f6b0576b005848682c09a73f1c (patch) | |
tree | 0d05301bfd3718fbe0414ade5767c0d150e24ed8 /security | |
parent | fdff39d78239ab64083941d360c13d32a1742eae (diff) | |
download | freebsd-ports-gnome-99f8a03e1c2d95f6b0576b005848682c09a73f1c.tar.gz freebsd-ports-gnome-99f8a03e1c2d95f6b0576b005848682c09a73f1c.tar.zst freebsd-ports-gnome-99f8a03e1c2d95f6b0576b005848682c09a73f1c.zip |
Remove the rsaref port, which fulfilled its usefulness a long time ago.
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/rsaref/Makefile | 55 | ||||
-rw-r--r-- | security/rsaref/distinfo | 1 | ||||
-rw-r--r-- | security/rsaref/files/LICENSE | 137 | ||||
-rw-r--r-- | security/rsaref/files/LICENSE.english | 73 | ||||
-rw-r--r-- | security/rsaref/files/Makefile | 30 | ||||
-rw-r--r-- | security/rsaref/files/patch-aa | 23 | ||||
-rw-r--r-- | security/rsaref/files/patch-ab | 22 | ||||
-rw-r--r-- | security/rsaref/files/patch-ac | 42 | ||||
-rw-r--r-- | security/rsaref/pkg-descr | 23 | ||||
-rw-r--r-- | security/rsaref/pkg-plist | 12 |
11 files changed, 0 insertions, 419 deletions
diff --git a/security/Makefile b/security/Makefile index 7110bce3557f..8e39fb3ea7cf 100644 --- a/security/Makefile +++ b/security/Makefile @@ -316,7 +316,6 @@ SUBDIR += rats SUBDIR += rc5pipe SUBDIR += rid - SUBDIR += rsaref SUBDIR += ruby-acl SUBDIR += ruby-aes SUBDIR += ruby-blowfish diff --git a/security/rsaref/Makefile b/security/rsaref/Makefile deleted file mode 100644 index fddfe26acaad..000000000000 --- a/security/rsaref/Makefile +++ /dev/null @@ -1,55 +0,0 @@ -# New ports collection makefile for: rsaref -# Date created: 2 Feb 1997 -# Whom: ache -# -# $FreeBSD$ -# - -PORTNAME= rsaref -PORTVERSION= 2.0 -CATEGORIES= security -MASTER_SITES= ftp://ftp.deva.net/pub/sources/crypto/ \ - ftp://ftp.kddlabs.co.jp/.7/inet/caida/bmwt/ \ - ftp://ftp.zedz.net/pub/crypto/crypto/LIBS/rsa/ \ - ftp://ftp.hacktic.nl/pub/crypto/crypto/LIBS/rsa/ \ - ftp://ftp.demon.net/pub/mirrors/crypto/replay/crypto/LIBS/rsa/ \ - ftp://ftp.funet.fi/pub/mirrors/utopia.hacktic.nl/crypto/LIBS/rsa/ \ - ftp://ftp.fu-berlin.de/unix/security/replay-mirror/crypto/LIBS/rsa/ -DISTNAME= rsaref20.1996 -EXTRACT_SUFX= .tar.Z - -MAINTAINER= kris@FreeBSD.ORG -COMMENT= Encryption/authentication library, RSA/MDX/DES - -WRKSRC= ${WRKDIR}/source - -INSTALLS_SHLIB= yes - -pre-extract: -.if !defined(BATCH) && !defined(PACKAGE_BUILDING) - /usr/bin/more -e ${FILESDIR}/LICENSE.english - /usr/bin/dialog --yesno "Do you accept the terms of the RSAREF license agreement and wish to proceed with the build?" 8 40 || ${FALSE} -.endif - -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: -.for file in rsa.h _des.h _md2.h _md5.h rsaref.h global.h - ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include -.endfor - ${INSTALL_DATA} ${WRKSRC}/librsaref.a ${WRKSRC}/librsaref.so.2 \ - ${PREFIX}/lib - ${LN} -sf librsaref.so.2 ${PREFIX}/lib/librsaref.so -.if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/rsaref -.for file in info.txt rsaref.txt - ${INSTALL_DATA} ${WRKSRC}/../doc/${file} ${PREFIX}/share/doc/rsaref -.endfor -.endif - -.include <bsd.port.mk> diff --git a/security/rsaref/distinfo b/security/rsaref/distinfo deleted file mode 100644 index 5f6217a531ed..000000000000 --- a/security/rsaref/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (rsaref20.1996.tar.Z) = 6b8df27a1b0b0f7dfb81adac2c222395 diff --git a/security/rsaref/files/LICENSE b/security/rsaref/files/LICENSE deleted file mode 100644 index 1ea977046067..000000000000 --- a/security/rsaref/files/LICENSE +++ /dev/null @@ -1,137 +0,0 @@ -RSA LABORATORIES RSAREF 2.0 PROGRAM LICENSE AGREEMENT - -RSA LABORATORIES, A DIVISION OF RSA DATA SECURITY, INC. ("RSA") -GRANTS YOU A LICENSE AS FOLLOWS TO THE "RSAREF" PROGRAM: - -1. LICENSE. RSA grants you a non-exclusive, non-transferable, - perpetual (subject to the conditions of Section 8) license for - the "RSAREF" program (the "Program") and its associated - documentation, subject to all of the following terms and - conditions: - - a. to use the Program on any computer; - - b. to make copies of the Program for back-up purposes; - - c. to modify the Program in any manner for porting or - performance improvement purposes (subject to Section 2) or - to incorporate the Program into other computer programs for - your own personal or internal use, provided that you provide - RSA with a copy of any such modification or Application - Program by electronic mail, and grant RSA a perpetual, - royalty-free license to use and distribute such - modifications and Application Programs on the terms set - forth in this Agreement. - - d. to copy and distribute the Program and Application Programs - in accordance with the limitations set forth in Section 2. - -"Application Programs" are programs which incorporate all or any -portion of the Program in any form. The restrictions imposed on -Application Programs in this Agreement shall not apply to any -software which, through the mere aggregation on distribution media, -is co-located or stored with the Program. - -2. LIMITATIONS ON LICENSE. - - a. RSA owns the Program and its associated documentation and - all copyrights therein. You may only use, copy, modify and - distribute the Program as expressly provided for in this - Agreement. You must reproduce and include this Agreement, - RSA's copyright notices and disclaimer of warranty on any - copy and its associated documentation. The Program and any - Application programs must be distributed with their source - code. - - b. The Program may not be used directly for revenue-generating - purposes. You may not: - - (i) use the Program to provide services to others for which - you are compensated in any manner; - - (ii) license or otherwise distribute any Application Program - in any manner that generates income to you, including - without limitation any income on account of license - fees, royalties, maintenance fees and upgrade fees; and - - (iii) license or otherwise distribute any Application - Program without the express written acknowledgment of - the end user that the Program will not be used in - connection with any revenue-generating activity of the - end user. - - Nothing in this paragraph prohibits you from using the - Program or any Application Program solely for internal - purposes on the premises of a business which is engaged in - revenue-generating activities. - - c. The Program, if modified, must carry prominent notices - stating that changes have been made, and the dates of any - such changes. - - d. Prior permission from RSA in writing is required for any - modifications that access the Program through ways other - than the published Program interface or for modifications to - the Program interface. (See the "What is it? RSAREF Supports - the Following Algorithms" and "What You Can (and Cannot) Do - With RSAREF," paragraph 4, all incorporated herein by - reference, for details.) RSA will grant all reasonable - requests for permission to make such modifications. - -3. NO RSA OBLIGATION. You are solely responsible for all of your - costs and expenses incurred in connection with the distribution - of the Program or any Application Program hereunder, and RSA - shall have no liability, obligation or responsibility therefor. - RSA shall have no obligation to provide maintenance, support, - upgrades or new releases to you or to any distributee of the - Program or any Application Program. - -4. NO WARRANTY OF PERFORMANCE. THE PROGRAM AND ITS ASSOCIATED - DOCUMENTATION ARE LICENSED "AS IS" WITHOUT WARRANTY AS TO THEIR - PERFORMANCE, MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR - PURPOSE. THE ENTIRE RISK AS TO THE RESULTS AND PERFORMANCE OF - THE PROGRAM IS ASSUMED BY YOU AND YOUR DISTRIBUTEES. SHOULD THE - PROGRAM PROVE DEFECTIVE, YOU AND YOUR DISTRIBUTEES (AND NOT RSA) - ASSUME THE ENTIRE COST OF ALL NECESSARY SERVICING, REPAIR OR - CORRECTION. - -5. LIMITATION OF LIABILITY. EXCEPT AS EXPRESSLY PROVIDED FOR IN - SECTION 6 HEREINUNDER, NEITHER RSA NOR ANY OTHER PERSON WHO HAS - BEEN INVOLVED IN THE CREATION, PRODUCTION, OR DELIVERY OF THE - PROGRAM SHALL BE LIABLE TO YOU OR TO ANY OTHER PERSON FOR ANY - DIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN IF RSA HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -6. Nothing in this agreement shall be construed as a representation - or warranty against infringement of any third party rights based - on use of the program. - -7. RSAREF is a non-commercial publication of cryptographic - techniques. Portions of RSAREF have been published in the - International Security Handbook and the August 1992 issue of Dr. - Dobb's Journal. Privacy applications developed with RSAREF may be - subject to export controls. If you are located in the United - States and develop such applications, you are advised to consult - with the State Department's Office of Defense Trade Controls. - -8. TERM. The license granted hereunder is effective until - terminated. You may terminate it at any time by destroying the - Program and its associated documentation. The termination of your - license will not result in the termination of the licenses of any - distributees who have received rights to the Program through you - so long as they are in compliance with the provisions of this - license. - -9. GENERAL - - a. This Agreement shall be governed by the laws of the State of - California. - - b. Address all correspondence regarding this license to RSA's - electronic mail address <rsaref-administrator@rsa.com>, or - to - - RSA Laboratories - ATTN: RSAREF Administrator - 100 Marine Parkway, Suite 500 - Redwood City, CA 94065 diff --git a/security/rsaref/files/LICENSE.english b/security/rsaref/files/LICENSE.english deleted file mode 100644 index 6d8c94fbdac3..000000000000 --- a/security/rsaref/files/LICENSE.english +++ /dev/null @@ -1,73 +0,0 @@ -WHAT YOU CAN (AND CANNOT) DO WITH RSAREF - - 1. RSAREF is free for personal or corporate use under the - following conditions: - - o RSAREF, RSAREF applications, and services based on - RSAREF applications may not be sold. - - o You must give RSA the source code of any free RSAREF - application you plan to distribute or deploy within - your company. RSA will make these applications - available to the public, free of charge. - - 2. RSAREF applications and services based on RSAREF - applications may be sold under the following conditions: - - o You must sign and return the RSAREF Commercial License - Agreement to RSA (call RSA for a copy of this - agreement). Remember, RSAREF is an unsupported toolkit. - If you are building an application to sell, you should - consider using fully supported libraries like RSA's - BSAFE or TIPEM SDK's. - - 3. RSAREF applications and services based on RSAREF - applications may be "sharewared" under the following - conditions: - - o Shareware authors do not need to sign a separate - agreement with RSA, provided that their per-copy asking - price is less than $50 and total RSAREF application - revenue is less than $10,000 annually. Otherwise, - shareware authors must sign and return the RSAREF - Commercial License Agreement. - - 4. You must use the interface described in the RSAREF - documentation. - - o The published interface of RSAREF consists of those - procedures and data types listed in the files - "global.h" and "rsaref.h", as described in the RSAREF - library reference manual (the file "rsaref.txt"). If a - procedure is not documented in the library reference - manual, then it is not considered published, even if an - application could access it without modification to - RSAREF. - - o Furthermore, the published interface is understood as - the reasonable interpretation of the descriptions in - the library reference manual. Although it may well be - possible to perform other operations with procedures - listed in "rsaref.h" than what is described in - "rsaref.txt", only the intended operations (e.g., - Diffie-Hellman key agreement with the Diffie-Hellman - procedures) are considered to follow the published - interface. - - 5. You can modify RSAREF to port it to other platforms, or to - improve its performance, as long as you give a copy of the - resulting source code to RSA. Other changes to the RSAREF - code require written consent from RSA. - - 6. You can't send or transmit (or cause to be transmitted) - RSAREF outside the United States or Canada, or give it to - anyone who is not a U.S. or Canadian citizen or doesn't have - a "green card." - --------------------------------------------------------------------------- -************************************************************************** -The above is a "plain english" version of the RSAREF license agreement. -If there is any confusion about the licensing terms, please answer 'NO' to -the following question and consult the full text of the license agreement -under '/usr/ports/security/rsaref/files/LICENSE' -************************************************************************** diff --git a/security/rsaref/files/Makefile b/security/rsaref/files/Makefile deleted file mode 100644 index 14143e227118..000000000000 --- a/security/rsaref/files/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# $FreeBSD$ - -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 - -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) -.if ${PORTOBJFORMAT} == elf - ${CC} -o $@ -shared -Wl,-soname,$@ $> -.else - ld -Bshareable -x -o $@ $> -.endif diff --git a/security/rsaref/files/patch-aa b/security/rsaref/files/patch-aa deleted file mode 100644 index 582a86c63139..000000000000 --- a/security/rsaref/files/patch-aa +++ /dev/null @@ -1,23 +0,0 @@ -*** 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/files/patch-ab b/security/rsaref/files/patch-ab deleted file mode 100644 index 6c1a25fc9a17..000000000000 --- a/security/rsaref/files/patch-ab +++ /dev/null @@ -1,22 +0,0 @@ -*** global.h.ORIG Sat Sep 26 12:26:48 1998 ---- global.h Sat Sep 26 12:27:44 1998 -*************** -*** 19,29 **** ---- 19,35 ---- - /* POINTER defines a generic pointer type */ - typedef unsigned char *POINTER; - -+ #if 0 - /* UINT2 defines a two byte word */ - typedef unsigned short int UINT2; - - /* UINT4 defines a four byte word */ - typedef unsigned long int UINT4; -+ #else -+ #include <sys/types.h> -+ typedef u_int16_t UINT2; -+ typedef u_int32_t UINT4; -+ #endif - - #ifndef NULL_PTR - #define NULL_PTR ((POINTER)0) diff --git a/security/rsaref/files/patch-ac b/security/rsaref/files/patch-ac deleted file mode 100644 index 4ad19248fb98..000000000000 --- a/security/rsaref/files/patch-ac +++ /dev/null @@ -1,42 +0,0 @@ ---- rsa.c.orig Fri Mar 25 14:01:48 1994 -+++ rsa.c Mon Dec 13 13:10:28 1999 -@@ -33,6 +33,9 @@ - unsigned char byte, pkcsBlock[MAX_RSA_MODULUS_LEN]; - unsigned int i, modulusLen; - -+ if (publicKey->bits > MAX_RSA_MODULUS_BITS) -+ return (RE_LEN); -+ - modulusLen = (publicKey->bits + 7) / 8; - if (inputLen + 11 > modulusLen) - return (RE_LEN); -@@ -78,6 +81,9 @@ - unsigned char pkcsBlock[MAX_RSA_MODULUS_LEN]; - unsigned int i, modulusLen, pkcsBlockLen; - -+ if (publicKey->bits > MAX_RSA_MODULUS_BITS) -+ return (RE_LEN); -+ - modulusLen = (publicKey->bits + 7) / 8; - if (inputLen > modulusLen) - return (RE_LEN); -@@ -128,6 +134,9 @@ - int status; - unsigned char pkcsBlock[MAX_RSA_MODULUS_LEN]; - unsigned int i, modulusLen; -+ -+ if (privateKey->bits > MAX_RSA_MODULUS_BITS) -+ return (RE_LEN); - - modulusLen = (privateKey->bits + 7) / 8; - if (inputLen + 11 > modulusLen) -@@ -168,6 +177,9 @@ - unsigned char pkcsBlock[MAX_RSA_MODULUS_LEN]; - unsigned int i, modulusLen, pkcsBlockLen; - -+ if (privateKey->bits > MAX_RSA_MODULUS_BITS) -+ return (RE_LEN); -+ - modulusLen = (privateKey->bits + 7) / 8; - if (inputLen > modulusLen) - return (RE_LEN); diff --git a/security/rsaref/pkg-descr b/security/rsaref/pkg-descr deleted file mode 100644 index fb043df4584d..000000000000 --- a/security/rsaref/pkg-descr +++ /dev/null @@ -1,23 +0,0 @@ -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. - -If you are located outside the USA, you should use the security/librsaintl -port instead, which has better performance and fewer limitations. - -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 deleted file mode 100644 index b898bb3bc9a0..000000000000 --- a/security/rsaref/pkg-plist +++ /dev/null @@ -1,12 +0,0 @@ -include/_des.h -include/_md2.h -include/_md5.h -include/global.h -include/rsa.h -include/rsaref.h -lib/librsaref.a -lib/librsaref.so -lib/librsaref.so.2 -share/doc/rsaref/info.txt -share/doc/rsaref/rsaref.txt -@dirrm share/doc/rsaref |