Loading Makefile 0 → 100644 +44 −0 Original line number Diff line number Diff line # # Copyright (C) 2013 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:=its_bridge PKG_REFV:=2 PKG_VERSION:=0.0.1 PKG_RELEASE:=1 include $(INCLUDE_DIR)/package.mk define Package/its_bridge SECTION:=utils CATEGORY:=Utilities TITLE:=ITS bridge clents and server DEPENDS:=+libpcap +libmicrohttpd endef define Build/Prepare mkdir -p $(PKG_BUILD_DIR) $(CP) ./src/{*.c,*.h,Makefile} $(PKG_BUILD_DIR) endef define Build/Configure endef #TARGET_CFLAGS += -ggdb3 MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS) -Wall -I include" define Package/its_bridge/install $(INSTALL_DIR) $(1)/usr/bin/ $(INSTALL_DIR) $(1)/etc/ $(CP) $(PKG_BUILD_DIR)/{its_bridge_client,its_bridge_server,its_web_server_config} $(1)/usr/bin $(CP) -r ./src/etc $(1)/ endef $(eval $(call BuildPackage,its_bridge)) README.md +7 −2 Original line number Diff line number Diff line Loading @@ -2,7 +2,8 @@ ## General Information These repositories contains ITS-BRidge toll developped for ETSI ITS Remote Testlab These repositories contains ITS-BRidge tool developped for ETSI ITS Remote Testlab. This tool include Makefiles to generate OpenWrt package. Contact information Email at cti_support at etsi dot org Loading @@ -20,6 +21,10 @@ The following STFs were or are currently involved in the evolutions of the ETSI ## Installation ### Deployment on OpenWrt device (e.g. Gl.iNet device) ### Deployment on Linux box device (e.g. NanoPI R2S) See script/install.sh for a complete installation: ``` cd scripts Loading scripts/its_bridge_client.service→etc/init.d/its_bridge_client.service +3 −2 Original line number Diff line number Diff line Loading @@ -4,8 +4,9 @@ After=network.target [Service] Type=simple ExecStart=/etc/init.d/its_bridge_client -c /home/etsi/frameworks/its_bridge/etc/client.conf ExecReload=/bin/kill -HUP $MAINPID ExecStart=/etc/init.d/its_bridge_client -c /home/etsi/frameworks/its_bridge/etc/its_bridge/client.conf ExecStop=/bin/kill -TERM $MAINPID ExecReload=/bin/kill -USR1 $MAINPID [Install] WantedBy=multi-user.target scripts/its_bridge_client.sh→etc/init.d/its_bridge_client.sh +0 −0 File moved. View file scripts/its_bridge_server.service→etc/init.d/its_bridge_server.service +3 −2 Original line number Diff line number Diff line Loading @@ -4,8 +4,9 @@ After=network.target [Service] Type=simple ExecStart=/etc/init.d/its_bridge_server -c /home/etsi/frameworks/its_bridge/etc/server.conf ExecReload=/bin/kill -HUP $MAINPID ExecStart=/etc/init.d/its_bridge_server -c /home/etsi/frameworks/its_bridge/etc/its_bridge/server.conf ExecStop=/bin/kill -TERM $MAINPID ExecReload=/bin/kill -USR1 $MAINPID [Install] WantedBy=multi-user.target Loading
Makefile 0 → 100644 +44 −0 Original line number Diff line number Diff line # # Copyright (C) 2013 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:=its_bridge PKG_REFV:=2 PKG_VERSION:=0.0.1 PKG_RELEASE:=1 include $(INCLUDE_DIR)/package.mk define Package/its_bridge SECTION:=utils CATEGORY:=Utilities TITLE:=ITS bridge clents and server DEPENDS:=+libpcap +libmicrohttpd endef define Build/Prepare mkdir -p $(PKG_BUILD_DIR) $(CP) ./src/{*.c,*.h,Makefile} $(PKG_BUILD_DIR) endef define Build/Configure endef #TARGET_CFLAGS += -ggdb3 MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS) -Wall -I include" define Package/its_bridge/install $(INSTALL_DIR) $(1)/usr/bin/ $(INSTALL_DIR) $(1)/etc/ $(CP) $(PKG_BUILD_DIR)/{its_bridge_client,its_bridge_server,its_web_server_config} $(1)/usr/bin $(CP) -r ./src/etc $(1)/ endef $(eval $(call BuildPackage,its_bridge))
README.md +7 −2 Original line number Diff line number Diff line Loading @@ -2,7 +2,8 @@ ## General Information These repositories contains ITS-BRidge toll developped for ETSI ITS Remote Testlab These repositories contains ITS-BRidge tool developped for ETSI ITS Remote Testlab. This tool include Makefiles to generate OpenWrt package. Contact information Email at cti_support at etsi dot org Loading @@ -20,6 +21,10 @@ The following STFs were or are currently involved in the evolutions of the ETSI ## Installation ### Deployment on OpenWrt device (e.g. Gl.iNet device) ### Deployment on Linux box device (e.g. NanoPI R2S) See script/install.sh for a complete installation: ``` cd scripts Loading
scripts/its_bridge_client.service→etc/init.d/its_bridge_client.service +3 −2 Original line number Diff line number Diff line Loading @@ -4,8 +4,9 @@ After=network.target [Service] Type=simple ExecStart=/etc/init.d/its_bridge_client -c /home/etsi/frameworks/its_bridge/etc/client.conf ExecReload=/bin/kill -HUP $MAINPID ExecStart=/etc/init.d/its_bridge_client -c /home/etsi/frameworks/its_bridge/etc/its_bridge/client.conf ExecStop=/bin/kill -TERM $MAINPID ExecReload=/bin/kill -USR1 $MAINPID [Install] WantedBy=multi-user.target
scripts/its_bridge_server.service→etc/init.d/its_bridge_server.service +3 −2 Original line number Diff line number Diff line Loading @@ -4,8 +4,9 @@ After=network.target [Service] Type=simple ExecStart=/etc/init.d/its_bridge_server -c /home/etsi/frameworks/its_bridge/etc/server.conf ExecReload=/bin/kill -HUP $MAINPID ExecStart=/etc/init.d/its_bridge_server -c /home/etsi/frameworks/its_bridge/etc/its_bridge/server.conf ExecStop=/bin/kill -TERM $MAINPID ExecReload=/bin/kill -USR1 $MAINPID [Install] WantedBy=multi-user.target