2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
14 PKG_MD5SUM
:=f941e3139175dc6b87f6c89ba8848a07
16 PKG_SOURCE_URL
:=http
://www.zerfleddert.de
/wrt54g
/
17 PKG_SOURCE
:=$(PKG_NAME
).
tar.gz
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/wrt-radauth
27 DEPENDS
:=kmod-brcm-wl
+nvram
28 TITLE
:=A Radius MAC authenticator for Broadcom based access points
29 DESCRIPTION
:=This software watches the stations associating to a broadcom based
\\\
30 AccessPoint
(e.g. Linksys WRT54G
) and sends an authentication request
\\\
31 to the radius-server specified in nvram.
\\\
32 URL
:=http
://www.zerfleddert.de
/wrt54g
/
36 $(call Build
/Compile
/Default
,CC
="$(TARGET_CC)" \
37 CFLAGS
="$(TARGET_CFLAGS)" \
38 LDFLAGS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib")
41 define Package
/wrt-radauth
/install
42 install -d
-m0755
$(1)/usr
/sbin
43 install -m0755
$(PKG_BUILD_DIR
)/radius-client
$(1)/usr
/sbin
/
44 install -m0755
$(PKG_BUILD_DIR
)/wrt-radauth
$(1)/usr
/sbin
/
47 $(eval
$(call BuildPackage
,wrt-radauth
))