From mjl@luckie.org.nz  Sun Aug  7 21:59:44 2011
Return-Path: <mjl@luckie.org.nz>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9FEE8106566C
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  7 Aug 2011 21:59:44 +0000 (UTC)
	(envelope-from mjl@luckie.org.nz)
Received: from mailfilter1.ihug.co.nz (mailfilter1.ihug.co.nz [203.109.136.1])
	by mx1.freebsd.org (Postfix) with ESMTP id 3D0478FC16
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  7 Aug 2011 21:59:43 +0000 (UTC)
Received: from 118-92-64-176.dsl.dyn.ihug.co.nz (HELO spandex.luckie.org.nz) ([118.92.64.176])
  by cust.filter1.content.vf.net.nz with ESMTP/TLS/DHE-RSA-AES256-SHA; 08 Aug 2011 09:59:23 +1200
Received: from mjl by spandex.luckie.org.nz with local (Exim 4.76 (FreeBSD))
	(envelope-from <mjl@luckie.org.nz>)
	id 1QqBNS-000Lo1-TO; Mon, 08 Aug 2011 09:59:22 +1200
Message-Id: <E1QqBNS-000Lo1-TO@spandex.luckie.org.nz>
Date: Mon, 08 Aug 2011 09:59:22 +1200
From: Matthew Luckie <mjl@luckie.org.nz>
Reply-To: Matthew Luckie <mjl@luckie.org.nz>
To: FreeBSD-gnats-submit@freebsd.org
Cc: mjl@luckie.org.nz 
Subject: [patch] graphics/xfig installs shared files with restrictive permissions
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         159592
>Category:       ports
>Synopsis:       [patch] graphics/xfig installs shared files with restrictive permissions
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    culot
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 07 22:00:24 UTC 2011
>Closed-Date:    Tue Aug 09 07:42:19 UTC 2011
>Last-Modified:  Tue Aug  9 07:50:08 UTC 2011
>Originator:     Matthew Luckie
>Release:        FreeBSD 8.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD spandex.luckie.org.nz 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 25 13:44:21 NZDT 2011 root@spandex.luckie.org.nz:/usr/obj/usr/src/sys/spandex i386


	
>Description:
Files, such as library elements and html documentation are installed owned
and readable only by root.  These should be readable by all users.

>How-To-Repeat:
Install xfig.  cd ${LOCALBASE}/lib/X11/xfig/Libraries/ and examine the
permissions of the various fig files beneath.  Likewise in
${LOCALBASE}/share/doc/xfig/html/

>Fix:

use this patch.

--- patch-xfig begins here ---
diff -uNr xfig/Makefile xfig-new/Makefile
--- xfig/Makefile	2011-06-20 07:00:32.000000000 +1200
+++ xfig-new/Makefile	2011-08-05 11:08:28.000000000 +1200
@@ -51,10 +51,10 @@
 
 post-extract:
 	@cd ${WRKSRC}/Doc && ${FIND} -s . -type d -print0 | ${XARGS} -0 ${CHMOD} a+rx
-	@cd ${WRKSRC}/Doc && ${FIND} . -type f -print0 | ${XARGS} -0 ${CHMOD} a-x
+	@cd ${WRKSRC}/Doc && ${FIND} . -type f -print0 | ${XARGS} -0 ${CHMOD} a-x+r
 	@${CHMOD} a+rx ${WRKSRC}/Libraries
 	@cd ${WRKSRC}/Libraries && ${FIND} -s . -type d -print0 | ${XARGS} -0 ${CHMOD} a+rx
-	@cd ${WRKSRC}/Libraries && ${FIND} . -type f -print0 | ${XARGS} -0 ${CHMOD} a-x
+	@cd ${WRKSRC}/Libraries && ${FIND} . -type f -print0 | ${XARGS} -0 ${CHMOD} a-x+r
 	@${CP} ${WRKSRC}/Doc/xfig.man ${WRKSRC}
 
 post-patch:
--- patch-xfig ends here ---


>Release-Note:
>Audit-Trail:

From: Matthew Luckie <mjl@luckie.org.nz>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/159592: [patch] graphics/xfig installs shared files with restrictive permissions
Date: Mon, 8 Aug 2011 21:16:36 +1200

 I just noticed that xfig has no maintainer.  I would be happy to be
 maintainer.
Class-Changed-From-To: update->maintainer-update 
Class-Changed-By: linimon 
Class-Changed-When: Mon Aug 8 10:28:47 UTC 2011 
Class-Changed-Why:  
Submitter has agreed to take over maintainership. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/159592: commit references a PR
Date: Mon,  8 Aug 2011 10:28:19 +0000 (UTC)

 linimon     2011-08-08 10:28:10 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/xfig        Makefile 
   Log:
   Over to new maintainer.
   
   PR:             ports/159592 (partial)
   
   Revision  Changes    Path
   1.70      +1 -1      ports/graphics/xfig/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
Responsible-Changed-From-To: freebsd-ports-bugs->culot 
Responsible-Changed-By: culot 
Responsible-Changed-When: Tue Aug 9 05:09:22 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159592 
State-Changed-From-To: open->closed 
State-Changed-By: culot 
State-Changed-When: Tue Aug 9 07:42:18 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/159592: commit references a PR
Date: Tue,  9 Aug 2011 07:42:00 +0000 (UTC)

 culot       2011-08-09 07:41:51 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/xfig        Makefile 
   Log:
   - Make files from documentation and library readable by non-root users
   
   PR:             ports/159592
   Submitted by:   Matthew Luckie <mjl@luckie.org.nz> (maintainer)
   
   Revision  Changes    Path
   1.71      +2 -2      ports/graphics/xfig/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
