Browse Source

Merge pull request #982 from jszakmeister/update-socat

Upgrade socat to 1.7.3.0.
lilik-openwrt-22.03
Ted Hess 10 years ago
parent
commit
e4d74553f4
2 changed files with 4 additions and 26 deletions
  1. +4
    -4
      net/socat/Makefile
  2. +0
    -22
      net/socat/patches/010-fix_cross_compiling_error.patch

+ 4
- 4
net/socat/Makefile View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=socat
PKG_VERSION:=1.7.2.4
PKG_RELEASE:=2
PKG_VERSION:=1.7.3.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.dest-unreach.org/socat/download
PKG_MD5SUM:=69b8155dd442a6f24e28ef5407d868eb
PKG_MD5SUM:=b607edb65bc6c57f4a43f06247504274
PKG_MAINTAINER:= Ted Hess <thess@kitschensync.net>
@ -27,7 +27,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/socat
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libpthread +SOCAT_SSL:libopenssl
DEPENDS:=+libpthread +librt +SOCAT_SSL:libopenssl
TITLE:=A multipurpose relay (SOcket CAT)
URL:=http://www.dest-unreach.org/socat/
endef


+ 0
- 22
net/socat/patches/010-fix_cross_compiling_error.patch View File

@ -1,22 +0,0 @@
--- a/configure.in
+++ b/configure.in
@@ -41,7 +41,7 @@ AC_CHECK_PROG(AR, ar, ar, gar)
# fail
AC_LANG_COMPILER_REQUIRE()
-if test "$CC" = "gcc"; then
+if test "$GCC" = yes; then
CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wno-parentheses"
ERRONWARN="-Werror -O0"
elif test "$CC" = "clang"; then
--- a/configure
+++ b/configure
@@ -3348,7 +3348,7 @@ fi
-if test "$CC" = "gcc"; then
+if test "$GCC" = yes; then
CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wno-parentheses"
ERRONWARN="-Werror -O0"
elif test "$CC" = "clang"; then

Loading…
Cancel
Save