Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > ff6d833ff4470bcf37fc8f1449fb02d3 > files > 6

xsupplicant-1.0.1-3.1.20060mdk.src.rpm

%define name xsupplicant
%define version 1.0.1
%define release 3.1.20060mdk

Summary:	An open source implementation of IEEE 802.1X
Name:		%{name}
Version:	%{version}
Release:	%{release}
Source0:	%{name}-%{version}.tar.bz2
License:	GPL
Group:		Networking/Other
Url:		http://www.open1x.org/
BuildRoot:	%{_tmppath}/%{name}-buildroot
Requires:	pcsc-lite
Patch0:		%{name}.fix64bits.patch.bz2
Patch1:		%{name}.bug1083042.patch.bz2
Patch2:		xsupplicant-1.0.1-stack-smash.patch
Patch3:		xsupplicant-1.0.1-memory-leak.patch
BuildRequires:	byacc
BuildRequires:	flex
BuildRequires:	openssl-devel
BuildRequires:	docbook-utils-pdf
BuildRequires:	qt3-devel
BuildRequires:	pcsc-lite-devel
BuildRequires:	lynx

%description
An open source implementation of IEEE 802.1X.

IEEE 802.1x is a port based authentication protocol. It can be used in *any*
scenario where one can abstract out the notion of a port. It requires
entitie(s) to play three roles in the authentication process: that of an
supplicant, an authenticator and an authentication server.

%package doc
Group:		Networking/Other
Summary:	Open source Implementation of the IEEE 802.1x protocol

%description doc
An open source implementation of IEEE 802.1X.

IEEE 802.1x is a port based authentication protocol. It can be used in *any*
scenario where one can abstract out the notion of a port. It requires
entitie(s) to play three roles in the authentication process: that of an
supplicant, an authenticator and an authentication server.

%prep
%setup -q
%patch0 -p0
%patch1 -p0
%patch2 -p1 -b .stack-smash
%patch3 -p1 -b .memory-leak

%build
#aclocal-1.7
#automake-1.7
autoconf

%configure --enable-eap-sim
%make
cd doc; ./builddocs.sh
cd ../gui_tools/gui/qt/qt_gremlin; qmake qt_gremlin_xsupplicant.pro; make

%install
rm -rf $RPM_BUILD_ROOT

%makeinstall_std
mkdir -p %{buildroot}/etc/
mkdir -p %{buildroot}/usr/share/doc/%{name}-%{version}
install -m 644 etc/xsupplicant.conf %{buildroot}/etc/xsupplicant.conf
install -m 755 gui_tools/gui/qt/qt_gremlin/qt_gremlin_xsupplicant %{buildroot}/%{_sbindir}/qt_gremlin_xsupplicant
install -m 644 gui_tools/gui/qt/qt_gremlin/README %{buildroot}/usr/share/doc/%{name}-%{version}/README.qt_gremlin
install -m 644 etc/*-example.conf %{buildroot}/usr/share/doc/%{name}-%{version}/

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc COPYING AUTHORS INSTALL
%doc README README.wireless_cards doc/README.certificates
%doc etc/*example.conf
%doc tools/pkcs12toDERandPEM.sh tools/updatedir
%config(noreplace)/etc/xsupplicant.conf
%{_bindir}/config-parser
%{_bindir}/xsup_monitor
%{_bindir}/xsup_set_pwd
%{_sbindir}/xsupplicant
%{_sbindir}/qt_gremlin_xsupplicant
%{_libdir}/lib*

%files doc
%defattr(-,root,root)
%doc doc/html doc/txt doc/pdf

%changelog
* Thu Oct 26 2006 Stew Benedict <sbenedict@mandriva.com> 1.0.1-3.1.20060mdk
- P2, P3: security update (stack-smash + memory leak)

* Sat Aug 06 2005 Christiaan Welvaart <cjw@daneel.dyndns.org> 1.0.1-3mdk
- add BuildRequires: lynx

* Thu Aug  4 2005 Arnaud de Lorbeau <devel@mandriva.com> 1.0.1-2mdk
- fix for xsupplicant bug #1083042 from bugs.debian.org (#280502)

* Wed Aug  3 2005 Arnaud de Lorbeau <devel@mandriva.com> 1.0.1-1mdk
- 1.0.1
- drop ssl static patch
- fix 64bit ssl detection

* Fri Jul 23 2004 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 1.0-2mdk
- Add config file
- Add doc
- Add EAP-SIM auth support

* Thu Jun 17 2004 Stefan van der Eijk <stefan@eijk.nu> 1.0-1mdk
- 1.0
- BuildRequires

* Fri May 07 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 1.0-0.pre2.1mdk
- 1st mdk contrib