Changeset 26728


Ignore:
Timestamp:
2011-04-19T21:14:02+02:00 (7 years ago)
Author:
jow
Message:

[PATCH] Update and FIX socat
socat was bugged for ages now. It does compile, so probably no one
noticed. While running through its configure script, the build process
complains about some missing variables and gives a hint, that the user
should supply them manually. This does ONLY happen in a cross compiling
environment, otherwise the configure script guesses them right. I don't
know the purpose of these variables exactly, but they seem to be OS
dependent and NOT hardware dependent. I tested this on various
architectures and they were all the same, as long as linux is involved.
So I think its safe to specify them in the Makefile.

The point why they're important, is simply that socat compiles, but
exits with some sort of error right after invocation, if they weren't
present at compile time. There are numerous tickets around concerning
this bug. Newer Versions of socat won't even compile if they're missing,
maybe thats why it's kinda outdated by now.

However, this little patch should fix it.

Signed-off-by: Hendrik Bartusch <bartusch@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/socat/Makefile

    r19705 r26728  
    99 
    1010PKG_NAME:=socat 
    11 PKG_VERSION:=1.6.0.1 
     11PKG_VERSION:=1.7.1.3 
    1212PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    1515PKG_SOURCE_URL:=http://www.dest-unreach.org/socat/download/ 
    16 PKG_MD5SUM:=6a0dd33cde2a18eb382433aca8f76ce2 
     16PKG_MD5SUM:=2081987fb0cb0290b8105574058cb329 
    1717 
    1818PKG_INSTALL:=1 
     
    4545                , \ 
    4646                sc_cv_termios_ispeed="no" \ 
     47                sc_cv_sys_crdly_shift=9 \ 
     48                sc_cv_sys_tabdly_shift=11 \ 
     49                sc_cv_sys_csize_shift=4 \ 
    4750        ) 
    4851endef 
Note: See TracChangeset for help on using the changeset viewer.