mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
main/irssi: rebuild against libressl-2.7
This commit is contained in:
parent
d06b3682c5
commit
64d1510dc0
@ -1,14 +1,16 @@
|
|||||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||||
pkgname=irssi
|
pkgname=irssi
|
||||||
pkgver=1.1.1
|
pkgver=1.1.1
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="Modular textUI IRC client with IPv6 support"
|
pkgdesc="Modular textUI IRC client with IPv6 support"
|
||||||
url="https://irssi.org/"
|
url="https://irssi.org/"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
makedepends="glib-dev libressl-dev ncurses-dev perl-dev automake autoconf libtool"
|
makedepends="glib-dev libressl-dev ncurses-dev perl-dev automake autoconf libtool"
|
||||||
subpackages="$pkgname-doc $pkgname-dev $pkgname-proxy $pkgname-perl"
|
subpackages="$pkgname-doc $pkgname-dev $pkgname-proxy $pkgname-perl"
|
||||||
source="https://github.com/$pkgname/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"
|
source="https://github.com/$pkgname/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz
|
||||||
|
libressl-2.7.patch
|
||||||
|
"
|
||||||
builddir="$srcdir"/$pkgname-$pkgver
|
builddir="$srcdir"/$pkgname-$pkgver
|
||||||
|
|
||||||
# secfixes:
|
# secfixes:
|
||||||
@ -85,4 +87,5 @@ proxy() {
|
|||||||
mv "$pkgdir"/usr/lib/irssi/modules/libirc_proxy.* "$subpkgdir"/usr/lib/irssi/modules/
|
mv "$pkgdir"/usr/lib/irssi/modules/libirc_proxy.* "$subpkgdir"/usr/lib/irssi/modules/
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="b2fc0805d6213c31bc34c48237baf2e33ac509c0fa09c483fd39f1473e32eee227ff4532efc60fb495c2ec263c05290578bca7ad6d39149e0594f864da5986c0 irssi-1.1.1.tar.xz"
|
sha512sums="b2fc0805d6213c31bc34c48237baf2e33ac509c0fa09c483fd39f1473e32eee227ff4532efc60fb495c2ec263c05290578bca7ad6d39149e0594f864da5986c0 irssi-1.1.1.tar.xz
|
||||||
|
6b5d987a9aeb189f3926272b37c631d04403832b495004779e8c23e9925a19349c7303927bab65b964ecb631fe7ac2394cf1c8e42ab69e300e30a121a95215ad libressl-2.7.patch"
|
||||||
|
22
main/irssi/libressl-2.7.patch
Normal file
22
main/irssi/libressl-2.7.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
diff --git a/src/core/network-openssl.c b/src/core/network-openssl.c
|
||||||
|
index 9fddf07..e6de608 100644
|
||||||
|
--- a/src/core/network-openssl.c
|
||||||
|
+++ b/src/core/network-openssl.c
|
||||||
|
@@ -35,7 +35,7 @@
|
||||||
|
#include <openssl/err.h>
|
||||||
|
|
||||||
|
/* OpenSSL 1.1.0 introduced some backward-incompatible changes to the api */
|
||||||
|
-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined(LIBRESSL_VERSION_NUMBER)
|
||||||
|
+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
|
||||||
|
/* The two functions below could be already defined if OPENSSL_API_COMPAT is
|
||||||
|
* below the 1.1.0 version so let's do a clean start */
|
||||||
|
#undef X509_get_notBefore
|
||||||
|
@@ -47,7 +47,7 @@
|
||||||
|
|
||||||
|
/* OpenSSL 1.1.0 also introduced some useful additions to the api */
|
||||||
|
#if (OPENSSL_VERSION_NUMBER >= 0x10002000L)
|
||||||
|
-#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined (LIBRESSL_VERSION_NUMBER)
|
||||||
|
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
|
||||||
|
static int X509_STORE_up_ref(X509_STORE *vfy)
|
||||||
|
{
|
||||||
|
int n;
|
Loading…
Reference in New Issue
Block a user