diff options
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/sslsniffer/Makefile | 29 | ||||
-rw-r--r-- | security/sslsniffer/distinfo | 1 | ||||
-rw-r--r-- | security/sslsniffer/files/patch-Makefile | 35 | ||||
-rw-r--r-- | security/sslsniffer/pkg-descr | 6 | ||||
-rw-r--r-- | security/sslsniffer/pkg-plist | 3 |
6 files changed, 75 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index c243b7a427a7..a021f6360f3e 100644 --- a/security/Makefile +++ b/security/Makefile @@ -323,6 +323,7 @@ SUBDIR += ssh-multiadd SUBDIR += ssh2 SUBDIR += sslproxy + SUBDIR += sslsniffer SUBDIR += sslwrap SUBDIR += sst SUBDIR += stegdetect diff --git a/security/sslsniffer/Makefile b/security/sslsniffer/Makefile new file mode 100644 index 000000000000..a48aa7ebc55c --- /dev/null +++ b/security/sslsniffer/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: sslsniffer +# Date created: Nov 18, 2002 +# Whom: Jim Geovedi <jim@corebsd.or.id> +# +# $FreeBSD$ +# + +PORTNAME= sslsniffer +PORTVERSION= 1.21 +CATEGORIES= security net +MASTER_SITES= http://crypto.stanford.edu/~eujin/sslsniffer/ + +MAINTAINER= jim@corebsd.or.id +COMMENT= SSLv3/TLS and SSLv2 sniffer + +USE_OPENSSL= Yes +MAKE_FLAGS= CC='${CC}' +WRKSRC= ${WRKDIR}/${PORTNAME} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/sslsniffer ${PREFIX}/bin + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/security/sslsniffer/distinfo b/security/sslsniffer/distinfo new file mode 100644 index 000000000000..92dd6d31cabf --- /dev/null +++ b/security/sslsniffer/distinfo @@ -0,0 +1 @@ +MD5 (sslsniffer-1.21.tar.gz) = 8a3b8e72c393d1fffbe1060e834ebfe5 diff --git a/security/sslsniffer/files/patch-Makefile b/security/sslsniffer/files/patch-Makefile new file mode 100644 index 000000000000..3c54276e9ff7 --- /dev/null +++ b/security/sslsniffer/files/patch-Makefile @@ -0,0 +1,35 @@ +--- Makefile.orig Mon Nov 18 18:52:28 2002 ++++ Makefile Mon Nov 18 18:55:30 2002 +@@ -1,26 +1,24 @@ +-CC= gcc + PFLAGS= -cache-dir=/tmp/${USER} + PURIFY= purify ${PFLAGS} +-INCS= -I/usr/local/ssl/include +-LIBS= -L/usr/local/ssl/lib -L. -lnsl -lssl -lcrypto -lutl ++INCS= -I${OPENSSLINC} ++LIBS= -L${OPENSSLLIB} -L. -lssl -lcrypto -lutl + SRCS= sslsniffer.c + OBJS= ${SRCS:.c=.o} + BINS= sslsniffer + UTL_LIB= libutl.a + UTL_SRCS= general_utilities.c net_utilities.c + AR= ar +-ARFLAGS= rs ++ARFLAGS= r + BINS.PURIFY= sslpure + +-CCFLAGS= -g -Wall -O3 -pedantic ${INCS} + + all: $(UTL_LIB) ${BINS} + + %.o: %.c +- ${CC} ${CCFLAGS} -c $< ++ ${CC} ${CFLAGS} ${INCS} -c $< + + ${BINS}: ${OBJS} +- ${CC} ${CCFLAGS} -o $@ ${OBJS} ${LIBS} ++ ${CC} ${CFLAGS} ${INCS} -o $@ ${OBJS} ${LIBS} + + $(UTL_LIB): general_utilities.o net_utilities.o + ${AR} ${ARFLAGS} $@ general_utilities.o net_utilities.o + diff --git a/security/sslsniffer/pkg-descr b/security/sslsniffer/pkg-descr new file mode 100644 index 000000000000..a4a93a9a5f69 --- /dev/null +++ b/security/sslsniffer/pkg-descr @@ -0,0 +1,6 @@ +A SSLv3/TLS and SSLv2 proxy server that sniffs SSL/TLS packets and prints +out the contents of packets in stdout. It can also serve as a (not very +efficient) proxy server. Note that this tool does not decrypt or even +attempt to decrypt the traffic that is routed through it. + +WWW: http://crypto.stanford.edu/~eujin/sslsniffer/ diff --git a/security/sslsniffer/pkg-plist b/security/sslsniffer/pkg-plist new file mode 100644 index 000000000000..d2af084657fb --- /dev/null +++ b/security/sslsniffer/pkg-plist @@ -0,0 +1,3 @@ +bin/sslsniffer +%%PORTDOCS%%share/doc/sslsniffer/README +%%PORTDOCS%%@dirrm share/doc/sslsniffer |