Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2006 14:27:08 -0500 (EST)
From:      Wesley Shields <wxs@atarininja.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        itetcu@FreeBSD.org
Subject:   ports/106683: [PATCH]: misc/tinderbox update pkg-message.
Message-ID:  <20061213192708.0DEB45C57@syn.atarininja.org>
Resent-Message-ID: <200612131930.kBDJU9m8057995@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         106683
>Category:       ports
>Synopsis:       [PATCH]: misc/tinderbox update pkg-message.
>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:   Wed Dec 13 19:30:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Wesley Shields
>Release:        FreeBSD 6.1-RELEASE-p10 amd64
>Organization:
>Environment:
System: FreeBSD syn.csh.rit.edu 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #5: Sat Sep 30 21:50:55 EDT 2006 root@syn.csh.rit.edu:/usr/obj/usr/src/sys/SMP amd64

>Description:
misc/tinderbox/files/pkg-message.in has /usr/local hardcoded in a couple
of places and does not say what lines to add when using lighttpd instead
of apache.  The attached patch updates files/pkg-message.in to addresses
these.

I've CC'ed the maintainer on this.

>How-To-Repeat:
N/A

>Fix:

Index: files/pkg-message.in
===================================================================
RCS file: /home/ncvs/ports/misc/tinderbox/files/pkg-message.in,v
retrieving revision 1.5
diff -u -r1.5 pkg-message.in
--- files/pkg-message.in	12 Jul 2006 17:26:20 -0000	1.5
+++ files/pkg-message.in	13 Dec 2006 18:23:44 -0000
@@ -86,15 +86,24 @@
 
 - In your Apache configuration, add the following lines:
 
-  Alias /tb/logs/ "/usr/local/tinderbox/logs/"
-  Alias /tb/packages/ "/usr/local/tinderbox/packages/"
-  Alias /tb/errors/ "/usr/local/tinderbox/errors/"
-  Alias /tb/ "/usr/local/tinderbox/scripts/www-exp/"
-  <Directory "/usr/local/tinderbox/">
+  Alias /tb/logs/ "%%PREFIX%%/tinderbox/logs/"
+  Alias /tb/packages/ "%%PREFIX%%/tinderbox/packages/"
+  Alias /tb/errors/ "%%PREFIX%%/tinderbox/errors/"
+  Alias /tb/ "%%PREFIX%%/tinderbox/scripts/www-exp/"
+  <Directory "%%PREFIX%%/tinderbox/">
       Order allow,deny
       Allow from all
   </Directory>
 
+- In your Lighttpd configuration:
+
+Turn on "mod_alias" and add the following lines:
+
+alias.url = ( "/tb/packages/" => "%%PREFIX%%/tinderbox/packages/",
+              "/tb/errors/" => "%%PREFIX%%/tinderbox/errors/",
+              "/tb/" => "%%PREFIX%%/tinderbox/scripts/www-exp/" )
+dir-listing.activate = "enable"
+
   Check your system by going to http://localhost/tb/
 
 The following walkthrough is the first run for a port in the
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061213192708.0DEB45C57>