diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-02 12:08:01 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-02 12:08:01 +0100 |
commit | bd12134a95a13984a94c7b89a5165abd7959c303 (patch) | |
tree | d5acda0cab00d3c0f608aee9b53a3b82447ee571 /package/socat/Makefile | |
parent | d61ad5d807e86890594f7c060853f014ac27562f (diff) |
make socat ssl flavour and update
Diffstat (limited to 'package/socat/Makefile')
-rw-r--r-- | package/socat/Makefile | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/package/socat/Makefile b/package/socat/Makefile index 9f9d6d701..4969a6d85 100644 --- a/package/socat/Makefile +++ b/package/socat/Makefile @@ -4,16 +4,20 @@ include ${TOPDIR}/rules.mk PKG_NAME:= socat -PKG_VERSION:= 1.7.2.2 -PKG_RELEASE:= 2 -PKG_MD5SUM:= fe70c821a104378a834c3ed1b5971e54 +PKG_VERSION:= 1.7.2.3 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 6943f7a5e1ffd553ad2a900bbf05b83a PKG_DESCR:= A multipurpose relay (SOcket CAT) PKG_SECTION:= net/misc -PKG_DEPENDS:= libpthread libopenssl -PKG_BUILDDEP:= openssl +PKG_DEPENDS:= libpthread PKG_URL:= http://www.dest-unreach.org/socat/ PKG_SITES:= http://www.dest-unreach.org/socat/download/ +PKG_FLAVOURS_SOCAT:= WITH_SSL +PKGFD_WITH_SSL:= enable SSL support +PKGFS_WITH_SSL:= libopenssl +PKGFB_WITH_SSL:= openssl + include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,SOCAT,socat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) @@ -25,6 +29,12 @@ CONFIGURE_ENV+= sc_cv_termios_ispeed="no" \ CONFIGURE_ARGS+= --disable-libwrap \ --disable-readline +ifneq (${ADK_PACKAGE_SOCAT_WITH_SSL},) +CONFIGURE_ARGS+= --enable-openssl +else +CONFIGURE_ARGS+= --disable-openssl +endif + socat-install: ${INSTALL_DIR} ${IDIR_SOCAT}/usr/bin ${INSTALL_BIN} ${WRKINST}/usr/bin/socat ${IDIR_SOCAT}/usr/bin/ |