rebuilt against libopenssl 0.9.8 [release 1.2.8-3mamba;Fri Oct 16 2009]
This commit is contained in:
parent
624df4b8c1
commit
7820532d88
@ -1,2 +1,4 @@
|
||||
# xsupplicant
|
||||
|
||||
The Open1X project is dedicated to bringing a free, open source 802.1X/WPA/WPA2/IEEE802.11i implementation to as many target platforms as possible.
|
||||
|
||||
|
57
xsupplicant-1.2.8-configure.patch
Normal file
57
xsupplicant-1.2.8-configure.patch
Normal file
@ -0,0 +1,57 @@
|
||||
diff -Nru xsupplicant-1.2.8.orig/configure xsupplicant-1.2.8/configure
|
||||
--- xsupplicant-1.2.8.orig/configure 2006-10-07 20:02:55.000000000 +0200
|
||||
+++ xsupplicant-1.2.8/configure 2007-07-16 13:15:33.000000000 +0200
|
||||
@@ -4759,7 +4759,6 @@
|
||||
#ifndef __user
|
||||
#define __user
|
||||
#endif
|
||||
- #include <linux/wireless.h>
|
||||
|
||||
#include <$ac_header>
|
||||
_ACEOF
|
||||
diff -Nru xsupplicant-1.2.8.orig/configure.in xsupplicant-1.2.8/configure.in
|
||||
--- xsupplicant-1.2.8.orig/configure.in 2006-10-07 20:02:55.000000000 +0200
|
||||
+++ xsupplicant-1.2.8/configure.in 2007-07-16 13:15:33.000000000 +0200
|
||||
@@ -118,8 +118,7 @@
|
||||
#include <sys/socket.h>
|
||||
#ifndef __user
|
||||
#define __user
|
||||
- #endif
|
||||
- #include <linux/wireless.h>])
|
||||
+ #endif)
|
||||
|
||||
AC_MSG_CHECKING([iwlib version])
|
||||
AC_TRY_COMPILE([#define HEADERS_KERNEL
|
||||
@@ -127,7 +126,6 @@
|
||||
#ifndef __user
|
||||
#define __user
|
||||
#endif
|
||||
- #include <linux/wireless.h>
|
||||
#include <iwlib.h>],
|
||||
[iw_extract_event_stream(NULL, NULL, 0);], [AC_DEFINE(NEW_IWLIB) AC_MSG_RESULT([3 params])], [AC_MSG_RESULT([2 params])])
|
||||
fi
|
||||
diff -Nru xsupplicant-1.2.8.orig/src/cardif/linux/cardif_linux_rtnetlink.c xsupplicant-1.2.8/src/cardif/linux/cardif_linux_rtnetlink.c
|
||||
--- xsupplicant-1.2.8.orig/src/cardif/linux/cardif_linux_rtnetlink.c 2006-10-08 05:42:53.000000000 +0200
|
||||
+++ xsupplicant-1.2.8/src/cardif/linux/cardif_linux_rtnetlink.c 2007-07-16 13:15:59.000000000 +0200
|
||||
@@ -208,10 +208,8 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include "netlink.h"
|
||||
#include "rtnetlink.h"
|
||||
-#include <linux/if.h>
|
||||
#include <linux/if_packet.h>
|
||||
#include <math.h>
|
||||
-#include <linux/wireless.h>
|
||||
|
||||
#include "profile.h"
|
||||
#include "xsupconfig.h"
|
||||
diff -Nru xsupplicant-1.2.8.orig/src/cardif/linux/cardif_linux_wext.c xsupplicant-1.2.8/src/cardif/linux/cardif_linux_wext.c
|
||||
--- xsupplicant-1.2.8.orig/src/cardif/linux/cardif_linux_wext.c 2006-10-08 05:42:53.000000000 +0200
|
||||
+++ xsupplicant-1.2.8/src/cardif/linux/cardif_linux_wext.c 2007-07-16 13:15:59.000000000 +0200
|
||||
@@ -204,7 +204,6 @@
|
||||
#include <linux/types.h>
|
||||
#include <linux/socket.h>
|
||||
#include <linux/compiler.h>
|
||||
-#include <linux/wireless.h>
|
||||
#include <iwlib.h>
|
||||
#include <linux/if_packet.h>
|
||||
#include <linux/netlink.h>
|
48
xsupplicant-1.2.8-kernel-2.6.19.patch
Normal file
48
xsupplicant-1.2.8-kernel-2.6.19.patch
Normal file
@ -0,0 +1,48 @@
|
||||
diff -Nru xsupplicant-1.2.8.orig/src/cardif/linux/cardif_atmel_driver.c xsupplicant-1.2.8/src/cardif/linux/cardif_atmel_driver.c
|
||||
--- xsupplicant-1.2.8.orig/src/cardif/linux/cardif_atmel_driver.c 2006-10-08 05:42:53.000000000 +0200
|
||||
+++ xsupplicant-1.2.8/src/cardif/linux/cardif_atmel_driver.c 2009-10-16 21:39:56.000000000 +0200
|
||||
@@ -103,7 +103,7 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/socket.h>
|
||||
-#include <linux/compiler.h>
|
||||
+#include <sys/sysctl.h>
|
||||
#include <iwlib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
diff -Nru xsupplicant-1.2.8.orig/src/cardif/linux/cardif_linux.c xsupplicant-1.2.8/src/cardif/linux/cardif_linux.c
|
||||
--- xsupplicant-1.2.8.orig/src/cardif/linux/cardif_linux.c 2006-10-08 05:42:53.000000000 +0200
|
||||
+++ xsupplicant-1.2.8/src/cardif/linux/cardif_linux.c 2009-10-16 21:40:16.000000000 +0200
|
||||
@@ -174,7 +174,7 @@
|
||||
#include <netinet/in.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/socket.h>
|
||||
-#include <linux/compiler.h>
|
||||
+#include <sys/sysctl.h>
|
||||
#include <iwlib.h>
|
||||
#include <linux/if_packet.h>
|
||||
#include <stdio.h>
|
||||
diff -Nru xsupplicant-1.2.8.orig/src/cardif/linux/cardif_linux_rtnetlink.c xsupplicant-1.2.8/src/cardif/linux/cardif_linux_rtnetlink.c
|
||||
--- xsupplicant-1.2.8.orig/src/cardif/linux/cardif_linux_rtnetlink.c 2009-10-16 21:39:32.000000000 +0200
|
||||
+++ xsupplicant-1.2.8/src/cardif/linux/cardif_linux_rtnetlink.c 2009-10-16 21:40:34.000000000 +0200
|
||||
@@ -203,7 +203,7 @@
|
||||
|
||||
#include <unistd.h>
|
||||
#include <sys/socket.h>
|
||||
-#include <linux/compiler.h>
|
||||
+#include <sys/sysctl.h>
|
||||
#include <iwlib.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include "netlink.h"
|
||||
diff -Nru xsupplicant-1.2.8.orig/src/cardif/linux/cardif_linux_wext.c xsupplicant-1.2.8/src/cardif/linux/cardif_linux_wext.c
|
||||
--- xsupplicant-1.2.8.orig/src/cardif/linux/cardif_linux_wext.c 2009-10-16 21:39:32.000000000 +0200
|
||||
+++ xsupplicant-1.2.8/src/cardif/linux/cardif_linux_wext.c 2009-10-16 21:40:54.000000000 +0200
|
||||
@@ -203,7 +203,7 @@
|
||||
#include <netinet/in.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/socket.h>
|
||||
-#include <linux/compiler.h>
|
||||
+#include <sys/sysctl.h>
|
||||
#include <iwlib.h>
|
||||
#include <linux/if_packet.h>
|
||||
#include <linux/netlink.h>
|
75
xsupplicant.spec
Normal file
75
xsupplicant.spec
Normal file
@ -0,0 +1,75 @@
|
||||
Name: xsupplicant
|
||||
Version: 1.2.8
|
||||
Release: 3mamba
|
||||
Summary: A free, open source 802.1X/WPA/WPA2/IEEE802.11i implementation
|
||||
Group: Network/Security
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://open1x.sourceforge.net/
|
||||
Source: http://ovh.dl.sourceforge.net/sourceforge/open1x/xsupplicant-%{version}.tar.gz
|
||||
Patch0: %{name}-1.2.8-configure.patch
|
||||
Patch1: %{name}-1.2.8-kernel-2.6.19.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libiw-devel
|
||||
BuildRequires: libopenssl-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
The Open1X project is dedicated to bringing a free, open source 802.1X/WPA/WPA2/IEEE802.11i implementation to as many target platforms as possible.
|
||||
|
||||
%package devel
|
||||
Summary: Devel package for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The Open1X project is dedicated to bringing a free, open source 802.1X/WPA/WPA2/IEEE802.11i implementation to as many target platforms as possible.
|
||||
This package contains static libraries and header files need for development.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make MOREDEFS="-DNEW_IWLIB"
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/config-parser
|
||||
%{_bindir}/xsup_get_state
|
||||
%{_bindir}/xsup_monitor
|
||||
%{_bindir}/xsup_ntpwdhash
|
||||
%{_bindir}/xsup_set_pwd
|
||||
%{_sbindir}/xsupplicant
|
||||
%doc AUTHORS COPYING LICENSE README TODO
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libxsupconfcheck.a
|
||||
%{_libdir}/libxsupconfig.a
|
||||
%{_libdir}/libxsupconfwrite.a
|
||||
%{_libdir}/libxsupgui.a
|
||||
%{_includedir}/*.h
|
||||
|
||||
%changelog
|
||||
* Fri Oct 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.8-3mamba
|
||||
- rebuilt against libopenssl 0.9.8
|
||||
|
||||
* Mon Jul 16 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.8-2mamba
|
||||
- rebuilt against wireless_tools 29
|
||||
|
||||
* Mon Jan 22 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.8-1qilnx
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user