Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=376a918d29ae69bd21712eeba2c2dc402eed711c
commit 376a918d29ae69bd21712eeba2c2dc402eed711c Author: Miklos Vajna <[EMAIL PROTECTED]> Date: Wed Oct 22 17:32:29 2008 +0200 wpa_supplicant-0.5.10-1-i686 - move to base diff --git a/source/base/wpa_supplicant/FrugalBuild b/source/base/wpa_supplicant/FrugalBuild new file mode 100644 index 0000000..cb3b038 --- /dev/null +++ b/source/base/wpa_supplicant/FrugalBuild @@ -0,0 +1,58 @@ +# Compiling Time: 0.01 SBU +# Maintainer: Miklos Vajna <[EMAIL PROTECTED]> + +if [ "$CARCH" != "ppc" ]; then + USE_GUI=${USE_GUI:-"y"} +else + USE_GUI=${USE_GUI:-"n"} +fi + +pkgname=wpa_supplicant +pkgver=0.5.10 +madwifi=0.9.4 +pkgrel=1 +pkgdesc="Linux WPA/WPA2/IEEE 802.1X Supplicant" +url="http://hostap.epitest.fi/wpa_supplicant/" +depends=('openssl') +backup=(etc/wpa_supplicant.conf) +Fuse $USE_GUI && makedepends=('qt') +groups=('base') +archs=('i686' 'x86_64' 'ppc') +up2date="lynx -dump $url |grep -1 stable|sed -n 's/.*-\(.*\)\.t.*/\1/;3 p'" +source=(http://hostap.epitest.fi/releases/wpa_supplicant-$pkgver.tar.gz \ + http://ftp.frugalware.org/pub/frugalware/frugalware-current/source/network/madwifi/madwifi-$madwifi.tar.gz \ + config) +sha1sums=('db2bba1df664675ff06c7e334e22a60c4e3a7a49' \ + '6f289cb2e99d27b23570d15b69bf0f4240e34d1e' \ + '7d2b0166bc96c1241c1aee88809a20fccf2eef82') +options=('scriptlet') + +if Fuse $USE_GUI; then + subpkgs=('wpa_supplicant-gui') + subdescs=('Qt-based frontend for wpa_supplicant.') + subdepends=('qt') + subgroups=('kde-extra') + subarchs=('i686 x86_64') +fi + +build() +{ + Fsed /usr/local /usr Makefile + mv ../madwifi-$madwifi madwifi + cp $Fsrcdir/config .config + Fsed 'dynamic_eap_methods' '' Makefile + Fbuild + Ffilerel /etc/wpa_supplicant.conf + cd wpa_gui + if Fuse $USE_GUI; then + qmake -makefile + Fmake + Fexerel /usr/sbin/wpa_gui + Fsplit wpa_supplicant-gui usr/sbin/wpa_gui + fi + cd ../doc/docbook/ + # man pages + Fmanrel *.{5,8} +} + +# optimization OK diff --git a/source/base/wpa_supplicant/config b/source/base/wpa_supplicant/config new file mode 100644 index 0000000..7d7246c --- /dev/null +++ b/source/base/wpa_supplicant/config @@ -0,0 +1,154 @@ +# Example wpa_supplicant build time configuration +# +# This file lists the configuration options that are used when building the +# hostapd binary. All lines starting with # are ignored. Configuration option +# lines must be commented out complete, if they are not to be included, i.e., +# just setting VARIABLE=n is not disabling that variable. +# +# This file is included in Makefile, so variables like CFLAGS and LIBS can also +# be modified from here. In most cass, these lines should use += in order not +# to override previous values of the variables. + + +# Uncomment following two lines and fix the paths if you have installed openssl +# in non-default location +#CFLAGS += -I/usr/local/openssl/include +#LIBS += -L/usr/local/openssl/lib + +# Example configuration for various cross-compilation platforms + +#### sveasoft (e.g., for Linksys WRT54G) ###################################### +#CC=mipsel-uclibc-gcc +#CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc +#CFLAGS += -Os +#CPPFLAGS += -I../src/include -I../../src/router/openssl/include +#LIBS += -L/opt/brcm/hndtools-mipsel-uclibc-0.9.19/lib -lssl +############################################################################### + +#### openwrt (e.g., for Linksys WRT54G) ####################################### +#CC=mipsel-uclibc-gcc +#CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc +#CFLAGS += -Os +#CPPFLAGS=-I../src/include -I../openssl-0.9.7d/include \ +# -I../WRT54GS/release/src/include +#LIBS = -lssl +############################################################################### + + +# Driver interface for Host AP driver +CONFIG_DRIVER_HOSTAP=y + +# Driver interface for Agere driver +#CONFIG_DRIVER_HERMES=y +# Change include directories to match with the local setup +#CFLAGS += -I../../hcf -I../../include -I../../include/hcf +#CFLAGS += -I../../include/wireless + +# Driver interface for madwifi driver +CONFIG_DRIVER_MADWIFI=y +# Change include directories to match with the local setup +CFLAGS += -Imadwifi + +# Driver interface for Prism54 driver +CONFIG_DRIVER_PRISM54=y + +# Driver interface for ndiswrapper +CONFIG_DRIVER_NDISWRAPPER=y + +# Driver interface for Atmel driver +CONFIG_DRIVER_ATMEL=y + +# Driver interface for Broadcom driver +#CONFIG_DRIVER_BROADCOM=y +# Example path for wlioctl.h; change to match your configuration +#CFLAGS += -I/opt/WRT54GS/release/src/include + +# Driver interface for Intel ipw2100/2200 driver +CONFIG_DRIVER_IPW=y + +# Driver interface for generic Linux wireless extensions +CONFIG_DRIVER_WEXT=y + +# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver) +#CONFIG_DRIVER_BSD=y +#CFLAGS += -I/usr/local/include +#LIBS += -L/usr/local/lib + +# Driver interface for Windows NDIS +#CONFIG_DRIVER_NDIS=y +#CFLAGS += -I/usr/include/w32api/ddk +#LIBS += -L/usr/local/lib +# For native build using mingw +#CONFIG_NATIVE_WINDOWS=y +# Additional directories for cross-compilation on Linux host for mingw target +#CFLAGS += -I/opt/mingw/mingw32/include/ddk +#LIBS += -L/opt/mingw/mingw32/lib +#CC=mingw32-gcc + +# Driver interface for development testing +#CONFIG_DRIVER_TEST=y + +# Enable IEEE 802.1X Supplicant (automatically included if any EAP method is +# included) +CONFIG_IEEE8021X_EAPOL=y + +# EAP-MD5 (automatically included if EAP-TTLS is enabled) +CONFIG_EAP_MD5=y + +# EAP-MSCHAPv2 (automatically included if EAP-PEAP is enabled) +CONFIG_EAP_MSCHAPV2=y + +# EAP-TLS +CONFIG_EAP_TLS=y + +# EAL-PEAP +CONFIG_EAP_PEAP=y + +# EAP-TTLS +CONFIG_EAP_TTLS=y + +# EAP-GTC +CONFIG_EAP_GTC=y + +# EAP-OTP +CONFIG_EAP_OTP=y + +# EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used) +#CONFIG_EAP_SIM=y + +# EAP-PSK (experimental; this is _not_ needed for WPA-PSK) +#CONFIG_EAP_PSK=y + +# LEAP +CONFIG_EAP_LEAP=y + +# EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used) +#CONFIG_EAP_AKA=y + +# PKCS#12 (PFX) support (used to read private key and certificate file from +# a file that usually has extension .p12 or .pfx) +CONFIG_PKCS12=y + +# PC/SC interface for smartcards (USIM, GSM SIM) +# Enable this if EAP-SIM or EAP-AKA is included +#CONFIG_PCSC=y + +# Development testing +#CONFIG_EAPOL_TEST=y + +# Replace native Linux implementation of packet sockets with libdnet/libpcap. +# This will be automatically set for non-Linux OS. +#CONFIG_DNET_PCAP=y + +# Include control interface for external programs, e.g, wpa_cli +CONFIG_CTRL_IFACE=y + +# Include interface for using external supplicant (Xsupplicant) for EAP +# authentication +#CONFIG_XSUPPLICANT_IFACE=y + +# Include support for GNU Readline and History Libraries in wpa_cli. +# When building a wpa_cli binary for distribution, please note that these +# libraries are licensed under GPL and as such, BSD license may not apply for +# the resulting binary. +#CONFIG_READLINE=y diff --git a/source/network/wpa_supplicant/FrugalBuild b/source/network/wpa_supplicant/FrugalBuild deleted file mode 100644 index 877fb0a..0000000 --- a/source/network/wpa_supplicant/FrugalBuild +++ /dev/null @@ -1,58 +0,0 @@ -# Compiling Time: 0.01 SBU -# Maintainer: Miklos Vajna <[EMAIL PROTECTED]> - -if [ "$CARCH" != "ppc" ]; then - USE_GUI=${USE_GUI:-"y"} -else - USE_GUI=${USE_GUI:-"n"} -fi - -pkgname=wpa_supplicant -pkgver=0.5.10 -madwifi=0.9.4 -pkgrel=1 -pkgdesc="Linux WPA/WPA2/IEEE 802.1X Supplicant" -url="http://hostap.epitest.fi/wpa_supplicant/" -depends=('openssl') -backup=(etc/wpa_supplicant.conf) -Fuse $USE_GUI && makedepends=('qt') -groups=('network') -archs=('i686' 'x86_64' 'ppc') -up2date="lynx -dump $url |grep -1 stable|sed -n 's/.*-\(.*\)\.t.*/\1/;3 p'" -source=(http://hostap.epitest.fi/releases/wpa_supplicant-$pkgver.tar.gz \ - http://ftp.frugalware.org/pub/frugalware/frugalware-current/source/network/madwifi/madwifi-$madwifi.tar.gz \ - config) -sha1sums=('db2bba1df664675ff06c7e334e22a60c4e3a7a49' \ - '6f289cb2e99d27b23570d15b69bf0f4240e34d1e' \ - '7d2b0166bc96c1241c1aee88809a20fccf2eef82') -options=('scriptlet') - -if Fuse $USE_GUI; then - subpkgs=('wpa_supplicant-gui') - subdescs=('Qt-based frontend for wpa_supplicant.') - subdepends=('qt') - subgroups=('kde-extra') - subarchs=('i686 x86_64') -fi - -build() -{ - Fsed /usr/local /usr Makefile - mv ../madwifi-$madwifi madwifi - cp $Fsrcdir/config .config - Fsed 'dynamic_eap_methods' '' Makefile - Fbuild - Ffilerel /etc/wpa_supplicant.conf - cd wpa_gui - if Fuse $USE_GUI; then - qmake -makefile - Fmake - Fexerel /usr/sbin/wpa_gui - Fsplit wpa_supplicant-gui usr/sbin/wpa_gui - fi - cd ../doc/docbook/ - # man pages - Fmanrel *.{5,8} -} - -# optimization OK diff --git a/source/network/wpa_supplicant/config b/source/network/wpa_supplicant/config deleted file mode 100644 index 7d7246c..0000000 --- a/source/network/wpa_supplicant/config +++ /dev/null @@ -1,154 +0,0 @@ -# Example wpa_supplicant build time configuration -# -# This file lists the configuration options that are used when building the -# hostapd binary. All lines starting with # are ignored. Configuration option -# lines must be commented out complete, if they are not to be included, i.e., -# just setting VARIABLE=n is not disabling that variable. -# -# This file is included in Makefile, so variables like CFLAGS and LIBS can also -# be modified from here. In most cass, these lines should use += in order not -# to override previous values of the variables. - - -# Uncomment following two lines and fix the paths if you have installed openssl -# in non-default location -#CFLAGS += -I/usr/local/openssl/include -#LIBS += -L/usr/local/openssl/lib - -# Example configuration for various cross-compilation platforms - -#### sveasoft (e.g., for Linksys WRT54G) ###################################### -#CC=mipsel-uclibc-gcc -#CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc -#CFLAGS += -Os -#CPPFLAGS += -I../src/include -I../../src/router/openssl/include -#LIBS += -L/opt/brcm/hndtools-mipsel-uclibc-0.9.19/lib -lssl -############################################################################### - -#### openwrt (e.g., for Linksys WRT54G) ####################################### -#CC=mipsel-uclibc-gcc -#CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc -#CFLAGS += -Os -#CPPFLAGS=-I../src/include -I../openssl-0.9.7d/include \ -# -I../WRT54GS/release/src/include -#LIBS = -lssl -############################################################################### - - -# Driver interface for Host AP driver -CONFIG_DRIVER_HOSTAP=y - -# Driver interface for Agere driver -#CONFIG_DRIVER_HERMES=y -# Change include directories to match with the local setup -#CFLAGS += -I../../hcf -I../../include -I../../include/hcf -#CFLAGS += -I../../include/wireless - -# Driver interface for madwifi driver -CONFIG_DRIVER_MADWIFI=y -# Change include directories to match with the local setup -CFLAGS += -Imadwifi - -# Driver interface for Prism54 driver -CONFIG_DRIVER_PRISM54=y - -# Driver interface for ndiswrapper -CONFIG_DRIVER_NDISWRAPPER=y - -# Driver interface for Atmel driver -CONFIG_DRIVER_ATMEL=y - -# Driver interface for Broadcom driver -#CONFIG_DRIVER_BROADCOM=y -# Example path for wlioctl.h; change to match your configuration -#CFLAGS += -I/opt/WRT54GS/release/src/include - -# Driver interface for Intel ipw2100/2200 driver -CONFIG_DRIVER_IPW=y - -# Driver interface for generic Linux wireless extensions -CONFIG_DRIVER_WEXT=y - -# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver) -#CONFIG_DRIVER_BSD=y -#CFLAGS += -I/usr/local/include -#LIBS += -L/usr/local/lib - -# Driver interface for Windows NDIS -#CONFIG_DRIVER_NDIS=y -#CFLAGS += -I/usr/include/w32api/ddk -#LIBS += -L/usr/local/lib -# For native build using mingw -#CONFIG_NATIVE_WINDOWS=y -# Additional directories for cross-compilation on Linux host for mingw target -#CFLAGS += -I/opt/mingw/mingw32/include/ddk -#LIBS += -L/opt/mingw/mingw32/lib -#CC=mingw32-gcc - -# Driver interface for development testing -#CONFIG_DRIVER_TEST=y - -# Enable IEEE 802.1X Supplicant (automatically included if any EAP method is -# included) -CONFIG_IEEE8021X_EAPOL=y - -# EAP-MD5 (automatically included if EAP-TTLS is enabled) -CONFIG_EAP_MD5=y - -# EAP-MSCHAPv2 (automatically included if EAP-PEAP is enabled) -CONFIG_EAP_MSCHAPV2=y - -# EAP-TLS -CONFIG_EAP_TLS=y - -# EAL-PEAP -CONFIG_EAP_PEAP=y - -# EAP-TTLS -CONFIG_EAP_TTLS=y - -# EAP-GTC -CONFIG_EAP_GTC=y - -# EAP-OTP -CONFIG_EAP_OTP=y - -# EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used) -#CONFIG_EAP_SIM=y - -# EAP-PSK (experimental; this is _not_ needed for WPA-PSK) -#CONFIG_EAP_PSK=y - -# LEAP -CONFIG_EAP_LEAP=y - -# EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used) -#CONFIG_EAP_AKA=y - -# PKCS#12 (PFX) support (used to read private key and certificate file from -# a file that usually has extension .p12 or .pfx) -CONFIG_PKCS12=y - -# PC/SC interface for smartcards (USIM, GSM SIM) -# Enable this if EAP-SIM or EAP-AKA is included -#CONFIG_PCSC=y - -# Development testing -#CONFIG_EAPOL_TEST=y - -# Replace native Linux implementation of packet sockets with libdnet/libpcap. -# This will be automatically set for non-Linux OS. -#CONFIG_DNET_PCAP=y - -# Include control interface for external programs, e.g, wpa_cli -CONFIG_CTRL_IFACE=y - -# Include interface for using external supplicant (Xsupplicant) for EAP -# authentication -#CONFIG_XSUPPLICANT_IFACE=y - -# Include support for GNU Readline and History Libraries in wpa_cli. -# When building a wpa_cli binary for distribution, please note that these -# libraries are licensed under GPL and as such, BSD license may not apply for -# the resulting binary. -#CONFIG_READLINE=y _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git