# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mosh/ # mosh/pkg-descr # mosh/distinfo # mosh/Makefile # mosh/files # mosh/files/patch-src__crypto__byteorder.h # mosh/files/patch-configure # mosh/files/patch-src__frontend__mosh-server.cc # echo c - mosh/ mkdir -p mosh/ > /dev/null 2>&1 echo x - mosh/pkg-descr sed 's/^X//' >mosh/pkg-descr << '10c9da8297deef986682a990fe58ac25' XRemote terminal application that allows roaming, supports intermittent Xconnectivity, and provides intelligent local echo and line editing of Xuser keystrokes. X XMosh is a replacement for SSH. It's more robust and responsive, Xespecially over Wi-Fi, cellular, and long-distance links. X XWWW: http://mosh.mit.edu/ 10c9da8297deef986682a990fe58ac25 echo x - mosh/distinfo sed 's/^X//' >mosh/distinfo << 'f6098813509f93704cb07152e3af4800' XSHA256 (mosh-1.1.3.tar.gz) = 53234667e53625791ca43ced1ec43834cbd86a019c67ce5e4bd65556113c6eee XSIZE (mosh-1.1.3.tar.gz) = 264478 f6098813509f93704cb07152e3af4800 echo x - mosh/Makefile sed 's/^X//' >mosh/Makefile << 'abd21800480eebc65b2ab8e7e6e625ae' X# New ports collection makefile for: mosh X# Date created: 10 Apr 2012 X# Whom: Ryan Steinmetz X# X# $FreeBSD$ X# X XPORTNAME= mosh XPORTVERSION= 1.1.3 XCATEGORIES= net XMASTER_SITES= http://cloud.github.com/downloads/keithw/${PORTNAME}/ \ X http://mirrors.rit.edu/zi/ X XMAINTAINER= zi@FreeBSD.org XCOMMENT= A mobile shell that supports intermittant connectivity X XLICENSE= GPLv3 X XLIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs XBUILD_DEPENDS= protoc:${PORTSDIR}/devel/protobuf X XLATEST_LINK= mosh-net XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --with-boost=${LOCALBASE} --with-utempter X XPLIST_FILES= bin/mosh bin/mosh-server bin/mosh-client XMAN1= mosh-client.1 mosh-server.1 mosh.1 X X.include X X.if ${OSVERSION} < 900004 XLIB_DEPENDS+= utempter.0:${PORTSDIR}/sysutils/libutempter XCFLAGS+= -I${LOCALBASE}/include XLDFLAGS+= -L${LOCALBASE}/lib X.endif X X.include abd21800480eebc65b2ab8e7e6e625ae echo c - mosh/files mkdir -p mosh/files > /dev/null 2>&1 echo x - mosh/files/patch-src__crypto__byteorder.h sed 's/^X//' >mosh/files/patch-src__crypto__byteorder.h << 'c1a92c59807b722916534f9383352110' X--- ./src/crypto/byteorder.h.orig 2012-03-10 13:57:21.000000000 -0500 X+++ ./src/crypto/byteorder.h 2012-04-10 15:28:42.000000000 -0400 X@@ -22,7 +22,7 @@ X #include "config.h" X X #ifdef HAVE_HTOBE64 X-# include X+# include X #elif HAVE_OSX_SWAP X # include X # define htobe64 OSSwapHostToBigInt64 c1a92c59807b722916534f9383352110 echo x - mosh/files/patch-configure sed 's/^X//' >mosh/files/patch-configure << '7cd72113dfe9ae613b9b70258bd8f9d8' X--- ./configure.orig 2012-04-03 13:04:06.000000000 -0400 X+++ ./configure 2012-04-10 15:28:42.000000000 -0400 X@@ -5515,7 +5515,20 @@ X done X X X-for ac_header in pty.h util.h X+for ac_header in pty.h util.h libutil.h X+do : X+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` X+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" X+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : X+ cat >>confdefs.h <<_ACEOF X+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 X+_ACEOF X+ X+fi X+ X+done X+ X+for ac_header in endian.h sys/endian.h X do : X as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` X ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" X@@ -6275,7 +6288,11 @@ X fi X X X-ac_fn_c_check_decl "$LINENO" "htobe64" "ac_cv_have_decl_htobe64" "#include X+ac_fn_c_check_decl "$LINENO" "htobe64" "ac_cv_have_decl_htobe64" "#if defined(HAVE_ENDIAN_H) X+#include X+#elif defined(HAVE_SYS_ENDIAN_H) X+#include X+#endif X " X if test "x$ac_cv_have_decl_htobe64" = xyes; then : X 7cd72113dfe9ae613b9b70258bd8f9d8 echo x - mosh/files/patch-src__frontend__mosh-server.cc sed 's/^X//' >mosh/files/patch-src__frontend__mosh-server.cc << '4f43b407b86b53b2387eb1eb42b5bed1' X--- ./src/frontend/mosh-server.cc.orig 2012-04-02 18:08:49.000000000 -0400 X+++ ./src/frontend/mosh-server.cc 2012-04-10 15:29:12.000000000 -0400 X@@ -39,6 +39,7 @@ X #include X #include X #include X+#include X X extern "C" { X #include "selfpipe.h" 4f43b407b86b53b2387eb1eb42b5bed1 exit