From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 6 11:30:02 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B30A316A419 for ; Mon, 6 Aug 2007 11:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9091713C45B for ; Mon, 6 Aug 2007 11:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l76BU2vD033589 for ; Mon, 6 Aug 2007 11:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l76BU24g033588; Mon, 6 Aug 2007 11:30:02 GMT (envelope-from gnats) Resent-Date: Mon, 6 Aug 2007 11:30:02 GMT Resent-Message-Id: <200708061130.l76BU24g033588@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sergei Vyshenski Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A38E16A41A for ; Mon, 6 Aug 2007 11:27:44 +0000 (UTC) (envelope-from svysh@pn.sinp.msu.ru) Received: from vivaldi.pn.sinp.msu.ru (pn-gw.sinp.msu.ru [213.131.0.178]) by mx1.freebsd.org (Postfix) with ESMTP id DDD5613C428 for ; Mon, 6 Aug 2007 11:27:43 +0000 (UTC) (envelope-from svysh@pn.sinp.msu.ru) Received: from ox.pn.sinp.msu.ru (ox.pn.sinp.msu.ru [213.131.11.253]) (authenticated bits=128) by vivaldi.pn.sinp.msu.ru (8.14.1/8.14.1) with ESMTP id l76BRcLB044806 for ; Mon, 6 Aug 2007 15:27:38 +0400 (MSD) (envelope-from svysh@pn.sinp.msu.ru) Received: from ox.pn.sinp.msu.ru (localhost [127.0.0.1]) by ox.pn.sinp.msu.ru (8.14.1/8.14.1) with ESMTP id l76BRVMP017108 for ; Mon, 6 Aug 2007 15:27:31 +0400 (MSD) (envelope-from svysh@ox.pn.sinp.msu.ru) Received: (from svysh@localhost) by ox.pn.sinp.msu.ru (8.14.1/8.14.1/Submit) id l76BRVRB017107; Mon, 6 Aug 2007 15:27:31 +0400 (MSD) (envelope-from svysh) Message-Id: <200708061127.l76BRVRB017107@ox.pn.sinp.msu.ru> Date: Mon, 6 Aug 2007 15:27:31 +0400 (MSD) From: Sergei Vyshenski To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/115243: maintainer update: www/b2evolution (trial 2) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sergei Vyshenski List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2007 11:30:02 -0000 >Number: 115243 >Category: ports >Synopsis: maintainer update: www/b2evolution (trial 2) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Aug 06 11:30:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Sergei Vyshenski >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD ox.pn.sinp.msu.ru 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Jun 29 19:24:03 MSD 2007 root@ox.pn.sinp.msu.ru:/usr/obj/usr/src/sys/OX i386 >Description: added missing conditional dependency on appropriate version of MySQL server, respect change of DESTDIR into PREFIX, committed by gabor on Aug 4. >How-To-Repeat: >Fix: diff -ur www/b2evolution/Makefile www/b2evolution.new/Makefile --- www/b2evolution/Makefile 2007-08-05 19:09:46.000000000 +0400 +++ www/b2evolution.new/Makefile 2007-08-06 15:08:21.000000000 +0400 @@ -2,11 +2,12 @@ # Date created: 2005-04-16 # Whom: chinsan # -# $FreeBSD: ports/www/b2evolution/Makefile,v 1.17 2007/08/04 11:41:25 gabor Exp $ +# $FreeBSD: ports/www/b2evolution/Makefile,v 1.16 2007/06/14 21:14:48 pav Exp $ # PORTNAME= b2evolution PORTVERSION= 1.10.2 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= evocms @@ -27,13 +28,19 @@ TMPDIR?= ${PORTNAME} WRKSRC= ${WRKDIR}/${TMPDIR} - B2EVO_URL?= b2evo B2EVO_DIR?= www/${B2EVO_URL} PLIST= ${WRKDIR}/pkg-plist +OPTIONS= LOCAL_DB_SERVER "Want to use local MySQL server?" on + .include +.if defined(WITH_LOCAL_DB_SERVER) +USE_MYSQL= YES +RUN_DEPENDS+= mysql-server>=0:${PORTSDIR}/databases/mysql${MYSQL_VER}-server +.endif + pre-install: @cd ${WRKSRC} && ${FIND} -s . -type f | \ ${SED} -e 's|^./||;s|^|${B2EVO_DIR}/|' > ${PLIST} \ diff -ur www/b2evolution/pkg-message www/b2evolution.new/pkg-message --- www/b2evolution/pkg-message 2007-08-05 19:09:46.000000000 +0400 +++ www/b2evolution.new/pkg-message 2007-08-06 15:15:35.000000000 +0400 @@ -2,34 +2,38 @@ b2evolution is now installed. If you install it for the first time, you may need to perform the following steps. -1. Create the MySQL database: +1. Make sure your mysql-server is running. - # mysqladmin --user=root -p create b2evolution +2. Create a new MySQL database: -2. Create a mysql user/password for the b2evolution database: + # mysqladmin --user=root -p create b2evolution + + (in mysql root's password is empty unless you have set it in advance). + +3. Create a mysql user/password for the b2evolution database: (change user and/or password if required) - # mysql -u root -p - mysql> GRANT ALL ON b2evolution.* TO b2evouser@localhost - IDENTIFIED BY 'b2evopassword'; - mysql> FLUSH PRIVILEGES; - mysql> QUIT; - -3. Please add the following to your apache config, and restart. - # - # Directives to allow use of b2evolution - # - Alias /%%B2EVO_URL%% "%%PREFIX%%/%%B2EVO_DIR%%/" - -4.Open b2evo installation page in your web browser - and login with b2evouser/b2evopassword - - http://www.your.host/%%B2EVO_URL%%/blogs/install/ - - If you are doing a fresh install... - Note that password carefully! It is a random password that is given to you - when you install b2evolution. - If you lose it, you will have to delete the database tables and reinstall. + # mysql -u root -p + mysql> GRANT ALL ON b2evolution.* TO b2evouser@localhost + IDENTIFIED BY 'b2evopassword'; + mysql> FLUSH PRIVILEGES; + mysql> QUIT; + +4. Add the following to your apache config, and restart. + # + # Directives to allow use of b2evolution + # + Alias /%%B2EVO_URL%% "%%PREFIX%%/%%B2EVO_DIR%%/" + # + +5. Open b2evo installation page in your web browser + and login with b2evouser/b2evopassword + + http://www.your.host/%%B2EVO_URL%%/blogs/install/ + + (if you are doing a fresh install...) + Note that password carefully! It is a random password that is given to you + when you install b2evolution. + If you lose it, you will have to delete the database tables and reinstall. - Have fun! ================================================================== >Release-Note: >Audit-Trail: >Unformatted: