[sr-dev] git:5.1:889b9295: pkg/docker: Alpine switched to use openssl. Updated rules for alpine docker container
Sergey Safarov
s.safarov at gmail.com
Fri Feb 1 19:42:23 CET 2019
Module: kamailio
Branch: 5.1
Commit: 889b929539a2fe2e44bc61f82c8fd407e8eae643
URL: https://github.com/kamailio/kamailio/commit/889b929539a2fe2e44bc61f82c8fd407e8eae643
Author: Sergey Safarov <s.safarov at gmail.com>
Committer: Sergey Safarov <s.safarov at gmail.com>
Date: 2019-01-31T15:01:52+03:00
pkg/docker: Alpine switched to use openssl. Updated rules for alpine docker container
(cherry picked from commit 37bff4588803a70873babdb483804e3734b42900)
---
Modified: pkg/kamailio/alpine/APKBUILD
Removed: pkg/kamailio/alpine/0004-src_core_tcp_read_c.patch
---
Diff: https://github.com/kamailio/kamailio/commit/889b929539a2fe2e44bc61f82c8fd407e8eae643.diff
Patch: https://github.com/kamailio/kamailio/commit/889b929539a2fe2e44bc61f82c8fd407e8eae643.patch
---
diff --git a/pkg/kamailio/alpine/0004-src_core_tcp_read_c.patch b/pkg/kamailio/alpine/0004-src_core_tcp_read_c.patch
deleted file mode 100644
index 08308f77b1..0000000000
--- a/pkg/kamailio/alpine/0004-src_core_tcp_read_c.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-$OpenBSD: patch-src_core_tcp_read_c,v 1.1 2017/07/03 22:14:20 sthen Exp $
-
-Index: a/src/core/tcp_read.c
---- a/src/core/tcp_read.c.orig
-+++ a/src/core/tcp_read.c
-@@ -1497,6 +1497,14 @@ void release_tcpconn(struct tcp_connection* c, long st
- ip_addr2a(&c->rcv.src_ip), c->rcv.src_port,
- ip_addr2a(&c->rcv.dst_ip), c->rcv.dst_port);
- LM_DBG("extra_data %p\n", c->extra_data);
-+
-+ /* experimental fix tls crash with libressl */
-+ /* add cleanup SSL structure in child process, in parent process SSL structure is empty */
-+ if ((c->type==PROTO_TLS || c->type==PROTO_WSS) && (c->extra_data) && c->fd != -1) {
-+ tls_close(c, c->fd);
-+ tls_tcpconn_clean(c);
-+ }
-+
- /* release req & signal the parent */
- c->reader_pid=0; /* reset it */
- if (c->fd!=-1){
diff --git a/pkg/kamailio/alpine/APKBUILD b/pkg/kamailio/alpine/APKBUILD
index 9d1497b3f9..5e2b11d035 100644
--- a/pkg/kamailio/alpine/APKBUILD
+++ b/pkg/kamailio/alpine/APKBUILD
@@ -27,7 +27,7 @@ depends="gawk"
options="!check"
makedepends="bison db-dev flex freeradius-client-dev expat-dev lksctp-tools-dev perl-dev postgresql-dev python2-dev pcre-dev mariadb-dev
libxml2-dev curl-dev unixodbc-dev confuse-dev ncurses-dev sqlite-dev
- lua-dev openldap-dev libressl-dev net-snmp-dev libuuid libev-dev
+ lua-dev openldap-dev openssl-dev net-snmp-dev libuuid libev-dev
jansson-dev json-c-dev libevent-dev linux-headers libmemcached-dev
rabbitmq-c-dev hiredis-dev libmaxminddb-dev libunistring-dev"
install="$pkgname.pre-install $pkgname.pre-upgrade"
@@ -250,7 +250,7 @@ for _i in db postgres sqlite dbtext mysql \
done
source="${pkgname}-${pkgver}${_suffix}.tar.gz::https://github.com/kamailio/$pkgname/archive/$_gitcommit.tar.gz
- 0004-src_core_tcp_read_c.patch
+ 0001-kamdbctl.base.patch
kamailio.initd
"
@@ -549,5 +549,5 @@ sipdump() {
}
sha512sums="51ea5fccd27a9d3d1783cfc5596eb28ab27e34faeec3268600363f43c48a3634c3c584c479ba874fdb53b85766a0ce8fe7df0e20954c9c6514b1d9d41d9237e6 kamailio-5.1.0.20171125-991fe9b.tar.gz
-af8362201957eae6b66baf7368c9ca884024209a396d77c5c52180c9aabe13772e9c6513e59721d39503e5bb7a8c1030f5c10301ea9055bddafb7f01ee2f3076 0004-src_core_tcp_read_c.patch
+6badfb611c02ffcb4c2e9937731162ea1a4b737f042ed52120e2f96ebb80b5b7d240b5612c9ca565e693eec9b8c52c1ee5db04dfc47d204501021f984b4b11db 0001-kamdbctl.base.patch
321b1b160434150bcde3c0ad7f47ddf259791b68d4ce74ba4c35034026421a2bc6f5e86f26f393f5fcdb523d8cd75f944709473065553ce860b0ea06b3dc2a1b kamailio.initd"
More information about the sr-dev
mailing list