From 698e381c72efb44453998a0131b2f6c86d161c37 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 11 Jun 2007 12:36:15 +0000 Subject: [PATCH] * improved netcat to support SSL/TLS if openssl is available git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21309 10447126-35f2-4685-b0cf-6dd780d3921f --- network/netcat/netcat.conf | 12 +++++++++--- network/netcat/netcat.desc | 3 ++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/network/netcat/netcat.conf b/network/netcat/netcat.conf index 3c8729f0f..82e380b30 100644 --- a/network/netcat/netcat.conf +++ b/network/netcat/netcat.conf @@ -1,7 +1,8 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../netcat/netcat.conf +# Filename: package/.../netcat/netcat.conf +# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2004 Clifford Wolf # @@ -11,8 +12,13 @@ # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. -# --- T2-COPYRIGHT-NOTE-END --- +# --- SDE-COPYRIGHT-NOTE-END --- var_append makeinstopt " " "netcat_nc=''" +# SSL support +if pkginstalled openssl ; then + var_append patchfiles ' ' "`match_source_file -p ssl`" + echo_status "Netcat/SSL support enabled" +fi diff --git a/network/netcat/netcat.desc b/network/netcat/netcat.desc index 9184f2329..66af87b22 100644 --- a/network/netcat/netcat.desc +++ b/network/netcat/netcat.desc @@ -3,7 +3,7 @@ [COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. [COPY] [COPY] Filename: package/.../netcat/netcat.desc -[COPY] Copyright (C) 2006 The OpenSDE Project +[COPY] Copyright (C) 2006 - 2007 The OpenSDE Project [COPY] Copyright (C) 2004 - 2006 The T2 SDE Project [COPY] Copyright (C) 1998 - 2004 Clifford Wolf [COPY] @@ -37,3 +37,4 @@ [P] X -----5---9 207.300 [D] 3824745123 netcat-0.7.1.tar.bz2 http://dl.sourceforge.net/sourceforge/netcat/ +[D] 2118652643 patch_netcat_ssl-20040224.diff http://www.sguarin.com.ar/netcat-ssl/