* XXX XXX XX XXXX XX:XX:XX +0000 Manvendra Bhangui <ucspi-tcp@indimail.org> @version@-@release@%{?dist}
Release @version@-@release@ Start 05/09/2024 End 18/12/2025
- 05/09/2024
08. tcpclient.c: added starttls capability for imap
09. dotls.c: added starttls handler for imap
- 04/10/2024
10. tcpclient.c: added -e option to get remote host address from /etc/hosts
11. getip.c: new function getip() which uses getaddrinfo() to get remote host
    address
- 05/10/2024
12. tcpserver.c: use INET6_ADDRLENSTRLEN for AF_INET6
- 04/01/2025
13. Fixes for installer from daemontools package
- 22/01/2025
14. Fix errors when using GCC14
- 23/02/2025
15. installer.c: Fix SEGSEGV

* Tue Aug 06 2024 12:44:32 +0000 Manvendra Bhangui <ucspi-tcp@indimail.org> 1.1.4-1.1%{?dist}
Release 1.1.4-1.1 Start 08/02/2024 End 06/08/2024
- 08/02/2024
01. installer.c: replace chown, chmod with fchown, fchmod
- 10/02/2024
02. installer.c: removed unused options and fixed check option fixing
    permissions
- 03/02/2024 - indimail-mta-3.0.7
- 11/03/2024
03. installer.c: fixed displaying size variable, fixed allocation of zerobuf
    variable
- 29/04/2024
04. trypoll.c, tryshsgr.c: Fix compiler warnings
- 09/05/2024
05. fix discarded-qualifier compiler warnings
- 12/05/2024
06. fix function prototypes
- 17/07/2024
07. tcpclient.c: fixed incorrect use of strerr_warn instead of strerr_die

* Mon Jan 01 2024 19:01:07 +0000 Manvendra Bhangui <ucspi-tcp@indimail.org> 1.1.3-1.1${?dist}
Release 1.1.3-1.1 Start 27/04/2023 End 01/01/2024
======= Release Highlights ================================================
- use of TLS_CIPHER_SUITE for tlsv1_2
===========================================================================
- 08/07/2023
01. tcpclient.c, dotls.c: use strerr_tls for tls errors
- 19/08/2023
02. tcpclient.c, dotls.c, tcpserver.c: use TLS_CIPHER_LIST, TLS_CIPHER_SUITE
    to set ciphers
- 08/09/2023 - indimail-mta-3.0.4
- 14/09/2023
03. tcpserver.c: display ip, pid in printstatus
- 27/09/2023
04. tcpserver.c: skip displaying IP in printstatus for sigchild
- 17/10/2023 - indimail-mta-3.0.5
- 26/11/2023
05. tcpserver.c: fixed TCPLOCALPORT not getting set
- 01/01/2024 - indimail-mta-3.0.6

* Sun Apr 23 2023 17:50:00 +0000 Manvendra Bhangui <ucspi-tcp@indimail.org> 1.1.2-1.1%{?dist}
Release 1.1.2-1.1 Start 13/02/2023 End 23/04/2023
======= Release Highlights ================================================
o ability to pass username or uid in -u option
o ability to pass multiple groups to -g
===========================================================================
- 13/02/2023
01. dotls.c, tcpserver.c: added error message for tls_init failure
02. tcpclient.c: added error message for tls_init, tls_session failures
03. tcpserver.c: allow both user and uid to be passed to -u option. 
    passing user enables setting of supplementary groups
- 20/02/2023
04. tcpserver.c: add additional groups as a comma separated
    groups to -g
- 08/03/2023
05. tcpclient.c: refactored wait handling
- 01/04/2023
06. load_mysql.c: refactored getlibObject() function
- 08/04/2023
07. tcpserver.c: fixed status not getting printed
- 23/04/2023 - indimail-mta-3.0.3

* Mon Jan 30 2023 13:14:56 +0000 Manvendra Bhangui <ucspi-tcp@indimail.org> 1.1.1-1.1%{?dist}
Release 1.1.1 Start 18/09/2022 End 30/01/2023
======= Release Highlights ================================================
o tcpserver, tcpclient, dotls: option to load ciphers from file
o tcpclient, tcpserver, dotls: set TLS_PROVIDER env variable for qmail-smtpd
  to insert into received header
