Package: wpasupplicant Version: 1.0-3 Hi,
The wpa_supplicant package contains a really useful tool, eapol_test. It is not currently packaged, and it would be great if this could be. Use of this, for example, often comes up on the FreeRADIUS mailing list for RADIUS administrators to test their EAP configuration. It's fairly easy to build from source, but our use case has it installed on all our RADIUS servers for system monitoring. In this case, having it packaged would make things much easier to deploy and maintain. It doesn't build by default, and is generally only of interest to administrators, so probably is not worth putting in the wpasupplicant package, although that would be an option. I've created two small patches to the build system (for squeeze/0.6.10-2.1 and unstable/1.0-3) that build eapol_test and create a new 'eapoltest' package. Please would you consider adding this? Many thanks, Matthew -- Matthew Newton, Ph.D. <m...@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ith...@le.ac.uk>
diff -Naur wpasupplicant-0.6.10-MCNOrig//debian/changelog wpasupplicant-0.6.10/debian/changelog --- wpasupplicant-0.6.10-MCNOrig//debian/changelog 2010-11-28 11:22:10.000000000 +0000 +++ wpasupplicant-0.6.10/debian/changelog 2013-02-18 11:17:20.142983422 +0000 @@ -1,3 +1,9 @@ +wpasupplicant (0.6.10-3) unstable; urgency=low + + * Build eapol_test, in its own package. + + -- Matthew Newton <m...@leicester.ac.uk> Mon, 18 Feb 2013 11:16:11 +0000 + wpasupplicant (0.6.10-2.1) unstable; urgency=low * Non-maintainer upload approved by Kel Modderman. diff -Naur wpasupplicant-0.6.10-MCNOrig//debian/control wpasupplicant-0.6.10/debian/control --- wpasupplicant-0.6.10-MCNOrig//debian/control 2010-02-24 10:05:49.000000000 +0000 +++ wpasupplicant-0.6.10/debian/control 2013-02-18 11:05:14.652750261 +0000 @@ -40,3 +40,12 @@ 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: eapoltest +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: eapol testing utility + eapol_test allows testing EAP authentication methods without using + a full 802.1X connection. It is frequently used to test the EAP + configuration of RADIUS systems. It is an administrator tool and not + required for standard 802.1X authentication. diff -Naur wpasupplicant-0.6.10-MCNOrig//debian/eapoltest.install wpasupplicant-0.6.10/debian/eapoltest.install --- wpasupplicant-0.6.10-MCNOrig//debian/eapoltest.install 1970-01-01 01:00:00.000000000 +0100 +++ wpasupplicant-0.6.10/debian/eapoltest.install 2013-02-18 10:41:04.848802138 +0000 @@ -0,0 +1 @@ +wpa_supplicant/eapol_test usr/bin/ diff -Naur wpasupplicant-0.6.10-MCNOrig//debian/patches/32_build_eapol_test.patch wpasupplicant-0.6.10/debian/patches/32_build_eapol_test.patch --- wpasupplicant-0.6.10-MCNOrig//debian/patches/32_build_eapol_test.patch 1970-01-01 01:00:00.000000000 +0100 +++ wpasupplicant-0.6.10/debian/patches/32_build_eapol_test.patch 2013-02-18 11:34:11.149223870 +0000 @@ -0,0 +1,19 @@ +Description: Build eapol_test + The default configuration of wpa_supplicant doesn't build eapol_test. + It's generally only useful for administrators and developers. For the + eapoltest package, we want to build it, so this enables it. +Author: Matthew Newton <m...@leicester.ac.uk> +Forwarded: not-needed +Last-Update: 2013-02-18 + +--- wpasupplicant-0.6.10.orig/wpa_supplicant/defconfig ++++ wpasupplicant-0.6.10/wpa_supplicant/defconfig +@@ -202,7 +202,7 @@ CONFIG_SMARTCARD=y + #CONFIG_PCSC=y + + # Development testing +-#CONFIG_EAPOL_TEST=y ++CONFIG_EAPOL_TEST=y + + # Select control interface backend for external programs, e.g, wpa_cli: + # unix = UNIX domain sockets (default for Linux/*BSD) diff -Naur wpasupplicant-0.6.10-MCNOrig//debian/patches/series wpasupplicant-0.6.10/debian/patches/series --- wpasupplicant-0.6.10-MCNOrig//debian/patches/series 2010-11-28 10:46:17.000000000 +0000 +++ wpasupplicant-0.6.10/debian/patches/series 2013-02-18 11:34:21.725372733 +0000 @@ -8,3 +8,4 @@ 21_kfreebsd.patch 30_cfg80211_association_optimisation.patch 31_fallback_to_full_EAP_authentication.patch +32_build_eapol_test.patch diff -Naur wpasupplicant-0.6.10-MCNOrig//debian/rules wpasupplicant-0.6.10/debian/rules --- wpasupplicant-0.6.10-MCNOrig//debian/rules 2010-02-24 10:05:49.000000000 +0000 +++ wpasupplicant-0.6.10/debian/rules 2013-02-18 10:54:18.607702223 +0000 @@ -31,6 +31,7 @@ dh_auto_build --sourcedirectory=wpa_supplicant/wpa_gui-qt4 \ --buildsystem=qmake \ --parallel + ( cd wpa_supplicant && make eapol_test ) override_dh_auto_clean: dh_auto_clean --sourcedirectory=wpa_supplicant \
diff -Naur wpa-1.0-clean/debian/changelog wpa-1.0/debian/changelog --- wpa-1.0-clean/debian/changelog 2012-10-08 22:18:18.000000000 +0100 +++ wpa-1.0/debian/changelog 2013-02-18 16:23:35.729353387 +0000 @@ -1,3 +1,9 @@ +wpa (1.0-4) unstable; urgency=high + + * Build eapol_test in its own package. + + -- Matthew Newton <m...@leicester.ac.uk> Mon, 18 Feb 2013 11:16:11 +0000 + wpa (1.0-3) unstable; urgency=high * ship forgotten README-P2P. diff -Naur wpa-1.0-clean/debian/control wpa-1.0/debian/control --- wpa-1.0-clean/debian/control 2012-06-21 23:42:59.000000000 +0100 +++ wpa-1.0/debian/control 2013-02-18 16:23:35.729353387 +0000 @@ -86,3 +86,12 @@ association with IEEE 802.11i networks. . This is a udeb of wpasupplicant for use by the debian-installer. + +Package: eapoltest +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: EAPoL testing utility + eapol_test allows testing EAP authentication methods without using + a full 802.1X connection. It is frequently used to test the EAP + configuration of RADIUS systems. It is an administrator tool and not + required for standard 802.1X authentication. diff -Naur wpa-1.0-clean/debian/eapoltest.install wpa-1.0/debian/eapoltest.install --- wpa-1.0-clean/debian/eapoltest.install 1970-01-01 01:00:00.000000000 +0100 +++ wpa-1.0/debian/eapoltest.install 2013-02-18 16:23:35.729353387 +0000 @@ -0,0 +1 @@ +wpa_supplicant/eapol_test usr/bin/ diff -Naur wpa-1.0-clean/debian/patches/14_build_eapol_test.patch wpa-1.0/debian/patches/14_build_eapol_test.patch --- wpa-1.0-clean/debian/patches/14_build_eapol_test.patch 1970-01-01 01:00:00.000000000 +0100 +++ wpa-1.0/debian/patches/14_build_eapol_test.patch 2013-02-18 16:23:35.729353387 +0000 @@ -0,0 +1,19 @@ +Description: Build eapol_test + The default configuration of wpa_supplicant doesn't build eapol_test. + It's generally only useful for administrators and developers. For the + eapoltest package, we want to build it, so this enables it. +Author: Matthew Newton <m...@leicester.ac.uk> +Forwarded: not-needed +Last-Update: 2013-02-18 + +--- a/wpa_supplicant/defconfig 2013-02-18 15:58:23.177350512 +0000 ++++ b/wpa_supplicant/defconfig 2013-02-18 15:58:15.377347224 +0000 +@@ -221,7 +221,7 @@ + #CONFIG_PCSC=y + + # Development testing +-#CONFIG_EAPOL_TEST=y ++CONFIG_EAPOL_TEST=y + + # Select control interface backend for external programs, e.g, wpa_cli: + # unix = UNIX domain sockets (default for Linux/*BSD) diff -Naur wpa-1.0-clean/debian/patches/series wpa-1.0/debian/patches/series --- wpa-1.0-clean/debian/patches/series 2012-10-08 16:34:24.000000000 +0100 +++ wpa-1.0/debian/patches/series 2013-02-18 16:23:47.505343480 +0000 @@ -7,3 +7,4 @@ 13_human_readable_signal.patch libnl3-includes.patch EAP-TLS-server_fix-TLS-Message-length-validation.patch +14_build_eapol_test.patch diff -Naur wpa-1.0-clean/debian/rules wpa-1.0/debian/rules --- wpa-1.0-clean/debian/rules 2012-05-24 15:00:14.000000000 +0100 +++ wpa-1.0/debian/rules 2013-02-18 16:23:35.729353387 +0000 @@ -59,6 +59,8 @@ --buildsystem=makefile \ --parallel dh_auto_clean --sourcedirectory=src --buildsystem=makefile + # build eapol_test + ( cd wpa_supplicant && make eapol_test ) override_dh_auto_clean: dh_auto_clean --sourcedirectory=wpa_supplicant/doc/docbook \