head	1.25;
access;
symbols
	RELEASE_8_3_0:1.20
	RELEASE_9_0_0:1.19
	RELEASE_7_4_0:1.18
	RELEASE_8_2_0:1.18
	RELEASE_6_EOL:1.18
	RELEASE_8_1_0:1.16
	RELEASE_7_3_0:1.15
	RELEASE_8_0_0:1.14
	RELEASE_7_2_0:1.12
	RELEASE_7_1_0:1.11
	RELEASE_6_4_0:1.11
	RELEASE_5_EOL:1.11
	RELEASE_7_0_0:1.11
	RELEASE_6_3_0:1.11
	PRE_XORG_7:1.11
	RELEASE_4_EOL:1.10
	RELEASE_6_2_0:1.10
	RELEASE_6_1_0:1.8
	RELEASE_5_5_0:1.8
	RELEASE_6_0_0:1.7
	RELEASE_5_4_0:1.6
	RELEASE_4_11_0:1.6
	RELEASE_5_3_0:1.5
	RELEASE_4_10_0:1.5
	RELEASE_5_2_1:1.3
	RELEASE_5_2_0:1.3
	RELEASE_4_9_0:1.3
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2;
locks; strict;
comment	@# @;


1.25
date	2012.11.17.06.01.17;	author svnexp;	state Exp;
branches;
next	1.24;

1.24
date	2012.10.04.16.45.41;	author jgh;	state Exp;
branches;
next	1.23;

1.23
date	2012.07.02.16.32.38;	author jgh;	state Exp;
branches;
next	1.22;

1.22
date	2012.06.26.05.36.14;	author jgh;	state Exp;
branches;
next	1.21;

1.21
date	2012.06.25.16.06.47;	author jgh;	state Exp;
branches;
next	1.20;

1.20
date	2012.02.20.13.38.34;	author wxs;	state Exp;
branches;
next	1.19;

1.19
date	2011.12.08.11.18.08;	author scheidell;	state Exp;
branches;
next	1.18;

1.18
date	2010.09.27.18.44.14;	author jadawin;	state Exp;
branches;
next	1.17;

1.17
date	2010.08.12.19.15.36;	author lwhsu;	state Exp;
branches;
next	1.16;

1.16
date	2010.04.19.10.43.41;	author ale;	state Exp;
branches;
next	1.15;

1.15
date	2010.01.01.04.47.56;	author lwhsu;	state Exp;
branches;
next	1.14;

1.14
date	2009.07.16.13.46.55;	author lwhsu;	state Exp;
branches;
next	1.13;

1.13
date	2009.05.13.09.45.58;	author ale;	state Exp;
branches;
next	1.12;

1.12
date	2009.02.15.21.51.27;	author miwi;	state Exp;
branches;
next	1.11;

1.11
date	2007.04.20.15.12.27;	author gabor;	state Exp;
branches;
next	1.10;

1.10
date	2006.05.13.04.15.14;	author edwin;	state Exp;
branches;
next	1.9;

1.9
date	2006.05.10.14.46.47;	author ale;	state Exp;
branches;
next	1.8;

1.8
date	2005.10.12.11.31.11;	author lioux;	state Exp;
branches;
next	1.7;

1.7
date	2005.07.04.05.20.55;	author novel;	state Exp;
branches;
next	1.6;

1.6
date	2004.10.11.23.24.06;	author pav;	state Exp;
branches;
next	1.5;

1.5
date	2004.04.10.17.26.48;	author trevor;	state Exp;
branches;
next	1.4;

1.4
date	2004.03.25.18.33.22;	author nbm;	state Exp;
branches;
next	1.3;

1.3
date	2003.08.19.17.52.07;	author nbm;	state Exp;
branches;
next	1.2;

1.2
date	2003.03.07.06.10.47;	author ade;	state Exp;
branches;
next	1.1;

1.1
date	2003.01.20.13.44.35;	author nbm;	state Exp;
branches;
next	;


desc
@@


1.25
log
@Switch exporter over
@
text
@# Created by:			nbm
#
# $FreeBSD: head/security/py-pycrypto/Makefile 305266 2012-10-04 16:45:41Z jgh $

