# 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 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 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