View | Details | Raw Unified | Return to bug 142732
Collapse All | Expand All

(-)Makefile (-5 / +2 lines)
Lines 33-39 Link Here
33
.endif
33
.endif
34
34
35
PLIST_SUB+=	ILOHADIR="${ILOHADIR:S,^${PREFIX}/,,}"
35
PLIST_SUB+=	ILOHADIR="${ILOHADIR:S,^${PREFIX}/,,}"
36
PKGMESSAGE=	${WRKDIR}/pkg-message
36
SUB_FILES=	pkg-message
37
SUB_LIST=	ILOHADIR=${ILOHADIR}
37
38
38
pre-everything::
39
pre-everything::
39
	@${ECHO_MSG} ""
40
	@${ECHO_MSG} ""
Lines 55-64 Link Here
55
.endif
56
.endif
56
57
57
post-install:
58
post-install:
58
	@${SED} -e 's|%%ILOHADIR%%|${ILOHADIR}|g' \
59
		-e 's|%%DATADIR%%|${DATADIR}|g' \
60
		-e 's|%%DOCSDIR%%|${DOCSDIR}|g' \
61
		< ${MASTERDIR}/pkg-message > ${PKGMESSAGE}
62
	@${CAT} ${PKGMESSAGE}
59
	@${CAT} ${PKGMESSAGE}
63
60
64
.include <bsd.port.mk>
61
.include <bsd.port.mk>
(-)pkg-message (-41 lines)
Removed Link Here
1
==========================================================================
2
IlohaMail has now been installed.
3
4
Create a redirect one of the following methods:
5
 - add an alias to apache's httpd.conf pointing to %%ILOHADIR%%/source
6
 - create a VirtualHost with DocumentRoot set to %%ILOHADIR%%/source
7
 - make a symbolic link to %%ILOHADIR%%/source
8
9
Check your PHP.ini file.  You need:
10
 - short_open_tag = On
11
 - file_uploads = On
12
13
Edit %%ILOHADIR%%/conf/conf.inc and
14
%%ILOHADIR%%/conf/login.inc files as necessary.
15
16
Using the MySQL back-end is also recommended.
17
18
  1. Create database user who has rights on webmail database manipulation
19
     by following "sample" mysql commands:
20
21
     $ mysql -u root -p
22
     mysql> use mysql;
23
     mysql> grant select,insert,update,delete,index,
24
         -> alter,create,drop,references, lock tables,
25
         -> create temporary tables on webmail.* to webmail@localhost
26
         -> identified by 'password';
27
     mysql> flush privileges;
28
29
  2. Create a MySQL database.
30
     $ mysqladmin create webmail
31
32
  3. Create tables.
33
     $ mysql webmail < %%DATADIR%%/MySQL/sql
34
35
  4. Configure %%ILOHADIR%%/conf/db_conf.php.
36
37
  5. Set value of $backend in %%ILOHADIR%%/conf/conf.inc from "FS" to "DB".
38
39
For more complete database setup, post-installation instructions
40
please read IlohaMail Guide in %%DOCSDIR%%/Manual.
41
==========================================================================
(-)files/pkg-message.in (+41 lines)
Added Link Here
1
==========================================================================
2
IlohaMail has now been installed.
3
4
Create a redirect one of the following methods:
5
 - add an alias to apache's httpd.conf pointing to %%ILOHADIR%%/source
6
 - create a VirtualHost with DocumentRoot set to %%ILOHADIR%%/source
7
 - make a symbolic link to %%ILOHADIR%%/source
8
9
Check your PHP.ini file.  You need:
10
 - short_open_tag = On
11
 - file_uploads = On
12
13
Edit %%ILOHADIR%%/conf/conf.inc and
14
%%ILOHADIR%%/conf/login.inc files as necessary.
15
16
Using the MySQL back-end is also recommended.
17
18
  1. Create database user who has rights on webmail database manipulation
19
     by following "sample" mysql commands:
20
21
     $ mysql -u root -p
22
     mysql> use mysql;
23
     mysql> grant select,insert,update,delete,index,
24
         -> alter,create,drop,references, lock tables,
25
         -> create temporary tables on webmail.* to webmail@localhost
26
         -> identified by 'password';
27
     mysql> flush privileges;
28
29
  2. Create a MySQL database.
30
     $ mysqladmin create webmail
31
32
  3. Create tables.
33
     $ mysql webmail < %%DATADIR%%/MySQL/sql
34
35
  4. Configure %%ILOHADIR%%/conf/db_conf.php.
36
37
  5. Set value of $backend in %%ILOHADIR%%/conf/conf.inc from "FS" to "DB".
38
39
For more complete database setup, post-installation instructions
40
please read IlohaMail Guide in %%DOCSDIR%%/Manual.
41
==========================================================================

Return to bug 142732