From beat@chruetertee.ch Wed Jul 12 06:53:58 2006 Return-Path: Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C62A16A4DE for ; Wed, 12 Jul 2006 06:53:58 +0000 (UTC) (envelope-from beat@chruetertee.ch) Received: from mail15.bluewin.ch (mail15.bluewin.ch [195.186.18.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 112FF43D49 for ; Wed, 12 Jul 2006 06:53:57 +0000 (GMT) (envelope-from beat@chruetertee.ch) Received: from [83.79.179.4] (83.79.179.4) by mail15.bluewin.ch (Bluewin 7.3.110.2) id 4492529600651DB9 for FreeBSD-gnats-submit@freebsd.org; Wed, 12 Jul 2006 06:53:57 +0000 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Wed, 12 Jul 2006 08:53:53 +0200 Message-Id: <4492529600651DB9@mail15.bluewin.ch> (added by postmaster@bluewin.ch) Date: Wed, 12 Jul 2006 08:53:53 +0200 From: "Beat Gaetzi" Reply-To: Beat Gätzi To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: [PATCH] misc/tinderbox: update pkg-message.in X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 100146 >Category: ports >Synopsis: [PATCH] misc/tinderbox: update pkg-message.in >Confidential: no >Severity: non-critical >Priority: low >Responsible: itetcu >State: closed >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Jul 12 07:00:33 GMT 2006 >Closed-Date: Wed Jul 12 17:26:42 GMT 2006 >Last-Modified: Wed Jul 12 17:26:42 GMT 2006 >Originator: Beat Gätzi >Release: FreeBSD 6.1-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD daedalus.network.local 6.1-RELEASE-p2 FreeBSD 6.1-RELEASE-p2 #0: Tue Jun 20 20:11:03 CEST 2006 beat@daedalus.network.local:/usr/obj/usr/src/sys/BEASTIE i386 >Description: - fix a path - fix some filenames - add a short install instruction for MySQL >How-To-Repeat: >Fix: --- pkg-message.in.patch begins here --- --- /usr/ports/misc/tinderbox/files/pkg-message.in.ori Tue Apr 4 19:52:03 2006 +++ /usr/ports/misc/tinderbox/files/pkg-message.in Wed Jul 12 08:35:16 2006 @@ -5,6 +5,8 @@ - First, run the setup program: %%PREFIX%%/tinderbox/scripts/setup.sh + Enter database driver (mysql pgsql): pgsql + If the database is running on the same server as you're on now, and you have administrator access to it, answer this question with yes: @@ -18,9 +20,25 @@ The other questions should just be entered through. +The following walkthrough is for MySQL databases: + +- First, run the setup program: + %%PREFIX%%/tinderbox/scripts/setup.sh + + Enter database driver (mysql pgsql): mysql + + If the database is running on the same server as you're on now, + and you have administrator access to it, answer this question + with yes: + "Does this host have access to connect to the Tinderbox database as a database administrator?" + + Enter the desired username for the Tinderbox database : tinderbox + + The other questions should just be entered through. + The following walkthrough is the tinderbox environment setup: -- Edit the file %%PREFIX%%/scripts/tinderbox.ph (copy from +- Edit the file %%PREFIX%%/tinderbox/scripts/tinderbox.ph (copy from tinderbox.ph.dist) - $BUILD_ROOT should be "%%PREFIX%%/tinderbox" @@ -34,14 +52,14 @@ - Comment out the lines after "for www", and uncomment the lines "for www-exp". - Edit the file %%PREFIX%%/tinderbox/scripts/www-exp/inc_ds.php - (copy from inc_ds.php.dist) + (copy from inc_ds.php-dist) - $DB_HOST should be localhost - $DB_DRIVER should be pgsql - $DB_USER should be tinderbox - Edit the file %%PREFIX%%/tinderbox/scripts/www-exp/inc_tinderbox.php - (copy from inc_tinderbox.php.dist) + (copy from inc_tinderbox.php-dist) - $rootdir should be %%PREFIX%%/tinderbox - $wwwrooturi should be /tb --- pkg-message.in.patch ends here --- >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-ports-bugs->itetcu Responsible-Changed-By: edwin Responsible-Changed-When: Wed Jul 12 07:00:46 UTC 2006 Responsible-Changed-Why: Over to maintainer http://www.freebsd.org/cgi/query-pr.cgi?pr=100146 State-Changed-From-To: open->closed State-Changed-By: itetcu State-Changed-When: Wed Jul 12 17:26:40 UTC 2006 State-Changed-Why: Committed. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=100146 >Unformatted: