unbound: moved to github
[packages.git] / net / ssltunnel / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=ssltunnel
11 PKG_VERSION:=1.16
12 PKG_RELEASE:=1
13
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
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/ssltunnel
23   SECTION:=net
24   CATEGORY:=Network
25   DEPENDS:=+ppp +libopenssl
26   TITLE:=A PPP over SSL VPN tool
27   URL:=http://www.hsc.fr/ressources/outils/ssltunnel/index.html
28   SUBMENU:=VPN
29 endef
30
31 define Package/ssltunnel/description
32         SSLTunnel is a client/server program to create a PPP connection over a
33         SSL/TLS session.
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.
38 endef
39
40 define Build/Configure
41         $(call Build/Configure/Default, \
42                 , \
43                 BUILD_CC="$(TARGET_CC)" \
44                 HOSTCC="$(HOSTCC)" \
45         )
46 endef
47
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/
55 endef
56
57 $(eval $(call BuildPackage,ssltunnel))