FreeBSD Bugzilla – Attachment 102898 Details for
Bug 142732
[PATCH] mail/ilohamail: use $SUB_FILES to dynamically adjust pkg-message
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ilohamail-0.8.13_1.patch
ilohamail-0.8.13_1.patch (text/plain), 4.05 KB, created by
Sevan Janiyan
on 2010-01-11 23:30:07 UTC
(
hide
)
Description:
ilohamail-0.8.13_1.patch
Filename:
MIME Type:
Creator:
Sevan Janiyan
Created:
2010-01-11 23:30:07 UTC
Size:
4.05 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/mail/ilohamail/Makefile,v >retrieving revision 1.4 >diff -u -r1.4 Makefile >--- Makefile 22 Aug 2009 00:27:46 -0000 1.4 >+++ Makefile 11 Jan 2010 23:20:24 -0000 >@@ -33,7 +33,8 @@ > .endif > > PLIST_SUB+= ILOHADIR="${ILOHADIR:S,^${PREFIX}/,,}" >-PKGMESSAGE= ${WRKDIR}/pkg-message >+SUB_FILES= pkg-message >+SUB_LIST= ILOHADIR=${ILOHADIR} > > pre-everything:: > @${ECHO_MSG} "" >@@ -55,10 +56,6 @@ > .endif > > post-install: >- @${SED} -e 's|%%ILOHADIR%%|${ILOHADIR}|g' \ >- -e 's|%%DATADIR%%|${DATADIR}|g' \ >- -e 's|%%DOCSDIR%%|${DOCSDIR}|g' \ >- < ${MASTERDIR}/pkg-message > ${PKGMESSAGE} > @${CAT} ${PKGMESSAGE} > > .include <bsd.port.mk> >Index: pkg-message >=================================================================== >RCS file: pkg-message >diff -N pkg-message >--- pkg-message 28 Feb 2004 11:19:44 -0000 1.1 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -1,41 +0,0 @@ >-========================================================================== >-IlohaMail has now been installed. >- >-Create a redirect one of the following methods: >- - add an alias to apache's httpd.conf pointing to %%ILOHADIR%%/source >- - create a VirtualHost with DocumentRoot set to %%ILOHADIR%%/source >- - make a symbolic link to %%ILOHADIR%%/source >- >-Check your PHP.ini file. You need: >- - short_open_tag = On >- - file_uploads = On >- >-Edit %%ILOHADIR%%/conf/conf.inc and >-%%ILOHADIR%%/conf/login.inc files as necessary. >- >-Using the MySQL back-end is also recommended. >- >- 1. Create database user who has rights on webmail database manipulation >- by following "sample" mysql commands: >- >- $ mysql -u root -p >- mysql> use mysql; >- mysql> grant select,insert,update,delete,index, >- -> alter,create,drop,references, lock tables, >- -> create temporary tables on webmail.* to webmail@localhost >- -> identified by 'password'; >- mysql> flush privileges; >- >- 2. Create a MySQL database. >- $ mysqladmin create webmail >- >- 3. Create tables. >- $ mysql webmail < %%DATADIR%%/MySQL/sql >- >- 4. Configure %%ILOHADIR%%/conf/db_conf.php. >- >- 5. Set value of $backend in %%ILOHADIR%%/conf/conf.inc from "FS" to "DB". >- >-For more complete database setup, post-installation instructions >-please read IlohaMail Guide in %%DOCSDIR%%/Manual. >-========================================================================== >Index: files/pkg-message.in >=================================================================== >RCS file: files/pkg-message.in >diff -N files/pkg-message.in >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/pkg-message.in 11 Jan 2010 23:20:24 -0000 >@@ -0,0 +1,41 @@ >+========================================================================== >+IlohaMail has now been installed. >+ >+Create a redirect one of the following methods: >+ - add an alias to apache's httpd.conf pointing to %%ILOHADIR%%/source >+ - create a VirtualHost with DocumentRoot set to %%ILOHADIR%%/source >+ - make a symbolic link to %%ILOHADIR%%/source >+ >+Check your PHP.ini file. You need: >+ - short_open_tag = On >+ - file_uploads = On >+ >+Edit %%ILOHADIR%%/conf/conf.inc and >+%%ILOHADIR%%/conf/login.inc files as necessary. >+ >+Using the MySQL back-end is also recommended. >+ >+ 1. Create database user who has rights on webmail database manipulation >+ by following "sample" mysql commands: >+ >+ $ mysql -u root -p >+ mysql> use mysql; >+ mysql> grant select,insert,update,delete,index, >+ -> alter,create,drop,references, lock tables, >+ -> create temporary tables on webmail.* to webmail@localhost >+ -> identified by 'password'; >+ mysql> flush privileges; >+ >+ 2. Create a MySQL database. >+ $ mysqladmin create webmail >+ >+ 3. Create tables. >+ $ mysql webmail < %%DATADIR%%/MySQL/sql >+ >+ 4. Configure %%ILOHADIR%%/conf/db_conf.php. >+ >+ 5. Set value of $backend in %%ILOHADIR%%/conf/conf.inc from "FS" to "DB". >+ >+For more complete database setup, post-installation instructions >+please read IlohaMail Guide in %%DOCSDIR%%/Manual. >+==========================================================================
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 142732
: 102898