|
@ -8,17 +8,18 @@ |
|
|
include $(TOPDIR)/rules.mk |
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=sstp-client |
|
|
PKG_NAME:=sstp-client |
|
|
PKG_VERSION:=1.0.12 |
|
|
|
|
|
PKG_RELEASE:=3 |
|
|
|
|
|
|
|
|
PKG_VERSION:=1.0.13 |
|
|
|
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE_URL:=@SF/sstp-client/$(PKG_VERSION) |
|
|
PKG_SOURCE_URL:=@SF/sstp-client/$(PKG_VERSION) |
|
|
PKG_HASH:=487eb406579689803ce0397f6102b18641e4572ac7bc9b9e5f3027c84dcf67ff |
|
|
|
|
|
PKG_LICENSE=GPLv2 |
|
|
|
|
|
|
|
|
PKG_HASH:=961258fca0795d8ad60b047942cf7cb53d025d353fd1e4ba08c2b75799f5321b |
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
|
|
|
|
|
|
PKG_MAINTAINER:=Federico Di Marco <fededim@gmail.com> |
|
|
|
|
|
PKG_LICENSE:=GPL-2.0-or-later |
|
|
|
|
|
PKG_LICENSE_FILES:=COPYING |
|
|
|
|
|
|
|
|
TARGET_CPPFLAGS += -I$(PKG_BUILD_DIR)/include |
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
|
|
|
|
|
|
define Package/sstp-client |
|
|
define Package/sstp-client |
|
|
SECTION:=net |
|
|
SECTION:=net |
|
@ -27,7 +28,6 @@ define Package/sstp-client |
|
|
DEPENDS=+libevent2 +libopenssl +ppp +resolveip |
|
|
DEPENDS=+libevent2 +libopenssl +ppp +resolveip |
|
|
TITLE:=SSTP-Client is a SSTP client for Linux. |
|
|
TITLE:=SSTP-Client is a SSTP client for Linux. |
|
|
URL:=http://sstp-client.sourceforge.net/ |
|
|
URL:=http://sstp-client.sourceforge.net/ |
|
|
MAINTAINER:=Federico Di Marco <fededim@gmail.com> |
|
|
|
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/sstp-client/description |
|
|
define Package/sstp-client/description |
|
@ -48,14 +48,16 @@ define Package/sstp-client/conffiles |
|
|
/etc/ppp/peers/peer-sstp-example.txt |
|
|
/etc/ppp/peers/peer-sstp-example.txt |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
TARGET_CPPFLAGS += -I$(PKG_BUILD_DIR)/include |
|
|
|
|
|
|
|
|
define Package/sstp-client/install |
|
|
define Package/sstp-client/install |
|
|
$(INSTALL_DIR) $(1)/usr/{bin,lib} |
|
|
$(INSTALL_DIR) $(1)/usr/{bin,lib} |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/.libs/sstpc $(1)/usr/bin/ |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/.libs/sstpc $(1)/usr/bin/ |
|
|
$(CP) $(PKG_BUILD_DIR)/src/libsstp-api/.libs/*.so* $(1)/usr/lib/ |
|
|
$(CP) $(PKG_BUILD_DIR)/src/libsstp-api/.libs/*.so* $(1)/usr/lib/ |
|
|
$(CP) $(PKG_BUILD_DIR)/src/pppd-plugin/.libs/*.so* $(1)/usr/lib/ |
|
|
$(CP) $(PKG_BUILD_DIR)/src/pppd-plugin/.libs/*.so* $(1)/usr/lib/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc |
|
|
$(INSTALL_DIR) $(1)/etc |
|
|
$(CP) files/etc $(1) |
|
|
|
|
|
|
|
|
$(CP) files/etc $(1) |
|
|
$(INSTALL_DIR) $(1)/lib/netifd/proto |
|
|
$(INSTALL_DIR) $(1)/lib/netifd/proto |
|
|
$(INSTALL_BIN) ./files/lib/netifd/proto/sstp.sh $(1)/lib/netifd/proto |
|
|
$(INSTALL_BIN) ./files/lib/netifd/proto/sstp.sh $(1)/lib/netifd/proto |
|
|
endef |
|
|
endef |
|
|