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

(-)flyspray/Makefile (-3 / +8 lines)
Lines 24-30 Link Here
24
24
25
OPTIONS=	GRAPHVIZ "Install Graphviz for task dependency graphs" off \
25
OPTIONS=	GRAPHVIZ "Install Graphviz for task dependency graphs" off \
26
		MYSQLI "Use MySQLi Database Interface" on \
26
		MYSQLI "Use MySQLi Database Interface" on \
27
		MYSQL "Use MySQL Database Interface" off
27
		MYSQL "Use MySQL Database Interface" off \
28
		POSTGRES "Use PostgreSQL Database Interface" off
28
29
29
FLYSPRAYDIR=	${PREFIX}/share/${PORTNAME}
30
FLYSPRAYDIR=	${PREFIX}/share/${PORTNAME}
30
ATTACHMENTDIR=	${DBDIR}/${PORTNAME}/attachments
31
ATTACHMENTDIR=	${DBDIR}/${PORTNAME}/attachments
Lines 54-60 Link Here
54
55
55
.include <bsd.port.pre.mk>
56
.include <bsd.port.pre.mk>
56
57
57
.if !defined(WITHOUT_MYSQL)
58
.if defined(WITH_MYSQL)
58
USE_PHP+=	mysql
59
USE_PHP+=	mysql
59
.endif
60
.endif
60
61
Lines 62-68 Link Here
62
USE_PHP+=	mysqli
63
USE_PHP+=	mysqli
63
.endif
64
.endif
64
65
65
.ifdef WITH_GRAPHVIZ
66
.if defined(WITH_POSTGRES)
67
USE_PHP+=	pgsql
68
.endif
69
70
.if defined(WITH_GRAPHVIZ)
66
RUN_DEPENDS+=	${LOCALBASE}/bin/dot:${PORTSDIR}/graphics/graphviz
71
RUN_DEPENDS+=	${LOCALBASE}/bin/dot:${PORTSDIR}/graphics/graphviz
67
.endif
72
.endif
68
73
(-)flyspray/distinfo (-1 lines)
Lines 1-3 Link Here
1
MD5 (flyspray-0.9.9.6.zip) = 095b46b08881554790830edab51970ed
2
SHA256 (flyspray-0.9.9.6.zip) = c5c728bb66aca8c8ded3533387a751a129a2096b230f9dd1c16f77d1767bbe6c
1
SHA256 (flyspray-0.9.9.6.zip) = c5c728bb66aca8c8ded3533387a751a129a2096b230f9dd1c16f77d1767bbe6c
3
SIZE (flyspray-0.9.9.6.zip) = 1573955
2
SIZE (flyspray-0.9.9.6.zip) = 1573955
(-)flyspray/files/README.FreeBSD (-7 / +10 lines)
Lines 4-15 Link Here
4
0) If you are upgrading from a previous version of flyspray, please skip to
4
0) If you are upgrading from a previous version of flyspray, please skip to
5
   the Upgrading section below.
5
   the Upgrading section below.
6
6
7
1) Create a mysql database for Flyspray to use.  Here is one way to do that,
7
1) Create a database for Flyspray to use.  Here is one way to do that, from 
8
   from the unix/linux command line, entering your mysql root password when
8
   the unix/linux command line, entering your mysql root password (in case
9
   prompted:
9
   using mysql backend) when prompted:
10
10
11
For MySQL:
11
# mysqladmin -u root -p create flyspray
12
# mysqladmin -u root -p create flyspray
12
13
14
For PostgreSQL:
15
# createdb -U pgsql flyspray
16
13
2) Insert the following configuration into your Apache httpd.conf:
17
2) Insert the following configuration into your Apache httpd.conf:
14
18
15
	Alias "/flyspray/" "%%FLYSPRAYDIR%%/"
19
	Alias "/flyspray/" "%%FLYSPRAYDIR%%/"
Lines 41-48 Link Here
41
7) Report any bugs you find back to http://bugs.flyspray.org/ or the mailing
45
7) Report any bugs you find back to http://bugs.flyspray.org/ or the mailing
42
   list linked from the Flyspray homepage.
46
   list linked from the Flyspray homepage.
43
47
44
8) Note that this version of Flyspray does not support PostgreSQL.
45
46
Upgrading from previous versions of Flyspray
48
Upgrading from previous versions of Flyspray
47
============================================
49
============================================
48
50
Lines 50-57 Link Here
50
52
51
0) read %%DOCSDIR%%/UPGRADING.txt.
53
0) read %%DOCSDIR%%/UPGRADING.txt.
52
54
53
1) back up your old flyspray task database using "mysqldump".  No, really,
55
1) back up your old flyspray task database using "mysqldump" for mysql and
54
   you seriously run the risk of losing data if you don't do this.
56
   "pg_dump" for postgresql.  No, really, you seriously run the risk of 
57
   losing data if you don't do this.
55
58
56
2) save a copy of %%FLYSPRAYDIR%%/flyspray.conf.php before running
59
2) save a copy of %%FLYSPRAYDIR%%/flyspray.conf.php before running
57
   portupgrade.  This will need to be restored after you've upgraded the
60
   portupgrade.  This will need to be restored after you've upgraded the
(-)flyspray/pkg-deinstall (+3 lines)
Lines 9-14 Link Here
9
	echo ""
9
	echo ""
10
	echo "# rm -rf /var/db/flyspray"
10
	echo "# rm -rf /var/db/flyspray"
11
	echo "# mysqladmin -u root -p drop flyspray"
11
	echo "# mysqladmin -u root -p drop flyspray"
12
	echo "or"
13
	echo "# dropdb -U pgsql flyspray"
14
	echo "if you are using PostgreSQL backend"
12
	echo ""
15
	echo ""
13
	echo "Thanks for using Flyspray!"
16
	echo "Thanks for using Flyspray!"
14
	echo "--"
17
	echo "--"

Return to bug 154531