mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
open-isns: update to 0.97.
This commit is contained in:
parent
e04dadbc3a
commit
71cc96a565
2 changed files with 15 additions and 3 deletions
11
srcpkgs/open-isns/patches/libressl.patch
Normal file
11
srcpkgs/open-isns/patches/libressl.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- pki.c.orig
|
||||||
|
+++ pki.c
|
||||||
|
@@ -30,7 +30,7 @@
|
||||||
|
#endif
|
||||||
|
/* OpenSSL 1.1 made a lot of structures opaque, so we need to
|
||||||
|
* define the 1.1 wrappers in previous versions. */
|
||||||
|
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||||
|
#define EVP_PKEY_base_id(o) ((o)->type)
|
||||||
|
#define EVP_PKEY_get0_DSA(o) ((o)->pkey.dsa)
|
||||||
|
static EVP_MD_CTX *EVP_MD_CTX_new(void)
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'open-isns'
|
# Template file for 'open-isns'
|
||||||
pkgname=open-isns
|
pkgname=open-isns
|
||||||
version=0.96
|
version=0.97
|
||||||
revision=3
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-shared"
|
configure_args="--enable-shared"
|
||||||
makedepends="libressl-devel"
|
makedepends="libressl-devel"
|
||||||
|
@ -12,10 +12,11 @@ maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1"
|
||||||
homepage="https://github.com/open-iscsi/open-isns"
|
homepage="https://github.com/open-iscsi/open-isns"
|
||||||
distfiles="https://github.com/open-iscsi/open-isns/archive/v${version}.tar.gz"
|
distfiles="https://github.com/open-iscsi/open-isns/archive/v${version}.tar.gz"
|
||||||
checksum=487fd0d87826423ea99dc159826d0b654a5da016ed670d4395a77bfa4f62e2ec
|
checksum=c1c9ae740172e55a1ff33bc22151ec3d916562bf5d60c8420cd64496343683a9
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i '1i#include <sys/time.h>' include/libisns/isns.h
|
sed -i '1i#include <sys/time.h>' include/libisns/isns.h
|
||||||
|
sed -i 's,<sys/endian.h>,<endian.h>,g' include/libisns/util.h
|
||||||
}
|
}
|
||||||
|
|
||||||
libisns_package() {
|
libisns_package() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue