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
:=https
://gitlab.com
/sstp-project
/sstp-client
/-/archive
/1.0.19/
16 PKG_HASH
:=e2652365f69f5037102e78f4e115ff764a390b27bb3fd513a8a50b10a61bb613
18 PKG_MAINTAINER
:=Federico Di Marco
<fededim@gmail.com
>
19 PKG_LICENSE
:=GPL-2.0
-or-later
20 PKG_LICENSE_FILES
:=COPYING
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/sstp-client
30 DEPENDS
=+libevent2
+libopenssl
+ppp
+resolveip
31 TITLE
:=SSTP-Client is a SSTP client for Linux.
32 URL
:=http
://sstp-client.sourceforge.net
/
35 define Package
/sstp-client
/description
36 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.
37 This software has a similar commandline and configuration to the standard linux pptp-client software.
40 - Connect to Microsoft RAS network using SSTP
41 - Use HTTPS with strong encryption over port
443
42 - Asynchronous HDLC frame support
43 - Integration with pon
/poff
47 define Package
/sstp-client
/conffiles
49 /etc
/ppp
/peers
/peer-sstp-example-nopty.txt
50 /etc
/ppp
/peers
/peer-sstp-example.txt
53 TARGET_CPPFLAGS
+= -I
$(PKG_BUILD_DIR
)/include
55 define Package
/sstp-client
/install
56 $(INSTALL_DIR
) $(1)/usr
/{bin
,lib
}
57 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/.libs
/sstpc
$(1)/usr
/bin
/
58 $(CP
) $(PKG_BUILD_DIR
)/src
/libsstp-api
/.libs
/*.so
* $(1)/usr
/lib
/
59 $(CP
) $(PKG_BUILD_DIR
)/src
/pppd-plugin
/.libs
/*.so
* $(1)/usr
/lib
/
61 $(INSTALL_DIR
) $(1)/etc
63 $(INSTALL_DIR
) $(1)/lib
/netifd
/proto
64 $(INSTALL_BIN
) .
/files
/lib
/netifd
/proto
/sstp.sh
$(1)/lib
/netifd
/proto
67 $(eval
$(call BuildPackage
,sstp-client
))