svn commit: r443020 - in head/devel/cgit: . files

Adam Weinberger adamw at FreeBSD.org
Fri Jun 9 16:46:23 UTC 2017


Author: adamw
Date: Fri Jun  9 16:46:21 2017
New Revision: 443020
URL: https://svnweb.freebsd.org/changeset/ports/443020

Log:
  Add the SHA1 checksum patch from devel/git

Added:
  head/devel/cgit/files/patch-SHA1-endianness
     - copied, changed from r443018, head/devel/git/files/patch-SHA1-endianness
Modified:
  head/devel/cgit/Makefile

Modified: head/devel/cgit/Makefile
==============================================================================
--- head/devel/cgit/Makefile	Fri Jun  9 16:45:34 2017	(r443019)
+++ head/devel/cgit/Makefile	Fri Jun  9 16:46:21 2017	(r443020)
@@ -2,7 +2,7 @@
 
 PORTNAME=	cgit
 PORTVERSION=	1.1
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	devel www
 MASTER_SITES=	http://git.zx2c4.com/cgit/snapshot/:cgit \
 		https://www.kernel.org/pub/software/scm/git/:git

Copied and modified: head/devel/cgit/files/patch-SHA1-endianness (from r443018, head/devel/git/files/patch-SHA1-endianness)
==============================================================================
--- head/devel/git/files/patch-SHA1-endianness	Fri Jun  9 16:38:39 2017	(r443018, copy source)
+++ head/devel/cgit/files/patch-SHA1-endianness	Fri Jun  9 16:46:21 2017	(r443020)
@@ -54,8 +54,8 @@ Signed-off-by: Junio C Hamano <gitster at pobox.com>
 
 diff --git a/sha1dc/sha1.c b/sha1dc/sha1.c
 index 3dff80ac727aa..facea1bb560b5 100644
---- sha1dc/sha1.c
-+++ sha1dc/sha1.c
+--- git/sha1dc/sha1.c
++++ git/sha1dc/sha1.c
 @@ -35,15 +35,33 @@
  #ifdef SHA1DC_BIGENDIAN
  #undef SHA1DC_BIGENDIAN
@@ -98,8 +98,8 @@ index 3dff80ac727aa..facea1bb560b5 100644
       defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__x86_64) || \
 diff --git a/sha1dc/sha1.h b/sha1dc/sha1.h
 index a0ff5d1305797..1e4e94be54a6d 100644
---- sha1dc/sha1.h
-+++ sha1dc/sha1.h
+--- git/sha1dc/sha1.h
++++ git/sha1dc/sha1.h
 @@ -61,9 +61,9 @@ void SHA1DCInit(SHA1_CTX*);
      Function to enable safe SHA-1 hashing:
      Collision attacks are thwarted by hashing a detected near-collision block 3 times.


More information about the svn-ports-all mailing list