2009-08-15 15:04:24 +00:00
|
|
|
#
|
2012-05-28 15:20:46 +00:00
|
|
|
# Copyright (C) 2008-2012 OpenWrt.org
|
2008-12-14 16:44:39 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=pepperspot
|
2010-04-19 05:19:16 +00:00
|
|
|
PKG_VERSION:=0.3
|
2012-05-28 15:20:46 +00:00
|
|
|
PKG_RELEASE:=2
|
2008-12-14 16:44:39 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=@SF/pepperspot
|
2010-04-19 05:19:16 +00:00
|
|
|
PKG_MD5SUM:=10e6d42be577c231135c36440d86012a
|
2008-12-14 16:44:39 +00:00
|
|
|
|
2010-02-18 13:10:21 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
2008-12-14 16:44:39 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/pepperspot
|
|
|
|
SUBMENU:=Captive Portals
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=Wireless LAN HotSpot controller
|
2009-06-13 17:01:55 +00:00
|
|
|
URL:=http://pepperspot.sourceforge.net/
|
2010-04-19 05:19:16 +00:00
|
|
|
DEPENDS:=+kmod-tun +kmod-ipv6
|
2008-12-14 16:44:39 +00:00
|
|
|
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
|
|
|
|
|
2010-04-19 05:19:16 +00:00
|
|
|
define Build/Prepare
|
|
|
|
$(call Build/Prepare/Default)
|
|
|
|
# prevent autoconf invocation, since one the patches touched
|
|
|
|
# configure
|
|
|
|
(cd $(PKG_BUILD_DIR); \
|
|
|
|
touch -r Makefile.am configure.in; \
|
|
|
|
touch -r Makefile.in configure; \
|
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
2008-12-14 16:44:39 +00:00
|
|
|
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
|
2010-04-19 05:19:16 +00:00
|
|
|
$(INSTALL_CONF) $(PKG_BUILD_DIR)/extra/pepper.conf $(1)/etc/
|
2008-12-14 16:44:39 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/pepper $(1)/usr/sbin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,pepperspot))
|