History log of /freebsd-9.3-release/lib/libmp/
Revision Date Author Comments
267654 20-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


225736 23-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


201381 02-Jan-2010 ed

Build lib/ with WARNS=6 by default.

Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and
lower it when needed.

I'm setting WARNS?=0 for secure/. It seems secure/ includes the
Makefile.inc provided by lib/. I'm not going to touch that directory.
Most of the code there is contributed anyway.


189092 26-Feb-2009 ed

Rename all symbols in libmp(3) to mp_*, just like Solaris.

The function pow() in libmp(3) clashes with pow(3) in libm. We could
rename this single function, but we can just take the same approach as
the Solaris folks did, which is to prefix all function names with mp_.

libmp(3) isn't really popular nowadays. I suspect not a single
application in ports depends on it. There's still a chance, so I've
increased the SHLIB_MAJOR and __FreeBSD_version.

Reviewed by: deischen, rdivacky


169807 21-May-2007 deischen

Bump library versions in preparation for 7.0.

Ok'd by: kan


160840 30-Jul-2006 simon

Pass BN_CTX to internal functions instead of allocating it internally.
This allows msqrt() to only call BN_CTX_new() once intead of many times.

Suggested and reviewed by: stefanf


160805 28-Jul-2006 simon

Do not put BN_CTX structures on the stack, but instead allocate them
runtime using BN_CTX_new(). This is done since in OpenSSL 0.9.7e we
can only allocate BN_CTX on the stack by including an internal OpenSSL
header file, and in OpenSSL 0.9.8 BN_CTX is entirely opaque, so having
it on the stack is not possible at all.

This is done as preparation for OpenSSL 0.9.8b import.

Tested on: amd64 i386 ia64
Tested with: src/tools/regression/lib/libmp


152285 10-Nov-2005 ru

Add missing shared library interdependencies.


148297 22-Jul-2005 kensmith

Bump the shared library version number of all libraries that have not
been bumped since RELENG_5.

Reviewed by: ru
Approved by: re (not needed for commit check but in principle...)


132757 28-Jul-2004 kan

Downgrage WARNS level for GCC 3.4.x.


119567 30-Aug-2003 seanc

Add a reference to bn(3) for those looking for functional multiprecision
integer arithmetic.


110011 28-Jan-2003 markm

Adjust for OpenSSL 0.9.7.


108429 30-Dec-2002 obrien

This compiles fine w/WARNS.


96520 13-May-2002 ru

MAN[1-9] -> MAN.


96462 12-May-2002 ru

Added new bsd.incs.mk which handles installing of header files
via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files. Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.

Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1. Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):

kerberos5/lib/libtelnet/Makefile
lib/libbz2/Makefile
lib/libdevinfo/Makefile
lib/libform/Makefile
lib/libisc/Makefile
lib/libmenu/Makefile
lib/libmilter/Makefile
lib/libpanel/Makefile

Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.

Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD. Similarly for INCOWN, INCGRP,
and INCMODE.

Consistently use INCLUDEDIR instead of /usr/include.

gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.

These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".


84424 03-Oct-2001 bde

Fixed spelling of rpow in rpow's prototype.


84212 30-Sep-2001 dillon

Add __FBSDID()s to libmp


82094 21-Aug-2001 dd

Don't claim to be mp(3).


81343 09-Aug-2001 dd

Fix markup and a couple of thinkos.

Submitted by: ru


80610 30-Jul-2001 dd

Rename mp.3 to libmp.3 since that's what all the other "library"
manual pages (e.g., libstand, libdisk) are called.

Submitted by: sheldonh


80609 30-Jul-2001 dd

Add a manual page for the libmp interface. Some of the descriptions
great, but then again neither is the interface it's documenting.


80540 29-Jul-2001 dd

Move SHLIB_MAJOR to below LIB and add a comment about why NO_WARNS is set.


80539 29-Jul-2001 dd

Install the man page and add mp.h to INCS.


80538 29-Jul-2001 dd

Add a manual page for the libmp interface. It isn't real great, but
then again neither is the interface it's documenting.


80529 29-Jul-2001 dd

This is the traditional BSD libmp interface implemented in terms of
the OpenSSL BIGNUM interface. It is provided for compatibility only
and should not be used in new code.