ports/190301: port: sysutils/screen - use /var/run/screen as sockdir
Jamie Landeg-Jones
jamie at dyslexicfish.net
Tue May 27 12:20:03 UTC 2014
>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 at 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:
More information about the freebsd-ports-bugs
mailing list