aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2018-02-04 08:54:30 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2018-02-04 08:54:30 +0000
commitbd4887e93da3780d14ba43fc612deccfd2f5fd21 (patch)
treed8d0d1537b2cd6d1562fc824ed10fcf9983ab8cd /comms
parent68a5417b3e5b4e72dd83ea90ad9256e2a594a550 (diff)
downloadports-bd4887e93da3780d14ba43fc612deccfd2f5fd21.tar.gz
ports-bd4887e93da3780d14ba43fc612deccfd2f5fd21.zip
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/ser2net/Makefile10
-rw-r--r--comms/ser2net/distinfo5
-rw-r--r--comms/ser2net/files/patch-devcfg.c21
3 files changed, 14 insertions, 22 deletions
diff --git a/comms/ser2net/Makefile b/comms/ser2net/Makefile
index 9c1f9606806a..3d60c484f168 100644
--- a/comms/ser2net/Makefile
+++ b/comms/ser2net/Makefile
@@ -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>
diff --git a/comms/ser2net/distinfo b/comms/ser2net/distinfo
index eb4b4ae90a94..826c40ad805a 100644
--- a/comms/ser2net/distinfo
+++ b/comms/ser2net/distinfo
@@ -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
diff --git a/comms/ser2net/files/patch-devcfg.c b/comms/ser2net/files/patch-devcfg.c
index e648e5aee6eb..75fc2b43536e 100644
--- a/comms/ser2net/files/patch-devcfg.c
+++ b/comms/ser2net/files/patch-devcfg.c
@@ -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)