diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-10-19 11:37:53 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-10-19 11:37:53 +0000 |
commit | 6db2db3a9c41ef447a6ac351f8408fa2cfb7ddad (patch) | |
tree | 321115703dfb532b1fc408762f25f374bae805b1 /openwrt/package/wrt-radauth | |
parent | ffa984642179466a0da85232f79e197393303a12 (diff) |
add wrt-radauth package (thanks to Florian Fainelli)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2180 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/wrt-radauth')
-rw-r--r-- | openwrt/package/wrt-radauth/Config.in | 10 | ||||
-rw-r--r-- | openwrt/package/wrt-radauth/Makefile | 36 | ||||
-rw-r--r-- | openwrt/package/wrt-radauth/ipkg/wrt-radauth.control | 6 |
3 files changed, 52 insertions, 0 deletions
diff --git a/openwrt/package/wrt-radauth/Config.in b/openwrt/package/wrt-radauth/Config.in new file mode 100644 index 000000000..b21c5fc8b --- /dev/null +++ b/openwrt/package/wrt-radauth/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_WRT_RADAUTH + tristate "wrt-radauth - a RADIUS MAC authenticator for Broadcom based access points" + default m if CONFIG_DEVEL + help + This software watches the stations associating to a broadcom based + AccessPoint (e.g. Linksys WRT54G) and sends an authentication request + to the radius-server specified in nvram. + + http://www.zerfleddert.de/wrt54g/ + diff --git a/openwrt/package/wrt-radauth/Makefile b/openwrt/package/wrt-radauth/Makefile new file mode 100644 index 000000000..952a4d03f --- /dev/null +++ b/openwrt/package/wrt-radauth/Makefile @@ -0,0 +1,36 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=wrt-radauth +PKG_VERSION:=1.0 +PKG_RELEASE:=1 +PKG_MD5SUM:=f941e3139175dc6b87f6c89ba8848a07 + +PKG_SOURCE_URL:=http://www.zerfleddert.de/wrt54g/ +PKG_SOURCE:=$(PKG_NAME).tar.gz +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) + +include $(TOPDIR)/package/rules.mk + +BR2_PACKAGE_WRT_RADAUTH:=m + +$(eval $(call PKG_template,WRT_RADAUTH,wrt-radauth,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +$(PKG_BUILD_DIR)/.configured: + touch $@ + +$(PKG_BUILD_DIR)/.built: + $(MAKE) -C $(PKG_BUILD_DIR) \ + CC="$(TARGET_CC)" \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ + clean all + touch $@ + +$(IPKG_WRT_RADAUTH): + install -d -m0755 $(IDIR_WRT_RADAUTH)/usr/sbin + install -m0755 $(PKG_BUILD_DIR)/radius-client $(IDIR_WRT_RADAUTH)/usr/sbin/ + install -m0755 $(PKG_BUILD_DIR)/wrt-radauth $(IDIR_WRT_RADAUTH)/usr/sbin/ + $(RSTRIP) $(IDIR_WRT_RADAUTH) + $(IPKG_BUILD) $(IDIR_WRT_RADAUTH) $(PACKAGE_DIR) diff --git a/openwrt/package/wrt-radauth/ipkg/wrt-radauth.control b/openwrt/package/wrt-radauth/ipkg/wrt-radauth.control new file mode 100644 index 000000000..7d2e82c92 --- /dev/null +++ b/openwrt/package/wrt-radauth/ipkg/wrt-radauth.control @@ -0,0 +1,6 @@ +Package: wrt-radauth +Priority: optional +Section: net +Maintainer: OpenWrt Developers Team <openwrt-devel@openwrt.org>, Florian Fainelli <florian@alphacore.net> +Source: buildroot internal +Description: A RADIUS MAC authenticator for Broadcom based access points. |