Mail archive
alpine-aports

[alpine-aports] [PATCHv2] main/libgit2: upgrade to 0.26.0

From: Drew DeVault <sir_at_cmpwn.com>
Date: Wed, 20 Dec 2017 22:37:35 -0500

---
Sorry for the noise, I forgot to remove the obsolete patches.
 main/libgit2/APKBUILD                          | 10 +++-------
 main/libgit2/libressl.patch                    | 12 ------------
 main/libgit2/pkgconfig-do-not-quote-Libs.patch | 26 --------------------------
 3 files changed, 3 insertions(+), 45 deletions(-)
 delete mode 100644 main/libgit2/libressl.patch
 delete mode 100644 main/libgit2/pkgconfig-do-not-quote-Libs.patch
diff --git a/main/libgit2/APKBUILD b/main/libgit2/APKBUILD
index 883c92641c..2d5a10ff85 100644
--- a/main/libgit2/APKBUILD
+++ b/main/libgit2/APKBUILD
_at_@ -3,8 +3,8 @@
 # Contributor: Pierre-Gilas MILLON <pgmillon_at_gmail.com>
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=libgit2
-pkgver=0.25.1
-pkgrel=4
+pkgver=0.26.0
+pkgrel=0
 pkgdesc="A linkable library for Git"
 url="https://libgit2.github.com/"
 arch="all"
_at_@ -16,8 +16,6 @@ subpackages="$pkgname-dev"
 provides="$pkgname-libs"  # for backward compatibility with v3.4
 replaces="$pkgname-libs"  # for backward compatibility with v3.4
 source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz
-	libressl.patch
-	pkgconfig-do-not-quote-Libs.patch
 	build-both-static-dynamic.patch
 	"
 builddir="$srcdir/$pkgname-$pkgver"
_at_@ -48,7 +46,5 @@ package() {
 		-C "$builddir" install || return 1
 }
 
-sha512sums="e20c7f4a55d2183522fd851a002a9e861e2f3b550c09aea7fbcd9eae5c39410596e4cd4f852d81256bb0bee6365eab0f9b854b66fd459afe2b7d149f68c1c103  libgit2-0.25.1.tar.gz
-3674957d09207b11d268ba9fcb442a081b8efe318d0e8501b7afa0ae2397efc9aff8572b1ffd9f2286c46a06a647fbe943c2cc7e8f97d1a0288e74010846d439  libressl.patch
-635fb1f64c4b676044e7800cc8796646f90d7e6447ab77f97b3491f746351e826ffa9c03b6bef7ffabad9c50a5c5e983ea9e53b4972211813f54d81b703b4aed  pkgconfig-do-not-quote-Libs.patch
+sha512sums="b6e51f2216c7c23f352572b780ea1325a25a517396709f036bb573295c2bd02aa505ba616846ac7e07863e99e640e7d47fefc5727478a257b283da99060ee47c  libgit2-0.26.0.tar.gz
 39534d10f38f394446f93df810233464807fca3b0e903ee40067971ecbe1d78102bbe04283435032f757f970e6846ecf279eb727ab137c01e84427bd16913ee6  build-both-static-dynamic.patch"
diff --git a/main/libgit2/libressl.patch b/main/libgit2/libressl.patch
deleted file mode 100644
index 967cdc4982..0000000000
--- a/main/libgit2/libressl.patch
+++ /dev/null
_at_@ -1,12 +0,0 @@
-diff -ru src.orig/libgit2-0.25.1/src/openssl_stream.h src/libgit2-0.25.1/src/openssl_stream.h
---- libgit2-0.25.1/src/copenssl_stream.h.orig
-+++ libgit2-0.25.1/src/openssl_stream.h
-_at_@ -27,7 +27,7 @@
- 
- 
- 
--# if OPENSSL_VERSION_NUMBER < 0x10100000L
-+# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
- 
- GIT_INLINE(BIO_METHOD*) BIO_meth_new(int type, const char *name)
- {
diff --git a/main/libgit2/pkgconfig-do-not-quote-Libs.patch b/main/libgit2/pkgconfig-do-not-quote-Libs.patch
deleted file mode 100644
index 86133612ed..0000000000
--- a/main/libgit2/pkgconfig-do-not-quote-Libs.patch
+++ /dev/null
_at_@ -1,26 +0,0 @@
-From 452ba68cde25423d13ebb36f0a54559f07aa53a2 Mon Sep 17 00:00:00 2001
-From: Igor Gnatenko <ignatenko_at_redhat.com>
-Date: Tue, 7 Feb 2017 16:37:47 +0100
-Subject: [PATCH] pkgconfig: do not quote Libs
-
-It doesn't make sense at all.
----
- libgit2.pc.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libgit2.pc.in b/libgit2.pc.in
-index 329a560a7..880266a30 100644
---- a/libgit2.pc.in
-+++ b/libgit2.pc.in
-_at_@ -6,7 +6,7 @@ Name: libgit2
- Description: The git library, take 2
- Version: _at_LIBGIT2_VERSION_STRING@
- 
--Libs: -L"${libdir}" -lgit2
-+Libs: -L${libdir} -lgit2
- Libs.private: _at_LIBGIT2_PC_LIBS@
- Requires.private: _at_LIBGIT2_PC_REQUIRES@
- 
--- 
-2.11.0
-
-- 
2.15.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Dec 20 2017 - 22:37:35 GMT