View | Details | Raw Unified | Return to bug 81070
Collapse All | Expand All

(-)Makefile (-10 / +4 lines)
Lines 18-37 Link Here
18
18
19
PKGMESSAGE=	${WRKDIR}/pkg-message
19
PKGMESSAGE=	${WRKDIR}/pkg-message
20
20
21
CRYPTKEY?=	11152, 368, 192, 1281, 62
22
23
USE_PHP=	yes
21
USE_PHP=	yes
24
USE_PHPIZE=	yes
22
USE_PHPIZE=	yes
25
23
26
CONFIGURE_ARGS+=--enable-php_screw=shared
24
CONFIGURE_ARGS+=--enable-php_screw=shared
27
25
28
pre-everything::
26
.include <bsd.port.pre.mk>
29
	@${ECHO} ""
27
30
	@${ECHO} "To achieve real security, define your own encryption"
28
CRYPTKEY!=	jot -r 5 0 32767 | ${XARGS} | ${SED} 's/ /, /g'
31
	@${ECHO} "seed key (CRYPTKEY); longer is better."
32
	@${ECHO} ""
33
	@${ECHO} "make CRYPTKEY=\"234, 84, 39664, 771, 9853\""
34
	@${ECHO} ""
35
29
36
post-patch:
30
post-patch:
37
	@${ECHO} "short pm9screw_mycryptkey[] = { ${CRYPTKEY} };" > \
31
	@${ECHO} "short pm9screw_mycryptkey[] = { ${CRYPTKEY} };" > \
Lines 55-58 Link Here
55
post-install:
49
post-install:
56
	@${CAT} ${PKGMESSAGE}
50
	@${CAT} ${PKGMESSAGE}
57
51
58
.include <bsd.port.mk>
52
.include <bsd.port.post.mk>

Return to bug 81070