hostap-daemon: moved repeated patches to hostap-daemon/ dir
authorMarcin Juszkiewicz <hrw@openembedded.org>
Mon, 20 Mar 2006 19:30:02 +0000 (19:30 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 20 Mar 2006 19:30:02 +0000 (19:30 +0000)
21 files changed:
packages/hostap/hostap-daemon-0.3.7/.mtn2git_empty [deleted file]
packages/hostap/hostap-daemon-0.3.7/defconfig [deleted file]
packages/hostap/hostap-daemon-0.3.7/init [deleted file]
packages/hostap/hostap-daemon-0.3.7/madwifi-bsd-fix.diff [deleted file]
packages/hostap/hostap-daemon-0.3.7/makefile-cross.diff [deleted file]
packages/hostap/hostap-daemon-0.3.7/mtx-1/.mtn2git_empty [deleted file]
packages/hostap/hostap-daemon-0.3.7/mtx-1/defconfig [deleted file]
packages/hostap/hostap-daemon-0.4.4/.mtn2git_empty [deleted file]
packages/hostap/hostap-daemon-0.4.4/defconfig [deleted file]
packages/hostap/hostap-daemon-0.4.4/init [deleted file]
packages/hostap/hostap-daemon-0.4.4/madwifi-bsd-fix.diff [deleted file]
packages/hostap/hostap-daemon-0.4.4/makefile-cross.diff [deleted file]
packages/hostap/hostap-daemon-0.4.4/mtx-1/.mtn2git_empty [deleted file]
packages/hostap/hostap-daemon-0.4.4/mtx-1/defconfig [deleted file]
packages/hostap/hostap-daemon/.mtn2git_empty [new file with mode: 0644]
packages/hostap/hostap-daemon/defconfig [new file with mode: 0644]
packages/hostap/hostap-daemon/init [new file with mode: 0644]
packages/hostap/hostap-daemon/madwifi-bsd-fix.diff [new file with mode: 0644]
packages/hostap/hostap-daemon/makefile-cross.diff [new file with mode: 0644]
packages/hostap/hostap-daemon/mtx-1/.mtn2git_empty [new file with mode: 0644]
packages/hostap/hostap-daemon/mtx-1/defconfig [new file with mode: 0644]

diff --git a/packages/hostap/hostap-daemon-0.3.7/.mtn2git_empty b/packages/hostap/hostap-daemon-0.3.7/.mtn2git_empty
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/packages/hostap/hostap-daemon-0.3.7/defconfig b/packages/hostap/hostap-daemon-0.3.7/defconfig
deleted file mode 100644 (file)
index d0e22f2..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-# Example hostapd 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.
-
-# Driver interface for Host AP driver
-CONFIG_DRIVER_HOSTAP=y
-
-# Driver interface for wired authenticator
-CONFIG_DRIVER_WIRED=y
-
-# Driver interface for madwifi driver
-#CONFIG_DRIVER_MADWIFI=y
-#CFLAGS += -I../head # change to reflect local setup; directory for madwifi src
-
-# Driver interface for Prism54 driver
-CONFIG_DRIVER_PRISM54=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
-
-# IEEE 802.11F/IAPP
-CONFIG_IAPP=y
-
-# WPA2/IEEE 802.11i RSN pre-authentication
-CONFIG_RSN_PREAUTH=y
-
-# Integrated EAP authenticator
-CONFIG_EAP=y
-
-# EAP-MD5 for the integrated EAP authenticator
-CONFIG_EAP_MD5=y
-
-# EAP-TLS for the integrated EAP authenticator
-CONFIG_EAP_TLS=y
-
-# EAP-MSCHAPv2 for the integrated EAP authenticator
-CONFIG_EAP_MSCHAPV2=y
-
-# EAP-PEAP for the integrated EAP authenticator
-CONFIG_EAP_PEAP=y
-
-# EAP-GTC for the integrated EAP authenticator
-CONFIG_EAP_GTC=y
-
-# EAP-TTLS for the integrated EAP authenticator
-CONFIG_EAP_TTLS=y
-
-# EAP-SIM for the integrated EAP authenticator
-#CONFIG_EAP_SIM=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
-
-# RADIUS authentication server. This provides access to the integrated EAP
-# authenticator from external hosts using RADIUS.
-CONFIG_RADIUS_SERVER=y
diff --git a/packages/hostap/hostap-daemon-0.3.7/init b/packages/hostap/hostap-daemon-0.3.7/init
deleted file mode 100755 (executable)
index b0736c0..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-DAEMON=/usr/sbin/hostapd
-NAME=httpd
-DESC="HOSTAP Daemon"
-ARGS="/etc/hostapd.conf"
-
-test -f $DAEMON || exit 0
-
-set -e
-
-case "$1" in
-    start)
-        echo -n "starting $DESC: $NAME... "
-       start-stop-daemon -S -b -n $NAME -a $DAEMON -- $ARGS
-       echo "done."
-       ;;
-    stop)
-        echo -n "stopping $DESC: $NAME... "
-       start-stop-daemon -K -n $NAME
-       echo "done."
-       ;;
-    restart)
-        echo "restarting $DESC: $NAME... "
-       $0 stop
-       $0 start
-       echo "done."
-       ;;
-    reload)
-       echo -n "reloading $DESC: $NAME... "
-       killall -HUP $(basename ${DAEMON})
-       echo "done."
-       ;;
-    *)
-       echo "Usage: $0 {start|stop|restart|reload}"
-       exit 1
-       ;;
-esac
-
-exit 0
diff --git a/packages/hostap/hostap-daemon-0.3.7/madwifi-bsd-fix.diff b/packages/hostap/hostap-daemon-0.3.7/madwifi-bsd-fix.diff
deleted file mode 100644 (file)
index d9dab26..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
---- driver_madwifi.c.orig      2005-03-18 15:12:53.392793216 +0100
-+++ driver_madwifi.c   2005-03-18 15:13:09.246383104 +0100
-@@ -21,7 +21,8 @@
- #include <sys/types.h>
- #include <sys/socket.h>
--#include <include/compat.h>
-+#include <net80211/compat.h>
-+#include <net80211/_ieee80211.h>
- #include <net80211/ieee80211.h>
- #include <net80211/ieee80211_crypto.h>
- #include <net80211/ieee80211_ioctl.h>
diff --git a/packages/hostap/hostap-daemon-0.3.7/makefile-cross.diff b/packages/hostap/hostap-daemon-0.3.7/makefile-cross.diff
deleted file mode 100644 (file)
index 25d2ca3..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
---- Makefile.orig      2005-03-18 14:34:27.274376504 +0100
-+++ Makefile   2005-03-18 14:35:56.609795456 +0100
-@@ -1,7 +1,9 @@
--CC=gcc
-+CC?=gcc
- DIR_WPA_SUPPLICANT=.
- DIR_HOSTAP=.
-+TARGET_PREFIX ?= /usr/local/bin/
-+
- ifndef CFLAGS
- CFLAGS = -MMD -O2 -Wall -g
- endif
-@@ -170,10 +172,10 @@
-       fi
- install: all
--      for i in $(ALL); do cp $$i /usr/local/bin/$$i; done
-+      for i in $(ALL); do cp $$i $(TARGET_PREFIX)/$$i; done
- hostapd: $(OBJS)
--      $(CC) -o hostapd $(OBJS) $(LIBS)
-+      $(CC) $(LDFLAGS) -o hostapd $(OBJS) $(LIBS)
- driver_conf.c: Makefile .config
-       rm -f driver_conf.c
diff --git a/packages/hostap/hostap-daemon-0.3.7/mtx-1/.mtn2git_empty b/packages/hostap/hostap-daemon-0.3.7/mtx-1/.mtn2git_empty
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/packages/hostap/hostap-daemon-0.3.7/mtx-1/defconfig b/packages/hostap/hostap-daemon-0.3.7/mtx-1/defconfig
deleted file mode 100644 (file)
index 8c3065c..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-# Example hostapd 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.
-
-# Driver interface for Host AP driver
-CONFIG_DRIVER_HOSTAP=y
-
-# Driver interface for wired authenticator
-CONFIG_DRIVER_WIRED=y
-
-# Driver interface for madwifi driver
-CONFIG_DRIVER_MADWIFI=y
-#CFLAGS += -I../head # change to reflect local setup; directory for madwifi src
-
-# Driver interface for Prism54 driver
-CONFIG_DRIVER_PRISM54=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
-
-# IEEE 802.11F/IAPP
-CONFIG_IAPP=y
-
-# WPA2/IEEE 802.11i RSN pre-authentication
-CONFIG_RSN_PREAUTH=y
-
-# Integrated EAP authenticator
-CONFIG_EAP=y
-
-# EAP-MD5 for the integrated EAP authenticator
-CONFIG_EAP_MD5=y
-
-# EAP-TLS for the integrated EAP authenticator
-CONFIG_EAP_TLS=y
-
-# EAP-MSCHAPv2 for the integrated EAP authenticator
-CONFIG_EAP_MSCHAPV2=y
-
-# EAP-PEAP for the integrated EAP authenticator
-CONFIG_EAP_PEAP=y
-
-# EAP-GTC for the integrated EAP authenticator
-CONFIG_EAP_GTC=y
-
-# EAP-TTLS for the integrated EAP authenticator
-CONFIG_EAP_TTLS=y
-
-# EAP-SIM for the integrated EAP authenticator
-#CONFIG_EAP_SIM=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
-
-# RADIUS authentication server. This provides access to the integrated EAP
-# authenticator from external hosts using RADIUS.
-CONFIG_RADIUS_SERVER=y
diff --git a/packages/hostap/hostap-daemon-0.4.4/.mtn2git_empty b/packages/hostap/hostap-daemon-0.4.4/.mtn2git_empty
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/packages/hostap/hostap-daemon-0.4.4/defconfig b/packages/hostap/hostap-daemon-0.4.4/defconfig
deleted file mode 100644 (file)
index d0e22f2..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-# Example hostapd 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.
-
-# Driver interface for Host AP driver
-CONFIG_DRIVER_HOSTAP=y
-
-# Driver interface for wired authenticator
-CONFIG_DRIVER_WIRED=y
-
-# Driver interface for madwifi driver
-#CONFIG_DRIVER_MADWIFI=y
-#CFLAGS += -I../head # change to reflect local setup; directory for madwifi src
-
-# Driver interface for Prism54 driver
-CONFIG_DRIVER_PRISM54=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
-
-# IEEE 802.11F/IAPP
-CONFIG_IAPP=y
-
-# WPA2/IEEE 802.11i RSN pre-authentication
-CONFIG_RSN_PREAUTH=y
-
-# Integrated EAP authenticator
-CONFIG_EAP=y
-
-# EAP-MD5 for the integrated EAP authenticator
-CONFIG_EAP_MD5=y
-
-# EAP-TLS for the integrated EAP authenticator
-CONFIG_EAP_TLS=y
-
-# EAP-MSCHAPv2 for the integrated EAP authenticator
-CONFIG_EAP_MSCHAPV2=y
-
-# EAP-PEAP for the integrated EAP authenticator
-CONFIG_EAP_PEAP=y
-
-# EAP-GTC for the integrated EAP authenticator
-CONFIG_EAP_GTC=y
-
-# EAP-TTLS for the integrated EAP authenticator
-CONFIG_EAP_TTLS=y
-
-# EAP-SIM for the integrated EAP authenticator
-#CONFIG_EAP_SIM=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
-
-# RADIUS authentication server. This provides access to the integrated EAP
-# authenticator from external hosts using RADIUS.
-CONFIG_RADIUS_SERVER=y
diff --git a/packages/hostap/hostap-daemon-0.4.4/init b/packages/hostap/hostap-daemon-0.4.4/init
deleted file mode 100644 (file)
index b0736c0..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-DAEMON=/usr/sbin/hostapd
-NAME=httpd
-DESC="HOSTAP Daemon"
-ARGS="/etc/hostapd.conf"
-
-test -f $DAEMON || exit 0
-
-set -e
-
-case "$1" in
-    start)
-        echo -n "starting $DESC: $NAME... "
-       start-stop-daemon -S -b -n $NAME -a $DAEMON -- $ARGS
-       echo "done."
-       ;;
-    stop)
-        echo -n "stopping $DESC: $NAME... "
-       start-stop-daemon -K -n $NAME
-       echo "done."
-       ;;
-    restart)
-        echo "restarting $DESC: $NAME... "
-       $0 stop
-       $0 start
-       echo "done."
-       ;;
-    reload)
-       echo -n "reloading $DESC: $NAME... "
-       killall -HUP $(basename ${DAEMON})
-       echo "done."
-       ;;
-    *)
-       echo "Usage: $0 {start|stop|restart|reload}"
-       exit 1
-       ;;
-esac
-
-exit 0
diff --git a/packages/hostap/hostap-daemon-0.4.4/madwifi-bsd-fix.diff b/packages/hostap/hostap-daemon-0.4.4/madwifi-bsd-fix.diff
deleted file mode 100644 (file)
index d9dab26..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
---- driver_madwifi.c.orig      2005-03-18 15:12:53.392793216 +0100
-+++ driver_madwifi.c   2005-03-18 15:13:09.246383104 +0100
-@@ -21,7 +21,8 @@
- #include <sys/types.h>
- #include <sys/socket.h>
--#include <include/compat.h>
-+#include <net80211/compat.h>
-+#include <net80211/_ieee80211.h>
- #include <net80211/ieee80211.h>
- #include <net80211/ieee80211_crypto.h>
- #include <net80211/ieee80211_ioctl.h>
diff --git a/packages/hostap/hostap-daemon-0.4.4/makefile-cross.diff b/packages/hostap/hostap-daemon-0.4.4/makefile-cross.diff
deleted file mode 100644 (file)
index 25d2ca3..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
---- Makefile.orig      2005-03-18 14:34:27.274376504 +0100
-+++ Makefile   2005-03-18 14:35:56.609795456 +0100
-@@ -1,7 +1,9 @@
--CC=gcc
-+CC?=gcc
- DIR_WPA_SUPPLICANT=.
- DIR_HOSTAP=.
-+TARGET_PREFIX ?= /usr/local/bin/
-+
- ifndef CFLAGS
- CFLAGS = -MMD -O2 -Wall -g
- endif
-@@ -170,10 +172,10 @@
-       fi
- install: all
--      for i in $(ALL); do cp $$i /usr/local/bin/$$i; done
-+      for i in $(ALL); do cp $$i $(TARGET_PREFIX)/$$i; done
- hostapd: $(OBJS)
--      $(CC) -o hostapd $(OBJS) $(LIBS)
-+      $(CC) $(LDFLAGS) -o hostapd $(OBJS) $(LIBS)
- driver_conf.c: Makefile .config
-       rm -f driver_conf.c
diff --git a/packages/hostap/hostap-daemon-0.4.4/mtx-1/.mtn2git_empty b/packages/hostap/hostap-daemon-0.4.4/mtx-1/.mtn2git_empty
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/packages/hostap/hostap-daemon-0.4.4/mtx-1/defconfig b/packages/hostap/hostap-daemon-0.4.4/mtx-1/defconfig
deleted file mode 100644 (file)
index 8c3065c..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-# Example hostapd 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.
-
-# Driver interface for Host AP driver
-CONFIG_DRIVER_HOSTAP=y
-
-# Driver interface for wired authenticator
-CONFIG_DRIVER_WIRED=y
-
-# Driver interface for madwifi driver
-CONFIG_DRIVER_MADWIFI=y
-#CFLAGS += -I../head # change to reflect local setup; directory for madwifi src
-
-# Driver interface for Prism54 driver
-CONFIG_DRIVER_PRISM54=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
-
-# IEEE 802.11F/IAPP
-CONFIG_IAPP=y
-
-# WPA2/IEEE 802.11i RSN pre-authentication
-CONFIG_RSN_PREAUTH=y
-
-# Integrated EAP authenticator
-CONFIG_EAP=y
-
-# EAP-MD5 for the integrated EAP authenticator
-CONFIG_EAP_MD5=y
-
-# EAP-TLS for the integrated EAP authenticator
-CONFIG_EAP_TLS=y
-
-# EAP-MSCHAPv2 for the integrated EAP authenticator
-CONFIG_EAP_MSCHAPV2=y
-
-# EAP-PEAP for the integrated EAP authenticator
-CONFIG_EAP_PEAP=y
-
-# EAP-GTC for the integrated EAP authenticator
-CONFIG_EAP_GTC=y
-
-# EAP-TTLS for the integrated EAP authenticator
-CONFIG_EAP_TTLS=y
-
-# EAP-SIM for the integrated EAP authenticator
-#CONFIG_EAP_SIM=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
-
-# RADIUS authentication server. This provides access to the integrated EAP
-# authenticator from external hosts using RADIUS.
-CONFIG_RADIUS_SERVER=y
diff --git a/packages/hostap/hostap-daemon/.mtn2git_empty b/packages/hostap/hostap-daemon/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/hostap/hostap-daemon/defconfig b/packages/hostap/hostap-daemon/defconfig
new file mode 100644 (file)
index 0000000..d0e22f2
--- /dev/null
@@ -0,0 +1,66 @@
+# Example hostapd 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.
+
+# Driver interface for Host AP driver
+CONFIG_DRIVER_HOSTAP=y
+
+# Driver interface for wired authenticator
+CONFIG_DRIVER_WIRED=y
+
+# Driver interface for madwifi driver
+#CONFIG_DRIVER_MADWIFI=y
+#CFLAGS += -I../head # change to reflect local setup; directory for madwifi src
+
+# Driver interface for Prism54 driver
+CONFIG_DRIVER_PRISM54=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
+
+# IEEE 802.11F/IAPP
+CONFIG_IAPP=y
+
+# WPA2/IEEE 802.11i RSN pre-authentication
+CONFIG_RSN_PREAUTH=y
+
+# Integrated EAP authenticator
+CONFIG_EAP=y
+
+# EAP-MD5 for the integrated EAP authenticator
+CONFIG_EAP_MD5=y
+
+# EAP-TLS for the integrated EAP authenticator
+CONFIG_EAP_TLS=y
+
+# EAP-MSCHAPv2 for the integrated EAP authenticator
+CONFIG_EAP_MSCHAPV2=y
+
+# EAP-PEAP for the integrated EAP authenticator
+CONFIG_EAP_PEAP=y
+
+# EAP-GTC for the integrated EAP authenticator
+CONFIG_EAP_GTC=y
+
+# EAP-TTLS for the integrated EAP authenticator
+CONFIG_EAP_TTLS=y
+
+# EAP-SIM for the integrated EAP authenticator
+#CONFIG_EAP_SIM=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
+
+# RADIUS authentication server. This provides access to the integrated EAP
+# authenticator from external hosts using RADIUS.
+CONFIG_RADIUS_SERVER=y
diff --git a/packages/hostap/hostap-daemon/init b/packages/hostap/hostap-daemon/init
new file mode 100644 (file)
index 0000000..b0736c0
--- /dev/null
@@ -0,0 +1,39 @@
+#!/bin/sh
+DAEMON=/usr/sbin/hostapd
+NAME=httpd
+DESC="HOSTAP Daemon"
+ARGS="/etc/hostapd.conf"
+
+test -f $DAEMON || exit 0
+
+set -e
+
+case "$1" in
+    start)
+        echo -n "starting $DESC: $NAME... "
+       start-stop-daemon -S -b -n $NAME -a $DAEMON -- $ARGS
+       echo "done."
+       ;;
+    stop)
+        echo -n "stopping $DESC: $NAME... "
+       start-stop-daemon -K -n $NAME
+       echo "done."
+       ;;
+    restart)
+        echo "restarting $DESC: $NAME... "
+       $0 stop
+       $0 start
+       echo "done."
+       ;;
+    reload)
+       echo -n "reloading $DESC: $NAME... "
+       killall -HUP $(basename ${DAEMON})
+       echo "done."
+       ;;
+    *)
+       echo "Usage: $0 {start|stop|restart|reload}"
+       exit 1
+       ;;
+esac
+
+exit 0
diff --git a/packages/hostap/hostap-daemon/madwifi-bsd-fix.diff b/packages/hostap/hostap-daemon/madwifi-bsd-fix.diff
new file mode 100644 (file)
index 0000000..d9dab26
--- /dev/null
@@ -0,0 +1,12 @@
+--- driver_madwifi.c.orig      2005-03-18 15:12:53.392793216 +0100
++++ driver_madwifi.c   2005-03-18 15:13:09.246383104 +0100
+@@ -21,7 +21,8 @@
+ #include <sys/types.h>
+ #include <sys/socket.h>
+-#include <include/compat.h>
++#include <net80211/compat.h>
++#include <net80211/_ieee80211.h>
+ #include <net80211/ieee80211.h>
+ #include <net80211/ieee80211_crypto.h>
+ #include <net80211/ieee80211_ioctl.h>
diff --git a/packages/hostap/hostap-daemon/makefile-cross.diff b/packages/hostap/hostap-daemon/makefile-cross.diff
new file mode 100644 (file)
index 0000000..25d2ca3
--- /dev/null
@@ -0,0 +1,26 @@
+--- Makefile.orig      2005-03-18 14:34:27.274376504 +0100
++++ Makefile   2005-03-18 14:35:56.609795456 +0100
+@@ -1,7 +1,9 @@
+-CC=gcc
++CC?=gcc
+ DIR_WPA_SUPPLICANT=.
+ DIR_HOSTAP=.
++TARGET_PREFIX ?= /usr/local/bin/
++
+ ifndef CFLAGS
+ CFLAGS = -MMD -O2 -Wall -g
+ endif
+@@ -170,10 +172,10 @@
+       fi
+ install: all
+-      for i in $(ALL); do cp $$i /usr/local/bin/$$i; done
++      for i in $(ALL); do cp $$i $(TARGET_PREFIX)/$$i; done
+ hostapd: $(OBJS)
+-      $(CC) -o hostapd $(OBJS) $(LIBS)
++      $(CC) $(LDFLAGS) -o hostapd $(OBJS) $(LIBS)
+ driver_conf.c: Makefile .config
+       rm -f driver_conf.c
diff --git a/packages/hostap/hostap-daemon/mtx-1/.mtn2git_empty b/packages/hostap/hostap-daemon/mtx-1/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/hostap/hostap-daemon/mtx-1/defconfig b/packages/hostap/hostap-daemon/mtx-1/defconfig
new file mode 100644 (file)
index 0000000..8c3065c
--- /dev/null
@@ -0,0 +1,66 @@
+# Example hostapd 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.
+
+# Driver interface for Host AP driver
+CONFIG_DRIVER_HOSTAP=y
+
+# Driver interface for wired authenticator
+CONFIG_DRIVER_WIRED=y
+
+# Driver interface for madwifi driver
+CONFIG_DRIVER_MADWIFI=y
+#CFLAGS += -I../head # change to reflect local setup; directory for madwifi src
+
+# Driver interface for Prism54 driver
+CONFIG_DRIVER_PRISM54=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
+
+# IEEE 802.11F/IAPP
+CONFIG_IAPP=y
+
+# WPA2/IEEE 802.11i RSN pre-authentication
+CONFIG_RSN_PREAUTH=y
+
+# Integrated EAP authenticator
+CONFIG_EAP=y
+
+# EAP-MD5 for the integrated EAP authenticator
+CONFIG_EAP_MD5=y
+
+# EAP-TLS for the integrated EAP authenticator
+CONFIG_EAP_TLS=y
+
+# EAP-MSCHAPv2 for the integrated EAP authenticator
+CONFIG_EAP_MSCHAPV2=y
+
+# EAP-PEAP for the integrated EAP authenticator
+CONFIG_EAP_PEAP=y
+
+# EAP-GTC for the integrated EAP authenticator
+CONFIG_EAP_GTC=y
+
+# EAP-TTLS for the integrated EAP authenticator
+CONFIG_EAP_TTLS=y
+
+# EAP-SIM for the integrated EAP authenticator
+#CONFIG_EAP_SIM=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
+
+# RADIUS authentication server. This provides access to the integrated EAP
+# authenticator from external hosts using RADIUS.
+CONFIG_RADIUS_SERVER=y