1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

sslh lets one accept both HTTPS and SSH connections on the same port. It makes

it possible to connect to an SSH server on port 443 (e.g. from inside a
corporate firewall) while still serving HTTPS on that port.

WWW:	http://www.rutschle.net/tech/sslh.shtml

PR:		ports/145113
Submitted by:	Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
This commit is contained in:
Pav Lucistnik 2010-04-02 13:06:43 +00:00
parent 69703de763
commit 780b5123e6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252018
5 changed files with 60 additions and 0 deletions

View File

@ -971,6 +971,7 @@
SUBDIR += spserver
SUBDIR += ss5
SUBDIR += ssldump
SUBDIR += sslh
SUBDIR += ssltunnel-client
SUBDIR += ssltunnel-server
SUBDIR += ssmping

31
net/sslh/Makefile Normal file
View File

@ -0,0 +1,31 @@
# New ports collection makefile for: sslh
# Date created: 2010-03-29
# Whom: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= sslh
PORTVERSION= 1.7a
CATEGORIES= net
MASTER_SITES= http://www.rutschle.net/tech/
MAINTAINER= jnlin@csie.nctu.edu.tw
COMMENT= A ssl/ssh multiplexer
USE_GMAKE= yes
USE_PERL5_BUILD= yes
MAN8= sslh.8
PLIST_FILES= sbin/sslh
post-patch:
@${REINPLACE_CMD} -e 's|^PREFIX=/usr/local|PREFIX=${PREFIX}|g' ${WRKSRC}/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/sslh ${PREFIX}/sbin
.if !defined(NO_INSTALL_MANPAGES)
@${INSTALL_MAN} ${WRKSRC}/sslh.8 ${MANPREFIX}/man/man8
.endif
.include <bsd.port.mk>

3
net/sslh/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (sslh-1.7a.tar.gz) = ee124654412198a5e11fe28acf10634d
SHA256 (sslh-1.7a.tar.gz) = add698342ea622e5085a26f05e4ec613763f71ff203202cadfa119a45659e13a
SIZE (sslh-1.7a.tar.gz) = 9733

View File

@ -0,0 +1,20 @@
--- Makefile 2010-02-01 19:18:23.000000000 +0800
+++ Makefile.new 2010-03-29 00:43:42.198577686 +0800
@@ -4,7 +4,7 @@
USELIBWRAP=1 # Use libwrap?
PREFIX=/usr/local
-MAN=sslh.8.gz # man page name
+MAN=sslh.8 # man page name
# End of configuration -- the rest should take care of
# itself
@@ -27,7 +27,7 @@
strip sslh
$(MAN): sslh.pod Makefile
- pod2man --section=8 --release=$(VERSION) --center=" " sslh.pod | gzip -9 - > $(MAN)
+ pod2man --section=8 --release=$(VERSION) --center=" " sslh.pod > $(MAN)
# generic install: install binary and man page
install: sslh $(MAN)

5
net/sslh/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
sslh lets one accept both HTTPS and SSH connections on the same port. It makes
it possible to connect to an SSH server on port 443 (e.g. from inside a
corporate firewall) while still serving HTTPS on that port.
WWW: http://www.rutschle.net/tech/sslh.shtml