"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/openwrt/Makefile" between
n2n-2.8.tar.gz and n2n-3.0.tar.gz

About: n2n is a layer-two peer-to-peer virtual private network (VPN) which allows bypassing intermediate firewalls.

Makefile  (n2n-2.8):Makefile  (n2n-3.0)
# #
# Copyright (C) 2019 - ntop.org and contributors # Copyright (C) 2021 - ntop.org and contributors
# #
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=n2n PKG_NAME:=n2n
PKG_SOURCE_URL:=https://github.com/ntop/n2n.git PKG_SOURCE_URL:=https://github.com/ntop/n2n.git
PKG_SOURCE_VERSION:=fa695e9f2b5eae2523ef6c055a579006ac0bf146 PKG_SOURCE_VERSION:=6937640a2bc24832af7fc4ed1658d6aef192f03b
PKG_VERSION:=2.5.1_git$(PKG_SOURCE_VERSION) PKG_VERSION:=2.9.0_dev_git$(PKG_SOURCE_VERSION)
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_MAINTAINER:=Emanuele Faranda <faranda@ntop.org> PKG_MAINTAINER:=Emanuele Faranda <faranda@ntop.org>
PKG_LICENSE:=GPL3 PKG_LICENSE:=GPL3
PKG_BUILD_PARALLEL:=1 PKG_BUILD_PARALLEL:=1
skipping to change at line 32 skipping to change at line 32
PKG_FIXUP:=autoreconf PKG_FIXUP:=autoreconf
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/n2n/Default define Package/n2n/Default
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
TITLE:=N2N Peer-to-peer VPN TITLE:=N2N Peer-to-peer VPN
URL:=http://www.ntop.org/n2n URL:=http://www.ntop.org/n2n
SUBMENU:=VPN SUBMENU:=VPN
DEPENDS+=+libcap
endef endef
define Package/n2n-edge define Package/n2n-edge
$(call Package/n2n/Default) $(call Package/n2n/Default)
TITLE+= client (edge node) TITLE+= client (edge node)
DEPENDS+=+kmod-tun +resolveip +libopenssl DEPENDS+=+kmod-tun
endef endef
define Package/n2n-supernode define Package/n2n-supernode
$(call Package/n2n/Default) $(call Package/n2n/Default)
TITLE+= server (supernode) TITLE+= server (supernode)
endef endef
define Package/n2n-edge/description define Package/n2n-edge/description
The client node for the N2N infrastructure The client node for the N2N infrastructure
endef endef
skipping to change at line 59 skipping to change at line 60
define Package/n2n-supernode/description define Package/n2n-supernode/description
The supernode for the N2N infrastructure The supernode for the N2N infrastructure
endef endef
define Build/Configure define Build/Configure
( cd $(PKG_BUILD_DIR); ./autogen.sh ) ( cd $(PKG_BUILD_DIR); ./autogen.sh )
$(call Build/Configure/Default) $(call Build/Configure/Default)
endef endef
define Package/n2n-edge/conffiles define Package/n2n-edge/conffiles
/etc/config/n2n-edge.conf /etc/n2n/edge.conf
endef endef
define Package/n2n-edge/install define Package/n2n-edge/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/edge $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/edge $(1)/usr/bin/
$(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) $(PKG_BUILD_DIR)/packages/openwrt/etc/init.d/edge $(1)/etc /init.d/edge $(INSTALL_BIN) $(PKG_BUILD_DIR)/packages/openwrt/etc/init.d/edge $(1)/etc /init.d/edge
$(INSTALL_DIR) $(1)/etc/config $(INSTALL_DIR) $(1)/etc/n2n
$(INSTALL_CONF) $(PKG_BUILD_DIR)/packages/etc/n2n/edge.conf.sample $(1)/e $(INSTALL_CONF) $(PKG_BUILD_DIR)/packages/etc/n2n/edge.conf.sample $(1)/e
tc/config/n2n-edge.conf tc/n2n/edge.conf
endef endef
define Package/n2n-supernode/conffiles define Package/n2n-supernode/conffiles
/etc/config/n2n-supernode.conf /etc/n2n/supernode.conf
endef endef
define Package/n2n-supernode/install define Package/n2n-supernode/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/supernode $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/supernode $(1)/usr/bin/
$(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) $(PKG_BUILD_DIR)/packages/openwrt/etc/init.d/supernode $(1 )/etc/init.d/supernode $(INSTALL_BIN) $(PKG_BUILD_DIR)/packages/openwrt/etc/init.d/supernode $(1 )/etc/init.d/supernode
$(INSTALL_DIR) $(1)/etc/config $(INSTALL_DIR) $(1)/etc/n2n
$(INSTALL_CONF) $(PKG_BUILD_DIR)/packages/etc/n2n/supernode.conf.sample $ $(INSTALL_CONF) $(PKG_BUILD_DIR)/packages/etc/n2n/supernode.conf.sample $
(1)/etc/config/n2n-supernode.conf (1)/etc/n2n/supernode.conf
endef endef
$(eval $(call BuildPackage,n2n-edge)) $(eval $(call BuildPackage,n2n-edge))
$(eval $(call BuildPackage,n2n-supernode)) $(eval $(call BuildPackage,n2n-supernode))
 End of changes. 8 change blocks. 
12 lines changed or deleted 13 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)