Update to c3270 3.5ga11

Help from sthen@
This commit is contained in:
jeremy 2017-11-13 22:05:33 +00:00
parent 4e26894b34
commit 8e592c8723
4 changed files with 37 additions and 8 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.6 2016/04/09 20:14:48 naddy Exp $
# $OpenBSD: Makefile,v 1.7 2017/11/13 22:05:33 jeremy Exp $
COMMENT= curses-based 3270 terminal editor
DISTNAME= suite3270-3.3.11ga6-src
PKGNAME= c3270-3.3.11.6
DISTNAME= suite3270-3.5ga11-src
PKGNAME= c3270-3.5.11
EXTRACT_SUFX= .tgz
CATEGORIES= comms
@ -19,11 +19,25 @@ LIB_DEPENDS= converters/libiconv
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=x3270/}
WRKDIST= ${WRKDIR}/c3270-3.3
WRKDIST= ${WRKDIR}/suite3270-3.5
USE_GMAKE = Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-unix \
--disable-windows \
--disable-x3270 \
--enable-c3270 \
--disable-s3270 \
--disable-tcl3270 \
--disable-pr3287 \
--disable-lib \
--disable-wc3270 \
--disable-ws3270 \
--disable-wpr3287 \
--disable-windows-lib
post-install:
rm ${WRKINST}/etc/x3270/ibm_hosts
rmdir ${WRKINST}/etc/x3270

View File

@ -1,2 +1,2 @@
SHA256 (suite3270-3.3.11ga6-src.tgz) = Hu3intshIo+T6ifFei/xxZsl1AsldYrcDVCpYcTNn6k=
SIZE (suite3270-3.3.11ga6-src.tgz) = 6470645
SHA256 (suite3270-3.5ga11-src.tgz) = G+3KytCbHiUMKGgseTWxcw/YzvzF99Gzc1Qd7iy38uc=
SIZE (suite3270-3.5ga11-src.tgz) = 3413903

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-Common_telnet_c,v 1.1 2017/11/13 22:05:33 jeremy Exp $
Work around bad SSL library detection.
Index: Common/telnet.c
--- Common/telnet.c.orig
+++ Common/telnet.c
@@ -3688,7 +3688,7 @@ ssl_base_init(char *cl_hostname, bool *pending)
ssl_pending = pending;
}
-#if !defined(_WIN32) && OPENSSL_VERSION_NUMBER < 0x10100000L /*[*/
+#if !defined(_WIN32) && OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) /*[*/
SSL_load_error_strings();
SSL_library_init();
#else /*][*/

View File

@ -1,3 +1,2 @@
@comment $OpenBSD: PLIST,v 1.3 2011/03/14 23:26:48 jeremy Exp $
@comment $OpenBSD: PLIST,v 1.4 2017/11/13 22:05:33 jeremy Exp $
@bin bin/c3270
@bin bin/x3270if