diff options
author | Steve Wills <swills@FreeBSD.org> | 2014-10-18 18:04:22 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2014-10-18 18:04:22 +0000 |
commit | 6d983268f061dedc088054b95ac0a9ef3ea3274a (patch) | |
tree | d4c7f206f60b49a0a1e1f5d95742298dda127654 | |
parent | www/rubygem-turnbolinks: update to 2.4.0 (diff) |
security/sslsplit: add port
Notes
Notes:
svn path=/head/; revision=371149
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/sslsplit/Makefile | 19 | ||||
-rw-r--r-- | security/sslsplit/distinfo | 2 | ||||
-rw-r--r-- | security/sslsplit/files/patch-GNUMakefile | 31 | ||||
-rw-r--r-- | security/sslsplit/pkg-descr | 8 |
5 files changed, 61 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 62249ffc3626..646abedd06eb 100644 --- a/security/Makefile +++ b/security/Makefile @@ -956,6 +956,7 @@ SUBDIR += ssl-admin SUBDIR += sslscan SUBDIR += sslsniffer + SUBDIR += sslsplit SUBDIR += sslwrap SUBDIR += sssd SUBDIR += ssss diff --git a/security/sslsplit/Makefile b/security/sslsplit/Makefile new file mode 100644 index 000000000000..1b8769bfe64f --- /dev/null +++ b/security/sslsplit/Makefile @@ -0,0 +1,19 @@ +# Created by: Steve Wills <swills@freebsd.org> +# $FreeBSD$ + +PORTNAME= sslsplit +PORTVERSION= 0.4.8 +CATEGORIES= security +MASTER_SITES= http://mirror.roe.ch/rel/sslsplit/ + +MAINTAINER= swills@freebsd.org +COMMENT= Transparent and scalable SSL/TLS interception + +LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2 + +USES= gmake pkgconfig tar:bzip2 +MAKEFILE= GNUmakefile +MAKE_ENV= DESTDIR=${STAGEDIR} MANDIR=man +PLIST_FILES= bin/sslsplit man/man1/sslsplit.1.gz + +.include <bsd.port.mk> diff --git a/security/sslsplit/distinfo b/security/sslsplit/distinfo new file mode 100644 index 000000000000..fc51f4bba848 --- /dev/null +++ b/security/sslsplit/distinfo @@ -0,0 +1,2 @@ +SHA256 (sslsplit-0.4.8.tar.bz2) = 2c181413b1ac98c2e968838cf2aff201b6ff5bba656c22f9d1c756626cd5aa16 +SIZE (sslsplit-0.4.8.tar.bz2) = 117734 diff --git a/security/sslsplit/files/patch-GNUMakefile b/security/sslsplit/files/patch-GNUMakefile new file mode 100644 index 000000000000..8485680cbbe3 --- /dev/null +++ b/security/sslsplit/files/patch-GNUMakefile @@ -0,0 +1,31 @@ +--- GNUmakefile.orig 2014-01-15 18:07:07.000000000 +0000 ++++ GNUmakefile 2014-10-18 17:23:49.482421054 +0000 +@@ -96,6 +96,7 @@ + ### Variables you might need to override + + PREFIX?= /usr/local ++MANDIR?= share/man + + OPENSSL?= openssl + PKGCONFIG?= pkg-config +@@ -325,14 +326,14 @@ + $(RM) -rf *.dSYM + + install: $(TARGET) +- test -d $(PREFIX)/bin || $(MKDIR) -p $(PREFIX)/bin +- test -d $(PREFIX)/share/man/man1 || \ +- $(MKDIR) -p $(PREFIX)/share/man/man1 +- $(INSTALL) -o 0 -g 0 -m 0755 $(TARGET) $(PREFIX)/bin/ +- $(INSTALL) -o 0 -g 0 -m 0644 $(TARGET).1 $(PREFIX)/share/man/man1/ ++ test -d $(DESTDIR)$(PREFIX)/bin || $(MKDIR) -p $(DESTDIR)$(PREFIX)/bin ++ test -d $(DESTDIR)$(PREFIX)/$(MANDIR)/man1 || \ ++ $(MKDIR) -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man1 ++ $(INSTALL) -o 0 -g 0 -m 0755 $(TARGET) $(DESTDIR)$(PREFIX)/bin/ ++ $(INSTALL) -o 0 -g 0 -m 0644 $(TARGET).1 $(DESTDIR)$(PREFIX)/$(MANDIR)/man1/ + + deinstall: +- $(RM) -f $(PREFIX)/bin/$(TARGET) $(PREFIX)/share/man/man1/$(TARGET).1 ++ $(RM) -f $(DESTDIR)$(PREFIX)/bin/$(TARGET) $(DESTDIR)$(PREFIX)/$(MANDIR)/man1/$(TARGET).1 + + ifdef GITDIR + lint: diff --git a/security/sslsplit/pkg-descr b/security/sslsplit/pkg-descr new file mode 100644 index 000000000000..f5685d4060ae --- /dev/null +++ b/security/sslsplit/pkg-descr @@ -0,0 +1,8 @@ +SSLsplit is a tool for man-in-the-middle attacks against SSL/TLS encrypted +network connections. Connections are transparently intercepted through a +network address translation engine and redirected to SSLsplit. SSLsplit +terminates SSL/TLS and initiates a new SSL/TLS connection to the original +destination address, while logging all data transmitted. SSLsplit is intended +to be useful for network forensics and penetration testing. + +WWW: http://www.roe.ch/SSLsplit |