Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2014 13:10:45 +0100 (BST)
From:      Jamie Landeg-Jones <jamie@dyslexicfish.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/190301: port: sysutils/screen - use /var/run/screen as sockdir
Message-ID:  <201405271210.s4RCAjRD097460@catnip.dyslexicfish.net>
Resent-Message-ID: <201405271220.s4RCK3st040191@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         190301
>Category:       ports
>Synopsis:       port: sysutils/screen - use /var/run/screen as sockdir
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 27 12:20:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Jamie Landeg-Jones
>Release:        FreeBSD 10.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD catnip.dyslexicfish.net 10.0-STABLE FreeBSD 10.0-STABLE #0: Sat May 10 20:24:29 BST 2014 root@catflap.dyslexicfish.net:/usr/obj/usr/src/sys/CATFLAP amd64


	
>Description:
I was wondering if the default directory for screen sockets should
be /var/run/screens rather than /tmp/screens

If you'd prefer to keep the default as it is, may I humbly propose
the attached patch to the ports template Makefile, which adds this
functionality as a configurable option.

Cheers,
       Jamie
	
>How-To-Repeat:
	
>Fix:

Either apply the attached patch, or add:

CONFIGURE_ARGS=	socket-dir=/var/run/screens

to port template Makefile.
	

--- patch-Makefile begins here ---
--- Makefile.orig	2014-05-23 07:16:30.000000000 +0100
+++ Makefile	2014-05-27 06:39:23.000000000 +0100
@@ -3,7 +3,7 @@
 
 PORTNAME=	screen
 PORTVERSION=	4.2.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 MASTER_SITES=	http://ftp.gnu.org/gnu/screen/ \
 		ftp://ftp.gnu.org/gnu/screen/ \
@@ -20,15 +20,17 @@
 
 LICENSE=	GPLv3
 
-OPTIONS_DEFINE=	INFO MAN NETHACK XTERM_256 SHOWENC
+OPTIONS_DEFINE=	INFO MAN NETHACK XTERM_256 SHOWENC VARRUNSOCKDIR
 OPTIONS_DEFAULT=	INFO MAN NETHACK XTERM_256
 INFO_DESC=		Build and install info documentation
 MAN_DESC=		Build and install man pages
 NETHACK_DESC=		Enable nethack-style messages
 XTERM_256_DESC=		Enable support for 256 colour xterm
 SHOWENC_DESC=		Show encoding on the status line
+VARRUNSOCKDIR_DESC=	Store screen sockets under /var/run instead of /tmp
 
 OPTIONS_SUB=
+VARRUNSOCKDIR_CONFIGURE_WITH=	socket-dir=/var/run/screens
 
 USES=		gmake
 
--- patch-Makefile ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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