svn commit: r421627 - head/security/pecl-scrypt

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Sep 9 19:12:57 UTC 2016


Author: amdmi3
Date: Fri Sep  9 19:12:55 2016
New Revision: 421627
URL: https://svnweb.freebsd.org/changeset/ports/421627

Log:
  - Update to 1.4.2
  - Add LICENSE_FILE
  - Bring back PHP 7 support
  - Simplify port
  - Take maintainership
  
  PR:		212230
  Submitted by:	dbaio at bsd.com.br

Modified:
  head/security/pecl-scrypt/Makefile
  head/security/pecl-scrypt/distinfo

Modified: head/security/pecl-scrypt/Makefile
==============================================================================
--- head/security/pecl-scrypt/Makefile	Fri Sep  9 18:50:33 2016	(r421626)
+++ head/security/pecl-scrypt/Makefile	Fri Sep  9 19:12:55 2016	(r421627)
@@ -2,59 +2,33 @@
 # $FreeBSD$
 
 PORTNAME=	scrypt
-PORTVERSION=	1.2
-PORTREVISION=	3
+PORTVERSION=	1.4.2
 CATEGORIES=	security pear
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	dbaio at bsd.com.br
 COMMENT=	PHP wrapper to Colin Percival's scrypt implementation
 
 LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BROKEN_powerpc64=	Does not build
 
-USES=		compiler php:ext tar:tgz
+USES=		php:ext tar:tgz
 USE_PHP=	hash:build
-INSTALL_TARGET=	install-strip
-IGNORE_WITH_PHP=	70
 
-DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
-PORTDOCS=	README.md
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
-EXAMPLESDIR=	${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
+PORTDOCS=	README.md
 PORTEXAMPLES=	scrypt.php
 
-TESTDIR=	${PREFIX}/tests/${PKGNAMEPREFIX}${PORTNAME}
-PORTTEST=	run-tests.php tests/params.phpt tests/vectors.phpt
-
-OPTIONS_DEFINE=	DOCS EXAMPLES TEST
-
-TEST_PLIST_FILES=	${PORTTEST:S|^|${TESTDIR:S|${PREFIX}/||:S|$|/|}|}
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == i386 && ${OSVERSION} < 1000036
-CFLAGS+=	-fstack-protector
-.endif
-
-.if ${ARCH} != amd64 && ${COMPILER_TYPE} == gcc
-post-patch:
-	${REINPLACE_CMD} '/emmintrin.h/d' ${WRKSRC}/config.m4
-.endif
-
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
 
-.if ${PORT_OPTIONS:MTEST}
-	@${MKDIR} ${STAGEDIR}${TESTDIR}
-	${INSTALL_DATA} ${PORTTEST:M*.php:S|^|${WRKSRC}/|} ${STAGEDIR}${TESTDIR}
-	(cd ${WRKSRC} && ${COPYTREE_SHARE} tests ${STAGEDIR}${TESTDIR})
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/security/pecl-scrypt/distinfo
==============================================================================
--- head/security/pecl-scrypt/distinfo	Fri Sep  9 18:50:33 2016	(r421626)
+++ head/security/pecl-scrypt/distinfo	Fri Sep  9 19:12:55 2016	(r421627)
@@ -1,2 +1,3 @@
-SHA256 (scrypt-1.2.tgz) = b5089b32bdf5d4e1406081c29a7f72447ec801ef863cb7aefed22e82941f56f9
-SIZE (scrypt-1.2.tgz) = 20361
+TIMESTAMP = 1472388057
+SHA256 (scrypt-1.4.2.tgz) = 94c7e7f3378f6ddf1755f59d99f61570f380df2b2fa630853a932d58fa38389c
+SIZE (scrypt-1.4.2.tgz) = 21585


More information about the svn-ports-all mailing list