[Debian-eeepc-devel] [SCM] wpasupplicant source with udeb support for the debian-eeepc installer. branch, master, updated. f35bcadc03c9fcc331474ddde09b8381d2de28bf

Glenn Saberton gsaberton at foomagic.org
Wed Aug 13 11:09:44 UTC 2008


The following commit has been merged in the master branch:
commit f35bcadc03c9fcc331474ddde09b8381d2de28bf
Author: Glenn Saberton <gsaberton at foomagic.org>
Date:   Wed Aug 13 19:08:49 2008 +0800

    Add udeb support
    
    Thanks to Kel Modderman

diff --git a/debian/config/udeb b/debian/config/udeb
new file mode 100644
index 0000000..ffe98ba
--- /dev/null
+++ b/debian/config/udeb
@@ -0,0 +1,13 @@
+# Debian Installer's wpa_supplicant build time configuration
+CONFIG_DRIVER_WEXT=y
+CONFIG_BACKEND=file
+#CONFIG_NO_STDOUT_DEBUG=y
+CONFIG_DEBUG_FILE=y
+CONFIG_NO_AES_EXTRAS=y
+#CONFIG_NO_CONFIG_WRITE=y
+CONFIG_NO_CONFIG_BLOBS=y
+CONFIG_MAIN=main
+CONFIG_OS=unix
+CONFIG_ELOOP=eloop
+CONFIG_L2_PACKET=linux
+CONFIG_CTRL_IFACE=y
\ No newline at end of file
diff --git a/debian/control b/debian/control
index 6ddc6a7..359ede2 100644
--- a/debian/control
+++ b/debian/control
@@ -38,3 +38,17 @@ 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
+Section: debian-installer
+Priority: standard
+Architecture: any
+XC-Package-Type: udeb
+Depends: ${shlibs:Depends}, dhcp-client-udeb | dhcp3-client-udeb | pump-udeb, ethernet-card-detection
+Description: Client support for WPA and WPA2 (IEEE 802.11i)
+ WPA and WPA2 are methods for securing wireless networks, the former
+ using IEEE 802.1X, and the latter using IEEE 802.11i. This software
+ provides key negotiation with the WPA Authenticator, and controls
+ association with IEEE 802.11i networks.
+ .
+ This is a udeb of wpasupplicant for use by the Debian installer.
diff --git a/debian/rules b/debian/rules
index 93f3c5d..25c85c9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,7 @@ include /usr/share/quilt/quilt.make
 WPAGUI = wpa_gui-qt4
 
 CFLAGS = -Wall -g
+UDEB_CFLAGS = -Wall -g -Os
 LDFLAGS = -Wl,--as-needed
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -60,6 +61,13 @@ install: build
 	dh_clean -k 
 	dh_installdirs
 	dh_install
+
+        # udeb for debian installer
+	$(MAKE) -C wpa_supplicant clean; $(RM) wpa_supplicant/.config
+	cp -v debian/config/udeb wpa_supplicant/.config
+	CFLAGS="$(UDEB_CFLAGS)" $(MAKE) -C wpa_supplicant wpa_supplicant
+	dh_install -pwpasupplicant-udeb wpa_supplicant/wpa_supplicant sbin/
+
 	
 	# wpa_gui
 	dh_install --package=wpagui wpa_supplicant/$(WPAGUI)/wpa_gui usr/sbin/
diff --git a/debian/wpasupplicant-udeb.install b/debian/wpasupplicant-udeb.install
new file mode 100644
index 0000000..3fe4299
--- /dev/null
+++ b/debian/wpasupplicant-udeb.install
@@ -0,0 +1 @@
+wpa_supplicant/wpa_supplicant sbin/

-- 
wpasupplicant source with udeb support for the debian-eeepc installer.



More information about the Debian-eeepc-devel mailing list