From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 1 15:20:39 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAA7C16A4E1 for ; Tue, 1 Aug 2006 15:20:39 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87FE443DCE for ; Tue, 1 Aug 2006 15:20:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k71FKFxa019009 for ; Tue, 1 Aug 2006 15:20:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k71FKFkU019008; Tue, 1 Aug 2006 15:20:15 GMT (envelope-from gnats) Resent-Date: Tue, 1 Aug 2006 15:20:15 GMT Resent-Message-Id: <200608011520.k71FKFkU019008@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, chinsan Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C017016A4DD for ; Tue, 1 Aug 2006 15:17:21 +0000 (UTC) (envelope-from chinsan.tw@gmail.com) Received: from smtp2.bc.hgc.com.tw (smtp2.bc.hgc.com.tw [203.133.1.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id D132F43D96 for ; Tue, 1 Aug 2006 15:17:00 +0000 (GMT) (envelope-from chinsan.tw@gmail.com) Received: from smtp2.bc.hgc.com.tw (61-63-0-host123.kbtelecom.net.tw [61.63.0.123]) by smtp2.bc.hgc.com.tw (Postfix) with SMTP id 544352FFEC for ; Tue, 1 Aug 2006 23:16:20 +0800 (CST) Received: by smtp2.bc.hgc.com.tw (sSMTP sendmail emulation); Tue, 1 Aug 2006 23:02:41 +0800 Message-Id: <20060801151620.544352FFEC@smtp2.bc.hgc.com.tw> Date: Tue, 1 Aug 2006 23:02:41 +0800 From: chinsan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/101179: [MAINTAINER] www/b2evolution: All web applications should be now installed into ${PREFIX}/www/appname X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2006 15:20:39 -0000 >Number: 101179 >Category: ports >Synopsis: [MAINTAINER] www/b2evolution: All web applications should be now installed into ${PREFIX}/www/appname >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: Tue Aug 01 15:20:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: chinsan >Release: FreeBSD 6.1-STABLE i386 >Organization: Taiwan >Environment: System: FreeBSD BSD6.giga.hgc.com.tw 6.1-STABLE FreeBSD 6.1-STABLE #5: Mon Jul 17 09:30:36 CST 2006 >Description: - All web applications should be now installed into ${PREFIX}/www/appname 20060622: AFFECTS: users of www/b2evolution AUTHOR: chinsan.tw@gmail.com The default install location has changed from ${PREFIX}/www/data/b2evolution to ${PREFIX}/www/b2evolution. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- b2evolution-0.9.2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/www/b2evolution/Makefile /usr/home/chinsan/project/b2evolution/Makefile --- /usr/ports/www/b2evolution/Makefile Thu Jun 8 15:26:02 2006 +++ /usr/home/chinsan/project/b2evolution/Makefile Tue Aug 1 22:52:23 2006 @@ -28,25 +28,8 @@ TMPDIR?= ${PORTNAME} WRKSRC= ${WRKDIR}/${TMPDIR} -.if !defined(B2EVO_URL) -pre-fetch: - @${ECHO_MSG} "" - @${ECHO_MSG} "Define B2EVO_URL to override default of ${PREFIX}/${WWWDOCROOT}/'${B2EVO_URL}'." - @${ECHO_MSG} "" -.endif - -# Get HOSTNAME -.if exists(/sbin/sysctl) -HOSTNAME!= /sbin/sysctl -n kern.hostname -.else -HOSTNAME!= /usr/sbin/sysctl -n kern.hostname -.endif - -WWWDOCROOT?= www/data B2EVO_URL?= b2evo -WWWOWN?= www -WWWGRP?= www -B2EVO_DIR?= ${WWWDOCROOT}/${B2EVO_URL} +B2EVO_DIR?= www/${B2EVO_URL} PLIST= ${WRKDIR}/pkg-plist .include @@ -56,8 +39,7 @@ ${SED} -e 's|^./||;s|^|${B2EVO_DIR}/|' > ${PLIST} \ && ${FIND} -d * -type d | \ ${SED} -e 's|^|@dirrm ${B2EVO_DIR}/|' >> ${PLIST} \ - && ${ECHO_CMD} @dirrm ${B2EVO_DIR} >> ${PLIST} \ - && ${ECHO_CMD} @dirrmtry ${WWWDOCROOT} >> ${PLIST} + && ${ECHO_CMD} @dirrm ${B2EVO_DIR} >> ${PLIST} do-install: -${MKDIR} ${PREFIX}/${B2EVO_DIR} @@ -67,7 +49,8 @@ @${CHMOD} 665 ${PREFIX}/${B2EVO_DIR}/blogs/conf/_config.php post-install: - @${SED} -e 's|%%HOSTNAME%%|${HOSTNAME}|; s|%%B2EVO_URL%%|${B2EVO_URL}|' \ + @${SED} -e 's|%%PREFIX%%|${PREFIX}|; s|%%PORTNAME%%|${PORTNAME}|' \ + -e 's|%%B2EVO_DIR%%|${B2EVO_DIR}|; s|%%B2EVO_URL%%|${B2EVO_URL}|' \ ${PKGMESSAGE} .include diff -ruN --exclude=CVS /usr/ports/www/b2evolution/pkg-message /usr/home/chinsan/project/b2evolution/pkg-message --- /usr/ports/www/b2evolution/pkg-message Sun Sep 4 07:31:18 2005 +++ /usr/home/chinsan/project/b2evolution/pkg-message Tue Aug 1 22:35:54 2006 @@ -15,10 +15,16 @@ mysql> FLUSH PRIVILEGES; mysql> QUIT; -3.Open b2evo installation page in your web browser +3. Please add the following to your apache config, and restart. + # + # Directives to allow use of b2evolution + # + Alias /%%PORTNAME%% "%%PREFIX%%/%%B2EVO_DIR%%/" + +4.Open b2evo installation page in your web browser and login with b2evouser/b2evopassword - http://%%HOSTNAME%%/%%B2EVO_URL%%/blogs/install/ + 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 --- b2evolution-0.9.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: