From owner-svn-ports-all@FreeBSD.ORG Tue Jul 15 17:48:42 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 189BB39D; Tue, 15 Jul 2014 17:48:42 +0000 (UTC) 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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ED0712130; Tue, 15 Jul 2014 17:48:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6FHmfu5006458; Tue, 15 Jul 2014 17:48:41 GMT (envelope-from pi@svn.freebsd.org) Received: (from pi@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6FHmep9006450; Tue, 15 Jul 2014 17:48:40 GMT (envelope-from pi@svn.freebsd.org) Message-Id: <201407151748.s6FHmep9006450@svn.freebsd.org> From: Kurt Jaeger Date: Tue, 15 Jul 2014 17:48:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361987 - in head/security: . signify signify/files 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.18 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: Tue, 15 Jul 2014 17:48:42 -0000 Author: pi Date: Tue Jul 15 17:48:40 2014 New Revision: 361987 URL: http://svnweb.freebsd.org/changeset/ports/361987 QAT: https://qat.redports.org/buildarchive/r361987/ Log: New port: security/signify 'signify' from OpenBSD as of July 15 2014, with the necessary plumbing cobbled together from the OpenBSD CVS to make it compile under Linux. It can be used to verify the LibreSSL distfile from the OpenBSD archive. Since the CVS itself is not signed, the author provides no guarantees. WWW: http://www.fefe.de/signify/ Added: head/security/signify/ head/security/signify/Makefile (contents, props changed) head/security/signify/distinfo (contents, props changed) head/security/signify/files/ head/security/signify/files/patch-Makefile (contents, props changed) head/security/signify/files/patch-readpassphrase.c (contents, props changed) head/security/signify/pkg-descr (contents, props changed) head/security/signify/pkg-plist (contents, props changed) Modified: head/security/Makefile Modified: head/security/Makefile ============================================================================== --- head/security/Makefile Tue Jul 15 17:37:38 2014 (r361986) +++ head/security/Makefile Tue Jul 15 17:48:40 2014 (r361987) @@ -912,6 +912,7 @@ SUBDIR += shishi SUBDIR += shttpscanner SUBDIR += sig2dot + SUBDIR += signify SUBDIR += signing-party SUBDIR += silktools SUBDIR += sinfp Added: head/security/signify/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/signify/Makefile Tue Jul 15 17:48:40 2014 (r361987) @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= signify +PORTVERSION= 1 +CATEGORIES= security +MASTER_SITES= http://www.fefe.de/signify/ +DISTNAME= ${PORTNAME} + +MAINTAINER= pi@FreeBSD.org +COMMENT= OpenBSD signify ported by fefe + +LICENSE= BSD2CLAUSE + +USES= gmake + +do-install: + ${CP} ${WRKSRC}/signify ${STAGEDIR}${PREFIX}/bin + +.include Added: head/security/signify/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/signify/distinfo Tue Jul 15 17:48:40 2014 (r361987) @@ -0,0 +1,2 @@ +SHA256 (signify.tar.gz) = 72cbe892edbe8e14b314fc91f6422d6cede8f689a2db4d8b34d9bfaed56ff4ec +SIZE (signify.tar.gz) = 88236 Added: head/security/signify/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/signify/files/patch-Makefile Tue Jul 15 17:48:40 2014 (r361987) @@ -0,0 +1,19 @@ +--- Makefile.orig 2014-07-15 19:24:29.000000000 +0200 ++++ Makefile 2014-07-15 19:29:34.000000000 +0200 +@@ -1,9 +1,10 @@ ++ + all: signify + + SRCS=signify.c ohash.c strlcpy.c base64.c explicit_bzero.c readpassphrase.c bcrypt_pbkdf.c ed25519.c sc25519.c ge25519.c fe25519.c arc4random.c blowfish.c hash.c blocks.c getentropy.c verify.c sha2.c shafile.c + OBJS=$(patsubst %.c,%.o,$(SRCS)) + +-CC=gcc -D_GNU_SOURCE -D_BSD_SOURCE -DHAVE_SYS_SYSCALL_H ++CC=clang -D_GNU_SOURCE -D_BSD_SOURCE -DHAVE_SYS_SYSCALL_H + CFLAGS=-Os -pipe + LDFLAGS=-s + LDLIBS=-lcrypto +@@ -25,3 +26,4 @@ + + tar: + cd .. && tar czf signify.tar.gz $(patsubst %,signify/%,$(SRCS) blf.h chacha_private.h crypto_api.h fe25519.h ge25519.h ohash.h readpassphrase.h sc25519.h sha2.h util.h ge25519_base.data Makefile) ++ Added: head/security/signify/files/patch-readpassphrase.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/signify/files/patch-readpassphrase.c Tue Jul 15 17:48:40 2014 (r361987) @@ -0,0 +1,13 @@ +--- readpassphrase.c-orig 2014-07-15 19:27:23.000000000 +0200 ++++ readpassphrase.c 2014-07-15 19:28:20.000000000 +0200 +@@ -32,6 +32,10 @@ + #include + #include + ++#ifndef _NSIG ++#define _NSIG NSIG ++#endif ++ + static volatile sig_atomic_t signo[_NSIG]; + + static void handler(int); Added: head/security/signify/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/signify/pkg-descr Tue Jul 15 17:48:40 2014 (r361987) @@ -0,0 +1,6 @@ +'signify' from OpenBSD as of July 15 2014, with the necessary plumbing +cobbled together from the OpenBSD CVS to make it compile under Linux. + +Since the CVS itself is not signed, the author provides no guarantees. + +WWW: http://www.fefe.de/signify/ Added: head/security/signify/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/signify/pkg-plist Tue Jul 15 17:48:40 2014 (r361987) @@ -0,0 +1 @@ +bin/signify