From mexas@bristol.ac.uk  Wed Jul 11 23:04:19 2012
Return-Path: <mexas@bristol.ac.uk>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 24ABD106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Jul 2012 23:04:19 +0000 (UTC)
	(envelope-from mexas@bristol.ac.uk)
Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78])
	by mx1.freebsd.org (Postfix) with ESMTP id D40378FC1B
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Jul 2012 23:04:18 +0000 (UTC)
Received: from ncsc.bris.ac.uk ([137.222.10.41])
	by dirj.bris.ac.uk with esmtp (Exim 4.72)
	(envelope-from <mexas@bristol.ac.uk>)
	id 1Sp5xB-0001CK-S2
	for FreeBSD-gnats-submit@freebsd.org; Thu, 12 Jul 2012 00:04:18 +0100
Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241])
	by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim 4.72)
	(envelope-from <mexas@bris.ac.uk>)
	id 1Sp5xB-0002Ln-D5
	for FreeBSD-gnats-submit@freebsd.org; Thu, 12 Jul 2012 00:04:17 +0100
Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1])
	by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q6BN4Hvc064597
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 12 Jul 2012 00:04:17 +0100 (BST)
	(envelope-from mexas@mech-cluster241.men.bris.ac.uk)
Received: (from mexas@localhost)
	by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q6BN4GMk064596;
	Thu, 12 Jul 2012 00:04:16 +0100 (BST)
	(envelope-from mexas)
Message-Id: <201207112304.q6BN4GMk064596@mech-cluster241.men.bris.ac.uk>
Date: Thu, 12 Jul 2012 00:04:16 +0100 (BST)
From: Anton Shterenlikht <mexas@bristol.ac.uk>
Reply-To: Anton Shterenlikht <mexas@bristol.ac.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: x11/xdm, several /usr/local/lib/X11/xdm/ files missing from pkg info -xl output 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         169794
>Category:       ports
>Synopsis:       x11/xdm, several /usr/local/lib/X11/xdm/ files missing from pkg info -xl output
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-x11
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 11 23:10:04 UTC 2012
>Closed-Date:    
>Last-Modified:  Tue Jul 02 10:54:46 UTC 2013
>Originator:     Anton Shterenlikht
>Release:        FreeBSD 10.0-CURRENT ia64
>Organization:
University of Bristol  
>Environment:
System: FreeBSD mech-cluster241.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #6 r237134: Mon Jun 18 09:02:17 BST 2012 root@mech-cluster241.men.bris.ac.uk:/usr/obj/usr/src/sys/TZAV ia64


	
>Description:

# pkg info -xo xdm
xdm-1.1.11: x11/xdm
#

# pkg info -xl xdm
xdm-1.1.11 owns the following files:
/usr/local/bin/xdm
/usr/local/lib/X11/xdm/authdir
/usr/local/lib/X11/xdm/chooser
/usr/local/lib/X11/xdm/libXdmGreet.la
/usr/local/lib/X11/xdm/libXdmGreet.so
/usr/local/lib/X11/xdm/pixmaps/xorg-bw.xpm
/usr/local/lib/X11/xdm/pixmaps/xorg.xpm
/usr/local/man/man1/xdm.1.gz
/usr/local/share/X11/app-defaults/Chooser
/usr/local/share/examples/xdm/GiveConsole
/usr/local/share/examples/xdm/TakeConsole
/usr/local/share/examples/xdm/Xaccess
/usr/local/share/examples/xdm/Xreset
/usr/local/share/examples/xdm/Xresources
/usr/local/share/examples/xdm/Xservers
/usr/local/share/examples/xdm/Xsession
/usr/local/share/examples/xdm/Xsetup_0
/usr/local/share/examples/xdm/Xstartup
/usr/local/share/examples/xdm/Xwilling
/usr/local/share/examples/xdm/xdm-config
/usr/local/share/licenses/xdm-1.1.11/LICENSE
/usr/local/share/licenses/xdm-1.1.11/MIT
/usr/local/share/licenses/xdm-1.1.11/catalog.mk

#

However,

# ls -al /usr/local/lib/X11/xdm/
total 118
drwxr-xr-x   3 root  wheel    512 Jul 11 23:53 .
drwxr-xr-x  11 root  wheel    512 Jul 11 23:52 ..
-r-xr-xr-x   1 root  wheel    325 Jul 11 23:53 GiveConsole
-r-xr-xr-x   1 root  wheel    184 Jul 11 23:53 TakeConsole
-r--r--r--   1 root  wheel   3401 Jul 11 23:53 Xaccess
-r-xr-xr-x   1 root  wheel    193 Jul 11 23:53 Xreset
-r--r--r--   1 root  wheel   2723 Jul 11 23:53 Xresources
-r--r--r--   1 root  wheel    429 Jul 11 23:53 Xservers
-r-xr-xr-x   1 root  wheel    875 Jul 11 23:53 Xsession
-r-xr-xr-x   1 root  wheel     88 Jul 11 23:53 Xsetup_0
-r-xr-xr-x   1 root  wheel    196 Jul 11 23:53 Xstartup
-r-xr-xr-x   1 root  wheel    291 Jul 11 23:53 Xwilling
lrwxr-xr-x   1 root  wheel     20 Jul 11 23:53 authdir -> /var/lib/xdm/authdir
-r-xr-xr-x   1 root  wheel  20568 Jul 11 23:52 chooser
-rwxr-xr-x   1 root  wheel   1471 Jul 11 23:52 libXdmGreet.la
-rwxr-xr-x   1 root  wheel  62079 Jul 11 23:52 libXdmGreet.so
drwxr-xr-x   2 root  wheel    512 Jul 11 23:52 pixmaps
-r--r--r--   1 root  wheel   1346 Jul 11 23:53 xdm-config
#

