nssl-005, netcat-like program with transparent Secure Socket Layer support
from will maier
This commit is contained in:
parent
b37196fd7b
commit
48d4f60107
32
net/nssl/Makefile
Normal file
32
net/nssl/Makefile
Normal 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
4
net/nssl/distinfo
Normal 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
|
21
net/nssl/patches/patch-Makefile
Normal file
21
net/nssl/patches/patch-Makefile
Normal 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}
|
12
net/nssl/patches/patch-utils_c
Normal file
12
net/nssl/patches/patch-utils_c
Normal 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
2
net/nssl/pkg/DESCR
Normal 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
4
net/nssl/pkg/PLIST
Normal 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
|
Loading…
x
Reference in New Issue
Block a user