Package libetpan: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 | Name: libetpan Version: 1.9.4 Release: alt4 Summary: This mail library provide a portable, efficient middleware for different kinds of mail access License: BSD-3-Clause Group: Development/C Url: https://www.etpan.org/libetpan.html Vcs: https://github.com/dinhviethoa/libetpan.git Source: %name-%version.tar # For cairo-dock-plugins only Source1: libetpan-config Patch: %name-%version-%release.patch # Patches from upstream git. Drop them when # new version will be released. Patch2: CVE-2020-15953.patch Patch3: CVE-2022-4121.patch Patch4: Fix-potential-null-pointer-deference-348.patch Patch5: Fix-potential-null-pointer-deferenced-361.patch Patch6: Fix-potential-null-pointer-deferenced-363.patch Patch7: Missing-boundary-fix-384.patch Patch8: CVE-2020-15953-2.patch Patch9: Fix-buffer-overwrite-for-empty-string-in-remove_trai.patch %def_with gnutls %def_without openssl %define _unpackaged_files_terminate_build 1 # FIXME: Is it really needed g++? BuildRequires: gcc-c++ %{?_with_gnutls:BuildRequires: libgnutls-devel libgcrypt-devel libgpg-error-devel zlib-devel} %{?_with_openssl:BuildRequires: libssl-devel} BuildRequires: libsasl2-devel BuildRequires: liblmdb-devel BuildRequires: liblockfile-devel libexpat-devel libcurl-devel %package devel Summary: Development environment for %name library. Group: Development/C Requires: %name = %version-%release %{?_with_gnutls:Requires: libgnutls-devel libgcrypt-devel libgpg-error-devel zlib-devel} %{?_with_openssl:Requires: libssl-devel} Requires: libsasl2-devel Requires: liblmdb-devel Requires: liblockfile-devel %description The purpose of this mail library is to provide a portable, efficient middleware for different kinds of mail access. When using the drivers interface, the interface is the same for all kinds of mail access, remote and local mailboxes. %description devel This package contains the header files and libraries for building program which use lib%name. %prep %setup %patch -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 ln -s README.md README %build %autoreconf %configure \ --disable-static \ %{subst_with openssl} \ %{subst_with gnutls} \ --enable-lmdb \ --enable-ipv6 %make_build %install %makeinstall_std # Install libetpan-config install -Dm0755 %SOURCE1 %buildroot%_bindir/%name-config %files %doc ChangeLog NEWS COPYRIGHT README AUTHORS %_libdir/%name.so.* %files devel %_bindir/%name-config %dir %_includedir/%name %_includedir/%name/*.h %_includedir/%name.h %_pkgconfigdir/%name.pc %_libdir/%name.so %changelog * Tue Nov 07 2023 Mikhail Efremov <sem@altlinux.org> 1.9.4-alt4 - Patches from upstream git: + Fix buffer overwrite for empty string in remove_trailing_eol (upstream issue #408); + Detect extra data after STARTTLS response and exit (upstrem issue #387) (fixes: CVE-2020-15953); + Missing boundary fix (upstream issue #384); + Fix potential null pointer deferenced (upstream issue #363); + Fix potential null pointer deferenced (upstream issue #361); + Fix potential null pointer deference (upstream issue #348). * Tue Dec 20 2022 Mikhail Efremov <sem@altlinux.org> 1.9.4-alt3 - Fixed libssl knob. - Fixed License tag. - Added Vcs tag. - Patch from upstream: + Fixed crash when st_info_list is NULL (fixes: CVE-2022-4121). * Thu Oct 01 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 1.9.4-alt2 - Applied security fixes from upstream (Fixes: CVE-2020-15953). * Tue Nov 05 2019 Mikhail Efremov <sem@altlinux.org> 1.9.4-alt1 - Updated to 1.9.4. * Mon Sep 23 2019 Mikhail Efremov <sem@altlinux.org> 1.9.3-alt3 - Patch from upstream: + mailimap_quota_getquotaroot: Fix SIGSEGV (#334). * Thu May 16 2019 Mikhail Efremov <sem@altlinux.org> 1.9.3-alt2 - Patches from upstream: + Fixed return code of mailimap_logout (#327). + Fix mailmime_write(): add handler for MAILMIME_FIELD_LOCATION (#329). + Fix TLS timeouts with recent versions of GnuTLS (#330). * Thu Feb 21 2019 Mikhail Efremov <sem@altlinux.org> 1.9.3-alt1 - Patches from upstream: + Fix the compiler warning against uninitialized use (#323) + add missing stddef.h include for 'NULL' (#322) - Updated to 1.9.3. * Fri Dec 21 2018 Mikhail Efremov <sem@altlinux.org> 1.9.2-alt1 - Drop upstreamed patch. - Use liblmdb instead of libdb4.7. - Updated to 1.9.2. * Tue Oct 30 2018 Mikhail Efremov <sem@altlinux.org> 1.9.1-alt3 - Enable TLS-1.3 again. - Add TLS server name indication support. * Tue Oct 09 2018 Mikhail Efremov <sem@altlinux.org> 1.9.1-alt2 - Disable TLS-1.3 for now. * Fri Sep 21 2018 Mikhail Efremov <sem@altlinux.org> 1.9.1-alt1 - Fix 'may be used uninitialized' warning. - Fix from upstream: + Fixed snprintf() output. - Updated to 1.9.1. * Mon Jun 19 2017 Mikhail Efremov <sem@altlinux.org> 1.8-alt1 - Updated to 1.8. * Tue Jul 19 2016 Mikhail Efremov <sem@altlinux.org> 1.7.2-alt2 - Patch from upstream: + Fixed crash with IDLE. * Thu Jun 16 2016 Mikhail Efremov <sem@altlinux.org> 1.7.2-alt1 - Patch from upstream: + Fixed memory leak. - Updated to 1.7.2. * Thu Apr 28 2016 Mikhail Efremov <sem@altlinux.org> 1.7-alt1 - Updated to 1.7. * Fri Dec 04 2015 Mikhail Efremov <sem@altlinux.org> 1.6-alt2 - Rebuild with gnutls-3.4.x. * Mon Nov 10 2014 Mikhail Efremov <sem@altlinux.org> 1.6-alt1 - Updated to 1.6. * Thu Aug 21 2014 Mikhail Efremov <sem@altlinux.org> 1.5-alt1 - Update Url. - Updated to 1.5. * Tue Sep 17 2013 Sergey Y. Afonin <asy@altlinux.ru> 1.1-alt1.1 - NMU: rebuilt with cyrus-sasl 2.1.26 * Mon Jul 02 2012 Mikhail Efremov <sem@altlinux.org> 1.1-alt1 - Fix License. - Updated to 1.1. * Mon Nov 01 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.58-alt2 - Rebuilt for soname set-versions * Mon Aug 10 2009 Alexey Rusakov <ktirf@altlinux.org> 0.58-alt1.1 - now really fixed ALT #10833. - updated buildreqs slightly. * Sun Aug 09 2009 Alexey Rusakov <ktirf@altlinux.org> 0.58-alt1 - 0.58 - removed obsolete post/postun macros. - fixed -devel subpackage requires (closing ALT #10833). * Thu Oct 16 2008 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.57-alt1.1 - build with new GnuTLS. * Fri Oct 10 2008 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.57-alt1 - 0.57. * Mon Oct 06 2008 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.56-alt1 - 0.56. * Mon Aug 11 2008 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.54-alt1 - 0.54. * Thu Sep 27 2007 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.52-alt1 - 0.52. * Fri May 11 2007 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.49-alt1 - 0.49. * Wed Nov 29 2006 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.48-alt1 - 0.48. * Wed Oct 25 2006 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.47cvs5-alt1 - 0.47. * Mon Aug 28 2006 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.46-alt1 - 0.46. * Fri Jun 16 2006 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.45-alt1.1 - rebuild with new gnutls. * Tue Mar 28 2006 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.45-alt1 - 0.45. * Mon Mar 20 2006 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.43-alt1 - 0.43. * Wed Dec 07 2005 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.41-alt1 - 0.41. * Wed Nov 09 2005 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.40-alt1 - 0.40. * Tue Oct 04 2005 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.39.1-alt1 - 0.39. * Mon Aug 01 2005 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.38-alt1 - 0.38. * Wed Jul 13 2005 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.37-alt0.2 - missing requires added. * Wed Jul 13 2005 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.37-alt0.1 - initial build. |