Changeset 1422

Show
Ignore:
Timestamp:
09/25/09 18:38:13 (3 years ago)
Author:
gbastien
Message:

* Release 20090925
* Update contrib Makefiles

Location:
trunk/wifidog
Files:
2 added
2 removed
7 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog/ChangeLog

    r1420 r1422  
    11# $Id$ 
     2 
     32009-09-25 Geneviève Bastien <gbastien@versatic.net> 
     4        * Release 20090925 
     5        * Update contrib Makefiles 
    26 
    372009-09-17 Geneviève Bastien <gbastien@versatic.net> 
  • trunk/wifidog/configure.in

    r1346 r1422  
    2222WIFIDOG_MINOR_VERSION=1 
    2323WIFIDOG_MICRO_VERSION=5 
    24 WIFIDOG_VERSION=$WIFIDOG_MAJOR_VERSION.$WIFIDOG_MINOR_VERSION.$WIFIDOG_MICRO_VERSION 
     24WIFIDOG_VERSION=20090925 
    2525 
    2626AC_SUBST(WIFIDOG_MAJOR_VERSION) 
  • trunk/wifidog/contrib/build-openwrt-kamikazeipk/wifidog/Makefile

    r1420 r1422  
    1111 
    1212PKG_NAME:=wifidog 
    13 PKG_VERSION:=1.1.5 
    14 PKG_RELEASE:=2 
     13PKG_VERSION:=20090925 
     14PKG_RELEASE:=1 
    1515 
    1616PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    5454        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libhttpd.so* $(1)/usr/lib/ 
    5555        $(INSTALL_DIR) $(1)/etc 
    56         $(INSTALL_CONF) $(PKG_BUILD_DIR)/wifidog.conf $(1)/etc/ 
    57         $(INSTALL_CONF) $(PKG_BUILD_DIR)/wifidog-msg.html $(1)/etc/ 
     56        $(INSTALL_DATA) ./files/wifidog.conf $(1)/etc/ 
     57        $(INSTALL_DATA) $(PKG_BUILD_DIR)/wifidog-msg.html $(1)/etc/ 
    5858        $(INSTALL_DIR) $(1)/etc/init.d 
    5959        $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/wifidog 
  • trunk/wifidog/contrib/build-openwrt-kamikazeipk8.09up/wifidog/Makefile

    r1420 r1422  
    11# 
    22# Copyright (C) 2006,2008 OpenWrt.org 
    3 # Copyright (C) 2008 Technologies Coeus inc. 
    43# 
    54# This is free software, licensed under the GNU General Public License v2. 
    65# See /LICENSE for more information. 
    76# 
    8 # $Id$ 
    97 
    108include $(TOPDIR)/rules.mk 
    119 
    1210PKG_NAME:=wifidog 
    13 PKG_VERSION:=1.1.5 
    14 PKG_RELEASE:=2 
     11PKG_VERSION:=20090925 
     12PKG_RELEASE:=1 
    1513 
    1614PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    2624  SECTION:=net 
    2725  CATEGORY:=Network 
    28   DEPENDS:=+kmod-ipt-extra +iptables-mod-extra +kmod-ipt-ipopt +iptables-mod-ipopt +kmod-ipt-nat +iptables-mod-nat +libpthread +kmod-ipt-nat-extra +iptables-mod-nat-extra 
     26  DEPENDS:=+iptables-mod-extra +iptables-mod-ipopt +iptables-mod-nat +iptables-mod-nat-extra +libpthread 
    2927  TITLE:=A wireless captive portal solution 
    3028  URL:=http://www.wifidog.org 
     
    3230 
    3331define Package/wifidog/description 
    34         The Wifidog project is a complete and embeddable captive  
    35         portal solution for wireless community groups or individuals  
    36         who wish to open a free Hotspot while still preventing abuse  
     32        The Wifidog project is a complete and embeddable captive 
     33        portal solution for wireless community groups or individuals 
     34        who wish to open a free Hotspot while still preventing abuse 
    3735        of their Internet connection. 
    3836endef 
     
    4543        DESTDIR="$(PKG_INSTALL_DIR)" \ 
    4644        all install 
    47  
     45         
    4846define Package/wifidog/install 
    4947        $(INSTALL_DIR) $(1)/usr/bin 
     
    5452        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libhttpd.so* $(1)/usr/lib/ 
    5553        $(INSTALL_DIR) $(1)/etc 
    56         $(INSTALL_CONF) $(PKG_BUILD_DIR)/wifidog.conf $(1)/etc/ 
    57         $(INSTALL_CONF) $(PKG_BUILD_DIR)/wifidog-msg.html $(1)/etc/ 
     54        $(INSTALL_DATA) ./files/wifidog.conf $(1)/etc/ 
     55        $(INSTALL_DATA) $(PKG_BUILD_DIR)/wifidog-msg.html $(1)/etc/ 
    5856        $(INSTALL_DIR) $(1)/etc/init.d 
    5957        $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/wifidog 
  • trunk/wifidog/contrib/build-openwrt-whiterussianipk/wifidog/Makefile

    r1420 r1422  
    77 
    88PKG_NAME:=wifidog 
    9 PKG_VERSION:=1.1.5 
    10 PKG_RELEASE:=2 
    11 PKG_MD5SUM:=842b21e1b02d0a90677b289d794e0e21 
     9PKG_VERSION:=20090925 
     10PKG_RELEASE:=1 
     11PKG_MD5SUM:= 
     12 
    1213PKG_SOURCE_URL:= @SF/$(PKG_NAME) 
    1314PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    4950        install -m0755 -d $(IDIR_WIFIDOG)/etc/init.d 
    5051        install -m0755 ./files/$(PKG_NAME).init $(IDIR_WIFIDOG)/etc/init.d/S65wifidog 
    51         install -m0644 $(PKG_BUILD_DIR)/wifidog.conf $(IDIR_WIFIDOG)/etc/ 
     52        install -m0644 ./files/wifidog.conf $(IDIR_WIFIDOG)/etc/ 
    5253        install -m0644 $(PKG_BUILD_DIR)/wifidog-msg.html $(IDIR_WIFIDOG)/etc/ 
    5354        install -m0755 -d $(IDIR_WIFIDOG)/usr/bin 
  • trunk/wifidog/contrib/build-openwrt-whiterussianipk/wifidog/files/wifidog.conf

    r1189 r1422  
    1 # $Id: wifidog.conf 1162 2007-01-06 23:51:02Z benoitg $ 
     1# $Id: wifidog.conf 1375 2008-09-30 10:20:06Z wichert $ 
    22# WiFiDog Configuration file 
    33 
     
    77# 
    88# Set this to the node ID on the auth server 
    9 # this is used to give a customized login page to the clients and for 
    10 # monitoring/statistics purpose 
     9# This is used to give a customized login page to the clients and for 
     10# monitoring/statistics purpose. If you run multiple gateways on the same 
     11# machine each gateway needs to have a different gateway id. 
    1112# If none is supplied, the mac address of the GatewayInterface interface will be used, 
    1213# without the : separators 
     
    1819# Optional 
    1920# 
    20 # Set this to the external interface.  Typically vlan1 for OpenWrt, and eth0 or ppp0 otherwise, 
     21# Set this to the external interface (the one going out to the Inernet or your larger LAN).   
     22# Typically vlan1 for OpenWrt, and eth0 or ppp0 otherwise, 
    2123# Normally autodetected 
    2224 
     
    2729# Mandatory 
    2830# 
    29 # Set this to the internal interface.    Typically br0 for OpenWrt, and eth1 otherwise 
     31# Set this to the internal interface (typically your wifi interface).     
     32# Typically br0 for whiterussian, br-lan for kamikaze (by default the wifi interface is bridged with wired lan in openwrt) 
     33# and eth1, wlan0, ath0, etc. otherwise 
     34# You can get this interface with the ifconfig command and finding your wifi interface 
    3035 
    3136GatewayInterface br0 
     
    3540# Optional 
    3641# 
    37 # Set this to the internal IP address of the gateway 
     42# Set this to the internal IP address of the gateway.  Not normally required. 
    3843 
    3944# GatewayAddress 192.168.1.1 
     45 
     46# Parameter: HtmlMessageFile 
     47# Default: wifidog-msg.html 
     48# Optional 
     49# 
     50# This allows you to specify a custome HTML file which will be used for 
     51# system errors by the gateway. Any $title, $message and $node variables 
     52# used inside the file will be replaced. 
     53# 
     54# HtmlMessageFile /opt/wifidog/etc/wifidog-.html 
    4055 
    4156# Parameter: AuthServer 
     
    4762# WiFiDog-auth resides in and the port it listens on. 
    4863#AuthServer { 
    49 #       Hostname      (Mandatory; Default: NONE) 
    50 #       SSLAvailable  (Optional; Default: no; Possible values: yes, no) 
    51 #       SSLPort 443   (Optional; Default: 443) 
    52 #       HTTPPort 80   (Optional; Default: 80) 
    53 #       Path wifidog/ (Optional; Default: /wifidog/ Note:  The path must be both prefixed and suffixed by /.  Use a single / for server root.) 
     64#       Hostname                 (Mandatory; Default: NONE) 
     65#       SSLAvailable             (Optional; Default: no; Possible values: yes, no) 
     66#       SSLPort                  (Optional; Default: 443) 
     67#       HTTPPort                 (Optional; Default: 80) 
     68#       Path                     (Optional; Default: /wifidog/ Note:  The path must be both prefixed and suffixed by /.  Use a single / for server root.) 
     69#   LoginScriptPathFragment  (Optional; Default: login/? Note:  This is the script the user will be sent to for login.) 
     70#   PortalScriptPathFragment (Optional; Default: portal/? Note:  This is the script the user will be sent to after a successfull login.) 
     71#   MsgScriptPathFragment    (Optional; Default: gw_message.php? Note:  This is the script the user will be sent to upon error to read a readable message.) 
     72#   PingScriptPathFragment    (Optional; Default: ping/? Note:  This is the script the user will be sent to upon error to read a readable message.) 
     73#   AuthScriptPathFragment    (Optional; Default: auth/? Note:  This is the script the user will be sent to upon error to read a readable message.) 
    5474#} 
    5575 
     
    6686#} 
    6787 
    68 # Parameter: Portal 
    69 # Default: none 
    70 # Optional 
    71 # 
    72 # Set this to a URL for your portal, if you run without an auth server 
    73 # Portal http://www.ilesansfil.org/ 
    74  
    7588# Parameter: Daemon 
    7689# Default: 1 
     
    100113# How many sockets to listen to 
    101114# HTTPDMaxConn 10 
     115 
     116# Parameter: HTTPDRealm 
     117# Default: WiFiDog 
     118# Optional 
     119# 
     120# The name of the HTTP authentication realm. This only used when a user 
     121# tries to access a protected WiFiDog internal page. See HTTPUserName. 
     122# HTTPDRealm WiFiDog 
     123 
     124# Parameter: HTTPDUserName / HTTPDPassword 
     125# Default: unset 
     126# Optional 
     127# 
     128# The gateway exposes some information such as the status page through its web 
     129# interface. This information can be protected with a username and password, 
     130# which can be set through the HTTPDUserName and HTTPDPassword parameters. 
     131# HTTPDUserName admin 
     132# HTTPDPassword secret 
    102133 
    103134# Parameter: CheckInterval 
     
    144175# Used for rules to be applied to all other rulesets except locked. 
    145176FirewallRuleSet global { 
    146     # This is the default config for the Teliphone service. 
     177    ## To block SMTP out, as it's a tech support nightmare, and a legal liability 
     178    #FirewallRule block tcp port 25 
     179     
     180    ## Use the following if you don't want clients to be able to access machines on  
     181    ## the private LAN that gives internet access to wifidog.  Note that this is not 
     182    ## client isolation;  The laptops will still be able to talk to one another, as 
     183    ## well as to any machine bridged to the wifi of the router. 
     184    # FirewallRule block to 192.168.0.0/16 
     185    # FirewallRule block to 172.16.0.0/12 
     186    # FirewallRule block to 10.0.0.0/8 
     187     
     188    ## This is an example ruleset for the Teliphone service. 
    147189    #FirewallRule allow udp to 69.90.89.192/27 
    148190    #FirewallRule allow udp to 69.90.85.0/27 
    149191    #FirewallRule allow tcp port 80 to 69.90.89.205 
    150     # To block SMTP out, as it's a tech support nightmare, and a legal liability 
    151     #FirewallRule block tcp port 25 
    152192} 
    153193 
     
    180220# Rule Set: locked-users 
    181221# 
    182 # Used for users that have been locked out. 
     222# Not currently used 
    183223FirewallRuleSet locked-users { 
    184224    FirewallRule block to 0.0.0.0/0 
  • trunk/wifidog/wifidog.conf

    r1375 r1422  
    3030# 
    3131# Set this to the internal interface (typically your wifi interface).     
    32 # Typically br0 for OpenWrt, and eth1, wlan0, ath0, etc. otherwise 
     32# Typically br0 for whiterussian, br-lan for kamikaze (by default the wifi interface is bridged with wired lan in openwrt) 
     33# and eth1, wlan0, ath0, etc. otherwise 
     34# You can get this interface with the ifconfig command and finding your wifi interface 
    3335 
    3436GatewayInterface br0