Compare commits

..

No commits in common. "rawhide" and "f18" have entirely different histories.

7 changed files with 203 additions and 1 deletions

1
commitid Normal file
View file

@ -0,0 +1 @@
6718941c330928490b69461eb2c13b94bea34be4

View file

@ -1 +0,0 @@
This package was retired on 2013-09-20 due to being dead upstream (by maintainer request).

18
make-git-snapshot.sh Executable file
View file

@ -0,0 +1,18 @@
#!/bin/sh
MODULE=void
DIRNAME=wimax-$( date +%Y%m%d )
rm -rf $DIRNAME
git clone git://git.kernel.org/pub/scm/linux/networking/wimax/wimax-network-service.git $DIRNAME
cd $DIRNAME
if [ -z "$1" ]; then
git log | head -1
else
git checkout $1
fi
git log | head -1 | awk '{ print $2 }' > ../commitid
git repack -a -d
cd ..
tar jcf $DIRNAME.tar.bz2 $DIRNAME
rm -rf $DIRNAME

1
sources Normal file
View file

@ -0,0 +1 @@
f7f11546aa27f223748a32c554f1b177 wimax-20110419.tar.bz2

12
wimax-1.5.2-iprenew.patch Normal file
View file

@ -0,0 +1,12 @@
diff -up wimax-20110419/InfraStack/OSDependent/Linux/Config/config.xml.in.foo wimax-20110419/InfraStack/OSDependent/Linux/Config/config.xml.in
--- wimax-20110419/InfraStack/OSDependent/Linux/Config/config.xml.in.foo 2011-04-19 16:12:21.824000013 -0400
+++ wimax-20110419/InfraStack/OSDependent/Linux/Config/config.xml.in 2011-04-19 16:12:28.038000012 -0400
@@ -15,7 +15,7 @@
<ModeOfOperationProduction>0</ModeOfOperationProduction>
<OutputTarget>console</OutputTarget>
<SdkIpAddress>0.0.0.0</SdkIpAddress>
- <IPRenew>1</IPRenew>
+ <IPRenew>0</IPRenew>
<DisableObfuscate>0</DisableObfuscate>
<SdkPortNum>49001</SdkPortNum>
<StartMocMsgProxy>False</StartMocMsgProxy>

52
wimax-1.5.2-noise.patch Normal file
View file

@ -0,0 +1,52 @@
diff -up wimax-20110419/InfraStack/OSDependent/Linux/manpage/wimaxcu.1.noise wimax-20110419/InfraStack/OSDependent/Linux/manpage/wimaxcu.1
--- wimax-20110419/InfraStack/OSDependent/Linux/manpage/wimaxcu.1.noise 2011-04-19 15:06:57.622000014 -0400
+++ wimax-20110419/InfraStack/OSDependent/Linux/manpage/wimaxcu.1 2011-04-19 15:09:25.615000016 -0400
@@ -1,10 +1,8 @@
.TH wimaxcu 1 "wimaxcu" "Local" "WiMAX Connection Utility"
.SH NAME:
.B wimaxcu - Intel WiMAX Connection Utility.
-."-----------------
.SH SYNOPSIS:
.B "wimaxcu [options]"
-."----------------
.SH DESCRIPTION:
.PP
.B wimaxcu
@@ -26,13 +24,12 @@ If no OPTION is specified,
displays the help, that
lists the OPTIONS without any detailed description. Use "help" for more
details.
-."------------------------
.SH OPTIONS:
.IP "activate <network_id>"
Activate the specified network.
-./.IP "getipinterface"
-./Get the IP of an interface.[Currently not supported]
+\" .IP "getipinterface"
+\" Get the IP of an interface.[Currently not supported]
.IP "update "
Updates any APDO related packages. [Currently not supported]
diff -up wimax-20110419/InfraStack/OSDependent/Linux/manpage/wimaxd.1.noise wimax-20110419/InfraStack/OSDependent/Linux/manpage/wimaxd.1
--- wimax-20110419/InfraStack/OSDependent/Linux/manpage/wimaxd.1.noise 2011-04-19 15:06:49.851000013 -0400
+++ wimax-20110419/InfraStack/OSDependent/Linux/manpage/wimaxd.1 2011-04-19 15:07:28.769000014 -0400
@@ -1,10 +1,8 @@
.TH wimaxd 1 "wimaxd" "Local" "Intel WiMAX Network Service Usage"
.SH NAME:
.B wimaxd - Intel WiMAX Network Service Usage.
-."-----------------
.SH SYNOPSIS:
.B "wimaxd [options]"
-."----------------
.SH DESCRIPTION:
.PP
.B WiMAX Network Service
@@ -14,7 +12,6 @@
If no OPTION is specified,
.B wimaxd
runs in a console mode.
-."------------------------
.SH OPTIONS:
.IP "-i IFACENAME "
IFACENAME is an interface name like e.g. wmx0

