Date: Sun, 28 Jul 2013 09:25:25 GMT From: Horia Racoviceanu <horia@racoviceanu.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/180903: New port: security/libscrypt C library for the scrypt key derivation function Message-ID: <201307280925.r6S9PPsE083337@oldred.freebsd.org> Resent-Message-ID: <201307280930.r6S9U0JD036577@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 180903 >Category: ports >Synopsis: New port: security/libscrypt C library for the scrypt key derivation function >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:30: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@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Although the creator of scrypt has written an "example implementation", it doesn't satisfy the "simple library" requirement that prompts developers to implement it. Therefore, I've written my adaptation, which quite simply pulls the relevant parts from the original implementation, then adds a number of harnesses and simplified interfaces. The hope is that through this, any developer can utilise scrypt. WWW: http://www.lolware.net/libscrypt.html >How-To-Repeat: >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: # # libscrypt # libscrypt/pkg-descr # libscrypt/Makefile # libscrypt/distinfo # echo c - libscrypt mkdir -p libscrypt > /dev/null 2>&1 echo x - libscrypt/pkg-descr sed 's/^X//' >libscrypt/pkg-descr << '0898a6b7bb7260b508286a0704981a3d' XAlthough the creator of scrypt has written an "example implementation", it Xdoesn't satisfy the "simple library" requirement that prompts developers to Ximplement it. Therefore, I've written my adaptation, which quite simply pulls Xthe relevant parts from the original implementation, then adds a number of Xharnesses and simplified interfaces. The hope is that through this, any Xdeveloper can utilise scrypt. X XWWW: http://www.lolware.net/libscrypt.html 0898a6b7bb7260b508286a0704981a3d echo x - libscrypt/Makefile sed 's/^X//' >libscrypt/Makefile << '0f0d04c9f9dac90c79a8385d6c39c498' X# Created by: Horia Racoviceanu <horia@racoviceanu.com> X# $FreeBSD$ X XPORTNAME= libscrypt XPORTVERSION= 1.1 XCATEGORIES= security X XMAINTAINER= horia@racoviceanu.com XCOMMENT= C library for the scrypt key derivation function X XLICENSE= BSD XLICENSE_FILE= ${WRKSRC}/LICENSE X XUSE_LDCONFIG= yes XUSE_GITHUB= yes XGH_ACCOUNT= technion XGH_COMMIT= 49f9136 XGH_TAGNAME= v${PORTVERSION} X XPLIST_FILES+= include/libscrypt.h \ X lib/libscrypt.a \ X lib/libscrypt.so \ X lib/libscrypt.so.0 X Xpost-patch: X ${REINPLACE_CMD} -e '/^CC=gcc/d' -e '/CFLAGS=/s,$$, ${CFLAGS},' \ X -e 's,/usr/local,${PREFIX},' ${WRKSRC}/Makefile X Xregression-test: build X (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check) X X.include <bsd.port.mk> 0f0d04c9f9dac90c79a8385d6c39c498 echo x - libscrypt/distinfo sed 's/^X//' >libscrypt/distinfo << '63f8eff0451c43d8c2cd7765f6fb3660' XSHA256 (libscrypt-1.1.tar.gz) = f6cec579980850604267566731e12d985f16739cd92b828fe28c326f6a7ee798 XSIZE (libscrypt-1.1.tar.gz) = 20276 63f8eff0451c43d8c2cd7765f6fb3660 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307280925.r6S9PPsE083337>