[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wpasupplicant udeb



Ok, here it is. Its based on debians svn release of wpasupplicant as it
has a patch which allows us to build without EAP. It will still build
the deb and clients at the moment, which as stated earlier, some sort of
seperate config needs to be made for the udeb.

Please CC me.

Cheers

Glenn
diff --git a/wpasupplicant/trunk/debian/config b/wpasupplicant/trunk/debian/config
index 54faf60..1029dc6 100644
--- a/wpasupplicant/trunk/debian/config
+++ b/wpasupplicant/trunk/debian/config
@@ -11,9 +11,9 @@ CONFIG_DRIVER_HOSTAP=y
 #CFLAGS += -I../../include/wireless
 
 # Driver interface for madwifi driver
-CONFIG_DRIVER_MADWIFI=y
+#CONFIG_DRIVER_MADWIFI=y
 # Change include directories to match with the local setup
-CFLAGS += -I../debian/madwifi-headers
+#CFLAGS += -I../debian/madwifi-headers
 
 # Driver interface for Prism54 driver
 # (Note: Prism54 is not yet supported, i.e., this will not work as-is and is
@@ -68,29 +68,29 @@ CONFIG_DRIVER_WEXT=y
 # CONFIG_USE_NDISUIO=y
 
 # Driver interface for development testing
-CONFIG_DRIVER_TEST=y
+#CONFIG_DRIVER_TEST=y
 
 # Driver interface for wired Ethernet drivers
-CONFIG_DRIVER_WIRED=y
+#CONFIG_DRIVER_WIRED=y
 
 # Enable IEEE 802.1X Supplicant (automatically included if any EAP method is
 # included)
-CONFIG_IEEE8021X_EAPOL=y
+#CONFIG_IEEE8021X_EAPOL=y
 
 # EAP-MD5
-CONFIG_EAP_MD5=y
+#CONFIG_EAP_MD5=y
 
 # EAP-MSCHAPv2
 CONFIG_EAP_MSCHAPV2=y
 
 # EAP-TLS
-CONFIG_EAP_TLS=y
+#CONFIG_EAP_TLS=y
 
 # EAL-PEAP
-CONFIG_EAP_PEAP=y
+#CONFIG_EAP_PEAP=y
 
 # EAP-TTLS
-CONFIG_EAP_TTLS=y
+#CONFIG_EAP_TTLS=y
 
 # EAP-FAST
 # Note: Default OpenSSL package does not include support for all the
@@ -100,25 +100,25 @@ CONFIG_EAP_TTLS=y
 #CONFIG_EAP_FAST=y
 
 # EAP-GTC
-CONFIG_EAP_GTC=y
+#CONFIG_EAP_GTC=y
 
 # EAP-OTP
-CONFIG_EAP_OTP=y
+#CONFIG_EAP_OTP=y
 
 # EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used)
-CONFIG_EAP_SIM=y
+#CONFIG_EAP_SIM=y
 
 # EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
-CONFIG_EAP_PSK=y
+#CONFIG_EAP_PSK=y
 
 # EAP-PAX
-CONFIG_EAP_PAX=y
+#CONFIG_EAP_PAX=y
 
 # LEAP
-CONFIG_EAP_LEAP=y
+#CONFIG_EAP_LEAP=y
 
 # EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used)
-CONFIG_EAP_AKA=y
+#CONFIG_EAP_AKA=y
 
 # EAP-SAKE
 #CONFIG_EAP_SAKE=y
@@ -132,22 +132,22 @@ CONFIG_EAP_AKA=y
 #CONFIG_EAP_TNC=y
 
 # EAP-WSC for Wi-Fi Protected Setup
-CONFIG_EAP_WSC=y
+#CONFIG_EAP_WSC=y
 
 # EAP-IKEv2
 #CONFIG_EAP_IKEV2=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
+#CONFIG_PKCS12=y
 
 # Smartcard support (i.e., private key on a smartcard), e.g., with openssl
 # engine.
-CONFIG_SMARTCARD=y
+#CONFIG_SMARTCARD=y
 
 # PC/SC interface for smartcards (USIM, GSM SIM)
 # Enable this if EAP-SIM or EAP-AKA is included
-CONFIG_PCSC=y
+#CONFIG_PCSC=y
 
 # Development testing
 #CONFIG_EAPOL_TEST=y
@@ -165,13 +165,13 @@ CONFIG_CTRL_IFACE=y
 # 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
+#CONFIG_READLINE=y
 
 # Remove debugging code that is printing out debug message to stdout.
 # This can be used to reduce the size of the wpa_supplicant considerably
 # if debugging code is not needed. The size reduction can be around 35%
 # (e.g., 90 kB).
-#CONFIG_NO_STDOUT_DEBUG=y
+CONFIG_NO_STDOUT_DEBUG=y
 
 # Remove WPA support, e.g., for wired-only IEEE 802.1X supplicant, to save
 # 35-50 kB in code size.
@@ -285,7 +285,7 @@ CONFIG_TLS=openssl
 #PLATFORMSDKLIB="/opt/Program Files/Microsoft Platform SDK/Lib"
 
 # Add support for DBus control interface
-CONFIG_CTRL_IFACE_DBUS=y
+#CONFIG_CTRL_IFACE_DBUS=y
 
 # Add support for loading EAP methods dynamically as shared libraries.
 # When this option is enabled, each EAP method can be either included
@@ -326,7 +326,7 @@ CONFIG_CTRL_IFACE_DBUS=y
 CONFIG_IEEE80211R=y
 
 # Add support for writing debug log to a file (/tmp/wpa_supplicant-log-#.txt)
-CONFIG_DEBUG_FILE=y
+#CONFIG_DEBUG_FILE=y
 
 # Enable privilege separation (see README 'Privilege separation' for details)
 #CONFIG_PRIVSEP=y
diff --git a/wpasupplicant/trunk/debian/control b/wpasupplicant/trunk/debian/control
index 44ca4d5..3a46f0b 100644
--- a/wpasupplicant/trunk/debian/control
+++ b/wpasupplicant/trunk/debian/control
@@ -38,3 +38,14 @@ Description: GUI for wpa_supplicant
  to connect to. It also provides a method for browsing 802.11 SSID scan
  results, an event history log of messages generated by wpa_supplicant,
  and a method to add or edit wpa_supplicant networks.
+
+Package: wpasupplicant-udeb
+XC-Package-Type: udeb
+Provides: wpasupplicant
+Architecture: any
+Section: debian-installer
+Priority: standard
+Depends: ${shlibs:Depends}, ${misc:Depends}, dhcp-client-udeb | dhcp3-client-udeb | pump-udeb, ethernet-card-detection
+Description: WPAsupplicant daemon (experimental)
+
+
diff --git a/wpasupplicant/trunk/debian/files b/wpasupplicant/trunk/debian/files
new file mode 100644
index 0000000..0378e65
--- /dev/null
+++ b/wpasupplicant/trunk/debian/files
@@ -0,0 +1,3 @@
+wpasupplicant_0.6.3-2_i386.deb net optional
+wpagui_0.6.3-2_i386.deb net optional
+wpasupplicant-udeb_0.6.3-2_i386.udeb debian-installer standard
diff --git a/wpasupplicant/trunk/debian/wpasupplicant-udeb.install b/wpasupplicant/trunk/debian/wpasupplicant-udeb.install
new file mode 100644
index 0000000..3fe4299
--- /dev/null
+++ b/wpasupplicant/trunk/debian/wpasupplicant-udeb.install
@@ -0,0 +1 @@
+wpa_supplicant/wpa_supplicant sbin/

Reply to: