FreeBSD Bugzilla – Attachment 53620 Details for
Bug 81115
New port: math/pecl-big_int Functions for calculations with arbitrary length integers and bitsets
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 4.03 KB, created by
Antonio Carlos Venancio Junior
on 2005-05-16 18:40:02 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Antonio Carlos Venancio Junior
Created:
2005-05-16 18:40:02 UTC
Size:
4.03 KB
patch
obsolete
># 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 (<antonio@inf.ufsc.br>) >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 <bsd.port.mk> >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 <stdint.h> >X+#include <sys/inttypes.h> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 81115
: 53620