Commit graph

16 commits

Author SHA1 Message Date
Xin LI
38fdae7228 Update to 5.6.2. 2013-05-22 22:51:57 +00:00
Xin LI
4fa5971018 This changeset fixes two issues with crypto++ library:
* patch-misc.h

   This fixes a warning triggered by testing an unsigned parameter against
   0.  The patch solves this by creating a different template for signed
   case.

 * patch-nbtheory.cpp

   This is a workaround for a bug with the current version of libc++ shipped
   with FreeBSD 9.x, which causes an infinite loop when generating RSA key,
   possibly also other operations.

PR:		ports/178827
Submitted by:	Michael Gmelin <freebsd grem de>
2013-05-22 22:41:42 +00:00
Xin LI
f5f555fb36 Add a few casts to initializer of int array when the constant is greater
than 0x7fffffff, as they have exceeded the range of standard int.  This
makes the code to compile when -std=c++11.

The resulting binary was not changed by this commit.  PORTREVISION
not bumped intentionally as this is a build fix.

While I'm there, also convert the header to new style.

PR:		ports/171525
Submitted by:	Michael Gmelin <freebsd grem de>
2012-10-08 21:55:37 +00:00
Xin LI
a6cc38da50 Make it possible to build and install shared library of crypto++, and
convert to use OPTIONSng [1].

While I'm there, also add an option to build with GCC 4.6.x and newer
binutils, which enables use of AES-NI.

PR:		ports/170045
Submitted by:	Michael Gmelin <freebsd grem.de>
2012-07-23 22:44:33 +00:00
Xin LI
549f67f58a Fix clang build.
PR:		ports/160509
Submitted by:	h h <aakuusta gmail.com>
2011-09-06 20:01:05 +00:00
Xin LI
7e4d1a3af0 crypto++ assumes that the as(1) in PATH is the one used by c++(1),
which is not always true.  When PATH is being configured to a
non-standard sequence, we may found an as(1) newer than the base
one and draw wrong conclusion which leads to failed builds.

Use the result given by c++.  This is also accepted to upstream.

PR:			ports/154325
Submitted by:		swell.k gmail.com
Feature safe:		yes
2011-01-27 20:47:30 +00:00
Xin LI
fdf1d0d2a4 Update to 5.6.1.
Submitted by:	Michael Richards <hackish gmail.com>
Feature safe:	yes
2011-01-22 23:21:52 +00:00
Xin LI
f606d8f659 Apply a vendor fix to sha256 which prevents cryptopp from generating
correct hash if input is not properly aligned. (r470).
2010-01-30 02:56:46 +00:00
Xin LI
46aae34017 Update to 5.6.0 and mark MAKE_JOBS_SAFE. 2009-03-27 00:02:32 +00:00
Xin LI
be1267b723 Update to 5.4 2007-01-13 18:41:37 +00:00
Xin LI
f957eeb93b Add a patch from vendor which will hopefully fix gcc 4.1 build.
Spotted by:	pointyhat via portsmon
2006-10-02 05:35:32 +00:00
Pav Lucistnik
2c01ccf175 - Make static library relocatable
Approved by:	Xin LI <delphij@frontfree.net> (maintainer)
2005-01-30 13:05:17 +00:00
Clement Laforet
30dbf40c5c - Update to 5.2.1
PR:		75392
Submitted by:	delphij
2004-12-23 09:42:36 +00:00
Kirill Ponomarev
ee16186324 Update to 5.2
Fix build with gcc-3.4
Assign maintainership to submitter.

PR:		ports/69204
Submitted by:	Xin LI <delphij@frontfree.net>
2004-07-17 19:35:55 +00:00
Foxfair Hu
732c8be689 Upgrade cryptopp to 5.1, patch review timeout by MAINTAINER since March 26. 2003-04-12 03:23:03 +00:00
Ying-Chieh Liao
99b5022eac add cryptopp, a free C++ class library of cryptographic schemes
PR:		24432
Submitted by:	George Reid <greid@ukug.uk.freebsd.org>
2001-03-05 06:58:43 +00:00