From owner-freebsd-ports@FreeBSD.ORG Sat May 19 19:10:59 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BFCD516A46D for ; Sat, 19 May 2007 19:10:59 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204]) by mx1.freebsd.org (Postfix) with ESMTP id 7526B13C45D for ; Sat, 19 May 2007 19:10:59 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from [85.21.245.235] (helo=phonon.SpringDaemons.com) by com1.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1HpUKP-00086H-FK; Sat, 19 May 2007 23:10:58 +0400 Received: from localhost (localhost [127.0.0.1]) by phonon.SpringDaemons.com (Postfix) with SMTP id CE52111407; Sat, 19 May 2007 04:02:13 +0400 (MSD) Date: Sat, 19 May 2007 04:02:02 +0400 From: Stanislav Sedov To: "Scot Hetzel" Message-Id: <20070519040202.9522336f.stas@FreeBSD.org> In-Reply-To: <790a9fff0705181018ya6ec0e2w1ff8a378bff97e61@mail.gmail.com> References: <200705180948.20172.david@vizion2000.net> <790a9fff0705181018ya6ec0e2w1ff8a378bff97e61@mail.gmail.com> Organization: The FreeBSD Project X-Mailer: carrier-pigeon X-Voice: +7 916 849 20 23 X-XMPP: ssedov@jabber.ru X-ICQ: 208105021 X-Yahoo: stanislav_sedov X-PGP-Fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-University: MEPhI Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Sat__19_May_2007_04_02_02_+0400_2PEHsxKw/yJbZ7=7" X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona 1.6.0 X-Mailman-Approved-At: Sat, 19 May 2007 20:41:13 +0000 Cc: David Southwell , freebsd-ports@freebsd.org Subject: Re: www/trac with mysql X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2007 19:10:59 -0000 --Signature=_Sat__19_May_2007_04_02_02_+0400_2PEHsxKw/yJbZ7=7 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Fri, 18 May 2007 12:18:31 -0500 "Scot Hetzel" mentioned: > On 5/18/07, David Southwell wrote: > > Hi > > > > How do I configure trac to use mysql rather than sqlite?? > > > You'll need to make the following changes to the ports Makefile: > > 1. Add `MYSQL "Use MySQL instead of SQLite3" Off \' to OPTIONS > > 2. Make the following change to the database selection code: > > .if defined(WITH_PGSQL) > RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopg2/__init__.py:${PORTSDIR}/databases/py-psycopg2 > .elif defined(WITH_MYSQL) > RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/MySQLdb/__init__.py:${PORTSDIR}/databases/py-MySQLdb > .else > RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite20 > .endif > > NOTE: the trac website says that MySQL support is experimental. > What about submitting the patch? -- Stanislav Sedov ST4096-RIPE --Signature=_Sat__19_May_2007_04_02_02_+0400_2PEHsxKw/yJbZ7=7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGTj56K/VZk+smlYERAmKOAJ4rCarrmb+vrls5E8/6tGlkH5AIjwCfRBHp jleutKpK9woMI7UmWSBHfoI= =u/9U -----END PGP SIGNATURE----- --Signature=_Sat__19_May_2007_04_02_02_+0400_2PEHsxKw/yJbZ7=7--