- Update `comms/ser2net' to version 3.5
- Drop unneeded `autoreconf' from USES list - Unroll .for loop when installing documentation PR: 225507
This commit is contained in:
parent
68a5417b3e
commit
bd4887e93d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460876
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user