add new NetworkManager-config-connectivity-fedora RPM
Adds defaults for using Fedora servers for connectivity checking.
This commit is contained in:
parent
5053e90cec
commit
11e58160ed
4
20-connectivity-fedora.conf
Normal file
4
20-connectivity-fedora.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[connectivity]
|
||||||
|
uri=http://fedoraproject.org/static/hotspot.txt
|
||||||
|
response=OK
|
||||||
|
|
@ -71,6 +71,7 @@ URL: http://www.gnome.org/projects/NetworkManager/
|
|||||||
Source: %{name}-%{realversion}%{snapshot}%{git_sha_version}.tar.bz2
|
Source: %{name}-%{realversion}%{snapshot}%{git_sha_version}.tar.bz2
|
||||||
Source1: NetworkManager.conf
|
Source1: NetworkManager.conf
|
||||||
Source2: 00-server.conf
|
Source2: 00-server.conf
|
||||||
|
Source3: 20-connectivity-fedora.conf
|
||||||
|
|
||||||
Patch1: 0001-explain-dns1-dns2.patch
|
Patch1: 0001-explain-dns1-dns2.patch
|
||||||
|
|
||||||
@ -267,6 +268,15 @@ Requires: dbus-glib-devel >= %{dbus_glib_version}
|
|||||||
This package contains the header and pkg-config files for development applications using
|
This package contains the header and pkg-config files for development applications using
|
||||||
NetworkManager functionality from applications that use glib.
|
NetworkManager functionality from applications that use glib.
|
||||||
|
|
||||||
|
%package config-connectivity-fedora
|
||||||
|
Summary: NetworkManager config file for connectivity checking via Fedora servers
|
||||||
|
Group: System Environment/Base
|
||||||
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
|
%description config-connectivity-fedora
|
||||||
|
This adds a NetworkManager configuration file to enable connectivity checking
|
||||||
|
via Fedora infrastructure.
|
||||||
|
|
||||||
%package config-server
|
%package config-server
|
||||||
Summary: NetworkManager config file for "server-like" defaults
|
Summary: NetworkManager config file for "server-like" defaults
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -370,6 +380,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/conf.d
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/conf.d
|
||||||
%{__cp} %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/conf.d
|
%{__cp} %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/conf.d
|
||||||
|
%{__cp} %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/conf.d
|
||||||
|
|
||||||
# create a VPN directory
|
# create a VPN directory
|
||||||
%{__mkdir_p} $RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/VPN
|
%{__mkdir_p} $RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/VPN
|
||||||
@ -548,6 +559,11 @@ fi
|
|||||||
%dir %{_datadir}/gtk-doc/html/libnm-util
|
%dir %{_datadir}/gtk-doc/html/libnm-util
|
||||||
%{_datadir}/gtk-doc/html/libnm-util/*
|
%{_datadir}/gtk-doc/html/libnm-util/*
|
||||||
|
|
||||||
|
%files config-connectivity-fedora
|
||||||
|
%defattr(-,root,root,0755)
|
||||||
|
%dir %{_sysconfdir}/%{name}/conf.d
|
||||||
|
%config %{_sysconfdir}/%{name}/conf.d/20-connectivity-fedora.conf
|
||||||
|
|
||||||
%files config-server
|
%files config-server
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
%dir %{_sysconfdir}/%{name}/conf.d
|
%dir %{_sysconfdir}/%{name}/conf.d
|
||||||
|
Loading…
Reference in New Issue
Block a user