From josh@tcbug.org  Tue Oct 10 22:39:07 2006
Return-Path: <josh@tcbug.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AD1A516A4F4
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 10 Oct 2006 22:39:07 +0000 (UTC)
	(envelope-from josh@tcbug.org)
Received: from alnrmhc12.comcast.net (alnrmhc12.comcast.net [206.18.177.52])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 413F943D70
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 10 Oct 2006 22:38:48 +0000 (GMT)
	(envelope-from josh@tcbug.org)
Received: from gimpy.tcbug.org (c-24-118-173-219.hsd1.mn.comcast.net[24.118.173.219])
          by comcast.net (alnrmhc12) with SMTP
          id <20061010223845b1200ep93me>; Tue, 10 Oct 2006 22:38:45 +0000
Message-Id: <1160519921.1512@gimpy.tcbug.org>
Date: Tue, 10 Oct 2006 17:38:41 -0500
From: "Josh Paetzel <josh@tcbug.org>" <josh@tcbug.org>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: [patch] Fix bug in Makefile for astro/xephem causing files to be installed with wrong ownership
X-Send-Pr-Version: gtk-send-pr 0.4.7 
X-GNATS-Notify:

>Number:         104279
>Category:       ports
>Synopsis:       [patch] Fix bug in Makefile for astro/xephem causing files to be installed with wrong ownership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rafan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 10 22:40:23 GMT 2006
>Closed-Date:    Wed Oct 11 08:37:11 GMT 2006
>Last-Modified:  Wed Oct 11 08:40:23 GMT 2006
>Originator:     Josh Paetzel <josh@tcbug.org>
>Release:        FreeBSD 6.1-RELEASE-p6 i386
>Organization:
>Environment:


System: FreeBSD 6.1-RELEASE-p6 #1: Mon Sep 18 19:09:47 UTC 2006
    jpaetzel@gimpy.tcbug.org:/usr/obj/usr/src/sys/GIMPY



>Description:


The Makefile for astro/xephem has an error in it which causes files to be installed owned by root:444 instead of root:wheel


>How-To-Repeat:


cd /usr/ports/astro/xephem
make install
ls -la /usr/X11R6/lib/X11/xephem

drwxr-xr-x   2 root  444    1024 20 вер 22:04 auxil
drwxr-xr-x   2 root  444     512 20 вер 22:04 catalogs
drwxr-xr-x   2 root  444     512 20 вер 22:06 f


>Fix:


--- Makefile.old        Tue Oct 10 17:31:00 2006
+++ Makefile    Tue Oct 10 17:31:20 2006
@@ -62,7 +62,7 @@
        @${MKDIR} ${PREFIX}/lib/X11/xephem
        ${TAR} -C ${WRKSRC} -cf - auxil catalogs fifos fits gallery help lo tools \
                | ${TAR} -C ${PREFIX}/lib/X11/xephem --unlink -xf -
-       @${FIND} ${PREFIX}/lib/X11/xephem | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREMODE}
+       @${FIND} ${PREFIX}/lib/X11/xephem | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGROUP}
        @${FIND} ${PREFIX}/lib/X11/xephem -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
 
 .include <bsd.port.post.mk>



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->rafan 
Responsible-Changed-By: rafan 
Responsible-Changed-When: Wed Oct 11 06:24:46 UTC 2006 
Responsible-Changed-Why:  
Eat. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=104279 
State-Changed-From-To: open->closed 
State-Changed-By: rafan 
State-Changed-When: Wed Oct 11 08:37:07 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/104279: commit references a PR
Date: Wed, 11 Oct 2006 08:36:55 +0000 (UTC)

 rafan       2006-10-11 08:36:46 UTC
 
   FreeBSD ports repository
 
   Modified files:
     astro/xephem         Makefile 
   Log:
   - Fix wrong ownership on some installed files
   
   PR:             ports/104279
   Submitted by:   Josh Paetzel <josh at tcbug.org> (maintainer)
   Approved by:    portmgr (erwin)
   
   Revision  Changes    Path
   1.46      +2 -1      ports/astro/xephem/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:
