Hi, Update for autossh to 1.4c with some changes:
- updated option string up to OpenSSH 5.6 - when using -f, set gate_time to 0; the assumption is that it is being used for infrastructure (i.e. in a system startup), has been tested, and bombing out just because the remote end is not up is not the desired behaviour. - add AUTOSSH_MAXLIFETIME - fix poll flags so not checking for writable when write done - compile time TOUCH_PIDFILE option to touch pid file on connection test. Ok? Comments? Cheers. -- Sending from my VCR.
Index: Makefile =================================================================== RCS file: /cvs/ports/sysutils/autossh/Makefile,v retrieving revision 1.13 diff -u -p -r1.13 Makefile --- Makefile 29 Mar 2012 13:39:00 -0000 1.13 +++ Makefile 23 Apr 2012 12:10:19 -0000 @@ -2,7 +2,7 @@ COMMENT= SSH monitoring -VERSION= 1.3 +VERSION= 1.4c DISTNAME= autossh-${VERSION} CATEGORIES= sysutils @@ -17,14 +17,15 @@ PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes + WANTLIB= c EXTRACT_SUFX= .tgz -USE_GROFF = Yes +USE_GROFF= Yes NO_REGRESS= Yes -SEPARATE_BUILD= Yes +CONFIGURE_STYLE= gnu DEFS= -D"SSH_PATH=\"/usr/bin/ssh\"" -D"VER=\"${VERSION}\"" Index: distinfo =================================================================== RCS file: /cvs/ports/sysutils/autossh/distinfo,v retrieving revision 1.9 diff -u -p -r1.9 distinfo --- distinfo 5 Apr 2007 17:26:10 -0000 1.9 +++ distinfo 23 Apr 2012 12:10:19 -0000 @@ -1,5 +1,5 @@ -MD5 (autossh-1.3.tgz) = Dn7GLuyl0bGX8+8tDw1Bfw== -RMD160 (autossh-1.3.tgz) = nuu0/nmVf5yUrmQL6gY3ovSWokY= -SHA1 (autossh-1.3.tgz) = l3DPKu+aaeGhy1Iqm4gd04AiecU= -SHA256 (autossh-1.3.tgz) = mxcc35M0OB8R0Iij6l0HxYoxRt41LZ2YkacgOPzDx5Q= -SIZE (autossh-1.3.tgz) = 23203 +MD5 (autossh-1.4c.tgz) = JlIO6pNPKWvgeD2r5/z9KA== +RMD160 (autossh-1.4c.tgz) = iUqEHJoHmqrs/11uaxSLb3dG3V4= +SHA1 (autossh-1.4c.tgz) = 2aHVoph+flpESwDmPWWQk22h4fI= +SHA256 (autossh-1.4c.tgz) = b8q6akCaRr34MghnNruPCdJF684RAn9B05WIqV3H/R0= +SIZE (autossh-1.4c.tgz) = 65191 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/sysutils/autossh/pkg/PLIST,v retrieving revision 1.2 diff -u -p -r1.2 PLIST --- pkg/PLIST 15 Sep 2004 18:39:32 -0000 1.2 +++ pkg/PLIST 23 Apr 2012 12:10:19 -0000 @@ -1,5 +1,5 @@ @comment $OpenBSD: PLIST,v 1.2 2004/09/15 18:39:32 espie Exp $ -bin/autossh +@bin bin/autossh @man man/man1/autossh.1 share/doc/autossh/ share/doc/autossh/README