Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2015 16:30:13 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383875 - in head/comms/serialoverip: . files
Message-ID:  <201504121630.t3CGUDJG082541@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sun Apr 12 16:30:12 2015
New Revision: 383875
URL: https://svnweb.freebsd.org/changeset/ports/383875

Log:
  - Unbreak (no more CSME sites), switch to sf.net (upstream) at the expense
    of losing normal distfile name and having to set WRKSRC; contents remain
    the same (and so does the checksum)
  - Define LICENSE (GPLv2); install README file as part of documentation
  - Unmute building and installation commands while here
  - Fix one warning revealed by Clang (missing bzero(3) prototype), yet two
    others remain)
  - Transfer maintainership to the submitter
  
  PR:		199322
  Submitted by:	Chris Hutchinson

Modified:
  head/comms/serialoverip/Makefile
  head/comms/serialoverip/distinfo
  head/comms/serialoverip/files/patch-serialoverip.c

Modified: head/comms/serialoverip/Makefile
==============================================================================
--- head/comms/serialoverip/Makefile	Sun Apr 12 16:14:04 2015	(r383874)
+++ head/comms/serialoverip/Makefile	Sun Apr 12 16:30:12 2015	(r383875)
@@ -4,18 +4,29 @@
 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 <bsd.port.mk>

Modified: head/comms/serialoverip/distinfo
==============================================================================
--- head/comms/serialoverip/distinfo	Sun Apr 12 16:14:04 2015	(r383874)
+++ head/comms/serialoverip/distinfo	Sun Apr 12 16:30:12 2015	(r383875)
@@ -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

Modified: head/comms/serialoverip/files/patch-serialoverip.c
==============================================================================
--- head/comms/serialoverip/files/patch-serialoverip.c	Sun Apr 12 16:14:04 2015	(r383874)
+++ head/comms/serialoverip/files/patch-serialoverip.c	Sun Apr 12 16:30:12 2015	(r383875)
@@ -1,6 +1,14 @@
---- 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 <fcntl.h>
+ #include <termios.h>
+ #include <signal.h>
++#include <strings.h>
+ 
+ #define MAXMESG 2048
+ 
+@@ -42,20 +43,19 @@ char*pname;
  int s[2],st[2];
  
  void help(){



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504121630.t3CGUDJG082541>