PORTNAME=	pycrypto
PORTVERSION=	2.6
PORTREVISION=	1
CATEGORIES=	security python
MASTER_SITES=	CHEESESHOP \
		https://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	jgh@@FreeBSD.org
COMMENT=	The Python Cryptography Toolkit

USE_PYTHON=		yes
USE_PYDISTUTILS=	yes

HAS_CONFIGURE=	yes
USE_AUTOTOOLS=	autoconf

OPTIONS_DEFINE=	GMP
OPTIONS_DEFAULT=	GMP
GMP_DESC=	Use GMP for faster DSA/RSA operations

OPTIONSFILE?=		${PORT_DBDIR}/py-${PORTNAME}/options

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGMP}
LIB_DEPENDS+=		gmp:${PORTSDIR}/math/gmp
CONFIGURE_ARGS+=	--with-gmp
CPPFLAGS+=		-I${LOCALBASE}/include
LDFLAGS+=		-L${LOCALBASE}/lib
PLIST_SUB+=		GMP=""
.else
CONFIGURE_ARGS+=	--without-gmp
PLIST_SUB+=		GMP="@@comment "
.endif

pre-patch:
	@@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/setup.py

test: build
	cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test

regression-test: test

.include <bsd.port.mk>
@


1.24
log
@SVN rev 305266 on 2012-10-04 16:45:41Z by jgh

- Make GMP OPTION'al
- Add upstream patch for test failure when built without GMP

PR:		172299
Submitted by:	koobs.freebsd@@gmail.com
@
text
@d3 1
a3 1
# $FreeBSD$
@


1.23
log
@- Update existing master site to https, as it redirects from http
- Add CHEESESHOP as the primary master site

PR:	ports/169594
Submitted by:	koobs.freebsd@@gmail.com
@
text
@d1 1
a1 3
# New ports collection makefile for: pycrypto
# Date created:		25 Oct 2002
# Whom:			nbm
a3 1
#
d7 1
d16 2
a17 2
USE_PYTHON=	yes
USE_PYDISTUTILS=yes
a20 2
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
d22 18
a39 1
LIB_DEPENDS+=	gmp.10:${PORTSDIR}/math/gmp
d44 5
@


1.22
log
@- take maintainer-ship

Approved-By:    portmgr (linimon)
@
text
@d11 2
a12 1
MASTER_SITES=	http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/
@


1.21
log
@- update to 2.6

PyCrypto before 2.6 does not produce appropriate prime numbers when using an ElGamal
scheme to generate a key, which reduces the signature space or public key space and
makes it easier for attackers to conduct brute force attacks to obtain the private key.

PR:	ports/169146
Approved by:	portmgr
@
text
@d14 1
a14 1
MAINTAINER=	k@@stereochro.me
@


1.20
log
@Update to 2.5

PR:		ports/164597
Submitted by:	Denis Generalov <gd@@rambler-co.ru>
Approved by:	maintainer timeout
@
text
@d9 1
a9 1
PORTVERSION=	2.5
d19 1
@


1.19
log
@-Update to 2.4

PR:		ports/162242
Submitted by:	Denis Generalov <gd@@rambler-co.ru>
Approved by:	k@@stereochro.me (maintainer timeout, 30 days), gabor (mentor)
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	2.4
@


1.18
log
@- Update to 2.3

PR:		ports/150132
Submitted by:	Sofian Brabez <sbrabez _AT_ gmail.com>
Approved by:	maintainer timeout
@
text
@d9 1
a9 1
PORTVERSION=	2.3
d19 4
@


1.17
log
@- Update to 2.2

PR:		ports/149423
Submitted by:	Frederic Culot <frederic AT culot.org>
Approved by:	Keith Gaughan <k AT stereochro.me> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.2
@


1.16
log
@Switch to use newer GMP version.

PR:		ports/144487
Submitted by:	ale
Approved by:	portmgr (-exp run by erwin)
@
text
@d9 1
a9 2
PORTVERSION=	2.1.0
PORTREVISION=	1
@


