From 084cfa0b0d66b0cc20068d1db6a154dd3234f5b4 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 6 Feb 2009 05:56:48 +0000 Subject: [PATCH] updating madwifi for 2.6.27 --- Makefile | 4 ++-- madwifi.spec | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 63098cc..78fccbd 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ SHA1SUM = sha1sum # default - overridden by the build SPECFILE = madwifi.spec -main.URL := http://dfn.dl.sourceforge.net/sourceforge/madwifi/madwifi-0.9.4.tar.bz2 -main.SHA1SUM := 5de5842a662fbca17507003c3b09956c37fa4d79 +main.URL := http://mirror.onelab.eu/third-party/madwifi-trunk-r3878-20081204.tar.bz2 +main.SHA1SUM := 085c839559349f4d61c08f1acba680b3e5c762b1 main.FILE := $(notdir $(main.URL)) # Thierry - when called from within the build, PWD is /build diff --git a/madwifi.spec b/madwifi.spec index 502e4cb..e7b6aab 100644 --- a/madwifi.spec +++ b/madwifi.spec @@ -12,8 +12,10 @@ # kernel_version : 2.6.22.14 %define name madwifi -%define version 0.9.4 -%define taglevel 2 +%define version 3878 +%define taglevel 0 + +%define actual_name %{name}-trunk-r%{version}-20081204 %define release %{kernel_version}.%{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} %define kernel_id_arch %{kernel_version}-%{kernel_release}-%{kernel_arch} @@ -25,7 +27,7 @@ Version: %{version} Release: %{release} License: GPL Group: System Environment/Kernel -Source0: %{name}-%{version}.tar.bz2 +Source0: %{actual_name}.tar.bz2 Source1: ifup-pre-local BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot @@ -40,7 +42,7 @@ Requires: coreutils madwifi is a new generation driver for the Atheros chipset %prep -%setup +%setup -n %{actual_name} %build rm -rf $RPM_BUILD_ROOT -- 2.43.0