Commit graph

30 commits

Author SHA1 Message Date
gls
863ba719f6 Update py-crypto to version 2.3
pkgsrc changes:
 - add a patch to fix an hardcoded interpreter path
 - add a patch to actually find gmp library.
 - add CONFLICTS with py-amkCrypto, both have files in common.

upstream changes:

2.3
===
* Fix NameError when attempting to use deprecated getRandomNumber()
function.
* _slowmath: Compute RSA u parameter when it's not given to
RSA.construct. This makes _slowmath behave the same as _fastmath in
this regard.
* Make RSA.generate raise a more user-friendly exception message when
the user tries to generate a bogus-length key.

2.2
===
* Deprecated Crypto.Util.number.getRandomNumber(), which had confusing
semantics.  It's been replaced by getRandomNBitInteger and
getRandomInteger.  (Thanks: Lorenz Quack)
* Better isPrime() and getPrime() implementations that do a real
Rabin-Miller probabilistic primality test (not the phony test we did
before with fixed bases).  (Thanks: Lorenz Quack)
* getStrongPrime() implementation for generating RSA primes.
(Thanks: Lorenz Quack)
* Support for importing and exporting RSA keys in DER and PEM format
(Thanks: Legrandin)
* Fix PyCrypto when floor division (python -Qnew) is enabled.
* When building using gcc, use -std=c99 for compilation.  This should
fix building on FreeBSD and NetBSD.
2010-12-05 17:13:09 +00:00
gdt
e1baafb374 Use new lang/python/distutils.mk, simplifying Makefile.
Support conditional egg generation, making this build on 2.4.
2010-07-24 12:33:19 +00:00
wiz
40080c3dbf Remove empty line. 2010-07-23 23:24:19 +00:00
gdt
409190ee02 Substitute egg file name to avoid hardcoded version. 2010-07-23 23:12:36 +00:00
gdt
2df45cab87 Add PY_NO_EGG=no and egg file to PLIST.
Add LICENSE.
2010-07-23 18:30:51 +00:00
gdt
473de3c98d Fix import; apparently importing a package that used to exist does not
go well.
2010-07-22 19:34:11 +00:00
gdt
544809ca9b Import py26-crypto-2.1.0 as security/py-crypto.
Python extensions using OpenSSL which contains hashing algorithms,

This package more or less supersedes py-amkCrypto.
chaffing/winnowing, random number generation, various utility modules,
and several block encryption and digital signature algorithms.
2010-07-22 19:30:42 +00:00
wiz
e5735fb287 Remove py-crypto, which has been obsoleted by py-amkCrypto. 2001-05-07 00:59:26 +00:00
agc
a35e3d707c Move to sha1 digests, add distfile sizes. 2001-04-19 15:40:29 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00
hubertf
d32e698de6 Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
2001-02-25 04:17:35 +00:00
wiz
a87738b456 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:42:09 +00:00
fredb
0c6b58570c Reorganize crypto handling, as discussed on tech-pkg. Remove all
RESTRICTED= variables that were predicated on former U.S. export
regulations. Add CRYPTO=, as necessary, so it's still possible to
exclude all crypto packages from a build by setting MKCRYPTO=no
(but "lintpkgsrc -R" will no longer catch them).

Specifically,

- - All packages which set USE_SSL just lose their RESTRICTED
    variable, since MKCRYPTO responds to USE_SSL directly.
- - realplayer7 and ns-flash keep their RESTRICTED, which is based
    on license terms, but also gain the CRYPTO variable.
- - srp-client is now marked broken, since the distfile is evidently
    no longer available. On this, we're no worse off than before.
    [We haven't been mirroring the distfile, or testing the build!]
- - isakmpd gets CRYPTO for RESTRICTED, but remains broken.
- - crack loses all restrictions, as it does not evidently empower
    a user to utilize strong encryption (working definition: ability
    to encode a message that requires a secret key plus big number
    arithmetic to decode).
2000-09-09 19:40:14 +00:00
hubertf
e75965c6ba Update IGNORE-messages for recent changes: add ${PKGNAME} where
appropriate.
2000-08-21 21:01:29 +00:00
hubertf
402899809a Replace MIRROR_DISTFILES and NO_CDROM with the more descriptive and
more fine-grained NO_{BIN,SRC}_ON_{FTP,CDROM} definitions.

MIRROR_DISTFILES and NO_CDROM are now dead.
2000-08-18 22:46:29 +00:00
wiz
c75539eab1 add proper info dir entry 2000-02-05 05:59:30 +00:00
wiz
181c085e62 whitespace fix 2000-02-05 05:59:06 +00:00
hubertf
aa8a9eb1c0 install(1) wants directories to install to to exist 1999-09-21 03:40:23 +00:00
agc
00a16e3008 Add package patch checksum files. 1999-07-09 14:22:59 +00:00
tsarna
b1f3fae459 Update for python 1.5.2.
XXX this is not updated to the latest version, which has changed
significantly. There isn't time to do investigate it before the freeze.
1999-04-17 01:41:13 +00:00
agc
1bb3007c04 s/make/${MAKE}/g 1999-03-08 10:53:55 +00:00
tv
111c4f44b0 Use install-info in $PATH, so that systems with it in base will work too. 1999-02-11 19:17:28 +00:00
tsarna
5796146a4d Re-enable on alpha 1998-12-18 00:42:39 +00:00
tsarna
3b281936b0 Tim tested some of these, but I don't know which. Since at least one of
the pkgs broke on Alpha that was not expected to, disable them all for
the 1.3.3 tag to be on the safe side :-(
1998-09-27 22:24:43 +00:00
tsarna
9bc8051d4e alpha->vax, since Alpha now works for Python dynamicly loaded modules,
but VAX never has.
1998-09-22 16:13:33 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
agc
eb3353ab3c Avoid conflicts with NetBSD BIG_ENDIAN and LITTLE_ENDIAN definitions. 1998-08-11 07:59:09 +00:00
tsarna
d953888f81 Kill trailing blank line 1998-08-07 14:58:35 +00:00
tsarna
74697208ab Clean up 1998-08-07 14:56:54 +00:00
tsarna
ef84edb12e New package for the Python Cryptography Toolkit, version 1.0.0 1998-08-07 14:50:49 +00:00