Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] bearssl: fix libbearssl.so.0 => not found
Date: Mon, 16 Sep 2019 00:47:04 +0200	[thread overview]
Message-ID: <20190915224704.Ql4Cdb6dgHgCGvgWWoAw8eTwynNQyY8xTtuRiZb6qSk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-14470@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 350 bytes --]

There is an updated pull request by concatime against master on the void-packages repository

https://github.com/concatime/void-packages bearssl-fix-so-version
https://github.com/void-linux/void-packages/pull/14470

bearssl: fix libbearssl.so.0 => not found


A patch file from https://github.com/void-linux/void-packages/pull/14470.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-bearssl-fix-so-version-14470.patch --]
[-- Type: text/x-diff, Size: 1899 bytes --]

From fa4a2551e3ffed91073333ffc7f59f33dd225eba Mon Sep 17 00:00:00 2001
From: Issam Maghni <me@concati.me>
Date: Sun, 15 Sep 2019 11:12:17 -0400
Subject: [PATCH] bearssl: fix libbearssl.so.0 => not found

---
 srcpkgs/bearssl/template | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/bearssl/template b/srcpkgs/bearssl/template
index 777cec324d3..ec393735acf 100644
--- a/srcpkgs/bearssl/template
+++ b/srcpkgs/bearssl/template
@@ -1,23 +1,24 @@
 # Template file for 'bearssl'
 pkgname=bearssl
 version=0.6
-revision=1
+revision=2
 build_style=gnu-makefile
+make_build_args="D=.so.${version} LD=\$(CC) LDDLL=\$(CC) LDDLLFLAGS=-shared LDDLLFLAGS+=-Wl,-soname,lib${pkgname}.so.${version%%.*}"
 short_desc="Implementation of the SSL/TLS protocol in C"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 license="MIT"
-homepage="https://www.bearssl.org/"
-_changelog="https://www.bearssl.org/changelog.html"
-distfiles="https://www.bearssl.org/${pkgname}-${version}.tar.gz"
+homepage="https://bearssl.org"
+changelog="${homepage}/changelog.html"
+distfiles="${homepage}/${pkgname}-${version}.tar.gz"
 checksum=6705bba1714961b41a728dfc5debbe348d2966c117649392f8c8139efc83ff14
 CFLAGS="-fPIC"
-make_build_args="D=.so.${version} LDDLL=\$(CC) LD=\$(CC) LDDLLFLAGS=-shared LDDLLFLAGS+=-Wl,-soname,libbearssl.so.0"
 
 do_install() {
 	vbin build/brssl
-	vinstall build/libbearssl.a 0644 usr/lib
-	vinstall build/libbearssl.so.${version} 0644 usr/lib
-	ln -s libbearssl.so.${version} ${DESTDIR}/usr/lib/libbearssl.so
+	vinstall "build/lib${pkgname}.a"             0644 usr/lib
+	vinstall "build/lib${pkgname}.so.${version}" 0644 usr/lib
+	ln -s "lib${pkgname}.so.${version}"     "${DESTDIR}/usr/lib/lib${pkgname}.so.${version%%.*}"
+	ln -s "lib${pkgname}.so.${version%%.*}" "${DESTDIR}/usr/lib/lib${pkgname}.so"
 	vcopy inc usr/include
 	vlicense LICENSE.txt LICENSE
 }

  parent reply	other threads:[~2019-09-15 22:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-15 15:17 [PR PATCH] " voidlinux-github
2019-09-15 15:33 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-15 15:33 ` voidlinux-github
2019-09-15 15:35 ` voidlinux-github
2019-09-15 15:35 ` voidlinux-github
2019-09-15 15:43 ` voidlinux-github
2019-09-15 15:43 ` voidlinux-github
2019-09-15 22:03 ` voidlinux-github
2019-09-15 22:03 ` voidlinux-github
2019-09-15 22:03 ` voidlinux-github
2019-09-15 22:03 ` voidlinux-github
2019-09-15 22:47 ` voidlinux-github
2019-09-15 22:47 ` voidlinux-github [this message]
2019-09-16 14:31 ` voidlinux-github
2019-09-16 17:57 ` voidlinux-github
2019-09-17  8:23 ` [PR PATCH] [Merged]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190915224704.Ql4Cdb6dgHgCGvgWWoAw8eTwynNQyY8xTtuRiZb6qSk@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).