aboutsummaryrefslogtreecommitdiff
path: root/net/sslh
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-04-02 13:06:43 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-04-02 13:06:43 +0000
commit780b5123e65df73933bfa1df9927a91aa1b94bbd (patch)
treef9ddc04358119d975d017513e45973a7883ed0e9 /net/sslh
parent69703de76313d170ea0e303c55958cca432c111f (diff)
downloadports-780b5123e65df73933bfa1df9927a91aa1b94bbd.tar.gz
ports-780b5123e65df73933bfa1df9927a91aa1b94bbd.zip
Notes
Diffstat (limited to 'net/sslh')
-rw-r--r--net/sslh/Makefile31
-rw-r--r--net/sslh/distinfo3
-rw-r--r--net/sslh/files/patch-Makefile20
-rw-r--r--net/sslh/pkg-descr5
4 files changed, 59 insertions, 0 deletions
diff --git a/net/sslh/Makefile b/net/sslh/Makefile
new file mode 100644
index 000000000000..e81160f763ed
--- /dev/null
+++ b/net/sslh/Makefile
@@ -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>
diff --git a/net/sslh/distinfo b/net/sslh/distinfo
new file mode 100644
index 000000000000..ab809435357b
--- /dev/null
+++ b/net/sslh/distinfo
@@ -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
diff --git a/net/sslh/files/patch-Makefile b/net/sslh/files/patch-Makefile
new file mode 100644
index 000000000000..d3d38cde3a50
--- /dev/null
+++ b/net/sslh/files/patch-Makefile
@@ -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)
diff --git a/net/sslh/pkg-descr b/net/sslh/pkg-descr
new file mode 100644
index 000000000000..1027458a28c1
--- /dev/null
+++ b/net/sslh/pkg-descr
@@ -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