[pisa-src] r2731 - in trunk/openwrt: dot_config_asus dot_config_linksys package/pisa/Makefile

  • From: Christoph Viethen <christoph.viethen@xxxxxxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Mon, 29 Aug 2011 22:27:55 +0200

Author: viethen
Date: Mon Aug 29 22:27:53 2011
New Revision: 2731

Log:
make PiSA pairing functionality end up in a separate .ipk package for OpenWrt

Modified:
   trunk/openwrt/dot_config_asus
   trunk/openwrt/dot_config_linksys
   trunk/openwrt/package/pisa/Makefile

Modified: trunk/openwrt/dot_config_asus
==============================================================================
--- trunk/openwrt/dot_config_asus       Mon Aug 29 21:22:24 2011        (r2730)
+++ trunk/openwrt/dot_config_asus       Mon Aug 29 22:27:53 2011        (r2731)
@@ -1127,6 +1127,7 @@
 CONFIG_PACKAGE_iw=y
 CONFIG_PACKAGE_pisa-client-daemon=y
 CONFIG_PACKAGE_pisa-server-daemon=m
+CONFIG_PACKAGE_pisa-pairing=m
 CONFIG_PACKAGE_ppp=y
 # CONFIG_PACKAGE_ppp-mod-pppoa is not set
 CONFIG_PACKAGE_ppp-mod-pppoe=y

Modified: trunk/openwrt/dot_config_linksys
==============================================================================
--- trunk/openwrt/dot_config_linksys    Mon Aug 29 21:22:24 2011        (r2730)
+++ trunk/openwrt/dot_config_linksys    Mon Aug 29 22:27:53 2011        (r2731)
@@ -1134,6 +1134,7 @@
 CONFIG_PACKAGE_iw=y
 CONFIG_PACKAGE_pisa-client-daemon=y
 CONFIG_PACKAGE_pisa-server-daemon=m
+CONFIG_PACKAGE_pisa-pairing=m
 CONFIG_PACKAGE_ppp=y
 # CONFIG_PACKAGE_ppp-mod-pppoa is not set
 CONFIG_PACKAGE_ppp-mod-pppoe=y

Modified: trunk/openwrt/package/pisa/Makefile
==============================================================================
--- trunk/openwrt/package/pisa/Makefile Mon Aug 29 21:22:24 2011        (r2730)
+++ trunk/openwrt/package/pisa/Makefile Mon Aug 29 22:27:53 2011        (r2731)
@@ -97,6 +97,26 @@
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pisasdconf $(1)/usr/bin/
 endef
 
+define Package/pisa-pairing
+$(call Package/pisa/Default)
+    TITLE:=PiSA pairing support for Trust Points
+    DEPENDS:=pisa-server-daemon
+endef
+
+define Package/pisa-pairing/description
+ This package contains support for graphically pairing clients using the TP's 
webif interface.
+endef
+
+define Package/pisa-pairing/install
+       $(INSTALL_DIR) $(1)/usr/bin/
+       $(INSTALL_DIR) $(1)/www/cgi-bin/webif/
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/pairing/webif/mobileaccess.sh 
$(1)/www/cgi-bin/webif/
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/pairing/webif/mobileaccess-add.sh 
$(1)/www/cgi-bin/webif/
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/pairing/webif/mobileaccess-cand.sh 
$(1)/www/cgi-bin/webif/
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/pairing/uci/update-pisasd-conf 
$(1)/usr/bin/
+endef
+
 $(eval $(call BuildPackage,libpisa))
 $(eval $(call BuildPackage,pisa-client-daemon))
 $(eval $(call BuildPackage,pisa-server-daemon))
+$(eval $(call BuildPackage,pisa-pairing))
-- 
This is the pisa developer mailing list. Please also subscribe to the main pisa 
list at:
//www.freelists.org/list/pisa

Other related posts:

  • » [pisa-src] r2731 - in trunk/openwrt: dot_config_asus dot_config_linksys package/pisa/Makefile - Christoph Viethen