o use tls functions from libqmail
===========================================================================
- 18/09/2022
01.  instcheck.in: use uininstaller only for ucspi-tcp
- 23/11/2022
02.  load_mysql.c: renamed mysql_lib to libmysql
- 13/12/2022
03.  tcpserver.c, tcpclient.c: display diagnostic on exit status
- 21/12/2022
04.  tcpserver.c, dotls.c: added -f option to load ciphers from a file.
- 22/12/2022
05.  tls.c: log ssl error on SSL_accept() failure
06.  dotls.c: fixed missing carriage return in EHLO output
07.  dotls.c: log client, server ssl versions on connnect
08.  dotls.c: bypass SSL/TLS if NOTLS is set
- 23/12/2022
09.  tcpserver.c, tcpclient.c, dotls.c: added -M option to set TLS / SSL
     client/server method
10.  tcpclient.c: added -f option to load ciphers from a file
11.  tls.c: added set_tls_method to set TLS / SSL client/server method
12.  tcpserver.c, dotls.c: use ssl_free() to shutdown ssl
13.  dotls.c: fixed non-tls incorrect linemode setting
- 24/12/2022
14.  tls.c: decode TLS/SSL SSL_connect, SSL_accept
15.  tls.c: added functions to set RSA/DH parameters
16.  tcpserver.c, dotls.c: set RSA/DH parameters
17.  tcpserver.c: added -i option to specify certdir
18.  dotls.c: added -d option to specify certdir
- 25/12/2022
19.  dotls.c: append certdir and certfile only when certfile is not an
     absolute path
20.  dotls.c: print value of BANNER env variable if set for clients to
     initiate STARTTLS TLS/SSL session.
21.  tcpclient.c: added -C arguemnt to specify certdir
22.  tls.c: refactored TLS code
23.  tcpserver.c: use TLS_CERTFILE for default servercert
- 26/12/2022
24.  dotls.c: added sigchild handler
25.  dotls.c, tcpclient.c, tcpserver.c, tls.c: added option to specify CRL 
26.  dotls.c, tcpclient.c, tcpserver.c: set TLS_PROVIDER env variable
27.  tls.c, tls.h: function allwrite() made visible for non-TLS
28.  tcpclient.c: skip TLS/SSL if -n option is not provided and cert doesn't
     exist
- 27/12/2022
29.  dotls: disable write_provider_data, read_provider_data for starttls
- 29/12/2022
30. dotls: added -t option to specify TLS/SSL connect/accept timeout
31. tcpserver.c: added -S option to specify TLS/SSL accept timeout
32. tcpclient.c: use -T option to timeout TLS/SSL connect
- 03/01/2023
33. moved tls functions to libqmail. tls.c, tls.h removed
34. dotls.c: added -D, -t option for timeoutdata, timeoutconn.
35. dotls.c, tcpclient.c, tcpserver.c: added -z option to turn on setting of
    TLS_PROVIDER env variable
36. dotls.c: log ssl cipher bits
37. dotls.c, tcpserver.c, tcpclient.c: replace internal TLS function with TLS
    functions from libqmail
38. removed iopause.c, iopause.h. Use iopause functions from libqmail
39. tcpserver.c: added -S option for connection timeout
- 08/01/2023
40. dotls.c: added -q, -Q, -v option to control verbosity
- 10/01/2023
41. tcpserver.c, dotls.c: added -N option to allow client side renegotiation
- 30/01/2023 - indimail-mta-3.0.2

* Thu 08 Sep 2022 12:31:45 +0000 Manvendra Bhangui <ucspi-tcp@indimail.org> 1.1.0-1.1%{?dist}
Release 1.1.0 Start 14/02/2021 End 08/09/2022
======= Release Highlights ================================================
o added SSL/TLS support in tcpclient
o added STARTTLS support in tcpclient for POP3s
o dotls transparent SSL/TLS wrapper for tcpserver
o tls.c ported for openssl 3.0.0
===========================================================================
- 02/03/2021
01. tcpserver.c renamed SSL_CIPHER to TLS_CIPHER_LIST
- 03/03/2021
02. tcpclient.c: added SSL/TLS support
03. tcpclient.c: added client mode feature making prog optional
- 04/03/2021
04. tls.c: added option to match host with common name
05. tcpclient.c, tcpserver.c: Use CERTDIR env variable to specify custom
    certificate location
06. tcpclient.c: added -m option to match host with common name
- 06/03/2021
07. dotls.c: SSL/TLS client / server wrapper for SSL/TLS and opportunistic
    TLS
08. tcpclient.c: added opportunistic TLS (STARTLS) capability.
- 07/03/2021
09. tcpclient.c: added starttls for pop3
- 09/03/2021
10. tls.c: check for SSL_ERROR_WANT_READ to retry SSL_read() when using
    non-blocking io
11. tls.c, tcpclient.c: retry read. write on errno == EAGAIN to fix blocking
    IO problem with SSL_read()
