diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-09-10 03:12:55 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-09-10 03:12:55 +0800 |
commit | 941c3c7d6f68bf407fa33bee71989ba8f2794ff3 (patch) | |
tree | f2f86a9dfefafe13a1e8c70a6755a36270981169 /security | |
parent | b81a5de796b22090429b715f584c5bd1f7d8cf3d (diff) | |
download | freebsd-ports-gnome-941c3c7d6f68bf407fa33bee71989ba8f2794ff3.tar.gz freebsd-ports-gnome-941c3c7d6f68bf407fa33bee71989ba8f2794ff3.tar.zst freebsd-ports-gnome-941c3c7d6f68bf407fa33bee71989ba8f2794ff3.zip |
- Update to 1.4.2
- Add LICENSE_FILE
- Bring back PHP 7 support
- Simplify port
- Take maintainership
PR: 212230
Submitted by: dbaio@bsd.com.br
Diffstat (limited to 'security')
-rw-r--r-- | security/pecl-scrypt/Makefile | 44 | ||||
-rw-r--r-- | security/pecl-scrypt/distinfo | 5 |
2 files changed, 12 insertions, 37 deletions
diff --git a/security/pecl-scrypt/Makefile b/security/pecl-scrypt/Makefile index ac2cf755d7d3..8cadafa10ef3 100644 --- a/security/pecl-scrypt/Makefile +++ b/security/pecl-scrypt/Makefile @@ -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@FreeBSD.org +MAINTAINER= dbaio@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> diff --git a/security/pecl-scrypt/distinfo b/security/pecl-scrypt/distinfo index 3b9108cce1a6..97c888b801c2 100644 --- a/security/pecl-scrypt/distinfo +++ b/security/pecl-scrypt/distinfo @@ -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 |