1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

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)
This commit is contained in:
Shaun Amott 2006-12-08 03:00:42 +00:00
parent e3ddec92ef
commit 206c719b44
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179153
2 changed files with 12 additions and 1 deletions

View File

@ -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}

View File

@ -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