2006-08-08 14:43:07 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=ssltunnel
|
2008-07-06 11:21:30 +00:00
|
|
|
PKG_VERSION:=1.16
|
2006-08-08 14:43:07 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=${PKG_NAME}-$(PKG_VERSION).tar.gz
|
2006-10-30 13:51:50 +00:00
|
|
|
PKG_SOURCE_URL:=http://www.hsc.fr/ressources/outils/ssltunnel/download
|
2008-07-06 11:21:30 +00:00
|
|
|
PKG_MD5SUM:=4039b50566a33a4077883ea974e476d5
|
2006-08-08 14:43:07 +00:00
|
|
|
|
2010-02-18 13:10:21 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
2006-08-08 14:43:07 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/ssltunnel
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
DEPENDS:=+ppp +libopenssl
|
2008-07-06 11:21:30 +00:00
|
|
|
TITLE:=A PPP over SSL VPN tool
|
2006-08-08 14:43:07 +00:00
|
|
|
URL:=http://www.hsc.fr/ressources/outils/ssltunnel/index.html
|
2007-12-28 13:31:04 +00:00
|
|
|
SUBMENU:=VPN
|
2006-08-08 14:43:07 +00:00
|
|
|
endef
|
|
|
|
|
2008-07-06 11:21:30 +00:00
|
|
|
define Package/ssltunnel/description
|
|
|
|
SSLTunnel is a client/server program to create a PPP connection over a
|
|
|
|
SSL/TLS session.
|
|
|
|
Client and server are mutually authenticated using a X509 certificate,
|
|
|
|
PPP packets are then encrypted/decrypted realtime on each side.
|
|
|
|
It's possible to use ssltunnel to connect a machine to another, a
|
|
|
|
machine with a network or two networks sets.
|
|
|
|
endef
|
|
|
|
|
2006-08-08 14:43:07 +00:00
|
|
|
define Build/Configure
|
2006-10-30 13:51:50 +00:00
|
|
|
$(call Build/Configure/Default, \
|
|
|
|
, \
|
|
|
|
BUILD_CC="$(TARGET_CC)" \
|
|
|
|
HOSTCC="$(HOSTCC)" \
|
|
|
|
)
|
2006-08-08 14:43:07 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/ssltunnel/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pppclient $(1)/usr/bin/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/pppwho $(1)/usr/sbin/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/pppserver $(1)/usr/lib/
|
2006-08-08 14:43:07 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,ssltunnel))
|