From pgollucci@FreeBSD.org  Mon May 11 08:43:43 2009
Return-Path: <pgollucci@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 8B0DF106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 11 May 2009 08:43:43 +0000 (UTC)
	(envelope-from pgollucci@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 78CCC8FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 11 May 2009 08:43:43 +0000 (UTC)
	(envelope-from pgollucci@FreeBSD.org)
Received: from freefall.freebsd.org (pgollucci@localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4B8hgDx094267
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 11 May 2009 08:43:42 GMT
	(envelope-from pgollucci@freefall.freebsd.org)
Received: (from pgollucci@localhost)
	by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4B8hgaF094266;
	Mon, 11 May 2009 08:43:42 GMT
	(envelope-from pgollucci)
Message-Id: <200905110843.n4B8hgaF094266@freefall.freebsd.org>
Date: Mon, 11 May 2009 08:43:42 GMT
From: "Philip M. Gollucci" <pgollucci@freebsd.org>
Reply-To: "Philip M. Gollucci" <pgollucci@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: www/apache22: file permissions are wrong
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         134456
>Category:       ports
>Synopsis:       www/apache22: file permissions are wrong
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    apache
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 11 08:50:01 UTC 2009
>Closed-Date:    Fri May 07 03:16:03 UTC 2010
>Last-Modified:  Fri May  7 03:20:01 UTC 2010
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 7.1-PRERELEASE i386
>Organization:
RideCharge Inc.
>Environment:
>Description:
Hello,

When installing www/apache22 port from CURRENT some files get installed
with wrong ownership (owned by user that was doing sudo for make
install, not root). Here's the list:

/usr/local/libexec/apache22/httpd.exp
/usr/local/man/man1/dbmmanage.1.gz
/usr/local/man/man1/htdbm.1.gz
/usr/local/man/man1/htdigest.1.gz
/usr/local/man/man1/htpasswd.1.gz
/usr/local/man/man8/ab.8.gz
/usr/local/man/man8/apachectl.8.gz
/usr/local/man/man8/apxs.8.gz
/usr/local/man/man8/htcacheclean.8.gz
/usr/local/man/man8/httpd.8.gz
/usr/local/man/man8/logresolve.8.gz
/usr/local/man/man8/rotatelogs.8.gz
/usr/local/man/man8/suexec.8.gz
/usr/local/sbin/apachectl*
/usr/local/sbin/apxs*
/usr/local/sbin/dbmmanage*
/usr/local/sbin/envvars
/usr/local/sbin/split-logfile*
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->apache 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon May 11 08:50:29 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134456 
Responsible-Changed-From-To: apache->pgollucci 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Wed Jun 10 06:18:53 UTC 2009 
Responsible-Changed-Why:  
this can go in the next round 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134456 
Responsible-Changed-From-To: pgollucci->portmgr 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Fri Dec 11 23:50:49 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer. 

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

From: "Philip M. Gollucci" <pgollucci@ridecharge.com>
To: bug-followup@FreeBSD.org, pgollucci@freebsd.org
Cc:  
Subject: Re: ports/134456: www/apache22: file permissions are wrong
Date: Fri, 11 Dec 2009 23:50:34 +0000

 This is actually a generic ports infrastructure problem and should be 
 solved in Mk/bsd*.mk.
 
 Sending this over to portmgr@ for review.
 
 -- 
 ------------------------------------------------------------------------
 Philip M. Gollucci (pgollucci@ridecharge.com)
 p: 703.549.2050x206, did: 703.579.6947
 Senior System Admin - RideCharge, Inc.  http://ridecharge.com
 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
 
 Work like you don't need the money,
 love like you'll never get hurt,
 and dance like nobody's watching.
Responsible-Changed-From-To: portmgr->pgollucci 
Responsible-Changed-By: pav 
Responsible-Changed-When: Sun Dec 13 18:30:07 UTC 2009 
Responsible-Changed-Why:  
Quoting WRKSRC/support/Makefile.in: 

@for i in apxs apachectl dbmmanage split-logfile; do  
if test -f "$(builddir)/$$i"; then  
cp -p $$i $(DESTDIR)$(sbindir);  
chmod 755 $(DESTDIR)$(sbindir)/$$i;  
fi ;  
done 

The files are "installed" by cp, chmodded, but never chowned.  That's vendor 
code in your port.  How is this a framework bug? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134456 
State-Changed-From-To: open->analyzed 
State-Changed-By: pgollucci 
State-Changed-When: Mon Dec 14 06:05:21 UTC 2009 
State-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=134456 
Responsible-Changed-From-To: pgollucci->apache 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Thu Apr 29 18:39:09 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134456 
State-Changed-From-To: analyzed->closed 
State-Changed-By: pgollucci 
State-Changed-When: Fri May 7 03:16:02 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/134456: commit references a PR
Date: Fri,  7 May 2010 03:15:53 +0000 (UTC)

 pgollucci    2010-05-07 03:15:44 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/apache22         Makefile 
     www/apache22/files   patch-Makefile.in 
                          patch-support__Makefile.in 
   Log:
   - Fix the owner to be root:wheel on files* when running sudo make ...
     This doesn't affect the package b/c pointyhat/tb run as root
   
   PR:             ports/134456
   With Hat:       apache@
   
   Revision  Changes    Path
   1.260     +2 -1      ports/www/apache22/Makefile
   1.25      +11 -3     ports/www/apache22/files/patch-Makefile.in
   1.2       +3 -1      ports/www/apache22/files/patch-support__Makefile.in
 _______________________________________________
 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:
