%if 0%{?fedora} < 28 && 0%{?rhel} < 8 %bcond_without libnm_glib %else # Disable the legacy version by default %bcond_with libnm_glib %endif %if 0%{?fedora} < 36 && 0%{?rhel} < 10 %bcond_with gtk4 %else %bcond_without gtk4 %endif Summary: NetworkManager VPN plugin for vpnc Name: NetworkManager-vpnc Epoch: 1 Version: 1.2.8 Release: 4%{?dist} License: GPLv2+ URL: http://www.gnome.org/projects/NetworkManager/ Source0: https://download.gnome.org/sources/NetworkManager-vpnc/1.2/%{name}-%{version}.tar.xz BuildRequires: make BuildRequires: gcc BuildRequires: gtk3-devel BuildRequires: intltool gettext BuildRequires: libnma-devel >= 1.2.0 BuildRequires: libsecret-devel %if %with libnm_glib BuildRequires: NetworkManager-devel BuildRequires: NetworkManager-glib-devel >= 1:1.2.0 BuildRequires: libnm-gtk-devel >= 1.2.0 %endif %if %with gtk4 BuildRequires: gtk4-devel BuildRequires: libnma-gtk4-devel %endif Requires: dbus-common Requires: NetworkManager >= 1:1.2.0 Requires: vpnc Obsoletes: NetworkManager-vpnc < 1:0.9.8.2-2 %global __provides_exclude ^libnm-.*\\.so %description This package contains software for integrating VPN capabilities with the vpnc server with NetworkManager. %package -n NetworkManager-vpnc-gnome Summary: NetworkManager VPN plugin for vpnc - GNOME files Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} Requires: gtk3 Requires: shared-mime-info Requires: gnome-keyring Obsoletes: NetworkManager-vpnc < 1:0.9.8.2-2 %description -n NetworkManager-vpnc-gnome This package contains software for integrating VPN capabilities with the vpnc server with NetworkManager (GNOME files). %prep %setup -q %build %configure \ --disable-static \ %if %with gtk4 --with-gtk4 \ %endif %if %with libnm_glib --with-libnm-glib \ %endif --enable-more-warnings=yes \ --with-dist-version=%{version}-%{release} make %{?_smp_mflags} %check make check %install make install DESTDIR=%{buildroot} INSTALL="%{__install} -p" rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la %find_lang %{name} %if 0%{?rhel} && 0%{?rhel} <= 7 %post update-desktop-database &> /dev/null || : touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun update-desktop-database &> /dev/null || : if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %files -f %{name}.lang %{_libdir}/NetworkManager/libnm-vpn-plugin-vpnc.so %{_datadir}/dbus-1/system.d/nm-vpnc-service.conf %{_prefix}/lib/NetworkManager/VPN/nm-vpnc-service.name %{_libexecdir}/nm-vpnc-service %{_libexecdir}/nm-vpnc-service-vpnc-helper %doc AUTHORS ChangeLog NEWS %license COPYING %files -n NetworkManager-vpnc-gnome %{_libexecdir}/nm-vpnc-auth-dialog %{_libdir}/NetworkManager/libnm-vpn-plugin-vpnc-editor.so %{_metainfodir}/network-manager-vpnc.metainfo.xml %if %with gtk4 %{_libdir}/NetworkManager/libnm-gtk4-vpn-plugin-vpnc-editor.so %endif %if %with libnm_glib %{_libdir}/NetworkManager/libnm-*-properties.so %{_sysconfdir}/NetworkManager/VPN/nm-vpnc-service.name %endif %changelog * Wed Jul 19 2023 Fedora Release Engineering - 1:1.2.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jan 18 2023 Fedora Release Engineering - 1:1.2.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jul 20 2022 Fedora Release Engineering - 1:1.2.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Mar 11 2022 Lubomir Rintel - 1:1.2.8-1 - Update to 1.2.8 release * Wed Jan 19 2022 Fedora Release Engineering - 1:1.2.6-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1:1.2.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Feb 15 2021 Lubomir Rintel - 1:1.2.6-7 - Move dbus service file into /usr/share/dbus-1 * Mon Jan 25 2021 Fedora Release Engineering - 1:1.2.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1:1.2.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 1:1.2.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 1:1.2.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1:1.2.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 20 2018 Lubomir Rintel - 1.2.6-1 - Update to 1.2.6 release - Fix a local authenticated privilege escalation bug (CVE-2018-10900) * Thu Jul 12 2018 Fedora Release Engineering - 1:1.2.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1:1.2.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jan 31 2018 Igor Gnatenko - 1:1.2.4-6 - Remove obsolete scriptlets * Thu Nov 30 2017 Lubomir Rintel - 1.2.4-5 - Drop libnm-glib for Fedora 28 * Wed Aug 02 2017 Fedora Release Engineering - 1:1.2.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1:1.2.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1:1.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Oct 3 2016 Thomas Haller - 1.2.4-1 - Update to 1.2.4 release * Mon Sep 12 2016 Thomas Haller - 1.2.4-0.1 - Update to 1.2.4 pre-release - Remove GTK dependency from base openvpn package (rh#1088671) - Introduce new GTK-free VPN plugin base-library to nm-vpnc package - Don't require nm-connection-editor anymore - Support NM_VPN_LOG_LEVEL environment variable to control logging - Support multiple concurrent VPNC connections * Wed May 11 2016 Lubomir Rintel - 1.2.2-1 - Update to 1.2.2 release * Wed Apr 20 2016 Lubomir Rintel - 1.2.0-1 - Update to 1.2.0 release * Tue Apr 5 2016 Lubomir Rintel - 1:1.2.0-0.4.rc1 - Update to NetworkManager-vpnc 1.2-rc1 * Tue Mar 29 2016 Lubomir Rintel - 1:1.2.0-0.4.beta3 - Update to NetworkManager-vpnc 1.2-beta3 * Tue Mar 1 2016 Lubomir Rintel - 1:1.2.0-0.4.beta2 - Update to NetworkManager-vpnc 1.2-beta2 * Wed Feb 03 2016 Fedora Release Engineering - 1:1.2.0-0.4.beta1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jan 19 2016 Lubomir Rintel - 1:1.2.0-0.3.beta1 - Update to NetworkManager-vpnc 1.2-beta1 * Mon Dec 07 2015 Lubomir Rintel - 1:1.2.0-0.2.20151207git0e2b614 - Update to a more recent git snapshot * Fri Oct 23 2015 Lubomir Rintel - 1:1.2.0-0.1.20151023git9c54e7c - Update to a more recent git snapshot * Tue Sep 01 2015 Lubomir Rintel - 1:1.2.0-0.1.20150901git65701cd - Update to 1.2 git snapshot with libnm-based properties plugin * Thu Aug 27 2015 Lubomir Rintel - 1:1.0.6-3 - Update the BRs * Thu Aug 27 2015 Lubomir Rintel - 1:1.0.6-1 - Update to 1.0.6 release * Tue Jun 16 2015 Fedora Release Engineering - 1:1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue May 5 2015 Lubomir Rintel - 1:1.0.2-1 - Update to 1.0.2 release * Mon Dec 22 2014 Dan Williams - 1:1.0.0-1 - Update to 1.0 * Fri Aug 15 2014 Fedora Release Engineering - 1:0.9.9.0-6.git20140428 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Jun 06 2014 Fedora Release Engineering - 1:0.9.9.0-5.git20140428 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Apr 28 2014 Dan Williams - 1:0.9.9.0-4.git20140428 - Fix interactions with GNOME Shell when no passwords are required (bgo #728681) * Fri Feb 7 2014 Thomas Haller - 1:0.9.9.0-3.git20140131 - Fix passing --pid-file argument to vpnc as separate arguments (rh #1062555) * Fri Jan 31 2014 Dan Williams - 1:0.9.9.0-2.git20140131 - Fix passing --pid-file argument to vpnc * Wed Jan 29 2014 Dan Williams - 1:0.9.9.0-1 - Always return found secrets for External UI mode * Fri Jul 26 2013 Jiří Klimeš - 1:0.9.8.2-2 - Fixing Obsoletes to ensure NetworkManager-vpnc-gnome installs on update (rh #983632) * Fri Jun 7 2013 Dan Williams - 1:0.9.8.2-1 - Update to 0.9.8.2 release * Sat Apr 06 2013 Dan Fruehauf - 1:0.9.8.0-1 - Refactored spec file * Wed Jul 18 2012 Fedora Release Engineering - 1:0.9.3.997-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jun 13 2012 Ville Skyttä - 1:0.9.3.997-2 - Remove unnecessary ldconfig calls from scriptlets (#737331). - Fix version in gtk3 dependency. * Mon Mar 19 2012 Dan Williams - 1:0.9.3.997-1 - Update to 0.9.3997 (0.9.4-rc1) - core: pass all received domains back to NetworkManager - ui: ensure password request is shown when external UI mode is not used * Fri Mar 2 2012 Dan Williams - 1:0.9.3.995-1 - Update to 0.9.3.995 (0.9.4-beta1) - core: add support for Juniper/Netscreen VPN concentrators - ui: tooltips now refer to vpnc config options - ui: add support for external UI mode, eg GNOME Shell * Sun Feb 26 2012 Peter Robinson - 1:0.9.0-4 - Update for unannounced gnome-keyring devel changes * Thu Jan 12 2012 Fedora Release Engineering - 1:0.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Dec 07 2011 Adam Jackson 0.9.0-2 - Rebuild for new libpng - Add -Wno-error=deprecated-declarations for now * Fri Aug 26 2011 Dan Williams - 1:0.9.0-1 - core: use the right IP prefix for point-to-point tunnels - ui: fix some translations * Thu Jul 21 2011 Dan Williams - 1:0.8.999-3 - core: don't claim default route when explicit ones are passed - core/ui: add support for Hybrid XAUTH (rh #677419) - ui: ensure secerts are saved when required and not saved when not required - ui: updated translations * Sat May 07 2011 Christopher Aillon - 1:0.8.999-2 - Update icon cache scriptlet * Tue May 03 2011 Dan Williams - 1:0.8.999-1 - Update to 0.8.999 (0.9-rc2) - ui: default to user-stored secrets for new connections - ui: updated translations * Tue Apr 05 2011 Dan Williams - 1:0.8.998-1.git20110405 - Update to 0.8.998 (0.9.0-rc1) - ui: default to user-stored secrets when importing - ui: add a .desktop file for gnome-shell * Thu Mar 24 2011 Dan Williams - 1:0.8.996-2 - Rebuild for NM 0.9 * Thu Mar 10 2011 Dan Williams - 1:0.8.996 - Update to 0.8.996 (0.9-beta2) * Tue Mar 08 2011 Dan Williams - 1:0.8.995 - Update to 0.8.995 (0.9-beta1) * Mon Feb 07 2011 Fedora Release Engineering - 1:0.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Jul 27 2010 Dan Williams - 1:0.8.1-1 - Update to 0.8.1 release - Updated translations * Sun Apr 11 2010 Dan Williams - 1:0.8.0-1 - Handle NAT Traversal importing better - Default to newer NAT-T instead of deprecated Cisco-UDP - Add "Force NAT-T" option - Updated translations * Mon Dec 14 2009 Dan Williams - 1:0.7.997-1 - Add some debug options (VPNC_DEBUG, --persist) - Make .desktop file pass validation (rh #489475) * Mon Sep 21 2009 Dan Williams - 1:0.7.996-3 - Rebuild for updated NetworkManager - Convert imported files to UTF8 before parsing * Sun Aug 30 2009 Dan Williams - 1:0.7.996-2 - Fix NM requirement * Fri Aug 28 2009 Dan Williams - 1:0.7.996-1 - Rebuild for updated NetworkManager - Allow missing description in imported .pcf files - Allow the 'Vendor' config option * Mon Jul 27 2009 Fedora Release Engineering - 1:0.7.0.99-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering - 1:0.7.0.99-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Mar 5 2009 Dan Williams 1:0.7.0.99-1 - Update to 0.7.1rc3 * Mon Feb 23 2009 Fedora Release Engineering - 1:0.7.0.97-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Feb 19 2009 Dan Williams 1:0.7.0.97-1 - Update to 0.7.1rc1 - Handle import/export of "EnableNat", "DHGroup", "SaveUserPassword", and "EnableLocalLAN" * Sat Jan 3 2009 Dan Williams 1:0.7.0-1 - Rebuild for updated NetworkManager - Better handling of passwords that shouldn't be saved - Fix some specfile issues (rh #477151) * Fri Nov 21 2008 Dan Williams 1:0.7.0-0.11.svn4326 - Rebuild for updated NetworkManager * Tue Nov 18 2008 Dan Williams 1:0.7.0-0.11.svn4296 - Rebuild for updated NetworkManager * Mon Nov 17 2008 Dan Williams 1:0.7.0-0.11.svn4293 - Ensure errors are shown when connection fails (rh #331141) - Fix failures to ask for passwords on connect (rh #429287) - Fix routing when concentrator specifies routes (rh #449283) - Pull in upstream support for tokens and not saving passwords * Mon Oct 27 2008 Dan Williams 1:0.7.0-0.11.svn4229 - Rebuild for updated NetworkManager * Tue Oct 14 2008 Dan Williams 1:0.7.0-11.svn4175 - Fix password issue with configurations that don't save the user password in the keyring (rh #466864) * Sun Oct 12 2008 Dan Williams 1:0.7.0-10.svn4175 - Rebuild for updated NetworkManager - Allow changing passwords from the connection editor * Fri Aug 29 2008 Dan Williams 1:0.7.0-10.svn4024 - Fix regression where username radio buttons were mistakenly shown in the auth dialog - Fix regression where the auth dialog would segfault when cancel was clicked * Wed Aug 27 2008 Dan Williams 1:0.7.0-10.svn4022 - Rebuild for updated NetworkManager * Mon Aug 11 2008 Dan Williams 1:0.7.0-10.svn3928 - Rebuild for updated NetworkManager * Thu Jul 24 2008 Dan Williams 1:0.7.0-10.svn3846 - Rebuild for updated NetworkManager * Fri Jul 18 2008 Dan Williams 1:0.7.0-10.svn3832 - Update for NM netmask -> prefix changes * Wed Jul 02 2008 Dan Williams 1:0.7.0-10.svn3801 - Update for moving VPN editing into connection manager - Add option to disable Dead Peer Detection - Add option to select NAT Traversal mode * Thu May 01 2008 Dan Williams 1:0.7.0-7.7.svn3627 - Update for compat with new NM bits * Wed Apr 09 2008 Dan Williams 1:0.7.0-6.7.svn3549 - Update for compat with new NM bits * Tue Mar 25 2008 Dan Williams - 1:0.7.0-0.6.7.svn3502 - Send suggested MTU to NetworkManager * Mon Feb 18 2008 Fedora Release Engineering - 1:0.7.0-0.7.7.svn3204 - Autorebuild for GCC 4.3 * Fri Jan 4 2008 Dan Williams - 1:0.7.0-0.6.7.svn3204 - Support new vpnc 0.4 Cisco UDP Encapsulation option - Fix another crash in the properties applet - Remove upstreamed pcfimport patch * Mon Nov 26 2007 Dan Williams - 1:0.7.0-0.6.3.svn3109 - Rebuild for updated NetworkManager * Tue Nov 13 2007 Dan Williams - 1:0.7.0-0.6.2.svn3083 - Rebuild for updated NetworkManager * Sat Oct 27 2007 Dan Williams - 1:0.7.0-0.4.svn3030 - Fix a crash when editing VPN properties a second time * Tue Oct 23 2007 Dan Williams - 1:0.7.0-0.3.svn3014 - Rebuild * Wed Oct 17 2007 Bill Nottingham - 1:0.7.0-0.3.svn2970 - rebuild (#336261) * Wed Oct 10 2007 Dan Williams - 1:0.7.0-0.2.svn2970 - Fix default username * Fri Sep 28 2007 Dan Williams - 1:0.7.0-0.1.svn2914 - Fix .name file on 64-bit systems * Fri Sep 28 2007 Jesse Keating - 1:0.7.0-0.2.svn2910 - BuildRequire NetworkManager-glib-devel * Thu Sep 27 2007 Dan Williams - 1:0.7.0-0.1.svn2910 - New snapshot; ported to NM 0.7 API * Fri Aug 17 2007 Denis Leroy - 1:0.6.4-4 - Updated License tag - Added patch to make properties multilib friendly (#243535) * Thu Mar 22 2007 Denis Leroy - 1:0.6.4-3 - Added patch to improve configuration GUI, add NAT traversal and single DES options * Sun Feb 18 2007 Denis Leroy - 1:0.6.4-2 - Readded NAT-keepalive support patch from SVN branch * Wed Feb 14 2007 Denis Leroy - 1:0.6.4-1 - Downgrading to 1:0.6.4 to keep par with core NM version * Mon Dec 4 2006 Dan Williams - 0.7.0-0.cvs20061204 - Allow "NAT-Keepalive packet interval" config option * Sat Oct 21 2006 Denis Leroy - 0.7.0-0.cvs20060929.3 - Added patch to support saving group password only * Thu Oct 5 2006 Denis Leroy - 0.7.0-0.cvs20060929.2 - Leave .so link alone, needed by nm * Fri Sep 29 2006 Denis Leroy - 0.7.0-0.cvs20060929.1 - Update to CVS snapshot 060929 - Some rpmlint cleanups * Fri Sep 29 2006 Denis Leroy - 0.7.0-0.cvs20060529.4 - Added XML::Parser BR * Fri Sep 29 2006 Denis Leroy - 0.7.0-0.cvs20060529.3 - Added gettext BR * Wed Sep 27 2006 Warren Togami - 0.7.0-0.cvs20060529.2 - rebuild for FC6 * Thu Jul 20 2006 Warren Togami - 0.7.0-0.cvs20060529.1 - rebuild for new dbus * Mon May 29 2006 Dan Williams - 0.7.0-0.cvs20060529 - Gnome.org #336913: HIG tweaks for vpn properties pages * Sun May 21 2006 Dan Williams 0.7.0-0.cvs20060521 - Update to CVS snapshot - Honor user-specified rekeying intervals * Mon May 15 2006 Dan Williams 0.6.2-1 - New release for NM 0.6.2 compat * Fri Apr 21 2006 Dan Williams 0.6.0-3 - Add dist tag to RPM release * Wed Apr 12 2006 Christopher Aillon 0.6.0-2 - Rekey every 2 hours * Tue Mar 14 2006 Dan Williams - 0.6.0-1 - Update to CVS snapshot of 0.6 for NM compatibility * Fri Jan 27 2006 Dan Williams - 0.5.0-1 - CVS snapshot for compatibility new NetworkManager * Tue Dec 6 2005 Jeremy Katz - 0.3-3 - rebuild for new dbus * Mon Oct 17 2005 Dan Williams 0.3-2 - Rebuild to test new Extras buildsystem * Thu Aug 18 2005 David Zeuthen 0.3-1 - New upstream release - Bump some versions for deps * Fri Jul 1 2005 David Zeuthen 0.2-2 - Add missing changelog entry for last commit - Temporarily BuildReq libpng-devel as it is not pulled in by gtk2-devel (should be fixed in Core shortly) - Pull in latest D-BUS (which features automatic reloading of policy files) so users do not have to restart the messagebus after installing this package * Thu Jun 30 2005 David Zeuthen 0.2-1 - New upsteam version - Add the new gnome-mime-application-x-cisco-vpn-settings.png icon and call gtk-update-icon-cache as appropriate * Fri Jun 17 2005 David Zeuthen 0.1-2.cvs20050617 - Add Prereq: /usr/bin/update-desktop-database - Nuke .la and .a files - Use find_lang macro to handle locale files properly - Add Requires for suitable version of shared-mime-info since our desktop file depends on the application/x-cisco-vpn-settings MIME-type * Fri Jun 17 2005 David Zeuthen 0.1-1.cvs20050617 - Latest CVS snapshot * Thu Jun 16 2005 David Zeuthen 0.1-1 - Initial build