FreeBSD Bugzilla – Attachment 53600 Details for
Bug 81070
[PATCH] www/php-screw: randomize CRYPTKEY
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
php-screw-1.3.patch
php-screw-1.3.patch (text/plain), 964 bytes, created by
Yen-Ming Lee
on 2005-05-15 17:30:10 UTC
(
hide
)
Description:
php-screw-1.3.patch
Filename:
MIME Type:
Creator:
Yen-Ming Lee
Created:
2005-05-15 17:30:10 UTC
Size:
964 bytes
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/pcvs/ports/www/php-screw/Makefile,v >retrieving revision 1.10 >diff -u -u -r1.10 Makefile >--- Makefile 9 Feb 2004 11:43:36 -0000 1.10 >+++ Makefile 15 May 2005 16:18:12 -0000 >@@ -18,20 +18,14 @@ > > PKGMESSAGE= ${WRKDIR}/pkg-message > >-CRYPTKEY?= 11152, 368, 192, 1281, 62 >- > USE_PHP= yes > USE_PHPIZE= yes > > CONFIGURE_ARGS+=--enable-php_screw=shared > >-pre-everything:: >- @${ECHO} "" >- @${ECHO} "To achieve real security, define your own encryption" >- @${ECHO} "seed key (CRYPTKEY); longer is better." >- @${ECHO} "" >- @${ECHO} "make CRYPTKEY=\"234, 84, 39664, 771, 9853\"" >- @${ECHO} "" >+.include <bsd.port.pre.mk> >+ >+CRYPTKEY!= jot -r 5 0 32767 | ${XARGS} | ${SED} 's/ /, /g' > > post-patch: > @${ECHO} "short pm9screw_mycryptkey[] = { ${CRYPTKEY} };" > \ >@@ -55,4 +49,4 @@ > post-install: > @${CAT} ${PKGMESSAGE} > >-.include <bsd.port.mk> >+.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 81070
: 53600