ports/180904: New port: security/pecl-scrypt PHP wrapper to Colin Percival's scrypt implementation

Horia Racoviceanu horia at racoviceanu.com
Sun Jul 28 09:40:00 UTC 2013


>Number:         180904
>Category:       ports
>Synopsis:       New port: security/pecl-scrypt PHP wrapper to Colin Percival's scrypt implementation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 28 09:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Horia Racoviceanu
>Release:        FreeBSD 9.1-RELEASE-p4 amd64
>Organization:
>Environment:
FreeBSD horia.lan 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
This is a PHP library providing a wrapper to Colin Percival's scrypt
implementation. Scrypt is a key derivation function designed to be far more
secure against hardware brute-force attacks than alternative functions such as
PBKDF2 or bcrypt.

WWW: http://pecl.php.net/package/scrypt
>How-To-Repeat:
https://redports.org/buildarchive/20130728091100-20978/
>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pecl-scrypt
#	pecl-scrypt/Makefile
#	pecl-scrypt/distinfo
#	pecl-scrypt/pkg-descr
#
echo c - pecl-scrypt
mkdir -p pecl-scrypt > /dev/null 2>&1
echo x - pecl-scrypt/Makefile
sed 's/^X//' >pecl-scrypt/Makefile << 'c7363f0c779ea8a258bca0e5ff5ef0e9'
X# Created by: Horia Racoviceanu <horia at racoviceanu.com>
X# $FreeBSD$
X
XPORTNAME=	scrypt
XPORTVERSION=	1.2
XCATEGORIES=	security pear
XMASTER_SITES=	http://pecl.php.net/get/
XPKGNAMEPREFIX=	pecl-
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	horia at racoviceanu.com
XCOMMENT=	PHP wrapper to Colin Percival's scrypt implementation
X
XLICENSE=	BSD
X
XUSE_PHP=	hash
XUSE_PHPEXT=	yes
XUSE_PHP_BUILD=	yes
X
X.include <bsd.port.pre.mk>
X
X.if ${ARCH} != "amd64"
Xpost-patch:
X	${REINPLACE_CMD} -e '/emmintrin.h/d' ${WRKSRC}/config.m4
X.endif
X
X.include <bsd.port.post.mk>
c7363f0c779ea8a258bca0e5ff5ef0e9
echo x - pecl-scrypt/distinfo
sed 's/^X//' >pecl-scrypt/distinfo << '8de7c1a2c68f696bb957321ae32353ae'
XSHA256 (scrypt-1.2.tgz) = b5089b32bdf5d4e1406081c29a7f72447ec801ef863cb7aefed22e82941f56f9
XSIZE (scrypt-1.2.tgz) = 20361
8de7c1a2c68f696bb957321ae32353ae
echo x - pecl-scrypt/pkg-descr
sed 's/^X//' >pecl-scrypt/pkg-descr << 'deafaabd3ae4f4a456badf506fc792cd'
XThis is a PHP library providing a wrapper to Colin Percival's scrypt
Ximplementation. Scrypt is a key derivation function designed to be far more
Xsecure against hardware brute-force attacks than alternative functions such as
XPBKDF2 or bcrypt.
X
XWWW: http://pecl.php.net/package/scrypt
deafaabd3ae4f4a456badf506fc792cd
exit



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list