12. tls.c: made translate() generic. Replaced SSL with fd parameter
13. doit.c, tcpclient.c: use new translate() from tls.c
- 10/03/2021
14. tls.c, tcpclient.c: use set_essential_fd() to avoid deadlock
- 30/04/2021
15. remove zero bytes package_name-stat.override file
- 12/05/2021
16. define arguments as array subscripts to fix gcc 11 warnings
17. renamed pathexec functions as upathexec to avoid clash with libqmail
- 03/05/2021
18. moved prot.c, prot.h to libqmail
19. dlnamespace.[c,h], tcpserver_plugin.c, load_shared.c use Lmid_t data type
    for id instead of unsigned long
- 18/07/2021 - indimail-mta-2.13
- 18/07/2021
20. installer.c: fixed setting setuid/setgid bits by calling chmod after
    chown
- 19/07/2021
21. fixed compiler warning on alpine linux
- 02/08/2021
22. installer.c: added check (-c) and fix (-f) options to check, fix
    permissions after installation
23. Makefile: create directories using installer instead of Makefile
24. PKGBUILD: fix permissions of installed files in destdir
25. PKGBUILD: replaced DESTDIR with pkgdir
26. installer.c: set default permissions when mode=-1
- 05/08/2021
27. installer.c: added -p option to create directories as needed
28. installer.c: allow installation for missing source if -m is specified
- 30/08/2021
29. include noreturn.h from libqmail defining macro no_return
    use no_return macro to declare functions that do not return back to
    caller
- 12/09/2021 - indimail-mta-2.14.0
- 17/05/2022
30. replaced deprecated function SSL_CTX_use_RSAPrivateKey_file with
    SSL_CTX_use_PrivateKey_file for openssl 3.0
- 18/05/2022
31. tls.c: ported for openssl 3.0.0
- 18/05/2022 - indimail-mta-3.0.0
- 30/05/2022
32. dotls.c: BUG \r not copied, extra \0 copied. Thanks Stefan Berger
33. dotls.c: Report line too long error instead of clubbing it with 'out of
    memory' error
34. dotls.c: Return error for pop3 substdio failure
- 31/05/2022
35. dotls.c: fix DATA/RETR commands not getting passed to child
- 01/06/2022
36. tls.c, dotls.c: handle eof from network gracefully
- 01/07/2022
37. dotls.c, tcpclient.c: use TLS_CERTFILE env variable to set client
certificate filename
38. tls.c: set socket in ndelay mode
39. instcheck.in: common instcheck for daemontools, ucspi-tcp, indimail-mta
40. tcpclient.c: use unencrypted connection if argument to -n is an empty
    string
- 08/09/2022 - Final release ucspi-tcp-1.1.0
- 08/09/2022 - indimail-mta-3.0.1

* Sunday 14 February 2021 07:46:33 PM IST
Release 1.0 Start 21/05/2020
- 13/09/2020
01. indimail-mta.spec: updated compiler flags for ucspi-tcp
02. ucspi-tcp: replaced setup with installer which uses text files for installation
03. ucspi-tcp: updated compiler switches
04. instcheck.c: skip chmod if mode is -1
05. hier.c: leave owner, group, permissions alone as they are owned by
    indimail-mta package
- 16/09/2020
06. ucspi-tcp: fixes for FreeBSD
- 20/09/2020
07. tcpserver.c: open ipv4, ipv6 sockets on FreeBSD and use select before accept()
- 22/09/2020
08. use conf-cc-SYSTEM, conf-ld-SYSTEM for system specific CFLAGS, LDFLAGS
- 24/09/2020
09. Makefile - ucspi-tcp: split into variables, main Makefile and
    system specific Makefile. New script qmake to do the build
- 02/10/2020
10. installer.c: set permissions for directory only if it is a new directory
- 05/10/2020
11. installer new features, 1. uninstall option (-u, -i), 2. create devices,
    3. create fifo
12. Makefile: Added uninstall target
13. Added comments in installer input files
- 06/10/2020
14. indimail-mta, ucspi-tcp: fixed uninstall target
15. installer.c: fixed setting of symbolic links
- 08/10/2020
16. ucspi-tcp/ip6_fmt.c: Fixed bug - Erwin Hoffman
- 11/11/2020
17. tcpserver.c: changed scope of global variables to static, limited to
    tcpserver.c
- 12/11/2020
18. tcpserver.c: added -a option to specify CA file
- 25/11/2020
19. removed exit.h
- 28/01/2021
20. rblsmtpd.c: Set greeting using RBLGREETING env variable
21. rblsmtpd.c: enable dummy ehlo function using RBLEHLO env variable
