nssl-005, netcat-like program with transparent Secure Socket Layer support

from will maier
This commit is contained in:
jolan 2006-11-06 05:24:55 +00:00
parent b37196fd7b
commit 48d4f60107
6 changed files with 75 additions and 0 deletions

32
net/nssl/Makefile Normal file
View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/06 05:24:55 jolan Exp $
COMMENT= "netcat-like program with transparent Secure Socket Layer support"
DISTNAME= nssl.005
PKGNAME= nssl-005
CATEGORIES= net
HOMEPAGE= http://nssl.sourceforge.net/
MAINTAINER= Will Maier <willmaier@ml1.net>
# None
PERMIT_PACKAGE_CDROM= No
PERMIT_PACKAGE_FTP= No
PERMIT_DISTFILES_CDROM= No
PERMIT_DISTFILES_FTP= No
WANTLIB= crypto ssl c
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nssl/}
EXTRACT_SUFX= .tgz
NO_REGRESS= Yes
WRKDIST= ${WRKDIR}/nssl
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/nssl ${PREFIX}/bin/nssl
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nssl/
${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/nssl/
.include <bsd.port.mk>

4
net/nssl/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (nssl.005.tgz) = 0c29d530d419d9895b5474636b91051f
RMD160 (nssl.005.tgz) = 82f6ec7cefee4c0e0e00807a4dbb7a5f0ad255c6
SHA1 (nssl.005.tgz) = f764a407819eb1f1708ddede538aabf48cb72c76
SIZE (nssl.005.tgz) = 10986

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2006/11/06 05:24:55 jolan Exp $
--- Makefile.orig Tue Oct 23 12:00:41 2001
+++ Makefile Sun Nov 5 23:16:18 2006
@@ -1,13 +1,13 @@
TARGET = nssl
OBJS = nssl.o sslut.o sock.o utils.o
-CC = gcc
-CFLAGS = -Wall -O2
-INCS = -I /usr/local/ssl/include
+#CC = gcc
+#CFLAGS = -Wall -O2
+INCS = -I /usr/include/ssl
LIBS = -lssl -lcrypto
LIBS_STATIC = -lssl -lcrypto -ldl
-INCS_STATIC = -I /usr/local/ssl/include -L /usr/local/ssl/lib
+INCS_STATIC = -I /usr/include/ssl -L /usr/lib
all: ${OBJS}
cc -o ${TARGET} ${OBJS} ${LIBS}

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-utils_c,v 1.1.1.1 2006/11/06 05:24:55 jolan Exp $
--- utils.c.orig Tue Oct 23 12:00:41 2001
+++ utils.c Sun Nov 5 23:13:54 2006
@@ -102,7 +102,7 @@ struct fdpipe *x_popen (char *command)
setsid ();
- if ( execl (command, command, NULL) == -1 )
+ if ( execl (command, command, (void *)NULL) == -1 )
{
perror ("exec");
exit (1);

2
net/nssl/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
nssl is intended to be a netcat-like program with SSL support (both
clear and encrypted sessions can be used).

4
net/nssl/pkg/PLIST Normal file
View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/06 05:24:55 jolan Exp $
bin/nssl
share/doc/nssl/
share/doc/nssl/readme.txt