119
wimax.spec Normal file
View file

@ -0,0 +1,119 @@
%global gitdate 20110419
%global gitrev 6718941c
Name: wimax
Summary: WiMAX Network Service for the Intel 2400m
Version: 1.5.2
Release: 5%{?gitdate:.%{gitdate}git%{gitrev}}%{dist}
Group: System Environment/Base
License: BSD
URL: http://linuxwimax.org/
# To recreate the tarball, do "./make-git-snapshot.sh %{gitrev}"
%if 0%{?gitdate}
Source0: wimax-%{gitdate}.tar.bz2
Source1: make-git-snapshot.sh
Source2: commitid
%else
Source0: http://linuxwimax.org/Download?action=AttachFile&do=get&target=wimax-1.5.1.tar.gz
%endif
# Clean up manpage syntax
Patch1: wimax-1.5.2-noise.patch
# Don't handle dhclient ourselves
Patch2: wimax-1.5.2-iprenew.patch
BuildRequires: wimax-tools-devel >= 1.4.5-2
BuildRequires: zlib-devel
BuildRequires: libeap-devel >= 1:1.0-0.3
BuildRequires: chrpath
ExcludeArch: s390 s390x
%description
User space daemon for the Intel 2400m Wireless WiMAX Link.
This daemon takes care of handling network scan, discovery and
management.
%package libs
Summary: Libraries for WiMAX network service
Group: System Environment/Libraries
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
%description libs
Runtime libraries for the WiMAX network service.
%package devel
Summary: Development files for WiMAX Low Level Tools
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
Requires: pkgconfig
%description devel
Header files and libraries needed to link to the WiMAX network service.
%prep
%setup -q -n %{name}-%{gitdate}
%patch1 -p1 -b .man-noise
%patch2 -p1 -b .renew
%build
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
find %{buildroot} -name "*.a" -exec rm -f {} \;
find %{buildroot} -name "*.la" -exec rm -f {} \;
chrpath --delete %{buildroot}%{_bindir}/wimaxd
mv %{buildroot}/etc/logrotate.d/wimax.conf %{buildroot}/etc/logrotate.d/wimax
mkdir -p %{buildroot}/lib/udev
mv %{buildroot}/etc/udev/rules.d %{buildroot}/lib/udev
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc README.txt CHANGELOG LICENSE INSTALL
%config /etc/logrotate.d/wimax
%config /etc/modprobe.d/i2400m.conf
%config /etc/wimax/config.xml
/lib/udev/rules.d/iwmxsdk.rules
%{_bindir}/wimaxcu
%{_bindir}/wimaxd
%{_bindir}/wimax_monitor
%{_mandir}/man1/*
%{_datadir}/wimax
%{_sharedstatedir}/wimax
%files libs
%defattr(-,root,root,-)
%{_libdir}/lib*.so.0*
%files devel
%defattr(-,root,root,-)
%{_includedir}/wimax
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-5.20110419git6718941c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Mar 2 2012 Dan Williams <dcbw@redhat.com> - 1.5.2-4.20110419git6718941c
- Rebuild against libnl3-enabled libeap
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-3.20110419git6718941c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Apr 19 2011 Bill Nottingham <notting@redhat.com> - 1.5.2-2.20110419git6718941c
- update to upstream tagged 1.5.2
- fix assorted issues from package review
- don't handle dhclient ourselves
* Tue Mar 22 2011 Bill Nottingham <notting@redhat.com> - 1.5.1-1.20110322gitbefcae11
- initial packaging