Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2014 21:48:43 +0000 (UTC)
From:      Jase Thew <jase@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371609 - in head/security/polarssl: . files
Message-ID:  <201410272148.s9RLmhoP007926@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jase
Date: Mon Oct 27 21:48:42 2014
New Revision: 371609
URL: https://svnweb.freebsd.org/changeset/ports/371609
QAT: https://qat.redports.org/buildarchive/r371609/

Log:
  security/polarssl: Update to 1.2.12
  
  While I am here:
  - Remove fetch wrapper as it is no longer required
  - Strip library shared object
  - Remove @dirrm* from pkg-plist
  
  Changes:	https://raw.github.com/polarssl/polarssl/polarssl-1.2.12/ChangeLog

Deleted:
  head/security/polarssl/files/fetchwrapper.sh
Modified:
  head/security/polarssl/Makefile
  head/security/polarssl/distinfo
  head/security/polarssl/files/patch-library-Makefile
  head/security/polarssl/pkg-plist

Modified: head/security/polarssl/Makefile
==============================================================================
--- head/security/polarssl/Makefile	Mon Oct 27 21:46:33 2014	(r371608)
+++ head/security/polarssl/Makefile	Mon Oct 27 21:48:42 2014	(r371609)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	polarssl
-PORTVERSION=	1.2.10
+PORTVERSION=	1.2.12
 DISTVERSIONSUFFIX=	-gpl
 CATEGORIES=	security devel
 MASTER_SITES=	http://polarssl.org/download/
@@ -11,10 +11,6 @@ COMMENT=	Open Source embedded SSL/TLS cr
 
 LICENSE=	GPLv2
 
-# bypass the HTML "now downloading..." splash site, code below
-# .include <bsd.port.pre.mk>
-URL_SUFFIX=	?do=yes
-FETCH_ARGS=	-pRro ${DISTFILES}
 ALL_TARGET=	no_test
 
 USES=	gmake tar:tgz
@@ -37,8 +33,9 @@ BINFILES=	aescrypt2 benchmark dh_client 
 do-install:
 	@cd ${WRKSRC}/include && ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${PREFIX}/include "! -name *.orig"
 	${INSTALL_DATA} ${WRKSRC}/library/libpolarssl.a ${STAGEDIR}${PREFIX}/lib/
-	${INSTALL_DATA} ${WRKSRC}/library/libpolarssl.so  ${STAGEDIR}${PREFIX}/lib/libpolarssl.so.0
-	cd ${STAGEDIR}${PREFIX}/lib/ && ${LN} -sf libpolarssl.so.0 libpolarssl.so
+	${INSTALL_DATA} ${WRKSRC}/library/libpolarssl.so ${STAGEDIR}${PREFIX}/lib/libpolarssl.so.5
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpolarssl.so.5
+	cd ${STAGEDIR}${PREFIX}/lib/ && ${LN} -sf libpolarssl.so.5 libpolarssl.so
 .for i in ${BINFILES}
 	${INSTALL_PROGRAM} ${WRKSRC}/programs/*/${i} ${STAGEDIR}${PREFIX}/bin/polarssl_${i}
 .endfor
@@ -55,13 +52,8 @@ post-install:
 .endfor
 .endif
 
-.include <bsd.port.pre.mk>
-
-FETCH_CMD=	${SH} ${FILESDIR}/fetchwrapper.sh \
-			${URL_SUFFIX} ${FETCH_BINARY} ${FETCH_ARGS}
-
 .if ${ARCH} == "powerpc"
 BROKEN=		Does not compile on powerpc
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/security/polarssl/distinfo
==============================================================================
--- head/security/polarssl/distinfo	Mon Oct 27 21:46:33 2014	(r371608)
+++ head/security/polarssl/distinfo	Mon Oct 27 21:48:42 2014	(r371609)
@@ -1,2 +1,2 @@
-SHA256 (polarssl-1.2.10-gpl.tgz) = b45a06b2fdeb0833970e6fb69bc331f2757a1b7e85537b02c1f169434ed888fa
-SIZE (polarssl-1.2.10-gpl.tgz) = 999515
+SHA256 (polarssl-1.2.12-gpl.tgz) = 63dd60e78d25c438648607bb177b063dcf5fbf3ced9ee794fcb165d101940131
+SIZE (polarssl-1.2.12-gpl.tgz) = 1021400

Modified: head/security/polarssl/files/patch-library-Makefile
==============================================================================
--- head/security/polarssl/files/patch-library-Makefile	Mon Oct 27 21:46:33 2014	(r371608)
+++ head/security/polarssl/files/patch-library-Makefile	Mon Oct 27 21:48:42 2014	(r371609)
@@ -1,5 +1,5 @@
---- library/Makefile.orig	2012-11-26 19:20:30.821850410 +0000
-+++ library/Makefile	2012-11-26 19:21:01.534380354 +0000
+--- library/Makefile.orig	2014-10-24 09:42:52.000000000 +0100
++++ library/Makefile	2014-10-27 20:13:26.522466123 +0000
 @@ -18,9 +18,7 @@
  # CFLAGS += -D_BSD_EXTENSION
  
@@ -8,7 +8,7 @@
  CFLAGS += -fPIC
 -endif
  
- SONAME=libpolarssl.so.0
+ SONAME=libpolarssl.so.5
  
 @@ -53,11 +51,7 @@
  

Modified: head/security/polarssl/pkg-plist
==============================================================================
--- head/security/polarssl/pkg-plist	Mon Oct 27 21:46:33 2014	(r371608)
+++ head/security/polarssl/pkg-plist	Mon Oct 27 21:48:42 2014	(r371609)
@@ -65,8 +65,6 @@ include/polarssl/x509write.h
 include/polarssl/xtea.h
 lib/libpolarssl.a
 lib/libpolarssl.so
-lib/libpolarssl.so.0
+lib/libpolarssl.so.5
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
-@dirrmtry include/polarssl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410272148.s9RLmhoP007926>