From 0793ce7ca5ef38d586e64b36470caab74db7d0e5 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Mon, 15 Jul 2013 14:51:29 +0000 Subject: [PATCH] - Update to 0.5.14 PR: 180520 Submitted by: Ports Fury --- security/pbc/Makefile | 13 +++++++++++-- security/pbc/distinfo | 4 ++-- security/pbc/pkg-plist | 10 ++++++---- 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/security/pbc/Makefile b/security/pbc/Makefile index 1bfb0e77e262..8b8fe8c5090d 100644 --- a/security/pbc/Makefile +++ b/security/pbc/Makefile @@ -2,18 +2,27 @@ # $FreeBSD$ PORTNAME= pbc -PORTVERSION= 0.5.13 +PORTVERSION= 0.5.14 CATEGORIES= security MASTER_SITES= http://crypto.stanford.edu/pbc/files/ MAINTAINER= ports@FreeBSD.org COMMENT= Library of pairing-based cryptosystems +LICENSE= LGPL3 + LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp +USES= bison GNU_CONFIGURE= yes -USE_GCC= 4.6+ USE_LDCONFIG= yes + +CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +post-patch: + @${REINPLACE_CMD} -e \ + 's|^CFLAGS=$$|| ; \ + s|-O3||' ${WRKSRC}/configure + .include diff --git a/security/pbc/distinfo b/security/pbc/distinfo index 8ff856f1ceaa..1b72342f9eaf 100644 --- a/security/pbc/distinfo +++ b/security/pbc/distinfo @@ -1,2 +1,2 @@ -SHA256 (pbc-0.5.13.tar.gz) = 6207b7aea96e61df991c59a27ff9a954922954bc4b3cb9db325a37806b41dc89 -SIZE (pbc-0.5.13.tar.gz) = 556424 +SHA256 (pbc-0.5.14.tar.gz) = 772527404117587560080241cedaf441e5cac3269009cdde4c588a1dce4c23d2 +SIZE (pbc-0.5.14.tar.gz) = 654515 diff --git a/security/pbc/pkg-plist b/security/pbc/pkg-plist index 64f6a1d9eb82..40676c3e8d1e 100644 --- a/security/pbc/pkg-plist +++ b/security/pbc/pkg-plist @@ -1,7 +1,3 @@ -lib/libpbc.a -lib/libpbc.la -lib/libpbc.so -lib/libpbc.so.1 include/pbc/pbc.h include/pbc/pbc_a1_param.h include/pbc/pbc_a_param.h @@ -14,6 +10,7 @@ include/pbc/pbc_fieldquadratic.h include/pbc/pbc_fp.h include/pbc/pbc_g_param.h include/pbc/pbc_hilbert.h +include/pbc/pbc_i_param.h include/pbc/pbc_memory.h include/pbc/pbc_mnt.h include/pbc/pbc_multiz.h @@ -22,7 +19,12 @@ include/pbc/pbc_param.h include/pbc/pbc_poly.h include/pbc/pbc_random.h include/pbc/pbc_singular.h +include/pbc/pbc_ternary_extension_field.h include/pbc/pbc_test.h include/pbc/pbc_utils.h include/pbc/pbc_z.h +lib/libpbc.a +lib/libpbc.la +lib/libpbc.so +lib/libpbc.so.1 @dirrm include/pbc