mirror of
				https://github.com/openwrt/packages.git
				synced 2025-11-04 15:09:45 +00:00 
			
		
		
		
	Changes since v0.12: 7fb6416 tests: fix segfault with no /etc/protocols (#286) 0dddc42 README: Update branch references in badge URLs 5eea3f4 github: Update branch names for actions b102523 scripts: get debug info for bug reports 334bb9c Make listening socket creation optional. (#297) a4e7b65 {etc,man}: improve check_route address notification flag documentation (#301) ffa276f Support ELL 0.68 l_netlink_message API. (#303) 269f10a gh: daily validation of the ELL compatibility (#308) 824ff8c Support listener events (#304) 5d9f33a Some clean-ups (#305) 05a08bf lib: switch to v4.0.1: only added items (#306) 3702487 scripts: debug: also print system info (#307) 5d8db15 ell: only include 'ell/ell.h' header (#309) 772afe9 AUTHORS: Update e-mail addresses. 0c36dba mptcpd 0.13 Drop backported patches which are part of the release. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
		
			
				
	
	
		
			67 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			67 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
include $(TOPDIR)/rules.mk
 | 
						|
 | 
						|
PKG_NAME:=mptcpd
 | 
						|
PKG_VERSION:=0.13
 | 
						|
PKG_RELEASE:=1
 | 
						|
 | 
						|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 | 
						|
PKG_SOURCE_URL:=https://github.com/multipath-tcp/mptcpd/releases/download/v$(PKG_VERSION)
 | 
						|
PKG_HASH:=7acb115c50c89aff5e0e5c53df4aef5c9846e79b32442f8700ff6d737396edab
 | 
						|
 | 
						|
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
 | 
						|
PKG_LICENSE:=BSD-3-clause
 | 
						|
PKG_LICENSE_FILES:=COPYING
 | 
						|
 | 
						|
PKG_BUILD_DEPENDS:=USE_MUSL:argp-standalone
 | 
						|
PKG_BUILD_PARALLEL:=1
 | 
						|
PKG_CHECK_FORMAT_SECURITY:=0
 | 
						|
PKG_FIXUP:=autoreconf
 | 
						|
PKG_INSTALL:=1
 | 
						|
 | 
						|
include $(INCLUDE_DIR)/package.mk
 | 
						|
 | 
						|
CONFIGURE_ARGS += --with-kernel=upstream
 | 
						|
 | 
						|
define Package/mptcpd/Default
 | 
						|
  SECTION:=net
 | 
						|
  CATEGORY:=Network
 | 
						|
  DEPENDS:=+ell
 | 
						|
  URL:=https://github.com/multipath-tcp/mptcpd
 | 
						|
endef
 | 
						|
 | 
						|
define Package/mptcpd
 | 
						|
  $(call Package/mptcpd/Default)
 | 
						|
  TITLE:=Multipath TCP Daemon
 | 
						|
endef
 | 
						|
 | 
						|
define Package/mptcpize
 | 
						|
  $(call Package/mptcpd/Default)
 | 
						|
  TITLE:=Multipath TCP wrapper
 | 
						|
endef
 | 
						|
 | 
						|
define Package/mptcpd/conffiles
 | 
						|
/etc/mptcpd/mptcpd.conf
 | 
						|
endef
 | 
						|
 | 
						|
define Package/mptcpd/install
 | 
						|
	$(INSTALL_DIR) $(1)/etc/mptcpd
 | 
						|
	$(CP) $(PKG_INSTALL_DIR)/etc/mptcpd/mptcpd.conf $(1)/etc/mptcpd
 | 
						|
	$(INSTALL_DIR) $(1)/usr/bin
 | 
						|
	$(CP) $(PKG_INSTALL_DIR)/usr/bin/mptcpd $(1)/usr/bin
 | 
						|
	$(INSTALL_DIR) $(1)/usr/lib/mptcpd
 | 
						|
	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libmptcpd.so* $(1)/usr/lib
 | 
						|
	$(CP) $(PKG_INSTALL_DIR)/usr/lib/mptcpd/*.so $(1)/usr/lib/mptcpd
 | 
						|
	$(INSTALL_DIR) $(1)/etc/init.d
 | 
						|
	$(INSTALL_BIN) ./files/mptcpd.init $(1)/etc/init.d/mptcpd
 | 
						|
endef
 | 
						|
 | 
						|
define Package/mptcpize/install
 | 
						|
	$(INSTALL_DIR) $(1)/usr/bin
 | 
						|
	$(CP) $(PKG_INSTALL_DIR)/usr/bin/mptcpize $(1)/usr/bin
 | 
						|
	$(INSTALL_DIR) $(1)/usr/lib/mptcpize
 | 
						|
	$(CP) $(PKG_INSTALL_DIR)/usr/lib/mptcpize/libmptcpwrap.so* $(1)/usr/lib/mptcpize
 | 
						|
endef
 | 
						|
 | 
						|
$(eval $(call BuildPackage,mptcpd))
 | 
						|
$(eval $(call BuildPackage,mptcpize))
 |