- Provides Virtual Tunnels over TCP/IP networks with
  traffic shaping, compression and encryption

Signed-off-by: Sam Nelson <sam.nel...@ti.com>

---
Changes from previous patch
- removed priority variable
- removed sed scripts and replaced with patches
---
---
 .../vtun/vtun/Add_search_path.patch                |   11 +++++++++++
 .../vtun/vtun/remove_strip.patch                   |    9 +++++++++
 .../recipes-connectivity/vtun/vtun_3.0.3.bb        |   20 ++++++++++++++++++++
 3 files changed, 40 insertions(+)
 create mode 100644 
meta-arago-extras/recipes-connectivity/vtun/vtun/Add_search_path.patch
 create mode 100644 
meta-arago-extras/recipes-connectivity/vtun/vtun/remove_strip.patch
 create mode 100644 meta-arago-extras/recipes-connectivity/vtun/vtun_3.0.3.bb

diff --git 
a/meta-arago-extras/recipes-connectivity/vtun/vtun/Add_search_path.patch 
b/meta-arago-extras/recipes-connectivity/vtun/vtun/Add_search_path.patch
new file mode 100644
index 0000000..ebf8331
--- /dev/null
+++ b/meta-arago-extras/recipes-connectivity/vtun/vtun/Add_search_path.patch
@@ -0,0 +1,11 @@
+--- vtun-3.0.3/configure.orig
++++ vtun-3.0.3/configure
+@@ -5680,7 +5680,7 @@
+     echo "$as_me:$LINENO: checking \"for blowfish.h\"" >&5
+ echo $ECHO_N "checking \"for blowfish.h\"... $ECHO_C" >&6
+     ac_hdr_found=no
+-    for p in $BLOWFISH_HDR_DIR /usr/include/ssl /usr/include/openssl 
/usr/include /usr/local/include /usr/local/ssl/include  /usr/include/crypto; do
++    for p in $BLOWFISH_HDR_DIR /usr/include/ssl $SSL_HDR_DIR 
/usr/include/openssl /usr/include /usr/local/include /usr/local/ssl/include  
/usr/include/crypto; do
+       if test -n "$p"; then
+         dir="$p"
+       else
diff --git 
a/meta-arago-extras/recipes-connectivity/vtun/vtun/remove_strip.patch 
b/meta-arago-extras/recipes-connectivity/vtun/vtun/remove_strip.patch
new file mode 100644
index 0000000..4e12393
--- /dev/null
+++ b/meta-arago-extras/recipes-connectivity/vtun/vtun/remove_strip.patch
@@ -0,0 +1,9 @@
+--- vtun-3.0.3/Makefile.orig.in
++++ vtun-3.0.3/Makefile.in
+@@ -99,6 +99,5 @@
+       $(INSTALL) -d -m 755 $(INSTALL_OWNER) $(DESTDIR)$(LOCK_DIR)
+       $(INSTALL) -d -m 755 $(INSTALL_OWNER) $(DESTDIR)$(SBIN_DIR)
+       $(INSTALL) -m 755 $(INSTALL_OWNER) vtund $(DESTDIR)$(SBIN_DIR)
+-      $(BIN_DIR)/strip $(DESTDIR)$(SBIN_DIR)/vtund
+
+ # DO NOT DELETE THIS LINE -- make depend depends on it.
diff --git a/meta-arago-extras/recipes-connectivity/vtun/vtun_3.0.3.bb 
b/meta-arago-extras/recipes-connectivity/vtun/vtun_3.0.3.bb
new file mode 100644
index 0000000..bf3ced1
--- /dev/null
+++ b/meta-arago-extras/recipes-connectivity/vtun/vtun_3.0.3.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "Virtual Tunnels over TCP/IP networks with traffic shaping, 
compression and encryption."
+HOMEPAGE = "http://vtun.sourceforge.net/";
+SECTION = "console/network"
+LICENSE = "GPLv2"
+DEPENDS = "zlib lzo openssl"
+LIC_FILES_CHKSUM = 
"file://vtun.h;startline=1;endline=17;md5=9ac9e7fefca60c72400239e0de40cde8"
+
+SRC_URI = 
"http://downloads.sourceforge.net/project/vtun/vtun/${PV}/vtun-${PV}.tar.gz";
+
+SRC_URI += "file://remove_strip.patch \
+           file://Add_search_path.patch"
+
+SRC_URI[md5sum] = "f3becf2a0270910a841060c08d1db824"
+SRC_URI[sha256sum] = 
"69dcbe4f8c5ce7d91b4150a6309e536d03b61841169746ca5788413ac7edb9cb"
+
+inherit autotools
+
+do_configure() {
+       oe_runconf --with-lzo-headers=${STAGING_INCDIR}/lzo 
--with-lzo-lib=${STAGING_LIBDIR} --with-ssl-headers=${STAGING_INCDIR}/openssl 
--with-ssl-lib=${STAGING_LIBDIR}
+}
-- 
1.7.9.5

_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to