Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Feb 2018 08:54:30 +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: r460876 - in head/comms/ser2net: . files
Message-ID:  <201802040854.w148sUDF082146@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sun Feb  4 08:54:30 2018
New Revision: 460876
URL: https://svnweb.freebsd.org/changeset/ports/460876

Log:
  - Update `comms/ser2net' to version 3.5
  - Drop unneeded `autoreconf' from USES list
  - Unroll .for loop when installing documentation
  
  PR:	225507

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

Modified: head/comms/ser2net/Makefile
==============================================================================
--- head/comms/ser2net/Makefile	Sun Feb  4 08:25:06 2018	(r460875)
+++ head/comms/ser2net/Makefile	Sun Feb  4 08:54:30 2018	(r460876)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	ser2net
-PORTVERSION=	2.10.0
+PORTVERSION=	3.5
 CATEGORIES=	comms net
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 
@@ -14,7 +14,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USE_RC_SUBR=	${PORTNAME}
 
-USES=		autoreconf libtool
+USES=		libtool
 GNU_CONFIGURE=	yes
 
 PORTDOCS=	AUTHORS ChangeLog NEWS README
@@ -32,6 +32,8 @@ post-patch:
 	@${REINPLACE_CMD} -e \
 		's!ttyS!cuad!g' ${WRKSRC}/${i}
 .endfor
+	@${REINPLACE_CMD} -e '/#include <values\.h>/d' \
+		${WRKSRC}/readconfig.c
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
@@ -43,8 +45,6 @@ do-install:
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for i in ${PORTDOCS}
-	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
-.endfor
+	${INSTALL_DATA} ${PORTDOCS:S!^!${WRKSRC}/!} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/comms/ser2net/distinfo
==============================================================================
--- head/comms/ser2net/distinfo	Sun Feb  4 08:25:06 2018	(r460875)
+++ head/comms/ser2net/distinfo	Sun Feb  4 08:54:30 2018	(r460876)
@@ -1,2 +1,3 @@
-SHA256 (ser2net-2.10.0.tar.gz) = 98f6193225338e25f35302fef5e1f16688693ed43e7b3c3e9e09187eb54547ac
-SIZE (ser2net-2.10.0.tar.gz) = 364322
+TIMESTAMP = 1511367623
+SHA256 (ser2net-3.5.tar.gz) = ba9e1d60a89fd7ed075553b4a2074352902203f7fbd9b65b15048c05f0e3f3be
+SIZE (ser2net-3.5.tar.gz) = 436782

Modified: head/comms/ser2net/files/patch-devcfg.c
==============================================================================
--- head/comms/ser2net/files/patch-devcfg.c	Sun Feb  4 08:25:06 2018	(r460875)
+++ head/comms/ser2net/files/patch-devcfg.c	Sun Feb  4 08:54:30 2018	(r460876)
@@ -1,20 +1,11 @@
---- devcfg.c.orig	2014-12-28 21:15:39.000000000 +0200
-+++ devcfg.c	2014-12-28 21:18:04.000000000 +0200
-@@ -31,7 +31,7 @@
- #include <signal.h>
- #include <errno.h>
- #include <syslog.h>
--#include <linux/serial.h>
-+#include <sys/serial.h>
- 
- #include "ser2net.h"
- #include "selector.h"
-@@ -133,7 +133,7 @@ get_rate_from_baud_rate(int baud_rate, i
+--- devcfg.c.orig	2017-10-23 12:43:23 UTC
++++ devcfg.c
+@@ -144,7 +144,7 @@ get_rate_from_baud_rate(int baud_rate, int *val, int c
  }
  
  #ifdef USE_UUCP_LOCKING
--static char *uucp_lck_dir = "/var/lock";
-+static char *uucp_lck_dir = "/var/spool/lock";
+-static char *uucp_lck_dir = "/var/lock/";
++static char *uucp_lck_dir = "/var/spool/lock/";
+ static char *dev_prefix = "/dev/";
  
  static int
- uucp_fname_lock_size(char *devname)



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