Skip to contentSkip to conversation

stunnel: Update to Version 5.07

PATCH In review Sven Ebenfeld 2 participants 2 messages Dec 3, 2014 – Dec 16, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 stunnel: Update to Version 5.07

---
 meta-networking/recipes-support/stunnel/stunnel_4.56.bb | 17 -----------------
 meta-networking/recipes-support/stunnel/stunnel_5.07.bb | 15 +++++++++++++++
 2 files changed, 15 insertions(+), 17 deletions(-)
 delete mode 100644 meta-networking/recipes-support/stunnel/stunnel_4.56.bb
 create mode 100644 meta-networking/recipes-support/stunnel/stunnel_5.07.bb
meta-networking/recipes-support/stunnel/stunnel_4.56.bb deleted +0 -17
deleted file mode 100644
index 74f2234..0000000
@@ -1,17 +0,0 @@
-SUMMARY = "Program for providing universal TLS/SSL tunneling service"
-DESCRIPTION = "SSL encryption wrapper between remote client and local (inetd-startable) or remote server."
-SECTION = "net"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=f41ebed8571077706fee0b860c4d6666"
-DEPENDS = "openssl zlib tcp-wrappers"
-
-RDEPENDS_${PN} += "perl"
-
-SRC_URI = "https://www.stunnel.org/downloads/archive/4.x/${BP}.tar.gz"
-
-SRC_URI[md5sum] = "ac4c4a30bd7a55b6687cbd62d864054c"
-SRC_URI[sha256sum] = "9cae2cfbe26d87443398ce50d7d5db54e5ea363889d5d2ec8d2778a01c871293"
-
-inherit autotools
-
-EXTRA_OECONF += "--with-ssl='${STAGING_EXECPREFIXDIR}' --disable-fips"
meta-networking/recipes-support/stunnel/stunnel_5.07.bb new file +15 -0
new file mode 100644
index 0000000..70420bf
@@ -0,0 +1,15 @@
+SUMMARY = "SSL encryption wrapper between remote client and local (inetd-startable) or remote server."
+SECTION = "net"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=45e8e7befe9a0f7e0543b78dfeebde20"
+
+DEPENDS = "openssl zlib tcp-wrappers"
+SRC_URI = "https://www.stunnel.org/downloads/${BP}.tar.gz"
+
+SRC_URI[md5sum] = "c10edd84ecbc676a5a48c7e34ab3d1c5"
+SRC_URI[sha256sum] = "505c6c63c4a20fc0cce8c35ef1ab7626c7b01071e3fca4ac6ea417afe8065309"
+
+
+inherit autotools
+
+EXTRA_OECONF += "--with-ssl='${STAGING_INCDIR}' --disable-fips"
Signature · 1 line
1.8.1.rc3
#1 lore raw

Hi Sven,

Sorry about the slow response on this, I was completely offline last week.

Quoted 37 lines · [[oe] [meta-networking][PATCH v2] stunnel: Update to Version 5.07] On 14.12.03…
---
 meta-networking/recipes-support/stunnel/stunnel_4.56.bb | 17 -----------------
 meta-networking/recipes-support/stunnel/stunnel_5.07.bb | 15 +++++++++++++++
 2 files changed, 15 insertions(+), 17 deletions(-)
 delete mode 100644 meta-networking/recipes-support/stunnel/stunnel_4.56.bb
 create mode 100644 meta-networking/recipes-support/stunnel/stunnel_5.07.bb
meta-networking/recipes-support/stunnel/stunnel_4.56.bb deleted +0 -17
deleted file mode 100644
index 74f2234..0000000
@@ -1,17 +0,0 @@
-SUMMARY = "Program for providing universal TLS/SSL tunneling service"
-DESCRIPTION = "SSL encryption wrapper between remote client and local (inetd-startable) or remote server."
-SECTION = "net"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=f41ebed8571077706fee0b860c4d6666"
-DEPENDS = "openssl zlib tcp-wrappers"
-
-RDEPENDS_${PN} += "perl"
-
-SRC_URI = "https://www.stunnel.org/downloads/archive/4.x/${BP}.tar.gz"
-
-SRC_URI[md5sum] = "ac4c4a30bd7a55b6687cbd62d864054c"
-SRC_URI[sha256sum] = "9cae2cfbe26d87443398ce50d7d5db54e5ea363889d5d2ec8d2778a01c871293"
-
-inherit autotools
-
-EXTRA_OECONF += "--with-ssl='${STAGING_EXECPREFIXDIR}' --disable-fips"
meta-networking/recipes-support/stunnel/stunnel_5.07.bb new file +0 -0
new file mode 100644
index 0000000..70420bf

meta-networking/recipes-support/stunnel/stunnel_5.07.bb line 1

Quoted 1 line
meta-networking/recipes-support/stunnel/stunnel_5.07.bb new file +1 -0
@@ -0,0 +1,15 @@
+SUMMARY = "SSL encryption wrapper between remote client and local (inetd-startable) or remote server."

I don't mind this since it's quite short, but any particular reason for dropping DESCRIPTION and turning the old one into SUMMARY?

meta-networking/recipes-support/stunnel/stunnel_5.07.bb line 6

Quoted 5 lines
meta-networking/recipes-support/stunnel/stunnel_5.07.bb new file +5 -0
+SECTION = "net"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=45e8e7befe9a0f7e0543b78dfeebde20"
+
+DEPENDS = "openssl zlib tcp-wrappers"

Do we no longer need the RDEPENDS on perl? It looks like the issue Robert identified when he introduced it is still present:

% head ./tmp/work/core2-64-poky-linux/stunnel/5.07-r0/build/src/stunnel3 #!/usr/bin/perl
#

# stunnel3      Perl wrapper to use stunnel 3.x syntax in stunnel >=4.05
# Copyright (C) 2004-2012 Michal Trojnara <[email protected]>
# Version:      2.03
# Date:         2011.10.22

meta-networking/recipes-support/stunnel/stunnel_5.07.bb line 7

Quoted 1 line
meta-networking/recipes-support/stunnel/stunnel_5.07.bb new file +1 -0
+SRC_URI = "https://www.stunnel.org/downloads/${BP}.tar.gz"

It's better to keep the older SRC_URI format, "https://www.stunnel.org/downloads/archive/5.x/${BP}.tar.gz", in this case, as that's likely to survive. Currently 5.07 has been replaced with 5.08 due to a new CVE, so the download link is broken.

Quoted 8 lines
meta-networking/recipes-support/stunnel/stunnel_5.07.bb new file +8 -0
+
+SRC_URI[md5sum] = "c10edd84ecbc676a5a48c7e34ab3d1c5"
+SRC_URI[sha256sum] = "505c6c63c4a20fc0cce8c35ef1ab7626c7b01071e3fca4ac6ea417afe8065309"
+
+
+inherit autotools
+
+EXTRA_OECONF += "--with-ssl='${STAGING_INCDIR}' --disable-fips"
Signature · 2 lines
-Joe MacDonald.
:wq