Package glib-networking: 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 | %def_disable snapshot %define ver_major 2.60 %define _libexecdir %_prefix/libexec %define _userunitdir %(pkg-config systemd --variable systemduserunitdir) # Only one TLS or SSL can be enabled %def_enable tls %def_disable ssl %def_enable libproxy %def_enable gnome_proxy %def_enable installed_tests %def_disable check Name: glib-networking Version: %ver_major.3 Release: alt1.p9.1 Summary: Networking support for GIO Group: System/Libraries License: LGPLv2+ Url: http://www.gnome.org %if_disabled snapshot Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.xz %else Source: %name-%version.tar %endif Patch1: glib-networking-2.60.3-upstream-alt-fix-cve-2020-13645.patch Patch2: glib-networking-2.60.3-alt-fix-null-dereference.patch %{?_enable_gnome_proxy:Requires: gsettings-desktop-schemas >= 3.2.0} Requires: ca-certificates %define glib_ver 2.56.1 %define gnutls_ver 2.12.8 %define p11kit_ver 0.20 %define libproxy_ver 0.3.1 BuildRequires(pre): meson BuildRequires: libgio-devel >= %glib_ver libsystemd-devel %{?_enable_ssl:BuildRequires: libssl-devel} %{?_enable_gnome_proxy:BuildRequires: gsettings-desktop-schemas-devel} %{?_enable_tls:BuildRequires: libgnutls-devel >= %gnutls_ver libgcrypt-devel} %{?_enable_pkcs11:BuildRequires: libp11-kit-devel >= %p11kit_ver ca-certificates} %{?_enable_libproxy:BuildRequires: libproxy-devel >= %libproxy_ver} %description This package contains modules that extend the networking support in GIO. In particular, it contains a libproxy-based GProxyResolver implementation and a gnutls-based GTlsConnection implementation. %package -n glib-openssl Summary: Network-related giomodule for glib using openssl Group: System/Libraries %description -n glib-openssl This package contains the implementations of certain GLib openssl features that cannot be implemented directly in GLib itself because of their dependencies %package tests Summary: Tests for the %name package Group: Development/Other Requires: %name = %version-%release %description tests This package provides tests programs that can be used to verify the functionality of the installed %name package. %prep %setup %patch1 -p1 %patch2 -p1 %build %meson \ %{?_enable_tls:-Dgnutls=enabled} \ %{?_enable_ssl:-Dopenssl=enabled} \ %{?_enable_libproxy:-Dlibproxy=enabled} \ %{?_enable_gnome_proxy:-Dgnome_proxy=enabled} \ %{?_enable_installed_tests:-Dinstalled_tests=true} %meson_build %install %meson_install %find_lang %name %check %meson_test %files -f %name.lang %{?_enable_tls:%_libdir/gio/modules/libgiognutls.so} %{?_enable_gnome_proxy:%_libdir/gio/modules/libgiognomeproxy.so} %if_enabled libproxy %_libdir/gio/modules/libgiolibproxy.so %_libexecdir/glib-pacrunner %_datadir/dbus-1/services/org.gtk.GLib.PACRunner.service %_userunitdir/glib-pacrunner.service %endif %doc NEWS README %if_enabled ssl %files -n glib-openssl %_libdir/gio/modules/libgioopenssl.so %doc NEWS README %endif %if_enabled installed_tests %files tests %_libexecdir/installed-tests/%name/ %_datadir/installed-tests/%name/ %endif %changelog * Wed Oct 28 2020 Vladimir D. Seleznev <vseleznv@altlinux.org> 2.60.3-alt1.p9.1 - Fixed CVE-2020-13645. - Fixed possible NULL dereference. * Sun Jun 09 2019 Yuri N. Sedunov <aris@altlinux.org> 2.60.3-alt1 - 2.60.3 * Thu May 02 2019 Yuri N. Sedunov <aris@altlinux.org> 2.60.2-alt1 - 2.60.2 * Tue Apr 02 2019 Yuri N. Sedunov <aris@altlinux.org> 2.60.1-alt1 - 2.60.1 * Wed Mar 13 2019 Yuri N. Sedunov <aris@altlinux.org> 2.60.0.1-alt1 - 2.60.0.1 * Mon Sep 03 2018 Yuri N. Sedunov <aris@altlinux.org> 2.58.0-alt1 - 2.58.0 * Tue May 22 2018 Yuri N. Sedunov <aris@altlinux.org> 2.56.1-alt1 - 2.56.1 * Sat Mar 10 2018 Yuri N. Sedunov <aris@altlinux.org> 2.56.0-alt1 - 2.56.0 * Fri Oct 27 2017 Yuri N. Sedunov <aris@altlinux.org> 2.54.1-alt1 - 2.54.1 * Tue Sep 12 2017 Yuri N. Sedunov <aris@altlinux.org> 2.54.0-alt1 - 2.54.0 * Fri Jul 28 2017 Yuri N. Sedunov <aris@altlinux.org> 2.50.0-alt2 - updated to 2.50.0-15-gb10e225 (fixed BGO #782218) * Sat Feb 25 2017 Michael Shigorin <mike@altlinux.org> 2.50.0-alt1.1 - BOOTSTRAP: introduce libproxy knob (on by default) - E2K: drop -Werror=missing-include-dirs (lcc) * Mon Sep 19 2016 Yuri N. Sedunov <aris@altlinux.org> 2.50.0-alt1 - 2.50.0 * Mon May 09 2016 Yuri N. Sedunov <aris@altlinux.org> 2.48.2-alt1 - 2.48.2 * Tue Apr 26 2016 Yuri N. Sedunov <aris@altlinux.org> 2.48.1-alt1 - 2.48.1 * Tue Mar 22 2016 Yuri N. Sedunov <aris@altlinux.org> 2.48.0-alt1 - 2.48.0 * Wed Dec 09 2015 Yuri N. Sedunov <aris@altlinux.org> 2.46.1-alt2 - rebuilt against libgnutls.so.30 * Tue Oct 13 2015 Yuri N. Sedunov <aris@altlinux.org> 2.46.1-alt1 - 2.46.1 * Mon Sep 21 2015 Yuri N. Sedunov <aris@altlinux.org> 2.46.0-alt1 - 2.46.0 * Wed Mar 25 2015 Yuri N. Sedunov <aris@altlinux.org> 2.44.0-alt1 - 2.44.0 * Sun Dec 07 2014 Yuri N. Sedunov <aris@altlinux.org> 2.42.1-alt1 - 2.42.1 * Tue Sep 23 2014 Yuri N. Sedunov <aris@altlinux.org> 2.42.0-alt1 - 2.42.0 * Mon Apr 14 2014 Yuri N. Sedunov <aris@altlinux.org> 2.40.1-alt1 - 2.40.1 * Wed Apr 02 2014 Yuri N. Sedunov <aris@altlinux.org> 2.40.0-alt1.1 - updated to fbfd53fcce * Tue Mar 25 2014 Yuri N. Sedunov <aris@altlinux.org> 2.40.0-alt1 - 2.40.0 * Tue Nov 12 2013 Yuri N. Sedunov <aris@altlinux.org> 2.38.2-alt1 - 2.38.2 * Tue Oct 15 2013 Yuri N. Sedunov <aris@altlinux.org> 2.38.1-alt1 - 2.38.1 * Tue Sep 24 2013 Yuri N. Sedunov <aris@altlinux.org> 2.38.0-alt1 - 2.38.0 * Tue May 14 2013 Yuri N. Sedunov <aris@altlinux.org> 2.36.2-alt1 - 2.36.2 * Tue Apr 16 2013 Yuri N. Sedunov <aris@altlinux.org> 2.36.1-alt1 - 2.36.1 * Mon Mar 25 2013 Yuri N. Sedunov <aris@altlinux.org> 2.36.0-alt1 - 2.36.0 * Tue Nov 13 2012 Yuri N. Sedunov <aris@altlinux.org> 2.34.2-alt1 - 2.34.2 * Mon Sep 24 2012 Yuri N. Sedunov <aris@altlinux.org> 2.34.0-alt1 - 2.34.0 * Tue May 15 2012 Yuri N. Sedunov <aris@altlinux.org> 2.32.3-alt1 - 2.32.3 * Tue Apr 17 2012 Yuri N. Sedunov <aris@altlinux.org> 2.32.1-alt1 - 2.32.1 * Tue Mar 27 2012 Yuri N. Sedunov <aris@altlinux.org> 2.32.0-alt1 - 2.32.0 * Wed Jan 04 2012 Yuri N. Sedunov <aris@altlinux.org> 2.30.2-alt1 - 2.30.2 * Tue Oct 18 2011 Yuri N. Sedunov <aris@altlinux.org> 2.30.1-alt1 - 2.30.1 * Tue Sep 27 2011 Yuri N. Sedunov <aris@altlinux.org> 2.30.0-alt1 - 3.2.0 * Tue May 24 2011 Yuri N. Sedunov <aris@altlinux.org> 2.28.7-alt1 - 2.28.7 * Tue Apr 26 2011 Yuri N. Sedunov <aris@altlinux.org> 2.28.6.1-alt1 - 2.28.6.1 * Tue Apr 26 2011 Yuri N. Sedunov <aris@altlinux.org> 2.28.6-alt1 - 2.28.6 * Tue Mar 22 2011 Yuri N. Sedunov <aris@altlinux.org> 2.28.4-alt1 - 2.28.4 * Tue Mar 08 2011 Yuri N. Sedunov <aris@altlinux.org> 2.28.0-alt2 - updated buildrqs * Tue Feb 22 2011 Yuri N. Sedunov <aris@altlinux.org> 2.28.0-alt1 - 2.28.0 * Tue Feb 22 2011 Yuri N. Sedunov <aris@altlinux.org> 2.27.90-alt1 - first build for Sisyphus |