From owner-freebsd-ports Thu Apr 11 13:10:36 2002 Delivered-To: freebsd-ports@freebsd.org Received: from e4500a.callatg.com (e4500a.atgi.net [216.174.194.60]) by hub.freebsd.org (Postfix) with SMTP id 72E7E37B41F for ; Thu, 11 Apr 2002 13:10:23 -0700 (PDT) Received: (qmail 307 invoked from network); 11 Apr 2002 20:10:23 -0000 Received: from unknown (HELO boondock) (64.42.111.66) by e4500a.atgi.net with SMTP; 11 Apr 2002 20:10:23 -0000 Message-ID: <001601c1e194$fb948ab0$426f2a40@boondock> From: "Jason Watkins" To: "Neil Blakey-Milner" Cc: , References: <019e01c1e134$5c3c4fd0$426f2a40@boondock> <20020411093417.GA55586@mithrandr.moria.org> Subject: Re: FreeBSD Port: bugzilla-2.14.1 Date: Thu, 11 Apr 2002 13:10:53 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Right, that all makes sense enough. I understand _why_ it and other applications like it go to data.default by default. I'm trying to think if there isn't a more elegant way from here to there tho. For example, I also use /usr/ports/www/gallery, and have it installed twice. The reason being one user wants his own gallery away from the rest of my and my friends stuff (mostly so that it's family safe :P). This proves to be a pita every time I do a portupgrade. Unfortunately, I can't think of any solution to this issue, since it's a fundamental assumption of /usr/ports and the package system that something is installed once. In the case of bugzilla, it's no biggie if it won't accept a --prefix /usr/local/www/data.bugzilla or the like. However, the issues with ./checksetup.pl arn't going to go away. It would be nice if the port patched this script so that it generated the right owner and group, and ignores the owner it is run as. This is because, /usr/ports/www/apache* set up user 'www' with nologin, which is quite a good thing to do. I dislike having to change group and user ownership every time I need to run checksetup.pl. And while I'm a relatively novice user, true novices might be quite confused as to what the problem is. Look, I don't want to bitch pointlessly. But at the same time, I don't know make well enough at this point to do a checkout and make the changes I feel are sane. So I just wanted to pass along my thoughts. That being done, I don't want to inflict them on you. Despite the slight bumps, it's nice to have bugzilla in /usr/ports instead of my tarball archives, and it is nice to skip have the install related to mysql and perl bits. jason ----- Original Message ----- From: "Neil Blakey-Milner" To: "Jason Watkins" Cc: ; Sent: Thursday, April 11, 2002 2:34 AM Subject: Re: FreeBSD Port: bugzilla-2.14.1 > On Thu 2002-04-11 (01:39), Jason Watkins wrote: > > It would be nice to have this install somewhere besides /data.default, since > > I use vhosts and will have to copy stuff around on each update. > > The ports team for FreeBSD can do one of two things: Provide web > applications in the default web root for users so they "just work" with > minimal configuration, or provide web applications in another location > and force users to purposefully add an Alias (or more) for each > application. > > I think the first is the better option. I can't imagine people who are > capable of using virtual hosts being unable to use a new default web > root and unable to do the Alias bits necessary to get the application to > work in their virtual host. > > For example, an excerpt from my configuration: > > # $Header: /usr/local/etc/apache/RCS/vhost.conf,v 1.31 2002/04/06 14:43:13 nbm Exp $ > # > > NameVirtualHost * > > > ServerName pike.moria.org > ServerAlias pike > > DocumentRoot "/usr/local/www/pike/data" > ErrorLog /var/log/apache/pike.moria.org/error_log > CustomLog /var/log/apache/pike.moria.org/access_log common > > Alias /phpMyAdmin /usr/local/www/data.default/phpMyAdmin > Alias /phpPgAdmin /usr/local/www/data.default/phpPgAdmin > > Alias /achievo /usr/local/www/data.default/achievo > > Alias /diveintopython /usr/local/share/doc/diveintopython > Alias /python /usr/local/share/doc/python2.2/ > > Alias /apache /usr/local/share/doc/apache > Alias /php /usr/local/share/doc/php > > Alias /postgresql /usr/local/share/doc/postgresql/html > > Alias /docbook-tdg /usr/local/share/doc/docbook-tdg > > Alias /exim /usr/local/share/doc/exim/html > > Alias /bugzilla /usr/local/www/bugzilla > > Alias /bugzilla-doc /usr/local/share/doc/bugzilla/html > > Alias /tomcat /usr/local/jakarta-tomcat4.0.3/webapps/tomcat-docs/ > > RewriteEngine on > RewriteCond %{HTTP:Authorization} ^(.*) > RewriteRule ^/Zope(.*) /usr/local/www/cgi-bin.default/Zope.cgi$1 [env=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l] > > > > > Neil > -- > Neil Blakey-Milner > nbm@mithrandr.moria.org > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message