All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] vtun: Add new recipe for vtun
@ 2014-02-11 17:51 Sam Nelson
  2014-03-05  3:46 ` Denys Dmytriyenko
  0 siblings, 1 reply; 3+ messages in thread
From: Sam Nelson @ 2014-02-11 17:51 UTC (permalink / raw)
  To: meta-arago

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

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

---
Changes from previous patch
* Updated LIC_FILES_CHECKSUM to use just the copyright lines
---
---
 .../recipes-connectivity/vtun/vtun_3.0.3.bb        |   23 ++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100755 meta-arago-extras/recipes-connectivity/vtun/vtun_3.0.3.bb

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 100755
index 0000000..bb4d69d
--- /dev/null
+++ b/meta-arago-extras/recipes-connectivity/vtun/vtun_3.0.3.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "Virtual Tunnels over TCP/IP networks with traffic shaping, compression and encryption."
+HOMEPAGE = "http://vtun.sourceforge.net/"
+SECTION = "console/network"
+PRIORITY = "optional"
+LICENSE = "GPLv2"
+DEPENDS = "zlib lzo openssl"
+PR = "r0"
+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[md5sum] = "f3becf2a0270910a841060c08d1db824"
+SRC_URI[sha256sum] = "69dcbe4f8c5ce7d91b4150a6309e536d03b61841169746ca5788413ac7edb9cb"
+
+inherit autotools
+
+do_configure() {
+	sed -i "s/\$BLOWFISH_HDR_DIR \/usr\/include\/ssl/\$BLOWFISH_HDR_DIR \/usr\/include\/ssl \$SSL_HDR_DIR/" 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}
+	sed '102d' Makefile > Makefile.new
+	mv Makefile.new Makefile
+}
+
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] vtun: Add new recipe for vtun
  2014-02-11 17:51 [PATCH v2] vtun: Add new recipe for vtun Sam Nelson
@ 2014-03-05  3:46 ` Denys Dmytriyenko
  0 siblings, 0 replies; 3+ messages in thread
From: Denys Dmytriyenko @ 2014-03-05  3:46 UTC (permalink / raw)
  To: Sam Nelson; +Cc: meta-arago

On Tue, Feb 11, 2014 at 12:51:57PM -0500, Sam Nelson wrote:
> - Virtual Tunnels over TCP/IP networks with
>    traffic shaping, compression and encryption

Looks mostly good, just couple comments.


> Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> 
> ---
> Changes from previous patch
> * Updated LIC_FILES_CHECKSUM to use just the copyright lines
> ---
> ---
>  .../recipes-connectivity/vtun/vtun_3.0.3.bb        |   23 ++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>  create mode 100755 meta-arago-extras/recipes-connectivity/vtun/vtun_3.0.3.bb
> 
> 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 100755
> index 0000000..bb4d69d
> --- /dev/null
> +++ b/meta-arago-extras/recipes-connectivity/vtun/vtun_3.0.3.bb
> @@ -0,0 +1,23 @@
> +DESCRIPTION = "Virtual Tunnels over TCP/IP networks with traffic shaping, compression and encryption."
> +HOMEPAGE = "http://vtun.sourceforge.net/"
> +SECTION = "console/network"
> +PRIORITY = "optional"

Drop PRIORITY please.


> +LICENSE = "GPLv2"
> +DEPENDS = "zlib lzo openssl"
> +PR = "r0"
> +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[md5sum] = "f3becf2a0270910a841060c08d1db824"
> +SRC_URI[sha256sum] = "69dcbe4f8c5ce7d91b4150a6309e536d03b61841169746ca5788413ac7edb9cb"
> +
> +inherit autotools
> +
> +do_configure() {
> +	sed -i "s/\$BLOWFISH_HDR_DIR \/usr\/include\/ssl/\$BLOWFISH_HDR_DIR \/usr\/include\/ssl \$SSL_HDR_DIR/" 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}
> +	sed '102d' Makefile > Makefile.new
> +	mv Makefile.new Makefile

What's the reason for the above 2 sed commands? A small comment before 
do_configure() explaining why you are doing that, would be great! Thanks.


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v2] vtun: Add new recipe for vtun
@ 2015-01-19 20:14 Sam Nelson
  0 siblings, 0 replies; 3+ messages in thread
From: Sam Nelson @ 2015-01-19 20:14 UTC (permalink / raw)
  To: meta-arago

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

Signed-off-by: Sam Nelson <sam.nelson@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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-19 20:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-11 17:51 [PATCH v2] vtun: Add new recipe for vtun Sam Nelson
2014-03-05  3:46 ` Denys Dmytriyenko
  -- strict thread matches above, loose matches on Subject: below --
2015-01-19 20:14 Sam Nelson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.