# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= xinit VERSION= 1.4.0 KEYWORDS= x11 VARIANTS= standard SDESC[standard]= X Window System initializer HOMEPAGE= https://www.x.org/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= XORG/individual/app DISTFILE[1]= xinit-1.4.0.tar.bz2:main DF_INDEX= 1 SPKGS[standard]= single OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none XORG_COMPONENTS= x11 FPC_EQUIVALENT= x11/xinit MUST_CONFIGURE= gnu INSTALL_TARGET= install-strip post-patch: ${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|hexdump|/usr/bin/hexdump|' ${WRKSRC}/startx.cpp ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/man/xinit.man [FILE:62:descriptions/desc.single] This package contains xinit, the X Window System initializer. [FILE:98:distinfo] 230835eef2f5978a1e1344928168119373f6df1d0a32c09515e545721ee582ef 174491 xinit-1.4.0.tar.bz2 [FILE:83:manifests/plist.single] bin/ startx xinit etc/X11/xinit/xinitrc share/man/man1/ startx.1.gz xinit.1.gz [FILE:1125:patches/patch-startx.cpp] # # generate displayname as dictated in the xauth manpage # --- startx.cpp.orig 2018-03-10 01:46:03 UTC +++ startx.cpp @@ -166,7 +166,7 @@ while [ x"$1" != x ]; do else XCOMM display must be the FIRST server argument if [ x"$serverargs" = x ] && @@ - expr "$1" : ':[0-9][0-9]*$' > /dev/null 2>&1; then + expr \( "$1" \) : ':[0-9][0-9]*$' > /dev/null 2>&1; then display="$1" else serverargs="$serverargs $1" @@ -296,9 +296,9 @@ EOF XCOMM now add the same credentials to the client authority file XCOMM if '$displayname' already exists do not overwrite it as another XCOMM server may need it. Add them to the '$xserverauthfile' instead. - for displayname in $authdisplay $hostname$authdisplay; do + for displayname in $authdisplay $hostname/unix$authdisplay; do authcookie=`XAUTH list "$displayname" @@ - | sed -n "s/.*$displayname[[:space:]*].*[[:space:]*]//p"` 2>/dev/null; + | sed -n "s|.*$displayname[[:space:]*].*[[:space:]*]||p"` 2>/dev/null; if [ "z${authcookie}" = "z" ] ; then XAUTH -q << EOF add $displayname . $mcookie