Date: Mon, 08 Aug 2011 09:59:22 +1200 From: Matthew Luckie <mjl@luckie.org.nz> To: FreeBSD-gnats-submit@FreeBSD.org Cc: mjl@luckie.org.nz Subject: ports/159592: [patch] graphics/xfig installs shared files with restrictive permissions Message-ID: <E1QqBNS-000Lo1-TO@spandex.luckie.org.nz> Resent-Message-ID: <201108072200.p77M0O9C012640@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 159592 >Category: ports >Synopsis: [patch] graphics/xfig installs shared files with restrictive permissions >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Aug 07 22:00:24 UTC 2011 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1QqBNS-000Lo1-TO>