8310ee07c9
* made the code try to lock secure memory pool not only when running as root, * fixed type usage in Serpent, * made the code mix the PID into the entropy pool for better protection after a fork, * fixed memory leak in RSA. * fixed alignment problems in Rijndael, * fixed memory leak in gcry_pk_sign(), * fixed broken pointer access in gcry_ac_open(), * updated the documentation, * fixed several other bugs. Chase Shared library version and bump PORTREVISION of affected ports.
36 lines
832 B
Makefile
36 lines
832 B
Makefile
# New ports collection Makefile for: libgcrypt
|
|
# Date created: July 17 2002
|
|
# Whom: Tilman Linneweh <arved@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libgcrypt
|
|
PORTVERSION= 1.2.1
|
|
CATEGORIES= security
|
|
MASTER_SITES= ${MASTER_SITE_GNUPG}
|
|
MASTER_SITE_SUBDIR= libgcrypt
|
|
|
|
MAINTAINER= arved@FreeBSD.org
|
|
COMMENT= "General purpose crypto library based on code used in GnuPG"
|
|
|
|
LIB_DEPENDS= gpg-error.1:${PORTSDIR}/security/libgpg-error
|
|
|
|
USE_REINPLACE= yes
|
|
USE_PERL5= yes
|
|
USE_INC_LIBTOOL_VER=15
|
|
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
|
INSTALLS_SHLIB= yes
|
|
|
|
INFO= gcrypt
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|" \
|
|
${WRKSRC}/ltmain.sh
|
|
|
|
pre-configure:
|
|
@${RM} -f ${WRKSRC}/doc/gcrypt.info*
|
|
|
|
.include <bsd.port.post.mk>
|