aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorshaun <shaun@FreeBSD.org>2006-12-08 11:00:42 +0800
committershaun <shaun@FreeBSD.org>2006-12-08 11:00:42 +0800
commit42ee2ecc54c6f7151b3e6f1e06c80e1c431b6544 (patch)
treec6993f36d06f401724f43fb2c0ae6f28cd8368ce /comms
parentd14d9064071a1017b15aece1c4ad215c32f79758 (diff)
downloadfreebsd-ports-graphics-42ee2ecc54c6f7151b3e6f1e06c80e1c431b6544.tar.gz
freebsd-ports-graphics-42ee2ecc54c6f7151b3e6f1e06c80e1c431b6544.tar.zst
freebsd-ports-graphics-42ee2ecc54c6f7151b3e6f1e06c80e1c431b6544.zip
Add UUCP device locking support.
PR: ports/106457 Submitted by: Eric Masson <emss@free.fr> Approved by: Devon H. O'Dell <devon.odell@coyotepoint.com> (maintainer)
Diffstat (limited to 'comms')
-rw-r--r--comms/ser2net/Makefile2
-rw-r--r--comms/ser2net/files/patch-dataxfer.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/comms/ser2net/Makefile b/comms/ser2net/Makefile
index d4b9ae96482..62f8a654b15 100644
--- a/comms/ser2net/Makefile
+++ b/comms/ser2net/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ser2net
PORTVERSION= 2.3
+PORTREVISION= 1
CATEGORIES= comms net
MASTER_SITES= SF
@@ -14,7 +15,6 @@ MAINTAINER= devon.odell@coyotepoint.com
COMMENT= Allows to access serial ports over IP
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --without-uucp-locking
MAN8= ${PORTNAME}.8
PLIST_FILES= sbin/${PORTNAME} etc/${PORTNAME}.conf.sample
USE_RC_SUBR= ${PORTNAME}
diff --git a/comms/ser2net/files/patch-dataxfer.c b/comms/ser2net/files/patch-dataxfer.c
new file mode 100644
index 00000000000..0605114bc62
--- /dev/null
+++ b/comms/ser2net/files/patch-dataxfer.c
@@ -0,0 +1,11 @@
+--- dataxfer.c.orig Thu Dec 7 20:09:25 2006
++++ dataxfer.c Thu Dec 7 20:10:33 2006
+@@ -53,7 +53,7 @@
+ #endif /* HAVE_TCPD_H */
+
+ #ifdef USE_UUCP_LOCKING
+-static char *uucp_lck_dir = "/var/lock";
++static char *uucp_lck_dir = "/var/spool/lock";
+ #ifndef HAVE_TCPD_H
+ static char *progname = "ser2net";
+ #endif