2 # Copyright (C) 2008-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=@SF
/pepperspot
16 PKG_MD5SUM
:=10e6d42be577c231135c36440d86012a
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/pepperspot
23 SUBMENU
:=Captive Portals
26 TITLE
:=Wireless LAN HotSpot controller
27 URL
:=http
://pepperspot.sourceforge.net
/
28 DEPENDS
:=+kmod-tun
+kmod-ipv6
31 define Package
/pepperspot
/description
32 PepperSpot is a captive portal or wireless LAN access point controller
33 which support the IPv6 protocol. It supports web based login and it
34 supports Wireless Protected Access
(WPA
). Authentication is handled by
35 your favorite radius server
(over IPv4
/IPv6
).
38 define Package
/pepperspot
/conffiles
45 $(call Build
/Prepare
/Default
)
46 # prevent autoconf invocation, since one the patches touched
48 (cd
$(PKG_BUILD_DIR
); \
49 touch
-r Makefile.am configure.in
; \
50 touch
-r Makefile.in configure
; \
54 define Package
/pepperspot
/install
55 $(INSTALL_DIR
) $(1)/etc
/init.d
56 $(INSTALL_BIN
) .
/files
/$(PKG_NAME
).init
$(1)/etc
/init.d
/pepper
57 $(INSTALL_DIR
) $(1)/etc
58 $(INSTALL_CONF
) $(PKG_BUILD_DIR
)/extra
/pepper.conf
$(1)/etc
/
59 $(INSTALL_DIR
) $(1)/usr
/sbin
60 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/pepper
$(1)/usr
/sbin
/
63 $(eval
$(call BuildPackage
,pepperspot
))