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.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=${PKG_NAME}-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.hsc.fr
/ressources
/outils
/ssltunnel
/download
17 PKG_MD5SUM
:=4039b50566a33a4077883ea974e476d5
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/ssltunnel
24 DEPENDS
:=+ppp
+libopenssl
25 TITLE
:=A PPP over SSL VPN tool
26 URL
:=http
://www.hsc.fr
/ressources
/outils
/ssltunnel
/index.html
30 define Package
/ssltunnel
/description
31 SSLTunnel is a client
/server program to create a PPP connection over a
33 Client and server are mutually authenticated using a X509 certificate
,
34 PPP packets are then encrypted
/decrypted realtime on each side.
35 It
's possible to use ssltunnel to connect a machine to another, a
36 machine with a network or two networks sets.
39 define Build/Configure
40 $(call Build/Configure/Default, \
42 BUILD_CC="$(TARGET_CC)" \
48 $(MAKE) -C $(PKG_BUILD_DIR) \
49 DESTDIR="$(PKG_INSTALL_DIR)" \
53 define Package/ssltunnel/install
54 $(INSTALL_DIR) $(1)/usr/bin
55 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pppclient $(1)/usr/bin/
56 $(INSTALL_DIR) $(1)/usr/sbin
57 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/pppwho $(1)/usr/sbin/
58 $(INSTALL_DIR) $(1)/usr/lib
59 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/pppserver $(1)/usr/lib/
62 $(eval $(call BuildPackage,ssltunnel))