]> git.ipfire.org Git - ipfire-3.x.git/blame - pkgs/wpa_supplicant/wpa_supplicant.nm
avahi: Update to 0.6.30.
[ipfire-3.x.git] / pkgs / wpa_supplicant / wpa_supplicant.nm
CommitLineData
75e38195
MT
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
4# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5# #
6# This program is free software: you can redistribute it and/or modify #
7# it under the terms of the GNU General Public License as published by #
8# the Free Software Foundation, either version 3 of the License, or #
9# (at your option) any later version. #
10# #
11# This program is distributed in the hope that it will be useful, #
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
18# #
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include $(PKGROOT)/Include
26
27PKG_NAME = wpa_supplicant
28PKG_VER = 0.7.3
29PKG_REL = 0
30
31PKG_MAINTAINER =
bb7d617c 32PKG_GROUPS = Sytem/Base
75e38195
MT
33PKG_URL = http://hostap.epitest.fi/releases/
34PKG_LICENSE = BSD
35PKG_SUMMARY = WPA/WPA2/IEEE 802.1X Supplicant.
36
37PKG_BUILD_DEPS+= dbus-devel openssl-devel pkg-config
38
39define PKG_DESCRIPTION
40 wpa_supplicant is a WPA Supplicant for Linux, BSD and Windows with support \
41 for WPA and WPA2 (IEEE 802.11i / RSN). Supplicant is the IEEE 802.1X/WPA \
42 component that is used in the client stations. It implements key negotiation \
43 with a WPA Authenticator and it controls the roaming and IEEE 802.11 \
44 authentication/association of the wlan driver.
45endef
46
47PKG_TARBALL = $(THISAPP).tar.gz
48
49define STAGE_BUILD
50 # Copy our config file for build
51 cp $(DIR_SOURCE)/wpa_supplicant.config $(DIR_APP)/wpa_supplicant/.config
52
53 # Build wpa_supplicant
54 cd $(DIR_APP)/wpa_supplicant && make $(PARALLELISMFLAGS)
55endef
56
57define STAGE_INSTALL
58 -mkdir -pv $(BUILDROOT)/etc/logrotate.d
59 -mkdir -pv $(BUILDROOT)/etc/wpa_supplicant
60 -mkdir -pv $(BUILDROOT)/usr/sbin
61
62 # Install config file
63 install -D -m 0600 $(DIR_SOURCE)/wpa_supplicant.conf $(BUILDROOT)/etc/wpa_supplicant
64
65 # Install binaries
66 install -m 0755 $(DIR_APP)/wpa_supplicant/wpa_passphrase $(BUILDROOT)/usr/sbin
67 install -m 0755 $(DIR_APP)/wpa_supplicant/wpa_cli $(BUILDROOT)/usr/sbin
68 install -m 0755 $(DIR_APP)/wpa_supplicant/wpa_supplicant $(BUILDROOT)/usr/sbin
69
70 # Install logrotate file
71 install -D -m 0644 $(DIR_SOURCE)/wpa_supplicant.logrotate $(BUILDROOT)/etc/logrotate.d/wpa_supplicant
72endef