View | Details | Raw Unified | Return to bug 203544
Collapse All | Expand All

(-)./Makefile (-2 / +2 lines)
Lines 1-7 Link Here
1
# $FreeBSD: head/security/polarssl/Makefile 397374 2015-09-20 14:35:57Z danfe $
1
# $FreeBSD: head/security/polarssl/Makefile 397374 2015-09-20 14:35:57Z danfe $
2
2
3
PORTNAME=	polarssl
3
PORTNAME=	polarssl
4
PORTVERSION=	1.2.14
4
PORTVERSION=	1.2.16
5
DISTVERSIONSUFFIX=	-gpl
5
DISTVERSIONSUFFIX=	-gpl
6
CATEGORIES=	security devel
6
CATEGORIES=	security devel
7
MASTER_SITES=	https://polarssl.org/download/
7
MASTER_SITES=	https://polarssl.org/download/
Lines 12-18 COMMENT= Open Source embedded SSL/TLS cr Link Here
12
LICENSE=	GPLv2
12
LICENSE=	GPLv2
13
13
14
ALL_TARGET=	no_test
14
ALL_TARGET=	no_test
15
15
MAKE_ENV=	SHARED=1
16
USES=		cpe gmake tar:tgz
16
USES=		cpe gmake tar:tgz
17
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
18
18
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (polarssl-1.2.14-gpl.tgz) = d7cbd8314aa3a5441f6282d13d07df610f49b4bc678088b04188adf093d17d37
1
SHA256 (polarssl-1.2.16-gpl.tgz) = 3c0b86866f1806262ff0a9c08dc56c5906ac5cefd866d85814e43f5e1694ee87
2
SIZE (polarssl-1.2.14-gpl.tgz) = 1023322
2
SIZE (polarssl-1.2.16-gpl.tgz) = 1038744
(-)./files/patch-include-polarssl-config_h (-3 / +3 lines)
Lines 1-6 Link Here
1
--- include/polarssl/config.h.orig	2013-09-24 16:37:14.000000000 +0200
1
--- include/polarssl/config.h.orig	2015-08-11 01:42:34 UTC
2
+++ include/polarssl/config.h	2013-09-24 16:39:22.000000000 +0200
2
+++ include/polarssl/config.h
3
@@ -627,8 +627,8 @@
3
@@ -639,8 +639,8 @@
4
  * Requires: POLARSSL_TIMING_C
4
  * Requires: POLARSSL_TIMING_C
5
  *
5
  *
6
  * Uncomment to enable the HAVEGE random generator.
6
  * Uncomment to enable the HAVEGE random generator.
(-)./files/patch-library-Makefile (-25 lines)
Lines 1-25 Link Here
1
--- library/Makefile.orig	2014-10-24 09:42:52.000000000 +0100
2
+++ library/Makefile	2014-10-27 20:13:26.522466123 +0000
3
@@ -18,9 +18,7 @@
4
 # CFLAGS += -D_BSD_EXTENSION
5
 
6
 # To compile as a shared library:
7
-ifdef SHARED
8
 CFLAGS += -fPIC
9
-endif
10
 
11
 SONAME=libpolarssl.so.5
12
 
13
@@ -53,11 +51,7 @@
14
 
15
 .SILENT:
16
 
17
-ifndef SHARED
18
-all: static
19
-else
20
-all: shared
21
-endif
22
+all: shared static
23
 
24
 static: libpolarssl.a
25
 

Return to bug 203544