* [Buildroot] [PATCH] socat: bump down to version 1.7.3.2
@ 2017-10-29 14:33 Baruch Siach
2017-10-29 17:15 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2017-10-29 14:33 UTC (permalink / raw)
To: buildroot
Upstream socat2 branch seems to be dead. Last commit is from January
2016 . Over the last few years socat2 received only fixes cherry picked
from the master 1.x branch. Most major general purpose distros only
package socat 1.x.
Drop the threads dependency; not needed for 1.x.
Mention the OpenSSL exception in the license. Add hashes for license
files.
Correct the autoconf comment. The tarball configure script is recent
enough. But since we patch configure.in and Makefile.in we still need to
autoconf.
All patches we carry for socat2 are also needed for socat 1.x.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
package/socat/Config.in | 5 -----
package/socat/socat.hash | 8 ++++++--
package/socat/socat.mk | 13 ++++++-------
3 files changed, 12 insertions(+), 14 deletions(-)
diff --git a/package/socat/Config.in b/package/socat/Config.in
index 09eb2b616d99..af456ab7aa6b 100644
--- a/package/socat/Config.in
+++ b/package/socat/Config.in
@@ -1,12 +1,7 @@
config BR2_PACKAGE_SOCAT
bool "socat"
- depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # fork()
help
Multipurpose socket relay program.
http://www.dest-unreach.org/socat/
-
-comment "socat needs a toolchain w/ threads"
- depends on BR2_USE_MMU
- depends on !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/socat/socat.hash b/package/socat/socat.hash
index d867d8ac10b1..77abcf29a996 100644
--- a/package/socat/socat.hash
+++ b/package/socat/socat.hash
@@ -1,4 +1,8 @@
# From http://www.dest-unreach.org/socat/download.md5sum
-md5 553b1593d0a192cb09cbdc687ef1baac socat-2.0.0-b9.tar.bz2
+md5 607a24c15bd2cb54e9328bfbbd3a1ae9 socat-1.7.3.2.tar.bz2
# Calculated based on the hash above
-sha256 49efb0a5c66b94b279014addc2851faf8ebbd1ec4b7e31c1de7e912d7b4983d2 socat-2.0.0-b9.tar.bz2
+sha256 e3561f808739383eb10fada1e5d4f26883f0311b34fd0af7837d0c95ef379251 socat-1.7.3.2.tar.bz2
+# Locally calculated
+sha256 4846488cea98a2905dc75b7aa5eea721568e372447efe06b85bd896ee8c54f10 README
+sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
+sha256 fd9e48ca316a5032069b9521f4f4b4d9b1c60365012bae1e62286bcd5bd2e761 COPYING.OpenSSL
diff --git a/package/socat/socat.mk b/package/socat/socat.mk
index 97f6c5b1450f..5fea067d82a1 100644
--- a/package/socat/socat.mk
+++ b/package/socat/socat.mk
@@ -4,11 +4,11 @@
#
################################################################################
-SOCAT_VERSION = 2.0.0-b9
+SOCAT_VERSION = 1.7.3.2
SOCAT_SOURCE = socat-$(SOCAT_VERSION).tar.bz2
SOCAT_SITE = http://www.dest-unreach.org/socat/download
-SOCAT_LICENSE = GPL-2.0
-SOCAT_LICENSE_FILES = COPYING
+SOCAT_LICENSE = GPL-2.0 with OpenSSL exception
+SOCAT_LICENSE_FILES = README COPYING COPYING.OpenSSL
SOCAT_CONF_ENV = sc_cv_termios_ispeed=no
@@ -24,10 +24,9 @@ SOCAT_CONF_ENV += \
sc_cv_sys_csize_shift=4
endif
-# We need to run autoconf to regenerate the configure script, in order
-# to ensure that the test checking linux/ext2_fs.h works
-# properly. However, the package only uses autoconf and not automake,
-# so we can't use the normal autoreconf logic.
+# We need to run autoconf to regenerate the configure script, since we patch
+# configure.in and Makefile.in. However, the package only uses autoconf and not
+# automake, so we can't use the normal autoreconf logic.
SOCAT_DEPENDENCIES = host-autoconf
--
2.14.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] socat: bump down to version 1.7.3.2
2017-10-29 14:33 [Buildroot] [PATCH] socat: bump down to version 1.7.3.2 Baruch Siach
@ 2017-10-29 17:15 ` Thomas Petazzoni
2017-10-30 5:04 ` Baruch Siach
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2017-10-29 17:15 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 29 Oct 2017 16:33:49 +0200, Baruch Siach wrote:
> Upstream socat2 branch seems to be dead. Last commit is from January
> 2016 . Over the last few years socat2 received only fixes cherry picked
> from the master 1.x branch. Most major general purpose distros only
> package socat 1.x.
>
> Drop the threads dependency; not needed for 1.x.
>
> Mention the OpenSSL exception in the license. Add hashes for license
> files.
>
> Correct the autoconf comment. The tarball configure script is recent
> enough. But since we patch configure.in and Makefile.in we still need to
> autoconf.
>
> All patches we carry for socat2 are also needed for socat 1.x.
>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> package/socat/Config.in | 5 -----
> package/socat/socat.hash | 8 ++++++--
> package/socat/socat.mk | 13 ++++++-------
> 3 files changed, 12 insertions(+), 14 deletions(-)
Applied to master, thanks. Are you using socat? If so, could you list
yourself in the DEVELOPERS file for this package?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] socat: bump down to version 1.7.3.2
2017-10-29 17:15 ` Thomas Petazzoni
@ 2017-10-30 5:04 ` Baruch Siach
0 siblings, 0 replies; 3+ messages in thread
From: Baruch Siach @ 2017-10-30 5:04 UTC (permalink / raw)
To: buildroot
Hi Thomas,
On Sun, Oct 29, 2017 at 06:15:44PM +0100, Thomas Petazzoni wrote:
> On Sun, 29 Oct 2017 16:33:49 +0200, Baruch Siach wrote:
> > Upstream socat2 branch seems to be dead. Last commit is from January
> > 2016 . Over the last few years socat2 received only fixes cherry picked
> > from the master 1.x branch. Most major general purpose distros only
> > package socat 1.x.
> >
> > Drop the threads dependency; not needed for 1.x.
> >
> > Mention the OpenSSL exception in the license. Add hashes for license
> > files.
> >
> > Correct the autoconf comment. The tarball configure script is recent
> > enough. But since we patch configure.in and Makefile.in we still need to
> > autoconf.
> >
> > All patches we carry for socat2 are also needed for socat 1.x.
> >
> > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> > ---
> > package/socat/Config.in | 5 -----
> > package/socat/socat.hash | 8 ++++++--
> > package/socat/socat.mk | 13 ++++++-------
> > 3 files changed, 12 insertions(+), 14 deletions(-)
>
> Applied to master, thanks. Are you using socat? If so, could you list
> yourself in the DEVELOPERS file for this package?
I only used Buildroot to generate a static socat binary. This is quite
convenient which you deal with rootfs that you can't build.
I generally monitor the autobuilder for packages I touch. But I don't mind
being listed in DEVELOPERS as well. I'll send a patch.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-10-30 5:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-29 14:33 [Buildroot] [PATCH] socat: bump down to version 1.7.3.2 Baruch Siach
2017-10-29 17:15 ` Thomas Petazzoni
2017-10-30 5:04 ` Baruch Siach
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox