Hi.  First attempt at a port update, observations requested.  Works for
me on i386.  The license is actually BSD without the clauses (see
autossh.c); the new version uses autoconf.  I wasn't sure how to make it
compile with SEPARATE_BUILD, and the manpage won't display without
groff.


Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/autossh/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile    20 Nov 2010 17:22:40 -0000      1.12
+++ Makefile    15 Jan 2012 22:53:33 -0000
@@ -2,7 +2,7 @@
 
 COMMENT=               SSH monitoring
 
-VERSION=               1.3
+VERSION=               1.4c
 DISTNAME=              autossh-${VERSION}
 CATEGORIES=            sysutils
 
@@ -12,7 +12,7 @@
 
 MAINTAINER=            Johan Fredin <jo...@spelaroll.se>
 
-# BSD 
+# modified BSD
 PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=    Yes
 PERMIT_DISTFILES_CDROM=        Yes
@@ -24,25 +24,6 @@
 USE_GROFF =            Yes
 NO_REGRESS=            Yes
 
-SEPARATE_BUILD=                concurrent
-
-DEFS=                  -D"SSH_PATH=\"/usr/bin/ssh\"" -D"VER=\"${VERSION}\""
-
-DOCS=                  README
-EXAMPLES=              autossh.host rscreen
-
-do-build:
-       cd ${WRKBUILD}; \
-               ${CC} ${CFLAGS} ${DEFS} -c ${WRKSRC}/autossh.c -o autossh.o; \
-               ${CC} -o autossh autossh.o
-
-do-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/autossh
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/autossh
-       cd ${WRKBUILD} && ${INSTALL_PROGRAM} autossh ${PREFIX}/bin
-       cd ${WRKSRC} && ${INSTALL_MAN} autossh.1 ${PREFIX}/man/man1
-       cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/autossh
-       cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} \
-                       ${PREFIX}/share/examples/autossh
+CONFIGURE_STYLE=       gnu dest
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/autossh/distinfo,v
retrieving revision 1.9
diff -u -r1.9 distinfo
--- distinfo    5 Apr 2007 17:26:10 -0000       1.9
+++ distinfo    15 Jan 2012 22:53:33 -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 -r1.2 PLIST
--- pkg/PLIST   15 Sep 2004 18:39:32 -0000      1.2
+++ pkg/PLIST   15 Jan 2012 22:53:33 -0000
@@ -1,7 +1,8 @@
 @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/CHANGES
 share/doc/autossh/README
 share/examples/autossh/
 share/examples/autossh/autossh.host

Reply via email to