Index: head/security/hpenc/Makefile =================================================================== --- head/security/hpenc/Makefile (revision 378517) +++ head/security/hpenc/Makefile (revision 378518) @@ -1,26 +1,32 @@ # $FreeBSD$ PORTNAME= hpenc PORTVERSION= 1.0 CATEGORIES= security MASTER_SITES= http://highsecure.ru/distfiles/ MAINTAINER= vsevolod@FreeBSD.org COMMENT= Fast authenticated encryption CLI tool LICENSE= BSD2CLAUSE USES= tar:xz compiler:c++11-lib gmake USE_OPENSSL= yes PLIST_FILES= bin/hpenc MAKE_ARGS+= "ARCH=${ARCH:S/amd64/x86/:S/i386/x86/}" CXXFLAGS+= -std=c++11 \ -I${WRKSRC}/chacha-opt/app/include \ -I${WRKSRC}/poly1305-opt/app/include LDFLAGS+= -pthread -lcrypto +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000036 +WITH_OPENSSL_PORT= yes +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/hpenc -.include +.include Index: head/security/hpenc/files/patch-poly1305-i386-asm =================================================================== --- head/security/hpenc/files/patch-poly1305-i386-asm (nonexistent) +++ head/security/hpenc/files/patch-poly1305-i386-asm (revision 378518) @@ -0,0 +1,22 @@ +--- poly1305-opt/app/extensions/poly1305/poly1305_avx-32.inc ++++ poly1305-opt/app/extensions/poly1305/poly1305_avx-32.inc +@@ -7,7 +7,7 @@ FN_END poly1305_block_size_avx + + + GLOBAL_HIDDEN_FN poly1305_auth_avx ++cmpl $64, 12(%esp) +-cmp $64, 12(%esp) + jbe poly1305_auth_x86_local + pushl %ebp + movl %esp, %ebp +--- poly1305-opt/app/extensions/poly1305/poly1305_avx2-32.inc ++++ poly1305-opt/app/extensions/poly1305/poly1305_avx2-32.inc +@@ -8,7 +8,7 @@ FN_END poly1305_block_size_avx2 + + + GLOBAL_HIDDEN_FN poly1305_auth_avx2 ++cmpl $64, 12(%esp) +-cmp $64, 12(%esp) + jbe poly1305_auth_x86_local + pushl %ebp + movl %esp, %ebp Property changes on: head/security/hpenc/files/patch-poly1305-i386-asm ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property