diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-18 13:51:52 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-18 20:45:32 +0000 |
commit | 4e95d2925afb979fcea05719fadb87ce1d49749f (patch) | |
tree | ea937e4093fadfbb5f5ef30860fd369560e754b0 | |
parent | d3911df981b7cf4293a5b37e21a5d85239112f93 (diff) | |
download | aports-4e95d2925afb979fcea05719fadb87ce1d49749f.tar.bz2 aports-4e95d2925afb979fcea05719fadb87ce1d49749f.tar.xz |
main/lua-cqueue: rebuild against libressl 2.5
-rw-r--r-- | main/lua-cqueues/APKBUILD | 13 | ||||
-rw-r--r-- | main/lua-cqueues/libressl-2.5.patch | 15 |
2 files changed, 22 insertions, 6 deletions
diff --git a/main/lua-cqueues/APKBUILD b/main/lua-cqueues/APKBUILD index 134aae47ab..02558bdcdc 100644 --- a/main/lua-cqueues/APKBUILD +++ b/main/lua-cqueues/APKBUILD @@ -3,8 +3,8 @@ _luaversions="5.1 5.2 5.3" pkgname=lua-cqueues _pkgname=cqueues -pkgver=20160808 -pkgrel=4 +pkgver=20161215 +pkgrel=0 pkgdesc="Lua event loop using coroutines" url="http://25thandclement.com/~william/projects/cqueues.html" arch="all" @@ -16,7 +16,9 @@ for _i in $_luaversions; do makedepends="$makedepends lua${_i}-dev" subpackages="$subpackages lua${_i}-$_pkgname:_package" done -source="cqueues-$pkgver.tar.gz::https://github.com/wahern/cqueues/archive/rel-$pkgver.tar.gz" +source="cqueues-$pkgver.tar.gz::https://github.com/wahern/cqueues/archive/rel-$pkgver.tar.gz + libressl-2.5.patch + " builddir="$srcdir/cqueues-rel-$pkgver" build() { @@ -45,6 +47,5 @@ _package() { make DESTDIR="$subpkgdir" prefix=/usr install$lver } -md5sums="f9b472cb2d534f63a1921dca3f7f889c cqueues-20160808.tar.gz" -sha256sums="f4be75b7d07881a5f8e0fb0304bde1af82b36a3913c85fc016cf349d9f28cd26 cqueues-20160808.tar.gz" -sha512sums="c9b0760a618139e54b49ba3cea9ea575549a650a206d32b5e43ed89e2cae6dd5dffec697a64f8ab79e03095352df107faba484c6057170946c6d696152d2ca0a cqueues-20160808.tar.gz" +sha512sums="60060acb5b6f6d329b0c31dadddbf6242deeef5c206b3d1279cb04c68dcdf88d163ed423465af9713ca8cc03e19f6fb87589bf9a307f1f178263f0c17c7f8ac1 cqueues-20161215.tar.gz +7371797feaf41ac6f50fd21fde0703afee5d4430bc186a9ac48d47fe3fa818cfc76cb0166fd24243c8796a5ef93db4235d8b67e7f3fd90758fff26bbdb7e4ae8 libressl-2.5.patch" diff --git a/main/lua-cqueues/libressl-2.5.patch b/main/lua-cqueues/libressl-2.5.patch new file mode 100644 index 0000000000..0366e65146 --- /dev/null +++ b/main/lua-cqueues/libressl-2.5.patch @@ -0,0 +1,15 @@ +diff --git a/src/lib/socket.c b/src/lib/socket.c +index 390896f..51ac128 100644 +--- a/src/lib/socket.c ++++ b/src/lib/socket.c +@@ -86,6 +86,10 @@ int socket_v_api(void) { + return SOCKET_V_API; + } /* socket_v_api() */ + ++#if LIBRESSL_VERSION_NUMBER >= 0x2050100fL ++#define HAVE_SSL_IS_SERVER 1 ++#define SSL_is_server(s) (s)->server ++#endif + + /* + * F E A T U R E R O U T I N E S |