FreeBSD Bugzilla – Attachment 157636 Details for
Bug 200698
[MAINTAINER] security/pecl-scrypt: change options, use install-strip to INSTALL_TARGET
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pecl-scrypt.diff
pecl-scrypt.diff (text/plain), 1.96 KB, created by
Horia Racoviceanu
on 2015-06-11 12:34:47 UTC
(
hide
)
Description:
pecl-scrypt.diff
Filename:
MIME Type:
Creator:
Horia Racoviceanu
Created:
2015-06-11 12:34:47 UTC
Size:
1.96 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 388686) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= scrypt > PORTVERSION= 1.2 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= security pear > MASTER_SITES= http://pecl.php.net/get/ > PKGNAMEPREFIX= pecl- >@@ -17,24 +17,27 @@ > USE_PHP= hash > USE_PHPEXT= yes > USE_PHP_BUILD= yes >+INSTALL_TARGET= install-strip > > DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} > PORTDOCS= README.md > >-OPTIONS_DEFINE= DOCS >-OPTIONS_DEFAULT=STACKPROTECTOR >+EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} >+PORTEXAMPLES= scrypt.php > >-OPTIONS_RADIO= BUFFER_OVERFLOW_PROTECTION >-OPTIONS_RADIO_BUFFER_OVERFLOW_PROTECTION= STACKPROTECTOR STACKPROTECTORALL >+TESTDIR= ${PREFIX}/tests/${PKGNAMEPREFIX}${PORTNAME} >+PORTTEST= run-tests.php tests/params.phpt tests/vectors.phpt > >-STACKPROTECTOR_DESC= Protect functions with vulnerable objects >-STACKPROTECTORALL_DESC= Protect all functions >+OPTIONS_DEFINE= DOCS EXAMPLES TEST > >-STACKPROTECTOR_CFLAGS= -fstack-protector >-STACKPROTECTORALL_CFLAGS= -fstack-protector-all >+TEST_PLIST_FILES= ${PORTTEST:S|^|${TESTDIR:S|${PREFIX}/||}} > > .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 >@@ -41,9 +44,16 @@ > .endif > > post-install: >- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/${PORTNAME}.so >- > @${MKDIR} ${STAGEDIR}${DOCSDIR} > ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} > >+ @${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>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 200698
:
157507
|
157636
|
157732
|
157789
|
157790
|
157791
|
157792