You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
2.3 KiB

xl2tpd: bump to version 1.3.14 Changelog prepared by upstream project * osport.h: replace SUSv3-specific functions by POSIX variants [Fabrice Fontaine] * avp: Error Code field in Result Code AVP is optional [Pau Espin Pedrol] * network_thread: Early continue in loop to remove huge indented block [Pau Espin Pedrol] * network_thread: Simplify while loop using for loop [Pau Espin Pedrol] * network: connect_pppol2tp: early return to avoid huge indentation block [Pau Espin Pedrol] * xl2tpd: start_pppd: Fix truncation of last character [Pau Espin Pedrol] * handle_packet: Remove unneded else clause when handling payload [Pau Espin Pedrol] * control: Split control message handling into its own function [Pau Espin Pedrol] * handle_packet: Rearrange code flow to simplify it [Pau Espin Pedrol] * avp: Early failure if no handler to remove indent block [Pau Espin Pedrol] * xl2tpd: Mark internal symbols as static [Pau Espin Pedrol] * Fix indentation and whitespace in code block [Pau Espin Pedrol] * xl2tpd: Remove unused variable [Pau Espin Pedrol] * network: Add missing close(kernel_fd) on init network failure [Pau Espin Pedrol] * network: Add missing close(server_fd) on init network failure [Pau Espin Pedrol] * Add 'cap backoff' option, limiting exponential backoff retries will be delayed by exponentially longer time, unless that time is capped by configuration. [Bart Trojanowski] * Add program to show status icon in system tray. [Github user: username34] * Add info on building and installing xl2tpd [Samir Hussain] * Update formatting of README.md [Samir Hussain] * Rename README.xl2tpd to README.md [Samir Hussain] * Update Debian changelog [Samir Hussain] Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
5 years ago
xl2tpd: bump to version 1.3.14 Changelog prepared by upstream project * osport.h: replace SUSv3-specific functions by POSIX variants [Fabrice Fontaine] * avp: Error Code field in Result Code AVP is optional [Pau Espin Pedrol] * network_thread: Early continue in loop to remove huge indented block [Pau Espin Pedrol] * network_thread: Simplify while loop using for loop [Pau Espin Pedrol] * network: connect_pppol2tp: early return to avoid huge indentation block [Pau Espin Pedrol] * xl2tpd: start_pppd: Fix truncation of last character [Pau Espin Pedrol] * handle_packet: Remove unneded else clause when handling payload [Pau Espin Pedrol] * control: Split control message handling into its own function [Pau Espin Pedrol] * handle_packet: Rearrange code flow to simplify it [Pau Espin Pedrol] * avp: Early failure if no handler to remove indent block [Pau Espin Pedrol] * xl2tpd: Mark internal symbols as static [Pau Espin Pedrol] * Fix indentation and whitespace in code block [Pau Espin Pedrol] * xl2tpd: Remove unused variable [Pau Espin Pedrol] * network: Add missing close(kernel_fd) on init network failure [Pau Espin Pedrol] * network: Add missing close(server_fd) on init network failure [Pau Espin Pedrol] * Add 'cap backoff' option, limiting exponential backoff retries will be delayed by exponentially longer time, unless that time is capped by configuration. [Bart Trojanowski] * Add program to show status icon in system tray. [Github user: username34] * Add info on building and installing xl2tpd [Samir Hussain] * Update formatting of README.md [Samir Hussain] * Rename README.xl2tpd to README.md [Samir Hussain] * Update Debian changelog [Samir Hussain] Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
5 years ago
  1. #
  2. # Copyright (C) 2006-2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=xl2tpd
  9. PKG_VERSION:=1.3.14
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
  12. PKG_LICENSE:=GPL-2.0
  13. PKG_LICENSE_FILES:=LICENSE
  14. PKG_SOURCE_PROTO:=git
  15. PKG_SOURCE_URL:=https://github.com/xelerance/xl2tpd.git
  16. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  17. PKG_SOURCE_VERSION:=v$(PKG_VERSION)
  18. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  19. PKG_MIRROR_HASH:=4a35bb75bdd05964b1438771483a79a52eed2e30d0bc85e7481bf951d3bc0b96
  20. PKG_BUILD_DEPENDS:=libpcap
  21. PKG_INSTALL:=1
  22. include $(INCLUDE_DIR)/package.mk
  23. define Package/xl2tpd
  24. SECTION:=net
  25. CATEGORY:=Network
  26. TITLE:=An L2TP (Layer 2 Tunneling Protocol) daemon
  27. URL:=http://www.xelerance.com/software/xl2tpd/
  28. SUBMENU:=VPN
  29. DEPENDS:=+ppp-mod-pppol2tp +resolveip
  30. endef
  31. define Package/xl2tpd/description
  32. l2tpd is the open source implementation of the L2TP tunneling protocol (RFC2661).
  33. It does implement both LAC and LNS role in a L2TP networking architecture. The
  34. main goal of this protocol is to tunnel PPP frame trough an IP network.
  35. endef
  36. ifneq (0,0)
  37. # debugging options from Makefile of xl2tpd package
  38. EXTRA_CFLAGS += \
  39. -DDEBUG_ZLB \
  40. -DDEBUG_HELLO \
  41. -DDEBUG_CLOSE \
  42. -DDEBUG_FLOW \
  43. -DDEBUG_FILE \
  44. -DDEBUG_AAA \
  45. -DDEBUG_PAYLOAD \
  46. -DDEBUG_CONTROL \
  47. -DDEBUG_PPPD \
  48. -DDEBUG_HIDDEN \
  49. -DDEBUG_ENTROPY \
  50. -DDEBUG_CONTROL_XMIT \
  51. -DDEBUG_MAGIC \
  52. -DDEBUG_FLOW_MORE \
  53. -DDEBUG_AUTH
  54. endif
  55. define Package/xl2tpd/conffiles
  56. /etc/xl2tpd/xl2tpd.conf
  57. /etc/xl2tpd/xl2tp-secrets
  58. /etc/ppp/options.xl2tpd
  59. endef
  60. define Package/xl2tpd/install
  61. $(INSTALL_DIR) $(1)/usr/sbin
  62. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/sbin/xl2tpd $(1)/usr/sbin/
  63. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/sbin/xl2tpd-control $(1)/usr/sbin/
  64. $(INSTALL_DIR) $(1)/etc/init.d
  65. $(INSTALL_BIN) ./files/xl2tpd.init $(1)/etc/init.d/xl2tpd
  66. $(INSTALL_DIR) $(1)/etc/xl2tpd
  67. $(INSTALL_DATA) ./files/xl2tpd.conf $(1)/etc/xl2tpd/
  68. $(INSTALL_CONF) ./files/xl2tp-secrets $(1)/etc/xl2tpd/
  69. $(INSTALL_DIR) $(1)/etc/ppp
  70. $(INSTALL_DATA) ./files/options.xl2tpd $(1)/etc/ppp/
  71. $(INSTALL_DIR) $(1)/lib/netifd/proto
  72. $(INSTALL_BIN) ./files/l2tp.sh $(1)/lib/netifd/proto
  73. endef
  74. $(eval $(call BuildPackage,xl2tpd))