summaryrefslogtreecommitdiff
path: root/package/ssltunnel
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/ssltunnel
Initial import
Diffstat (limited to 'package/ssltunnel')
-rw-r--r--package/ssltunnel/Config.in11
-rw-r--r--package/ssltunnel/Makefile30
-rw-r--r--package/ssltunnel/ipkg/ssltunnel.control5
-rw-r--r--package/ssltunnel/patches/patch-client_ntlmauth_c11
4 files changed, 57 insertions, 0 deletions
diff --git a/package/ssltunnel/Config.in b/package/ssltunnel/Config.in
new file mode 100644
index 000000000..4c910c6a8
--- /dev/null
+++ b/package/ssltunnel/Config.in
@@ -0,0 +1,11 @@
+config ADK_PACKAGE_SSLTUNNEL
+ prompt "ssltunnel ........................ A PPP over SSL vpn tool"
+ tristate
+ default n
+ select ADK_PACKAGE_LIBOPENSSL
+ select ADK_PACKAGE_PPP
+ help
+ A PPP over SSL vpn tool
+
+ http://www.hsc.fr/ressources/outils/ssltunnel/index.html
+
diff --git a/package/ssltunnel/Makefile b/package/ssltunnel/Makefile
new file mode 100644
index 000000000..b475ec8b6
--- /dev/null
+++ b/package/ssltunnel/Makefile
@@ -0,0 +1,30 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= ssltunnel
+PKG_VERSION:= 1.16
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 4039b50566a33a4077883ea974e476d5
+MASTER_SITES:= http://www.hsc.fr/ressources/outils/ssltunnel/download/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,SSLTUNNEL,ssltunnel,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE:= gnu
+CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}"
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+XAKE_FLAGS+= CCOPT="${TARGET_CFLAGS}" INCLS="-I. -I${STAGING_DIR}/usr/include"
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_SSLTUNNEL}/usr/{bin,sbin}
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/pppclient ${IDIR_SSLTUNNEL}/usr/bin/
+ ${INSTALL_BIN} ${WRKINST}/usr/sbin/pppwho ${IDIR_SSLTUNNEL}/usr/sbin/
+ ${INSTALL_BIN} ${WRKINST}/usr/sbin/pppserver ${IDIR_SSLTUNNEL}/usr/sbin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ssltunnel/ipkg/ssltunnel.control b/package/ssltunnel/ipkg/ssltunnel.control
new file mode 100644
index 000000000..84fb8b68a
--- /dev/null
+++ b/package/ssltunnel/ipkg/ssltunnel.control
@@ -0,0 +1,5 @@
+Package: ssltunnel
+Priority: optional
+Section: net
+Description: A PPP over SSL vpn tool
+Depends: libopenssl, ppp
diff --git a/package/ssltunnel/patches/patch-client_ntlmauth_c b/package/ssltunnel/patches/patch-client_ntlmauth_c
new file mode 100644
index 000000000..8699ca947
--- /dev/null
+++ b/package/ssltunnel/patches/patch-client_ntlmauth_c
@@ -0,0 +1,11 @@
+$Id$
+--- ssltunnel-1.15.orig/client/ntlmauth.c 2004-03-10 13:35:21.000000000 +0000
++++ ssltunnel-1.15/client/ntlmauth.c 2007-08-13 21:25:22.000000000 +0000
+@@ -34,6 +34,7 @@
+ #include <syslog.h>
+ #include <iconv.h>
+ #include <ctype.h>
++#include <openssl/des.h>
+
+ #ifndef INADDR_NONE
+ #define INADDR_NONE 0xffffffff