Date: Tue, 15 Jul 2014 17:48:40 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> 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 Message-ID: <201407151748.s6FHmep9006450@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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 <unistd.h> + #include <readpassphrase.h> + ++#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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407151748.s6FHmep9006450>