1.15
log
@- Update to 2.1.0
- Update MASTER_SITES
- Remove unnecessary patchs, they're now applied upstream
- Define _WCHAR_T_DEFINED to fix compilation issue
- Tweak the maintainer email address

PR:		ports/141462
Submitted by:	Sofian Brabez <sbrabez AT gmail.com>
Approved by:	Keith Gaughan <kmgaughan AT eircom.net> (maintainer)
@
text
@d10 1
d21 1
a21 1
LIB_DEPENDS+=	gmp.8:${PORTSDIR}/math/libgmp4
@


1.14
log
@- Add a patch to make SHA and MD5 use hashlib if possible
- Transfer maintainership to submitter

PR:		ports/135832
Submitted by:	Keith Gaughan <kmgaughan AT eircom.net>
@
text
@d9 1
a9 2
PORTVERSION=	2.0.1
PORTREVISION=	4
d11 1
a11 1
MASTER_SITES=	http://www.amk.ca/files/python/crypto/
d14 1
a14 1
MAINTAINER=	kmgaughan@@eircom.net
d22 1
a22 1
pre-configure:
d25 1
a25 7
.include <bsd.port.pre.mk>

.if (${PYTHON_REL} >= 250)
EXTRA_PATCHES+=	${FILESDIR}/python25+.txt
.endif

.include <bsd.port.post.mk>
@


1.13
log
@Chase libgmp and bump PORTREVISION.
@
text
@d10 1
a10 1
PORTREVISION=	3
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
d26 7
a32 1
.include <bsd.port.mk>
@


1.12
log
@- Fix ARC2 Buffer Overflow
- Bump PORTREVISION

Obtained from:	pycrypto git
Security:	http://www.vuxml.org/freebsd/5a021595-fba9-11dd-86f3-0030843d3802.html
@
text
@d10 1
a10 1
PORTREVISION=	2
d21 1
a21 1
LIB_DEPENDS+=	gmp.7:${PORTSDIR}/math/libgmp4
@


1.11
log
@- Remove FreeBSD 4.X support from unmaintained ports in categories starting
  with letter r-s
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.10
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@a20 3
.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500000
a21 1
.endif
d26 1
a26 1
.include <bsd.port.post.mk>
@


1.9
log
@Chase gmp library and bump PORTREVISION.
@
text
@a19 1
USE_REINPLACE=	yes
@


1.8
log
@Add python as a secondary category
@
text
@d10 1
d25 1
a25 1
LIB_DEPENDS+=	gmp.6:${PORTSDIR}/math/libgmp4
@


1.7
log
@- update to 2.0.1
- use PYTHON_SITELIBDIR in plist

PR:		82958
Submitted by:	Vsevolod Stakhov <vsevolod@@highsecure.ru>
@
text
@d10 1
a10 1
CATEGORIES=	security
@


1.6
log
@- Update to 2.0
- Add gmp dependency on FreeBSD 5.x

PR:		ports/72172
Submitted by:	Marcus Grando <marcus@@corp.grupos.com.br>
@
text
@d9 1
a9 1
PORTVERSION=	2.0
@


1.5
log
@Tidy up whitespace.
@
text
@d9 1
a9 1
PORTVERSION=	1.9.a6
a12 1
DISTNAME=	${PORTNAME}-${PORTVERSION:S@@.a@@a@@}
d19 1
d21 10
a30 1
.include <bsd.port.mk>
@


1.4
log
@Drop maintainership
@
text
@d11 1
a11 1
MASTER_SITES= 	http://www.amk.ca/files/python/crypto/
@


1.3
log
@Update py-pycrypto to 1.9alpha6

PR:		55338
Submitted by:	Rui Lopes <rui@@ruilopes.com>
@
text
@d15 1
a15 1
MAINTAINER=	nbm@@FreeBSD.org
@


1.2
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d9 1
a9 1
PORTVERSION=	1.9.a4
d11 1
a11 1
MASTER_SITES= 	http://www.amk.ca/files/python/
d13 1
a13 1
DISTNAME=	pycrypto-1.9a4
@


1.1
log
@Add py-pycrypto 1.9alpha4, the Python Cryptography Toolkit.
@
text
@d16 1
@

