2 # Copyright (C) 2006 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:=http://www.hsc.fr/ressources/outils/ssltunnel/download
16 PKG_MD5SUM:=4039b50566a33a4077883ea974e476d5
20 include $(INCLUDE_DIR)/package.mk
22 define Package/ssltunnel
25 DEPENDS:=+ppp +libopenssl
26 TITLE:=A PPP over SSL VPN tool
27 URL:=http://www.hsc.fr/ressources/outils/ssltunnel/index.html
31 define Package/ssltunnel/description
32 SSLTunnel is a client/server program to create a PPP connection over a
34 Client and server are mutually authenticated using a X509 certificate,
35 PPP packets are then encrypted/decrypted realtime on each side.
36 It's possible to use ssltunnel to connect a machine to another, a
37 machine with a network or two networks sets.
40 define Build/Configure
41 $(call Build/Configure/Default, \
43 BUILD_CC="$(TARGET_CC)" \
48 define Package/ssltunnel/install
49 $(INSTALL_DIR) $(1)/usr/bin
50 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pppclient $(1)/usr/bin/
51 $(INSTALL_DIR) $(1)/usr/sbin
52 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/pppwho $(1)/usr/sbin/
53 $(INSTALL_DIR) $(1)/usr/lib
54 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/pppserver $(1)/usr/lib/
57 $(eval $(call BuildPackage,ssltunnel))