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_MD5SUM
:=4ddbc2fe33eb27d5a4f38d2241005970
19 include $(INCLUDE_DIR
)/package.mk
21 TARGET_CPPFLAGS
+= -I
$(PKG_BUILD_DIR
)/include
23 define Package
/sstp-client
27 DEPENDS
=+libevent2
+libopenssl
+ppp
28 TITLE
:=SSTP is Microsofts Remote Access Solution for PPP over SSL
29 URL
:=http
://sstp-client.sourceforge.net
/
30 MAINTAINER
:=Federico Di Marco
<fededim@gmail.com
>
33 define Package
/sstp-client
/description
34 It can be used instead of PPTP or L2TP
, and is only available with Windows Vista
/7 connecting to a Windows
2008 Server. The advantage of SSTP compared to PPTP and L2TP is that it cannot be easily blocked by firewalls since the traffic is transmitted over HTTPS on port
443.
35 Windows Vista
/7 uses SSTP whenever PPTP or L2TP cannot be established. For further information on SSTP
check out wikipedia
's article on Secure Socket Tunneling Protocol.
38 define Package/sstp-client/conffiles
40 /etc/ppp/peers/peer-sstp-example-nopty.txt
41 /etc/ppp/peers/peer-sstp-example.txt
44 define Package/sstp-client/install
45 $(INSTALL_DIR) $(1)/usr/{bin,lib}
46 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/.libs/sstpc $(1)/usr/bin/
47 $(CP) $(PKG_BUILD_DIR)/src/libsstp-api/.libs/*.so* $(1)/usr/lib/
48 $(CP) $(PKG_BUILD_DIR)/src/pppd-plugin/.libs/*.so* $(1)/usr/lib/
50 $(INSTALL_DIR) $(1)/etc
54 $(eval $(call BuildPackage,sstp-client))