- Revert FC6 to latest stable NM
- Update to stable snapshot - Remove bind/caching-nameserver hard requirement
This commit is contained in:
parent
e0a485b67d
commit
d3616dbdfa
@ -1,3 +1,4 @@
|
|||||||
NetworkManager-0.6.1.tar.bz2
|
NetworkManager-0.6.1.tar.bz2
|
||||||
NetworkManager-0.7.0.cvs20060521.tar.gz
|
NetworkManager-0.7.0.cvs20060521.tar.gz
|
||||||
NetworkManager-0.7.0.cvs20060529.tar.gz
|
NetworkManager-0.7.0.cvs20060529.tar.gz
|
||||||
|
NetworkManager-0.6.4.cvs20060829.tar.gz
|
||||||
|
14
NetworkManager-0.6.4-startup-dhcdbd.patch
Normal file
14
NetworkManager-0.6.4-startup-dhcdbd.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
--- NetworkManager-0.6.2/initscript/RedHat/NetworkManager.in.dhcdbd 2006-03-30 12:42:28.000000000 -0500
|
||||||
|
+++ NetworkManager-0.6.2/initscript/RedHat/NetworkManager.in 2006-03-30 12:43:25.000000000 -0500
|
||||||
|
@@ -36,6 +36,11 @@
|
||||||
|
{
|
||||||
|
echo $"Setting network parameters... "
|
||||||
|
sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1
|
||||||
|
+
|
||||||
|
+ if [ ! -e /var/lock/subsys/dhcdbd ]; then
|
||||||
|
+ service dhcdbd start
|
||||||
|
+ fi
|
||||||
|
+
|
||||||
|
echo -n $"Starting NetworkManager daemon: "
|
||||||
|
daemon --check $servicename $processname --pid-file=$pidfile
|
||||||
|
RETVAL=$?
|
@ -1,29 +1,32 @@
|
|||||||
ExcludeArch: s390 s390x
|
ExcludeArch: s390 s390x
|
||||||
|
|
||||||
%define cvs_snapshot 1
|
|
||||||
|
|
||||||
%define hal_version 0.5.0
|
%define hal_version 0.5.0
|
||||||
|
|
||||||
|
%if "%fedora" == "5"
|
||||||
|
%define dbus_version 0.61
|
||||||
|
%define dbus_glib_version 0.61
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if "%fedora" == "6"
|
||||||
%define dbus_version 0.90
|
%define dbus_version 0.90
|
||||||
%define dbus_glib_version 0.70
|
%define dbus_glib_version 0.70
|
||||||
|
%endif
|
||||||
|
|
||||||
%define gtk2_version 2.6.0
|
%define gtk2_version 2.6.0
|
||||||
%define wireless_tools_version 1:28-0pre9
|
%define wireless_tools_version 1:28-0pre9
|
||||||
%define bind_version 24:9.3.1-20
|
|
||||||
|
|
||||||
%if %{cvs_snapshot}
|
|
||||||
%define nm_cvs_version .cvs20060529
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: NetworkManager
|
Name: NetworkManager
|
||||||
Summary: Network connection manager and user applications
|
Summary: Network connection manager and user applications
|
||||||
Version: 0.7.0
|
Epoch: 1
|
||||||
Release: 0%{?nm_cvs_version}.7
|
Version: 0.6.4
|
||||||
|
Release: 2%{?dist}
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
License: GPL
|
License: GPL
|
||||||
URL: http://www.gnome.org/projects/NetworkManager/
|
URL: http://www.gnome.org/projects/NetworkManager/
|
||||||
Source: %{name}-%{version}%{?nm_cvs_version}.tar.gz
|
Source: %{name}-%{version}.cvs20060829.tar.gz
|
||||||
Patch0: NetworkManager-0.7.0-dbus-deprecated.patch
|
Patch0: NetworkManager-0.6.4-old-dbus.patch
|
||||||
Patch1: NetworkManager-0.7.0-dont-choose-inactive-wired-device.patch
|
Patch1: NetworkManager-0.6.4-fc5-specialcase-madwifi.patch
|
||||||
Patch2: NetworkManager-0.7.0-shhh.patch
|
Patch2: NetworkManager-0.6.4-startup-dhcdbd.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
PreReq: chkconfig
|
PreReq: chkconfig
|
||||||
@ -32,10 +35,8 @@ Requires: dbus >= %{dbus_version}
|
|||||||
Requires: dbus-glib >= %{dbus_glib_version}
|
Requires: dbus-glib >= %{dbus_glib_version}
|
||||||
Requires: hal >= %{hal_version}
|
Requires: hal >= %{hal_version}
|
||||||
Requires: iproute openssl
|
Requires: iproute openssl
|
||||||
Requires: caching-nameserver
|
|
||||||
Requires: dhcdbd
|
Requires: dhcdbd
|
||||||
Requires: dhclient >= 3.0.2-12
|
Requires: dhclient >= 3.0.2-12
|
||||||
Requires: bind >= %{bind_version}
|
|
||||||
Requires: wpa_supplicant
|
Requires: wpa_supplicant
|
||||||
|
|
||||||
BuildRequires: dbus-devel >= %{dbus_version}
|
BuildRequires: dbus-devel >= %{dbus_version}
|
||||||
@ -120,11 +121,16 @@ NetworkManager functionality from applications that use glib.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .dbus-deprecated
|
%if "%fedora" == "5"
|
||||||
%patch1 -p1 -b .dont-choose-inactive-wired-device
|
%patch0 -p1 -b .old-dbus
|
||||||
%patch2 -p1 -b .shhhh
|
# Preserve compat with older FC5 versions of NM
|
||||||
|
%patch1 -p1 -b .specialcase-madwifi
|
||||||
|
%endif
|
||||||
|
%patch2 -p1 -b .startup-dhcdbd
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# Even though we don't require named, we still build with it
|
||||||
|
# so that if the user installs it, NM will use it automatically
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-notify=yes \
|
--enable-notify=yes \
|
||||||
@ -221,6 +227,11 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 30 2006 Dan Williams <dcbw@redhat.com> - 1:0.6.4-2
|
||||||
|
- Revert FC6 to latest stable NM
|
||||||
|
- Update to stable snapshot
|
||||||
|
- Remove bind/caching-nameserver hard requirement
|
||||||
|
|
||||||
* Tue Aug 29 2006 Christopher Aillon <caillon@redhat.com> - 0.7.0-0.cvs20060529.7
|
* Tue Aug 29 2006 Christopher Aillon <caillon@redhat.com> - 0.7.0-0.cvs20060529.7
|
||||||
- BuildRequire wireless-tools-devel and perl-XML-Parser
|
- BuildRequire wireless-tools-devel and perl-XML-Parser
|
||||||
- Update the BuildRoot tag
|
- Update the BuildRoot tag
|
||||||
|
Loading…
Reference in New Issue
Block a user