ports/85043: [NEW PORT]: math/libtommath

Wesley Shields wxs at csh.rit.edu
Wed Aug 17 12:40:20 UTC 2005


>Number:         85043
>Category:       ports
>Synopsis:       [NEW PORT]: math/libtommath
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 17 12:40:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Wesley Shields
>Release:        FreeBSD 5.4-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD syn 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #2: Mon Aug 1 15:34:15 EST 2005 root at syn:/usr/obj/usr/src/sys/GENERIC i386

>Description:
A library with highly optimized and portable math routines.

>How-To-Repeat:
N/A

>Fix:

The shar is also available at:

http://www.atarininja.org/~wxs/patches/libtommath.shar

# 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:
#
#	libtommath
#	libtommath/distinfo
#	libtommath/pkg-descr
#	libtommath/Makefile
#	libtommath/files
#	libtommath/files/patch-makefile
#	libtommath/pkg-plist
#
echo c - libtommath
mkdir -p libtommath > /dev/null 2>&1
echo x - libtommath/distinfo
sed 's/^X//' >libtommath/distinfo << 'END-of-libtommath/distinfo'
XMD5 (ltm-0.36.tar.bz2) = cd4f9305e1b721b3c3eb7bcdc25abfc6
XSIZE (ltm-0.36.tar.bz2) = 1924150
END-of-libtommath/distinfo
echo x - libtommath/pkg-descr
sed 's/^X//' >libtommath/pkg-descr << 'END-of-libtommath/pkg-descr'
XLibTomMath provides highly optimized and portable routines for a vast
Xmajority of integer based number theoretic applications (including
Xpublic key cryptography).
X
XWWW: http://math.libtomcrypt.org
END-of-libtommath/pkg-descr
echo x - libtommath/Makefile
sed 's/^X//' >libtommath/Makefile << 'END-of-libtommath/Makefile'
X# Ports collection makefile for:  libtommath
X# Date created:			  05 Aug 2005
X# Whom:				  Wesley Shields <wxs at csh.rit.edu>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libtommath
XPORTVERSION=	0.36
XCATEGORIES=	math
XMASTER_SITES=	http://math.libtomcrypt.org/files/
XDISTNAME=	ltm-${PORTVERSION}
X
XMAINTAINER=	wxs at csh.rit.edu
XCOMMENT=	Comprehensive, modular and portable mathematical routines
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
XMAKEFILE=	makefile
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XALL_TARGET=	default
X
X.include <bsd.port.mk>
END-of-libtommath/Makefile
echo c - libtommath/files
mkdir -p libtommath/files > /dev/null 2>&1
echo x - libtommath/files/patch-makefile
sed 's/^X//' >libtommath/files/patch-makefile << 'END-of-libtommath/files/patch-makefile'
X--- makefile.orig	Fri Aug  5 09:34:54 2005
X+++ makefile	Fri Aug  5 09:36:36 2005
X@@ -48,9 +48,9 @@
X #INCPATH-The directory to install the header files for libtommath.
X #DATAPATH-The directory to install the pdf docs.
X DESTDIR=
X-LIBPATH=/usr/lib
X-INCPATH=/usr/include
X-DATAPATH=/usr/share/doc/libtommath/pdf
X+LIBPATH=${PREFIX}/lib
X+INCPATH=${PREFIX}/include
X+DATAPATH=${PREFIX}/share/doc/libtommath/pdf
X 
X OBJECTS=bncore.o bn_mp_init.o bn_mp_clear.o bn_mp_exch.o bn_mp_grow.o bn_mp_shrink.o \
X bn_mp_clamp.o bn_mp_zero.o  bn_mp_set.o bn_mp_set_int.o bn_mp_init_size.o bn_mp_copy.o \
END-of-libtommath/files/patch-makefile
echo x - libtommath/pkg-plist
sed 's/^X//' >libtommath/pkg-plist << 'END-of-libtommath/pkg-plist'
Xinclude/tommath.h
Xinclude/tommath_class.h
Xinclude/tommath_superclass.h
Xlib/libtommath.a
END-of-libtommath/pkg-plist
exit

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



More information about the freebsd-ports-bugs mailing list