2 # Copyright (C) 2006-2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/sstp-client
/$(PKG_VERSION
)
16 PKG_HASH
:=8484aa51fbfbe418a0ebad58ad20a8ee1c46ed71f800be18bcd23b42e6baad64
18 PKG_MAINTAINER
:=Federico Di Marco
<fededim@gmail.com
>
19 PKG_LICENSE
:=GPL-2.0
-or-later
20 PKG_LICENSE_FILES
:=COPYING
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/sstp-client
28 DEPENDS
=+libevent2
+libopenssl
+ppp
+resolveip
29 TITLE
:=SSTP-Client is a SSTP client for Linux.
30 URL
:=http
://sstp-client.sourceforge.net
/
33 define Package
/sstp-client
/description
34 The advantage of SSTP compared to other vpn protocols like PPTP and L2TP is that it cannot be easily blocked by firewalls since the traffic is transmitted over HTTPS on port
443.
35 This software has a similar commandline and configuration to the standard linux pptp-client software.
38 - Connect to Microsoft RAS network using SSTP
39 - Use HTTPS with strong encryption over port
443
40 - Asynchronous HDLC frame support
41 - Integration with pon
/poff
45 define Package
/sstp-client
/conffiles
47 /etc
/ppp
/peers
/peer-sstp-example-nopty.txt
48 /etc
/ppp
/peers
/peer-sstp-example.txt
51 TARGET_CPPFLAGS
+= -I
$(PKG_BUILD_DIR
)/include
53 define Package
/sstp-client
/install
54 $(INSTALL_DIR
) $(1)/usr
/{bin
,lib
}
55 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/.libs
/sstpc
$(1)/usr
/bin
/
56 $(CP
) $(PKG_BUILD_DIR
)/src
/libsstp-api
/.libs
/*.so
* $(1)/usr
/lib
/
57 $(CP
) $(PKG_BUILD_DIR
)/src
/pppd-plugin
/.libs
/*.so
* $(1)/usr
/lib
/
59 $(INSTALL_DIR
) $(1)/etc
61 $(INSTALL_DIR
) $(1)/lib
/netifd
/proto
62 $(INSTALL_BIN
) .
/files
/lib
/netifd
/proto
/sstp.sh
$(1)/lib
/netifd
/proto
65 $(eval
$(call BuildPackage
,sstp-client
))