]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
hostapd: New package.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 19 Feb 2010 14:34:06 +0000 (15:34 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 19 Feb 2010 14:34:06 +0000 (15:34 +0100)
pkgs/core/hostapd/config [moved from src/hostapd/config with 100% similarity]
pkgs/core/hostapd/hostapd.nm [new file with mode: 0644]

similarity index 100%
rename from src/hostapd/config
rename to pkgs/core/hostapd/config
diff --git a/pkgs/core/hostapd/hostapd.nm b/pkgs/core/hostapd/hostapd.nm
new file mode 100644 (file)
index 0000000..1a66641
--- /dev/null
@@ -0,0 +1,60 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt                 #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include $(PKGROOT)/Include
+
+PKG_NAME       = hostapd
+PKG_VER        = 0.6.9
+PKG_REL        = 0
+
+PKG_MAINTAINER =
+PKG_GROUP      = Networking/Tools
+PKG_URL        = http://hostap.epitest.fi/hostapd/
+PKG_LICENSE    = GPLv2+
+PKG_SUMMARY    = User space daemon to create Wifi Access points.
+
+PKG_DEPS      += libnl openssl
+
+define PKG_DESCRIPTION
+       Hostapd is a user space daemon for access point and authentication \
+       servers. It implements IEEE 802.11 access point management, IEEE \
+       802.1X/WPA/WPA2/EAP Authenticators, RADIUS client, EAP server, and \
+       RADIUS authentication server.
+endef
+
+PKG_TARBALL    = $(THISAPP).tar.gz
+
+define STAGE_PREPARE_CMDS
+       cd $(DIR_APP)/hostapd && cp -vf $(DIR_SOURCE)/config .config
+       cd $(DIR_APP)/hostapd && sed -e "s@/usr/local@$(BUILDROOT)/usr@g" -i Makefile
+endef
+
+define STAGE_BUILD
+       cd $(DIR_APP)/hostapd && make $(PARALLELISMFLAGS) CC=gcc
+endef
+
+define STAGE_INSTALL
+       -mkdir -pv $(BUILDROOT)/usr/bin
+       cd $(DIR_APP)/hostapd && make install
+endef