It seems the first 10 files from this directory,
from GiveConsole to Xwilling, do not appear
in pkg info -xl output.

I'm having quite a few problems with xdm
on amd64 right now, so wanted to make sure
my installation is fine. Hence this report.

	

>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-x11 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jul 11 23:10:14 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169794 
State-Changed-From-To: open->feedback 
State-Changed-By: zeising 
State-Changed-When: Wed Jun 26 22:50:07 UTC 2013 
State-Changed-Why:  
Is this still an issue?  I have had no reports on broken plists for xdm in any 
testing. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169794 

From: Anton Shterenlikht <mexas@bris.ac.uk>
To: bug-followup@freebsd.org
Cc:  
Subject: ports/169794: x11/xdm, several /usr/local/lib/X11/xdm/ files missing from pkg info -xl output
Date: Tue, 2 Jul 2013 11:38:17 +0100 (BST)

 yes, the problem is still there.
 I think pkg-plist is wrong, unless
 this is done on purpose.
 
 In plist you have:
 
 %%EXAMPLESDIR%%/GiveConsole
 %%EXAMPLESDIR%%/TakeConsole
 %%EXAMPLESDIR%%/Xaccess
 %%EXAMPLESDIR%%/Xreset
 %%EXAMPLESDIR%%/Xresources
 %%EXAMPLESDIR%%/Xservers
 %%EXAMPLESDIR%%/Xsession
 %%EXAMPLESDIR%%/Xsetup_0
 %%EXAMPLESDIR%%/Xstartup
 %%EXAMPLESDIR%%/Xwilling
 %%EXAMPLESDIR%%/xdm-config
 @exec cp -n %D/%%EXAMPLESDIR%%/GiveConsole %D/lib/X11/xdm/GiveConsole
 @exec cp -n %D/%%EXAMPLESDIR%%/TakeConsole %D/lib/X11/xdm/TakeConsole
 @exec cp -n %D/%%EXAMPLESDIR%%/Xaccess %D/lib/X11/xdm/Xaccess
 @exec cp -n %D/%%EXAMPLESDIR%%/Xreset %D/lib/X11/xdm/Xreset
 @exec cp -n %D/%%EXAMPLESDIR%%/Xresources %D/lib/X11/xdm/Xresources
 @exec cp -n %D/%%EXAMPLESDIR%%/Xservers %D/lib/X11/xdm/Xservers
 @exec cp -n %D/%%EXAMPLESDIR%%/Xsession %D/lib/X11/xdm/Xsession
 @exec cp -n %D/%%EXAMPLESDIR%%/Xsetup_0 %D/lib/X11/xdm/Xsetup_0
 @exec cp -n %D/%%EXAMPLESDIR%%/Xstartup %D/lib/X11/xdm/Xstartup
 @exec cp -n %D/%%EXAMPLESDIR%%/Xwilling %D/lib/X11/xdm/Xwilling
 @exec cp -n %D/%%EXAMPLESDIR%%/xdm-config %D/lib/X11/xdm/xdm-config
 
 I don't really understand the logic of these copy
 commands. But the result is that these files are 
 copied under /user/lib/X11/xdm on installation,
 but not recorded by pkg..
 Which is why you get:
 
 $ pkg info -xl xdm |grep lib
         /usr/local/lib/X11/xdm/authdir
         /usr/local/lib/X11/xdm/chooser
         /usr/local/lib/X11/xdm/libXdmGreet.la
         /usr/local/lib/X11/xdm/libXdmGreet.so
         /usr/local/lib/X11/xdm/pixmaps/xorg-bw.xpm
         /usr/local/lib/X11/xdm/pixmaps/xorg.xpm
 
 # ls -1 /usr/local/lib/X11/xdm/
 GiveConsole
 TakeConsole
 Xaccess
 Xreset
 Xresources
 Xservers
 Xsession
 Xsetup_0
 Xstartup
 Xwilling
 authdir
 chooser
 libXdmGreet.la
 libXdmGreet.so
 pixmaps
 xdm-config
 
 
 
State-Changed-From-To: feedback->open 
State-Changed-By: zeising 
State-Changed-When: Tue Jul 2 10:54:29 UTC 2013 
State-Changed-Why:  
Feedback recieved, problem still exists. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169794 
>Unformatted:
