From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 16 17:40:07 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABC5E16A4CE for ; Mon, 16 May 2005 17:40:07 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62A1943DB7 for ; Mon, 16 May 2005 17:40:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4GHe2bx005906 for ; Mon, 16 May 2005 17:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4GHe2RK005903; Mon, 16 May 2005 17:40:02 GMT (envelope-from gnats) Resent-Date: Mon, 16 May 2005 17:40:02 GMT Resent-Message-Id: <200505161740.j4GHe2RK005903@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Antonio Carlos Venancio Junior Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30B5A16A4CE for ; Mon, 16 May 2005 17:32:06 +0000 (GMT) Received: from digitalsign.com (cm-virtua-fln-C8B08F9E.dynamic.brdterra.com.br [200.176.143.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2CF643D79 for ; Mon, 16 May 2005 17:32:04 +0000 (GMT) (envelope-from antonio@digitalsign.com) Received: from digitalsign.com (localhost [127.0.0.1]) by digitalsign.com (8.12.6/8.12.6) with ESMTP id j4GHVp3F031740 for ; Mon, 16 May 2005 14:31:57 -0300 (BRT) (envelope-from antonio@digitalsign.com) Received: (from antonio@localhost) by digitalsign.com (8.12.6/8.12.6/Submit) id j4GHVo6F031739; Mon, 16 May 2005 14:31:50 -0300 (BRT) Message-Id: <200505161731.j4GHVo6F031739@digitalsign.com> Date: Mon, 16 May 2005 14:31:50 -0300 (BRT) From: Antonio Carlos Venancio Junior To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/81115: New port: math/pecl-big_int Functions for calculations with arbitrary length integers and bitsets X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Antonio Carlos Venancio Junior List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2005 17:40:07 -0000 >Number: 81115 >Category: ports >Synopsis: New port: math/pecl-big_int Functions for calculations with arbitrary length integers and bitsets >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: Mon May 16 17:40: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@antonio.cb.sc.gov.br:/usr/obj/usr/src/sys/ANTONIO i386 >Description: New port: math/pecl-big_int Functions for calculations with arbitrary length integers and bitsets Functions from this package are useful for number theory applications. For example, in two-keys cryptography. See /tests/RSA.php in the package for example of simple implementation of RSA-like cryptoalgorithm. See http://chat.finalcombat.com/vayala/big_int/ page for more complex implementation of RSA-like crypto, which supports key generating, encrypting/decrypting, signing and validating of sign. The package has many bitset functions, which allow to work with arbitrary length bitsets. This package is much faster than bundled into PHP BCMath and consists almost all functions, which are implemented in PHP GMP extension, but it needn't any external libraries. >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: # # pecl-big_int # pecl-big_int/Makefile # pecl-big_int/distinfo # pecl-big_int/pkg-descr # pecl-big_int/pkg-plist # pecl-big_int/files # pecl-big_int/files/patch-libbig_int-include-big_int.h # echo c - pecl-big_int mkdir -p pecl-big_int > /dev/null 2>&1 echo x - pecl-big_int/Makefile sed 's/^X//' >pecl-big_int/Makefile << 'END-of-pecl-big_int/Makefile' X# Ports collection makefile for: pecl-big_int X# Date created: 16 May 2005 X# Whom: Antonio Carlos Venancio Junior () X# X# $FreeBSD$ X# X XPORTNAME= big_int XPORTVERSION= 1.0.5 XCATEGORIES= math devel pear XMASTER_SITES= http://pecl.php.net/get/ XPKGNAMEPREFIX= pecl- XEXTRACT_SUFX= .tgz XDIST_SUBDIR= PECL X XMAINTAINER= antonio@php.net XCOMMENT= Functions for calculations with arbitrary length integers and bitsets X XUSE_PHP= yes XUSE_PHPEXT= yes X XDOCS= CREDITS INSTALL LICENSE README docs/index.html libbig_int/CREDITS \ X libbig_int/LICENSE XEXAMPLES= bitset.php example.php rand.php RSA.php std_header.php X XCONFIGURE_ARGS= --enable-big-int=shared X X.if !defined(NOPORTDOCS) Xpost-install: X ${MKDIR} ${DOCSDIR} X ${MKDIR} ${EXAMPLESDIR} X. for doc in ${DOCS} X ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} X. endfor X. for test in ${EXAMPLES} X ${INSTALL_DATA} ${WRKSRC}/tests/${test} ${EXAMPLESDIR} X. endfor X.endif X X.include END-of-pecl-big_int/Makefile echo x - pecl-big_int/distinfo sed 's/^X//' >pecl-big_int/distinfo << 'END-of-pecl-big_int/distinfo' XMD5 (PECL/big_int-1.0.5.tgz) = c27f62e767950c33f109b3a841a60f42 XSIZE (PECL/big_int-1.0.5.tgz) = 45853 END-of-pecl-big_int/distinfo echo x - pecl-big_int/pkg-descr sed 's/^X//' >pecl-big_int/pkg-descr << 'END-of-pecl-big_int/pkg-descr' XFunctions from this package are useful for number theory Xapplications. For example, in two-keys cryptography. X XSee /tests/RSA.php in the package for example of simple Ximplementation of RSA-like cryptoalgorithm. XSee http://chat.finalcombat.com/vayala/big_int/ page for Xmore complex implementation of RSA-like crypto, which Xsupports key generating, encrypting/decrypting, signing Xand validating of sign. X XThe package has many bitset functions, which allow to work Xwith arbitrary length bitsets. X XThis package is much faster than bundled into PHP BCMath Xand consists almost all functions, which are implemented Xin PHP GMP extension, but it needn't any external libraries. X XWWW: http://pecl.php.net/package/big_int/ END-of-pecl-big_int/pkg-descr echo x - pecl-big_int/pkg-plist sed 's/^X//' >pecl-big_int/pkg-plist << 'END-of-pecl-big_int/pkg-plist' X%%PORTDOCS%%%%DOCSDIR%%/CREDITS X%%PORTDOCS%%%%DOCSDIR%%/INSTALL X%%PORTDOCS%%%%DOCSDIR%%/LICENSE X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/index.html X%%PORTDOCS%%%%EXAMPLESDIR%%/RSA.php X%%PORTDOCS%%%%EXAMPLESDIR%%/bitset.php X%%PORTDOCS%%%%EXAMPLESDIR%%/example.php X%%PORTDOCS%%%%EXAMPLESDIR%%/rand.php X%%PORTDOCS%%%%EXAMPLESDIR%%/std_header.php X%%PORTDOCS%%@dirrm %%DOCSDIR%% X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% END-of-pecl-big_int/pkg-plist echo c - pecl-big_int/files mkdir -p pecl-big_int/files > /dev/null 2>&1 echo x - pecl-big_int/files/patch-libbig_int-include-big_int.h sed 's/^X//' >pecl-big_int/files/patch-libbig_int-include-big_int.h << 'END-of-pecl-big_int/files/patch-libbig_int-include-big_int.h' X--- libbig_int/include/big_int.h.orig Fri May 13 14:58:13 2005 X+++ libbig_int/include/big_int.h Fri May 13 15:00:53 2005 X@@ -77,9 +77,9 @@ X #endif /* end of BIG_INT_DIGIT_SIZE */ X #else X /* X- for ANSI C99 compliant comilers, which have stdint.h header X+ for ANSI C99 compliant comilers, which have sys/inttypes.h header X */ X-#include X+#include X #if (BIG_INT_DIGIT_SIZE == 32) X typedef uint32_t big_int_word; X typedef uint64_t big_int_dword; END-of-pecl-big_int/files/patch-libbig_int-include-big_int.h exit >Release-Note: >Audit-Trail: >Unformatted: