ports/106683: [PATCH]: misc/tinderbox update pkg-message.

Wesley Shields wxs at atarininja.org
Wed Dec 13 19:30:38 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list