packages: madwifi-ng/madwifi-ng.spec - aircrack patch up to r4073 - added f...

arvenil arvenil at pld-linux.org
Sun Nov 22 13:32:58 CET 2009


Author: arvenil                      Date: Sun Nov 22 12:32:58 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- aircrack patch up to r4073
- added force_userspace bcond
- cleanup
- all changes from DEVEL are merged
- release 4

---- Files affected:
packages/madwifi-ng:
   madwifi-ng.spec (1.143 -> 1.144) 

---- Diffs:

================================================================
Index: packages/madwifi-ng/madwifi-ng.spec
diff -u packages/madwifi-ng/madwifi-ng.spec:1.143 packages/madwifi-ng/madwifi-ng.spec:1.144
--- packages/madwifi-ng/madwifi-ng.spec:1.143	Thu Nov 12 10:37:58 2009
+++ packages/madwifi-ng/madwifi-ng.spec	Sun Nov 22 13:32:52 2009
@@ -8,6 +8,7 @@
 %bcond_without	dist_kernel	# allow non-distribution kernel
 %bcond_without	kernel		# don't build kernel modules
 %bcond_without	userspace	# don't build userspace module
+%bcond_with	force_userspace	# force userspace build (useful if alt_kernel is set)
 %bcond_with	verbose		# verbose build (V=1)
 #
 %define		snap_year	2009
@@ -18,13 +19,20 @@
 %define		prel	0.%{snap}.%{rel}
 %define		trunk	r4099
 
-%define		rel		3
+%define		rel		4
 
 %if "%{_alt_kernel}" != "%{nil}"
 %if %{with kernel}
 %undefine	with_userspace
 %endif
 %endif
+%if %{with force_userspace}
+%define		with_userspace 1
+%endif
+%if %{without userspace}
+# nothing to be placed to debuginfo package
+%define		_enable_debug_packages	0
+%endif
 
 %define		pname	madwifi-ng
 %define		tname	madwifi-trunk
@@ -40,15 +48,14 @@
 Obsoletes:	madwifi
 Source0:	http://snapshots.madwifi-project.org/madwifi-trunk/%{tname}-%{trunk}-%{snap}.tar.gz
 # Source0-md5:	cf1ab29cf708e6763f012778a8b7bd32
-#Source0:	%{tname}-%{trunk}-%{snap}.tar.gz
-# http://patches.aircrack-ng.org/madwifi-ng-r3745.patch
-Patch0:		%{pname}-r3745.patch
+# http://patches.aircrack-ng.org/madwifi-ng-r4073.patch
+Patch0:		%{pname}-r4073.patch
 # needed when build against (more noisy) pax enabled kernel
 Patch1:		%{pname}-makefile-werror.patch
-# http://madwifi.org/ticket/617
+# http://madwifi-project.org/ticket/617
 Patch2:		%{pname}-ticket-617.patch
 Patch3:		%{pname}-ieee80211-skb-update.patch
-URL:		http://www.madwifi-project.org/
+URL:		http://madwifi-project.org/
 %if %{with kernel}
 %{?with_dist_kernel:BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
 BuildRequires:	rpmbuild(macros) >= 1.379
@@ -56,11 +63,6 @@
 ExclusiveArch:	alpha arm %{ix86} %{x8664} mips powerpc ppc sparc sparcv9 sparc64 xscale
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%if %{without userspace}
-# nothing to be placed to debuginfo package
-%define		_enable_debug_packages	0
-%endif
-
 %description
 Atheros WiFi card driver. Supports Virtual APs and WDS Mode. It uses
 binary HAL and supports AR5210, AR5211, AR5212, RF5111, RF5112, RF2413
@@ -109,7 +111,7 @@
 %prep
 %setup -q -n %{tname}-%{trunk}-%{snap}
 # airckrack-ng
-%patch0 -p0
+%patch0 -p1
 # werror
 %patch1 -p1
 # fix - ticket 617
@@ -210,6 +212,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.144  2009/11/22 12:32:52  arvenil
+- aircrack patch up to r4073
+- added force_userspace bcond
+- cleanup
+- all changes from DEVEL are merged
+- release 4
+
 Revision 1.143  2009/11/12 09:37:58  arekm
 - release 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/madwifi-ng/madwifi-ng.spec?r1=1.143&r2=1.144&f=u



More information about the pld-cvs-commit mailing list