From 7820532d886d53394cbf4dbc34b55172f7f9bcad Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 19:56:59 +0100 Subject: [PATCH] rebuilt against libopenssl 0.9.8 [release 1.2.8-3mamba;Fri Oct 16 2009] --- README.md | 2 + xsupplicant-1.2.8-configure.patch | 57 ++++++++++++++++++++ xsupplicant-1.2.8-kernel-2.6.19.patch | 48 +++++++++++++++++ xsupplicant.spec | 75 +++++++++++++++++++++++++++ 4 files changed, 182 insertions(+) create mode 100644 xsupplicant-1.2.8-configure.patch create mode 100644 xsupplicant-1.2.8-kernel-2.6.19.patch create mode 100644 xsupplicant.spec diff --git a/README.md b/README.md index 439a669..8c7c54d 100644 --- a/README.md +++ b/README.md @@ -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. + diff --git a/xsupplicant-1.2.8-configure.patch b/xsupplicant-1.2.8-configure.patch new file mode 100644 index 0000000..68a5d05 --- /dev/null +++ b/xsupplicant-1.2.8-configure.patch @@ -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 + + #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 + #ifndef __user + #define __user +- #endif +- #include ]) ++ #endif) + + AC_MSG_CHECKING([iwlib version]) + AC_TRY_COMPILE([#define HEADERS_KERNEL +@@ -127,7 +126,6 @@ + #ifndef __user + #define __user + #endif +- #include + #include ], + [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 + #include "netlink.h" + #include "rtnetlink.h" +-#include + #include + #include +-#include + + #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 + #include + #include +-#include + #include + #include + #include diff --git a/xsupplicant-1.2.8-kernel-2.6.19.patch b/xsupplicant-1.2.8-kernel-2.6.19.patch new file mode 100644 index 0000000..ce100c3 --- /dev/null +++ b/xsupplicant-1.2.8-kernel-2.6.19.patch @@ -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 + #include + #include +-#include ++#include + #include + #include + #include +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 + #include + #include +-#include ++#include + #include + #include + #include +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 + #include +-#include ++#include + #include + #include + #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 + #include + #include +-#include ++#include + #include + #include + #include diff --git a/xsupplicant.spec b/xsupplicant.spec new file mode 100644 index 0000000..bfdbf7b --- /dev/null +++ b/xsupplicant.spec @@ -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 +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 1.2.8-3mamba +- rebuilt against libopenssl 0.9.8 + +* Mon Jul 16 2007 Silvan Calarco 1.2.8-2mamba +- rebuilt against wireless_tools 29 + +* Mon Jan 22 2007 Silvan Calarco 1.2.8-1qilnx +- package created by autospec