From owner-svn-ports-all@FreeBSD.ORG Sun Jul 28 16:51:55 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 46F067B3; Sun, 28 Jul 2013 16:51:55 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 257D021DD; Sun, 28 Jul 2013 16:51:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6SGptsj022792; Sun, 28 Jul 2013 16:51:55 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6SGpsEw022788; Sun, 28 Jul 2013 16:51:54 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201307281651.r6SGpsEw022788@svn.freebsd.org> From: "Vanilla I. Shu" Date: Sun, 28 Jul 2013 16:51:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323838 - in head/security: . libscrypt X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jul 2013 16:51:55 -0000 Author: vanilla Date: Sun Jul 28 16:51:54 2013 New Revision: 323838 URL: http://svnweb.freebsd.org/changeset/ports/323838 Log: Add libscrypt 1.1, c library for the scrypt key derivation function. PR: ports/180903 Submitted by: Horia Racoviceanu Added: head/security/libscrypt/ head/security/libscrypt/Makefile (contents, props changed) head/security/libscrypt/distinfo (contents, props changed) head/security/libscrypt/pkg-descr (contents, props changed) Modified: head/security/Makefile Modified: head/security/Makefile ============================================================================== --- head/security/Makefile Sun Jul 28 16:45:59 2013 (r323837) +++ head/security/Makefile Sun Jul 28 16:51:54 2013 (r323838) @@ -275,6 +275,7 @@ SUBDIR += libprelude SUBDIR += libpreludedb SUBDIR += libpwstor + SUBDIR += libscrypt SUBDIR += libsectok SUBDIR += libsodium SUBDIR += libsparkcrypto Added: head/security/libscrypt/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/libscrypt/Makefile Sun Jul 28 16:51:54 2013 (r323838) @@ -0,0 +1,32 @@ +# Created by: Horia Racoviceanu +# $FreeBSD$ + +PORTNAME= libscrypt +PORTVERSION= 1.1 +CATEGORIES= security + +MAINTAINER= horia@racoviceanu.com +COMMENT= C library for the scrypt key derivation function + +LICENSE= BSD +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_LDCONFIG= yes +USE_GITHUB= yes +GH_ACCOUNT= technion +GH_COMMIT= 49f9136 +GH_TAGNAME= v${PORTVERSION} + +PLIST_FILES+= include/libscrypt.h \ + lib/libscrypt.a \ + lib/libscrypt.so \ + lib/libscrypt.so.0 + +post-patch: + ${REINPLACE_CMD} -e '/^CC=gcc/d' -e '/CFLAGS=/s,$$, ${CFLAGS},' \ + -e 's,/usr/local,${PREFIX},' ${WRKSRC}/Makefile + +regression-test: build + (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check) + +.include Added: head/security/libscrypt/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/libscrypt/distinfo Sun Jul 28 16:51:54 2013 (r323838) @@ -0,0 +1,2 @@ +SHA256 (libscrypt-1.1.tar.gz) = f6cec579980850604267566731e12d985f16739cd92b828fe28c326f6a7ee798 +SIZE (libscrypt-1.1.tar.gz) = 20276 Added: head/security/libscrypt/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/libscrypt/pkg-descr Sun Jul 28 16:51:54 2013 (r323838) @@ -0,0 +1,8 @@ +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