svn commit: r522434 - in head/x11/xdm: . files

Mathieu Arnold mat at FreeBSD.org
Wed Jan 8 21:30:14 UTC 2020


On Wed, Jan 08, 2020 at 04:29:08PM +0000, Chris Rees wrote:
> Author: crees
> Date: Wed Jan  8 16:29:07 2020
> New Revision: 522434
> URL: https://svnweb.freebsd.org/changeset/ports/522434
> 
> Log:
>   Add simple rc script for xdm.
>   
>   All of the other display managers have one, and it saves user
>   confusion to have this method available too.

You forgot to bump PORTREVISION.

>   
>   PR:		ports/225985
>   Submitted by:	edmonddantes at gmx.us (based on)
> 
> Added:
>   head/x11/xdm/files/xdm.in   (contents, props changed)
> Modified:
>   head/x11/xdm/Makefile
> 
> Modified: head/x11/xdm/Makefile
> ==============================================================================
> --- head/x11/xdm/Makefile	Wed Jan  8 16:22:09 2020	(r522433)
> +++ head/x11/xdm/Makefile	Wed Jan  8 16:29:07 2020	(r522434)
> @@ -14,6 +14,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
>  USES=		cpe libtool xorg xorg-cat:app
>  USE_LDCONFIG=	yes
>  USE_XORG=	x11 xau xaw xdmcp xext xinerama xmu xpm xrender xt
> +USE_RC_SUBR=	xdm
>  CPE_PRODUCT=	x_display_manager
>  CPE_VENDOR=	x
>  
> 
> Added: head/x11/xdm/files/xdm.in
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/x11/xdm/files/xdm.in	Wed Jan  8 16:29:07 2020	(r522434)
> @@ -0,0 +1,30 @@
> +#!/bin/sh
> +
> +# $FreeBSD$
> +#
> +# PROVIDE: xdm
> +# REQUIRE: LOGIN moused
> +# KEYWORD: nojail shutdown
> +#
> +# Add the following line to /etc/rc.conf to enable xdm:
> +# xdm_enable="YES"
> +#
> +# Alternatively, edit /etc/ttys and change the line below
> +#   ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure
> +# to this:
> +#   ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xterm   on secure
> +
> +. /etc/rc.subr
> +
> +name="xdm"
> +rcvar=xdm_enable
> +desc="X.org X display manager"
> +
> +load_rc_config $name
> +
> +: ${xdm_enable:=NO}
> +
> +command=%%PREFIX%%/bin/$name
> +pidfile=/var/run/$name.pid
> +
> +run_rc_command $1
> 

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20200108/c79d6ccc/attachment.sig>


More information about the svn-ports-all mailing list