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
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/ssltunnel
23 DEPENDS
:=+ppp
+libopenssl
24 TITLE
:=A PPP over SSL VPN tool
25 URL
:=http
://www.hsc.fr
/ressources
/outils
/ssltunnel
/index.html
29 define Package
/ssltunnel
/description
30 SSLTunnel is a client
/server program to create a PPP connection over a
32 Client and server are mutually authenticated using a X509 certificate
,
33 PPP packets are then encrypted
/decrypted realtime on each side.
34 It
's possible to use ssltunnel to connect a machine to another, a
35 machine with a network or two networks sets.
38 define Build/Configure
39 $(call Build/Configure/Default, \
41 BUILD_CC="$(TARGET_CC)" \
47 $(MAKE) -C $(PKG_BUILD_DIR) \
48 DESTDIR="$(PKG_INSTALL_DIR)" \
52 define Package/ssltunnel/install
53 $(INSTALL_DIR) $(1)/usr/bin
54 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pppclient $(1)/usr/bin/
55 $(INSTALL_DIR) $(1)/usr/sbin
56 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/pppwho $(1)/usr/sbin/
57 $(INSTALL_DIR) $(1)/usr/lib
58 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/pppserver $(1)/usr/lib/
61 $(eval $(call BuildPackage,ssltunnel))