ports/80939: New port: security/pear-Crypt_RSA PEAR class allows you to use two-key strong cryptography

Antonio Carlos Venancio Junior antonio at php.net
Thu May 12 12:50:03 UTC 2005


>Number:         80939
>Category:       ports
>Synopsis:       New port: security/pear-Crypt_RSA PEAR class allows you to use two-key strong cryptography
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 12 12:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Antonio Carlos Venancio Junior
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD antonio.cb.sc.gov.br 4.11-STABLE FreeBSD 4.11-STABLE #7: Tue May 10 10:37:35 BRT 2005     root at antonio.cb.sc.gov.br:/usr/obj/usr/src/sys/ANTONIO  i386
>Description:
New port: security/pear-Crypt_RSA PEAR class allows you to use two-key strong cryptography

PEAR::Crypt_RSA allows you to use two-key strong cryptography like RSA with
arbitrary key length.

It uses one of the following extensions for math calculations:
- PECL big_int extension version greater than or equal to 1.0.3
- PHP GMP extension
- PHP BCMath extension for both PHP4 and PHP5
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pear-Crypt_RSA
#	pear-Crypt_RSA/Makefile
#	pear-Crypt_RSA/distinfo
#	pear-Crypt_RSA/pkg-descr
#
echo c - pear-Crypt_RSA
mkdir -p pear-Crypt_RSA > /dev/null 2>&1
echo x - pear-Crypt_RSA/Makefile
sed 's/^X//' >pear-Crypt_RSA/Makefile << 'END-of-pear-Crypt_RSA/Makefile'
X# Ports collection makefile for:  pear-Crypt_RSA
X# Date created:			  12 May 2005
X# Whom:				  Antonio Carlos Venancio Junior (<antonio at inf.ufsc.br>)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Crypt_RSA
XPORTVERSION=	1.0.0
XCATEGORIES=	security www pear
X
XMAINTAINER=	antonio at php.net
XCOMMENT=	PEAR class allows you to use two-key strong cryptography
X
XBUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XOPTIONS=        BCMATH "PHP BCMath extension support" off \
X		GMP "PHP GMP extension support" off
X
XPORT_DBDIR?=    /var/db/ports
XLATEST_LINK=    pear-${PORTNAME}
XOPTIONSFILE?=   ${PORT_DBDIR}/${LATEST_LINK}/options
X
X.if exists(${OPTIONSFILE})
X.include "${OPTIONSFILE}"
X.endif
X
X.for opt in BCMATH GMP
X.    if defined(WITH_${opt})
XUSE_PHP+=	${opt:L}
X.    endif
X.endfor
X
XCATEGORY=	Crypt
XFILES=		RSA.php RSA/ErrorHandler.php RSA/Key.php RSA/KeyPair.php \
X		RSA/MathLoader.php RSA/Math/BCMath.php RSA/Math/BigInt.php \
X		RSA/Math/GMP.php
XDOCS=		CREDITS LICENSE Crypt_RSA.txt math_wrappers.txt
XEXAMPLES=	web_interface.php
XTESTS=		test1.php test2.php
X
Xpost-extract:
X	@${MV} ${WRKSRC}/CREDITS ${WRKSRC}/docs
X	@${MV} ${WRKSRC}/LICENSE ${WRKSRC}/docs
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
X.include <bsd.port.post.mk>
END-of-pear-Crypt_RSA/Makefile
echo x - pear-Crypt_RSA/distinfo
sed 's/^X//' >pear-Crypt_RSA/distinfo << 'END-of-pear-Crypt_RSA/distinfo'
XMD5 (PEAR/Crypt_RSA-1.0.0.tgz) = 222a018dc66509d8b56f444a1ea7874d
XSIZE (PEAR/Crypt_RSA-1.0.0.tgz) = 17941
END-of-pear-Crypt_RSA/distinfo
echo x - pear-Crypt_RSA/pkg-descr
sed 's/^X//' >pear-Crypt_RSA/pkg-descr << 'END-of-pear-Crypt_RSA/pkg-descr'
XPEAR::Crypt_RSA allows you to use two-key strong cryptography like RSA with
Xarbitrary key length.
X
XIt uses one of the following extensions for math calculations:
X- PECL big_int extension version greater than or equal to 1.0.3
X- PHP GMP extension
X- PHP BCMath extension for both PHP4 and PHP5
X
XWWW: http://pear.php.net/package/Crypt_RSA/
END-of-pear-Crypt_RSA/pkg-descr
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list