git: 57a2bff976f5 - main - devel/rubygem-rugged: update to 1.2.0

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Sat, 04 Dec 2021 12:09:10 UTC
The branch main has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=57a2bff976f5361671b26d0d0660818776aef0fc

commit 57a2bff976f5361671b26d0d0660818776aef0fc
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2021-12-04 08:50:37 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2021-12-04 12:07:25 +0000

    devel/rubygem-rugged: update to 1.2.0
    
    Required for gitlab-ce 14.5
    Changelog:
    https://github.com/libgit2/rugged/compare/v1.1.1...v1.2.0
---
 devel/rubygem-rugged/Makefile                          |  2 +-
 devel/rubygem-rugged/distinfo                          |  6 +++---
 .../files/patch-vendor_libgit2_include_git2_version.h  | 18 ++++++++++++++++++
 3 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/devel/rubygem-rugged/Makefile b/devel/rubygem-rugged/Makefile
index 9507d6adcd22..b028d63fb8f5 100644
--- a/devel/rubygem-rugged/Makefile
+++ b/devel/rubygem-rugged/Makefile
@@ -3,7 +3,7 @@
 # Also update devel/libgit2, devel/libgit2-glib, devel/py-pygit2
 
 PORTNAME=	rugged
-PORTVERSION=	1.1.1
+PORTVERSION=	1.2.0
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
diff --git a/devel/rubygem-rugged/distinfo b/devel/rubygem-rugged/distinfo
index 3e358ddf37e9..2423b8e2360f 100644
--- a/devel/rubygem-rugged/distinfo
+++ b/devel/rubygem-rugged/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1625485357
-SHA256 (rubygem/rugged-1.1.1.gem) = 95ac75e4acba095ea656ddeffddfbce54c974d6e9f1ced484c4edb56c50f8db6
-SIZE (rubygem/rugged-1.1.1.gem) = 1495040
+TIMESTAMP = 1637597651
+SHA256 (rubygem/rugged-1.2.0.gem) = 111979962e75378209673ae262a8f43bd1971b5b5f96f4dfb77ca82b343604ed
+SIZE (rubygem/rugged-1.2.0.gem) = 1541120
diff --git a/devel/rubygem-rugged/files/patch-vendor_libgit2_include_git2_version.h b/devel/rubygem-rugged/files/patch-vendor_libgit2_include_git2_version.h
new file mode 100644
index 000000000000..3ff7bf5e7855
--- /dev/null
+++ b/devel/rubygem-rugged/files/patch-vendor_libgit2_include_git2_version.h
@@ -0,0 +1,18 @@
+--- vendor/libgit2/include/git2/version.h.orig	2021-11-22 20:02:49 UTC
++++ vendor/libgit2/include/git2/version.h
+@@ -7,12 +7,12 @@
+ #ifndef INCLUDE_git_version_h__
+ #define INCLUDE_git_version_h__
+ 
+-#define LIBGIT2_VERSION "1.2.0"
++#define LIBGIT2_VERSION "1.3.0"
+ #define LIBGIT2_VER_MAJOR 1
+-#define LIBGIT2_VER_MINOR 2
++#define LIBGIT2_VER_MINOR 3
+ #define LIBGIT2_VER_REVISION 0
+ #define LIBGIT2_VER_PATCH 0
+ 
+-#define LIBGIT2_SOVERSION "1.2"
++#define LIBGIT2_SOVERSION "1.3"
+ 
+ #endif