From: Michael Tremer Date: Fri, 19 Feb 2010 14:34:06 +0000 (+0100) Subject: hostapd: New package. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f3072adc3bca66ca77e8182f3ab3e99882f28ac;p=ipfire-3.x.git hostapd: New package. --- diff --git a/src/hostapd/config b/pkgs/core/hostapd/config 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 index 000000000..1a666412e --- /dev/null +++ b/pkgs/core/hostapd/hostapd.nm @@ -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 . # +# # +############################################################################### + +############################################################################### +# 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