1e28de24b4
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19705 3c298f89-4303-0410-b956-a3cf2f4a3e73
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
#
|
|
# Copyright (C) 2008-2009 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=pepperspot
|
|
PKG_VERSION:=0.2
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
PKG_SOURCE_URL:=@SF/pepperspot
|
|
PKG_MD5SUM:=a7ac2c8f93799f7d23d9ad2a0841fe4a
|
|
|
|
PKG_INSTALL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/pepperspot
|
|
SUBMENU:=Captive Portals
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
DEPENDS:=+kmod-tun +kmod-ipv6
|
|
TITLE:=Wireless LAN HotSpot controller
|
|
URL:=http://pepperspot.sourceforge.net/
|
|
endef
|
|
|
|
define Package/pepperspot/description
|
|
PepperSpot is a captive portal or wireless LAN access point controller
|
|
which support the IPv6 protocol. It supports web based login and it
|
|
supports Wireless Protected Access (WPA). Authentication is handled by
|
|
your favorite radius server (over IPv4/IPv6).
|
|
endef
|
|
|
|
define Package/pepperspot/conffiles
|
|
/etc/pepper.conf
|
|
endef
|
|
|
|
# uses GNU configure
|
|
|
|
define Package/pepperspot/install
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
$(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/pepper
|
|
$(INSTALL_DIR) $(1)/etc
|
|
$(INSTALL_CONF) $(PKG_BUILD_DIR)/doc/pepper.conf $(1)/etc/
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/pepper $(1)/usr/sbin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,pepperspot))
|