Index: head/comms/serialoverip/Makefile =================================================================== --- head/comms/serialoverip/Makefile (revision 383874) +++ head/comms/serialoverip/Makefile (revision 383875) @@ -1,21 +1,32 @@ # Created by: Devon H. O'Dell # $FreeBSD$ PORTNAME= serialoverip PORTVERSION= 1.0 CATEGORIES= comms net -MASTER_SITES= CSME +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME} +DISTNAME= ${PORTNAME} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= portmaster@BSDforge.com COMMENT= Transport of serial interfaces over UDP/IP -BROKEN= No public distfiles +LICENSE= GPLv2 + +USES= tar:tgz + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + PLIST_FILES= sbin/${PORTNAME} +PORTDOCS= README +OPTIONS_DEFINE= DOCS + do-build: - @cd ${WRKSRC}; ${CC} ${CFLAGS} ${PORTNAME}.c -o ${PORTNAME} + cd ${WRKSRC} && ${CC} ${CFLAGS} ${PORTNAME}.c -o ${PORTNAME} do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/ + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include Index: head/comms/serialoverip/distinfo =================================================================== --- head/comms/serialoverip/distinfo (revision 383874) +++ head/comms/serialoverip/distinfo (revision 383875) @@ -1,2 +1,2 @@ -SHA256 (serialoverip-1.0.tar.gz) = cea0a4285416b720f1be607a64af7d513872d7b38a86900c4e015266038490a2 -SIZE (serialoverip-1.0.tar.gz) = 164925 +SHA256 (serialoverip.tgz) = cea0a4285416b720f1be607a64af7d513872d7b38a86900c4e015266038490a2 +SIZE (serialoverip.tgz) = 164925 Index: head/comms/serialoverip/files/patch-serialoverip.c =================================================================== --- head/comms/serialoverip/files/patch-serialoverip.c (revision 383874) +++ head/comms/serialoverip/files/patch-serialoverip.c (revision 383875) @@ -1,36 +1,44 @@ ---- serialoverip.c Sun Sep 3 16:04:54 2006 -+++ serialoverip.c Sun Sep 3 16:06:34 2006 -@@ -42,20 +42,19 @@ +--- serialoverip.c.orig 2002-03-08 22:37:09 UTC ++++ serialoverip.c +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include + + #define MAXMESG 2048 + +@@ -42,20 +43,19 @@ char*pname; int s[2],st[2]; void help(){ - fprintf(stderr,"\ -SerialOverIP version 1.0, Copyright (C) 2002 Stefan-Florin Nicola -SerialOverIP comes with ABSOLUTELY NO WARRANTY. This is free software, and you -are welcome to redistribute it under GNU General Public License. - Usage: %s - where and are one of the folowing: - -s UDP server on IP:port - -c UDP client for server IP:port - -d sss-dps local serial device - sss is speed (50,..,230400) - d is data bits (5,6,7,8) - p is parity type (N,E,O) - s is stop bits (1,2) -",pname); + fprintf(stderr, +"SerialOverIP version 1.0, Copyright (C) 2002 Stefan-Florin Nicola \n"\ +"SerialOverIP comes with ABSOLUTELY NO WARRANTY. This is free software, and you\n"\ +"are welcome to redistribute it under GNU General Public License.\n"\ +" Usage: %s \n"\ +" where and are one of the folowing:\n"\ +" -s UDP server on IP:port\n"\ +" -c UDP client for server IP:port\n"\ +" -d sss-dps local serial device\n"\ +" sss is speed (50,..,230400)\n"\ +" d is data bits (5,6,7,8)\n"\ +" p is parity type (N,E,O)\n"\ +" s is stop bits (1,2)\n",pname); return; }