2019-12-14 18:58:50 +08:00
|
|
|
# spec file for NetworkManager-libreswan
|
|
|
|
|
|
|
|
|
|
Name: NetworkManager-libreswan
|
2024-10-29 10:49:01 +08:00
|
|
|
Version: 1.2.24
|
2021-12-29 14:19:32 +08:00
|
|
|
Release: 1
|
2019-12-14 18:58:50 +08:00
|
|
|
Summary: NetworkManager VPN plug-in for IPsec VPN
|
2024-10-29 10:49:01 +08:00
|
|
|
License: GPL-2.0-or-later
|
2019-12-14 18:58:50 +08:00
|
|
|
URL: http://www.gnome.org/projects/NetworkManager
|
|
|
|
|
|
|
|
|
|
Source0: https://download.gnome.org/sources/NetworkManager-libreswan/1.2/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc gtk3-devel libnl3-devel
|
|
|
|
|
BuildRequires: NetworkManager-libnm-devel >= 1:1.2.0
|
|
|
|
|
BuildRequires: libnma-devel >= 1.2.0
|
|
|
|
|
BuildRequires: libsecret-devel intltool gettext
|
|
|
|
|
|
|
|
|
|
Requires: NetworkManager >= 1:1.2.0
|
2023-10-07 14:41:31 +08:00
|
|
|
Requires: dbus-common /usr/sbin/ipsec
|
2019-12-14 18:58:50 +08:00
|
|
|
|
|
|
|
|
Provides: NetworkManager-openswan = %{version}-%{release}
|
|
|
|
|
Obsoletes: NetworkManager-openswan < %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%global _privatelibs libnm-libreswan-properties[.]so.*
|
|
|
|
|
%global __provides_exclude ^(%{_privatelibs})$
|
|
|
|
|
%global __requires_exclude ^(%{_privatelibs})$
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This package provides easy connections to IPsec VPNs using NetworkManager and Libreswan.
|
|
|
|
|
|
|
|
|
|
%package -n NetworkManager-libreswan-gnome
|
|
|
|
|
Summary: NetworkManager VPN plugin for libreswan with GNOME files
|
|
|
|
|
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: shared-mime-info
|
|
|
|
|
|
|
|
|
|
Provides: NetworkManager-openswan-gnome = %{version}-%{release}
|
|
|
|
|
Obsoletes: NetworkManager-openswan-gnome < %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n NetworkManager-libreswan-gnome
|
|
|
|
|
This package provides software for integrating VPN capabilities with
|
|
|
|
|
the libreswan server with NetworkManager (GNOME files).
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-static --without-libnm-glib --enable-more-warnings=yes --with-dist-version=%{version}-%{release}
|
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%{make_install}
|
|
|
|
|
%delete_la
|
2023-10-07 14:41:31 +08:00
|
|
|
mv %{buildroot}%{_sysconfdir}/dbus-1 %{buildroot}%{_datadir}/
|
2019-12-14 18:58:50 +08:00
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-libreswan.so
|
|
|
|
|
%{_libexecdir}/nm-libreswan-service
|
|
|
|
|
%{_libexecdir}/nm-libreswan-service-helper
|
|
|
|
|
%{_prefix}/lib/NetworkManager/VPN/nm-libreswan-service.name
|
2023-10-07 14:41:31 +08:00
|
|
|
%{_datadir}/dbus-1/system.d/nm-libreswan-service.conf
|
2021-12-29 14:19:32 +08:00
|
|
|
%{_mandir}/man5/nm-settings-libreswan.5.gz
|
2024-10-29 10:49:01 +08:00
|
|
|
%doc AUTHORS NEWS
|
2019-12-14 18:58:50 +08:00
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
|
|
%files -n NetworkManager-libreswan-gnome
|
|
|
|
|
%{_libexecdir}/nm-libreswan-auth-dialog
|
|
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-libreswan-editor.so
|
2023-10-07 14:41:31 +08:00
|
|
|
%{_metainfodir}/network-manager-libreswan.metainfo.xml
|
2019-12-14 18:58:50 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2024-10-29 10:49:01 +08:00
|
|
|
* Tue Oct 29 2024 yaoxin <yao_xin001@hoperun.com> - 1.2.24-1
|
|
|
|
|
- Update to 1.2.24:
|
|
|
|
|
* Fixed formatting of ipsec.conf snippet. This is a security
|
|
|
|
|
issue with severity of "Important." (CVE-2024-9050)
|
|
|
|
|
* Added support for "require-id-on-certificate" setting.
|
|
|
|
|
* Updated Georgian, Slovenian and Ukrainian translations.
|
|
|
|
|
|
2023-10-07 14:41:31 +08:00
|
|
|
* Sat Oct 7 2023 liyanan <thistleslyn@163.com> - 1.2.16-1
|
|
|
|
|
- Update to 1.2.16
|
|
|
|
|
|
2021-12-29 14:19:32 +08:00
|
|
|
* Wed Dec 29 2021 houyingchao <houyingchao@huawei.com> - 1.2.14-1
|
|
|
|
|
- Upgrade to 1.2.14
|
|
|
|
|
|
2019-12-14 18:58:50 +08:00
|
|
|
* Tue Nov 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.2.4.8
|
|
|
|
|
- refactor NetworkManager-libreswan.spec
|