FreeBSD Bugzilla – Attachment 80336 Details for
Bug 115243
maintainer update: www/b2evolution (trial 2)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.39 KB, created by
Sergei Vyshenski
on 2007-08-06 12:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Sergei Vyshenski
Created:
2007-08-06 12:30:01 UTC
Size:
3.39 KB
patch
obsolete
>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 <chinsan@mail20000.com.tw> > # >-# $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 <bsd.port.pre.mk> > >+.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. >- [1;32m# >- # Directives to allow use of b2evolution >- # >- Alias /%%B2EVO_URL%% "%%PREFIX%%/%%B2EVO_DIR%%/"[m >- >-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! > ==================================================================
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 115243
: 80336