Index: head/net/tn5250/Makefile =================================================================== --- head/net/tn5250/Makefile (revision 428316) +++ head/net/tn5250/Makefile (revision 428317) @@ -1,26 +1,25 @@ # Created by: Elias Mandouvalos # $FreeBSD$ PORTNAME= tn5250 PORTVERSION= 0.17.4 PORTREVISION= 1 CATEGORIES= net MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= 5250 Telnet protocol and Terminal -USES= libtool ncurses -USE_OPENSSL= yes +USES= libtool ncurses ssl GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-os-dir=no --with-ssl=${OPENSSLBASE} USE_LDCONFIG= yes INSTALL_TARGET= install-strip post-patch: @${REINPLACE_CMD} -e \ '/^SUBDIRS =/s|linux||g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e \ 's|: install-data-local|:|g' ${WRKSRC}/freebsd/Makefile.in .include Index: head/net/tn5250/files/patch-lib5250_sslstream.c =================================================================== --- head/net/tn5250/files/patch-lib5250_sslstream.c (nonexistent) +++ head/net/tn5250/files/patch-lib5250_sslstream.c (revision 428317) @@ -0,0 +1,24 @@ +--- lib5250/sslstream.c.orig 2008-11-21 08:12:21 UTC ++++ lib5250/sslstream.c +@@ -368,13 +368,19 @@ int tn5250_ssl_stream_init (Tn5250Stream + methstr[4] = '\0'; + } + ++#ifndef OPENSSL_NO_SSL2 + if (!strcmp(methstr, "ssl2")) { + meth = SSLv2_client_method(); + TN5250_LOG(("SSL Method = SSLv2_client_method()\n")); +- } else if (!strcmp(methstr, "ssl3")) { ++ } else ++#endif ++#ifndef OPENSSL_NO_SSL3 ++ if (!strcmp(methstr, "ssl3")) { + meth = SSLv3_client_method(); + TN5250_LOG(("SSL Method = SSLv3_client_method()\n")); +- } else { ++ } else ++#endif ++ { + meth = SSLv23_client_method(); + TN5250_LOG(("SSL Method = SSLv23_client_method()\n")); + } Property changes on: head/net/tn5250/files/patch-lib5250_sslstream.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property