Changes of Revision 44
guam.spec
Changed
x
1
2
%define lock_version() %{1}%{?_isa} = %(rpm -q --queryformat "%%{VERSION}" %{1})
3
4
Name: guam
5
-Version: 0.9.8
6
+Version: 0.9.9
7
Release: 1%{?dist}
8
Summary: A Smart Reverse IMAP Proxy
9
10
11
Source100: plesk.sys.config
12
13
Patch9991: nodeps.patch
14
-Patch9992: 0001-Fix-starttls.patch
15
16
BuildRequires: erlang >= 17.4
17
BuildRequires: erlang-asn1
18
19
%setup -q
20
21
%patch9991 -p1
22
-%patch9992 -p1
23
24
%build
25
26
27
%endif
28
29
%changelog
30
+* Mon Dec 14 2020 Christian Mollekopf <mollekopf@kolabsys.com> - 0.9.9-1
31
+- Release of version 0.9.9
32
33
* Mon Nov 9 2020 Christian Mollekopf <mollekopf@kolabsys.com> - 0.9.8-2
34
- Fixed STARTTLS
35
0001-Fix-starttls.patch
Deleted
42
1
2
-From b9d2dc3cf61556ec9652f434aed1ddfc6d77e62e Mon Sep 17 00:00:00 2001
3
-From: Christian Mollekopf <mollekopf@kolabsys.com>
4
-Date: Mon, 9 Nov 2020 13:21:47 +0100
5
-Subject: [PATCH] Fix starttls
6
-
7
-Turns out there was a reason for set_socket_active. If starttls is used
8
-to upgrade the socket, then we need to use the ssl variant on the ssl
9
-socket. Otherwise the next packet will never be read and we just time
10
-out eventually.
11
----
12
- apps/kolab_guam/src/kolab_guam_session.erl | 6 +++++-
13
- 1 file changed, 5 insertions(+), 1 deletion(-)
14
-
15
-diff --git a/apps/kolab_guam/src/kolab_guam_session.erl b/apps/kolab_guam/src/kolab_guam_session.erl
16
-index 03d3214..0ea9b1b 100644
17
---- a/apps/kolab_guam/src/kolab_guam_session.erl
18
-+++ b/apps/kolab_guam/src/kolab_guam_session.erl
19
-@@ -72,7 +72,8 @@ handle_info({ tcp, Socket, Data }, #state{ client_tls_active = false } = State)
20
- % lager:debug("Data coming in from client over TCP ~s", [Data]),
21
- {Acc, NewState} = process_client_data(Socket, Data, State),
22
- forward_literal_data(Acc, NewState),
23
-- inet:setopts(Socket, [{ active, once }]),
24
-+ %Required because of socket upgrade, in which case we will end up with the ssl variant here.
25
-+ set_socket_active(NewState),
26
- { noreply, NewState };
27
-
28
- handle_info({ ssl, Socket, Data }, State) ->
29
-@@ -172,6 +173,9 @@ update_split_command_state_client(ClientDataComponents, #state{ command_split_re
30
- update_split_command_state_client(_ClientDataComponents, _State) ->
31
- undefined.
32
-
33
-+set_socket_active(#state{ client_tls_active = true, socket = Socket}) -> ssl:setopts(Socket, [{ active, once }]);
34
-+set_socket_active(#state{ client_tls_active = false, socket = Socket}) -> inet:setopts(Socket, [{ active, once }]).
35
-+
36
- accept_client(#state{ client_implicit_tls = true, tls_config = TLSConfig, listen_socket = ListenSocket, super_pid = SupervisorPID }) ->
37
- AcceptSocket = accept_socket(ListenSocket, SupervisorPID),
38
- %% prep for the next listen
39
---
40
-2.26.2
41
-
42
debian.changelog
Changed
11
1
2
+guam (0.9.9-1) unstable; urgency=medium
3
+
4
+ * Release of version 0.9.9
5
+
6
+ -- Christian Mollekopf (Kolab Systems) <mollekopf@kolabsys.com> Mon, 14 Dec 2020 09:31:31 +0200
7
+
8
guam (0.9.8-2) unstable; urgency=medium
9
10
* Fixed STARTTLS
11
debian.series
Changed
4
1
2
nodeps.patch -p1
3
-0001-Fix-starttls.patch -p1
4
guam-0.9.9.tar.gz
Added
guam.dsc
Changed
17
1
2
Source: guam
3
Binary: guam
4
Architecture: any
5
-Version: 0.9.8-2
6
+Version: 0.9.9-1
7
Maintainer: Christoph Erhardt <kolab@sicherha.de>
8
Homepage: https://kolab.org/about/guam
9
Standards-Version: 3.9.6
10
11
Package-List:
12
guam deb mail extra
13
Files:
14
- 00000000000000000000000000000000 0 guam-0.9.8.tar.gz
15
+ 00000000000000000000000000000000 0 guam-0.9.9.tar.gz
16
00000000000000000000000000000000 0 debian.tar.gz
17