packages: bnx2/bnx2.spec - up to 2.0.8e
glen
glen at pld-linux.org
Tue Jan 25 08:32:50 CET 2011
Author: glen Date: Tue Jan 25 07:32:50 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 2.0.8e
---- Files affected:
packages/bnx2:
bnx2.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/bnx2/bnx2.spec
diff -u packages/bnx2/bnx2.spec:1.1 packages/bnx2/bnx2.spec:1.2
--- packages/bnx2/bnx2.spec:1.1 Wed May 26 16:03:08 2010
+++ packages/bnx2/bnx2.spec Tue Jan 25 08:32:44 2011
@@ -13,15 +13,16 @@
%define pname bnx2
Summary: Broadcom NetXtreme II Gigabit ethernet driver
Name: %{pname}%{_alt_kernel}
-Version: 1.9.20b
+Version: 2.0.8e
Release: 0.1
License: GPL
Group: Base
-# from http://www-947.ibm.com/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-5081938&brandind=5000020
-# download: brcm_dd_nic_netxtreme2-1.9.20b_1.50.13_sles11_32-64.tgz
-Source0: netxtreme2-5.0.17.tar.gz
-# Source0-md5: ef4561b8fac71126da0bfa12255c34c2
+# from https://www-947.ibm.com/support/entry/portal/docdisplay?brand=5000020&lndocid=MIGR-5081938
+# download: brcm_dd_nic_netxtreme2-*.tgz
+Source0: ftp://download2.boulder.ibm.com/ecc/sar/CMA/XSA/brcm_dd_nic_netxtreme2-%{version}_1.52.16_sles11_32-64.tgz
+# Source0-md5: 29b93ae8c6ba423687b1268285a7befb
%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.27}
+BuildRequires: rpm-utils
BuildRequires: rpmbuild(macros) >= 1.379
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -47,13 +48,14 @@
10/100/1000/2500/10000 Mbps PCIX/PCIE Ethernet Network Controller.
%prep
-%setup -q -c
+%setup -qc
+rpm2cpio sles11/noarch/update/SUSE-SLES/11/sources/brcm-netxtreme2-sles11-*.src.rpm | cpio -dimu
+%{__tar} -zxf netxtreme2-*.tar.gz
mv netxtreme2-*/* .
-mv bnx2/{README.TXT,RELEASE.TXT} .
%build
%build_kernel_modules -m bnx2 -C bnx2/src \
- EXTRA_CFLAGS="-DHAVE_IP_HDR -DHAVE_LE32 -DNEW_SKB"
+ EXTRA_CFLAGS="-DHAVE_IP_HDR -DHAVE_LE32 -DNEW_SKB -DHAVE_BOOL"
%install
rm -rf $RPM_BUILD_ROOT
@@ -70,7 +72,7 @@
%files -n kernel%{_alt_kernel}-net-bnx2
%defattr(644,root,root,755)
-%doc README.TXT RELEASE.TXT INSTALL.TXT
+%doc bnx2/{README.TXT,RELEASE.TXT,ChangeLog}
/lib/modules/%{_kernel_ver}/kernel/net/*.ko*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -79,5 +81,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2011/01/25 07:32:44 glen
+- up to 2.0.8e
+
Revision 1.1 2010/05/26 14:03:08 glen
- builds with 2.6.27.46 kernel
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/bnx2/bnx2.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list