View | Details | Raw Unified | Return to bug 191456 | Differences between
and this patch

Collapse All | Expand All

(-)phpbb3/Makefile (-24 / +16 lines)
Lines 2-14 Link Here
2
# $FreeBSD: head/www/phpbb3/Makefile 364158 2014-08-06 09:11:57Z olgeni $
2
# $FreeBSD: head/www/phpbb3/Makefile 364158 2014-08-06 09:11:57Z olgeni $
3
3
4
PORTNAME=	phpbb
4
PORTNAME=	phpbb
5
PORTVERSION=	3.0.11
5
PORTVERSION=	3.0.12
6
CATEGORIES=	www
6
CATEGORIES=	www
7
MASTER_SITES=	https://www.phpbb.com/files/release/
7
MASTER_SITES=	https://www.phpbb.com/files/release/
8
DISTNAME=	phpBB-${PORTVERSION}
9
PKGNAMESUFFIX=	3
8
PKGNAMESUFFIX=	3
9
DISTNAME=	phpBB-${PORTVERSION}
10
10
11
MAINTAINER=	appleboy.tw@gmail.com
11
MAINTAINER=	coco@executive-computing.de
12
COMMENT=	PHP-based bulletin board / discussion forum system
12
COMMENT=	PHP-based bulletin board / discussion forum system
13
13
14
LICENSE=	GPLv2
14
LICENSE=	GPLv2
Lines 19-31 Link Here
19
USES=		tar:bzip2
19
USES=		tar:bzip2
20
USE_PHP=	yes
20
USE_PHP=	yes
21
21
22
# The phpBB3 port supports a number of variables that may be tweaked at build
22
OPTIONS_DEFINE=	DOCS
23
# time.  Perform a "make options" to see more information on these variables.
23
24
#
25
WWWDOCROOT?=	www
24
WWWDOCROOT?=	www
26
PHPBBURL?=	phpBB3
25
PHPBBURL?=	phpBB3
27
#
28
# End of user-configurable variables.
29
26
30
WRKSRC=		${WRKDIR}/phpBB3
27
WRKSRC=		${WRKDIR}/phpBB3
31
NO_BUILD=	yes
28
NO_BUILD=	yes
Lines 35-68 Link Here
35
32
36
PLIST_SUB+=	PHPBBDIR=${PHPBBDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
33
PLIST_SUB+=	PHPBBDIR=${PHPBBDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
37
34
38
# Set custom variables:
39
#
40
PHPBBDIR=	${WWWDOCROOT}/${PHPBBURL}
35
PHPBBDIR=	${WWWDOCROOT}/${PHPBBURL}
41
PKGOPTS=	${FILESDIR}/pkg-opts
36
PKGOPTS=	${FILESDIR}/pkg-opts
42
PORTDOCS=	*
37
38
.include <bsd.port.options.mk>
43
39
44
options:
40
options:
45
	@ ${ECHO_MSG} "===>  Build options for ${PKGNAME}:"
41
	@${ECHO_MSG} "===>  Build options for ${PKGNAME}:"
46
	@ ${CAT} ${PKGOPTS}
42
	@${CAT} ${PKGOPTS}
47
43
48
pre-everything::
44
pre-everything::
49
.if !defined(BATCH)
45
.if !defined(BATCH)
50
	@ ${TEST} -r ${PKGOPTS} && \
46
	@${TEST} -r ${PKGOPTS} && \
51
	  (${ECHO_MSG} '-------------------------------------------------------------------------'; \
47
	  (${ECHO_MSG} '-------------------------------------------------------------------------'; \
52
	   ${ECHO_MSG} 'Perform a "make options" to see a list of available installation options.'; \
48
	   ${ECHO_MSG} 'Perform a "make options" to see a list of available installation options.'; \
53
	   ${ECHO_MSG} '-------------------------------------------------------------------------')
49
	   ${ECHO_MSG} '-------------------------------------------------------------------------')
54
.endif
50
.endif
55
51
56
do-install:
52
do-install:
57
	@ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${PHPBBDIR} "! -name config.php"
53
.	if ${PORT_OPTIONS:MDOCS}
58
	@ ${TOUCH} ${STAGEDIR}${PREFIX}/${PHPBBDIR}/config.php.sample
54
		@${MKDIR} ${STAGEDIR}${DOCSDIR}
59
	@ ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${PHPBBDIR}
55
		@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
60
	@ ${CHMOD} -R 0755 ${STAGEDIR}${PREFIX}/${PHPBBDIR}
56
.	endif
61
	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
57
	@[ -f ${WRKSRC}/config.php ] && ${MV} ${WRKSRC}/config.php ${WRKSRC}/config.php.sample
62
		${PHPBBDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST}
58
	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${PHPBBDIR} "! -name config.php"
63
64
post-install:
65
	@ ${MKDIR} ${STAGEDIR}${DOCSDIR}
66
	@ cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
67
59
68
.include <bsd.port.mk>
60
.include <bsd.port.mk>
(-)phpbb3/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (phpBB-3.0.11.tar.bz2) = b8c40b8cad58a458442bf04cb2632e350a76e7fb688e2820f8afd92887e751f2
1
SHA256 (phpBB-3.0.12.tar.bz2) = 14f216807063017a0110c6b36f1e4c0131e0ba4c42322ec6be77392059a197a8
2
SIZE (phpBB-3.0.11.tar.bz2) = 1589870
2
SIZE (phpBB-3.0.12.tar.bz2) = 1600626
(-)phpbb3/files/pkg-message.in (-3 / +3 lines)
Lines 6-13 Link Here
6
PHP installation has been compiled with support for your database or
6
PHP installation has been compiled with support for your database or
7
database access method.  You have to create a database for phpBB3 to use,
7
database access method.  You have to create a database for phpBB3 to use,
8
and ensure that this database may be accessed and changed by the user id
8
and ensure that this database may be accessed and changed by the user id
9
under which your web server executes.  Further information on these
9
under which your web server executes.  If you chose to install the
10
installation procedures may be found in:
10
documentation, further information may be found in:
11
11
12
  %%DOCSDIR%%/README.html
12
  %%DOCSDIR%%/README.html
13
13
Lines 17-22 Link Here
17
  http://localhost/%%PHPBBURL%%/
17
  http://localhost/%%PHPBBURL%%/
18
18
19
After configuring phpBB3 and ensuring that it is operational, you MUST
19
After configuring phpBB3 and ensuring that it is operational, you MUST
20
remove or rename the install/ directory from %%PREFIX%%/%%PHPBBDIR%%:
20
remove or rename the install/ directory from %%PREFIX%%/%%PHPBBDIR%%.
21
21
22
----------------------------------------------------------------------------
22
----------------------------------------------------------------------------
(-)phpbb3/pkg-plist (-57 / +92 lines)
Lines 1-3 Link Here
1
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
2
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.html
3
%%PORTDOCS%%%%DOCSDIR%%/COPYING
4
%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
5
%%PORTDOCS%%%%DOCSDIR%%/INSTALL.html
6
%%PORTDOCS%%%%DOCSDIR%%/README.html
7
%%PORTDOCS%%%%DOCSDIR%%/auth_api.html
8
%%PORTDOCS%%%%DOCSDIR%%/bg_header.gif
9
%%PORTDOCS%%%%DOCSDIR%%/coding-guidelines.html
10
%%PORTDOCS%%%%DOCSDIR%%/corners_left.gif
11
%%PORTDOCS%%%%DOCSDIR%%/corners_left.png
12
%%PORTDOCS%%%%DOCSDIR%%/corners_right.gif
13
%%PORTDOCS%%%%DOCSDIR%%/corners_right.png
14
%%PORTDOCS%%%%DOCSDIR%%/hook_system.html
15
%%PORTDOCS%%%%DOCSDIR%%/lighttpd.sample.conf
16
%%PORTDOCS%%%%DOCSDIR%%/nginx.sample.conf
17
%%PORTDOCS%%%%DOCSDIR%%/site_logo.gif
18
%%PORTDOCS%%%%DOCSDIR%%/stylesheet.css
19
@group %%WWWGRP%%
20
@owner %%WWWOWN%%
21
@mode 0644
1
%%PHPBBDIR%%/.htaccess
22
%%PHPBBDIR%%/.htaccess
2
%%PHPBBDIR%%/adm/images/arrow_down.gif
23
%%PHPBBDIR%%/adm/images/arrow_down.gif
3
%%PHPBBDIR%%/adm/images/arrow_left.gif
24
%%PHPBBDIR%%/adm/images/arrow_left.gif
Lines 128-133 Link Here
128
%%PHPBBDIR%%/cache/.htaccess
149
%%PHPBBDIR%%/cache/.htaccess
129
%%PHPBBDIR%%/cache/index.htm
150
%%PHPBBDIR%%/cache/index.htm
130
%%PHPBBDIR%%/common.php
151
%%PHPBBDIR%%/common.php
152
%%PHPBBDIR%%/config.php.sample
131
%%PHPBBDIR%%/cron.php
153
%%PHPBBDIR%%/cron.php
132
%%PHPBBDIR%%/docs/AUTHORS
154
%%PHPBBDIR%%/docs/AUTHORS
133
%%PHPBBDIR%%/docs/CHANGELOG.html
155
%%PHPBBDIR%%/docs/CHANGELOG.html
Lines 329-334 Link Here
329
%%PHPBBDIR%%/includes/functions_compress.php
351
%%PHPBBDIR%%/includes/functions_compress.php
330
%%PHPBBDIR%%/includes/functions_content.php
352
%%PHPBBDIR%%/includes/functions_content.php
331
%%PHPBBDIR%%/includes/functions_convert.php
353
%%PHPBBDIR%%/includes/functions_convert.php
354
%%PHPBBDIR%%/includes/functions_database_helper.php
332
%%PHPBBDIR%%/includes/functions_display.php
355
%%PHPBBDIR%%/includes/functions_display.php
333
%%PHPBBDIR%%/includes/functions_install.php
356
%%PHPBBDIR%%/includes/functions_install.php
334
%%PHPBBDIR%%/includes/functions_jabber.php
357
%%PHPBBDIR%%/includes/functions_jabber.php
Lines 563-569 Link Here
563
%%PHPBBDIR%%/styles/prosilver/imageset/icon_contact_icq.gif
586
%%PHPBBDIR%%/styles/prosilver/imageset/icon_contact_icq.gif
564
%%PHPBBDIR%%/styles/prosilver/imageset/icon_contact_jabber.gif
587
%%PHPBBDIR%%/styles/prosilver/imageset/icon_contact_jabber.gif
565
%%PHPBBDIR%%/styles/prosilver/imageset/icon_contact_msnm.gif
588
%%PHPBBDIR%%/styles/prosilver/imageset/icon_contact_msnm.gif
566
%%PHPBBDIR%%/styles/prosilver/imageset/icon_contact_www.gif
589
%%PHPBBDIR%%/styles/prosilver/imageset/icon_contact_%%WWWOWN%%.gif
567
%%PHPBBDIR%%/styles/prosilver/imageset/icon_contact_yahoo.gif
590
%%PHPBBDIR%%/styles/prosilver/imageset/icon_contact_yahoo.gif
568
%%PHPBBDIR%%/styles/prosilver/imageset/icon_offline.gif
591
%%PHPBBDIR%%/styles/prosilver/imageset/icon_offline.gif
569
%%PHPBBDIR%%/styles/prosilver/imageset/icon_online.gif
592
%%PHPBBDIR%%/styles/prosilver/imageset/icon_online.gif
Lines 784-790 Link Here
784
%%PHPBBDIR%%/styles/subsilver2/imageset/en/icon_contact_jabber.gif
807
%%PHPBBDIR%%/styles/subsilver2/imageset/en/icon_contact_jabber.gif
785
%%PHPBBDIR%%/styles/subsilver2/imageset/en/icon_contact_msnm.gif
808
%%PHPBBDIR%%/styles/subsilver2/imageset/en/icon_contact_msnm.gif
786
%%PHPBBDIR%%/styles/subsilver2/imageset/en/icon_contact_pm.gif
809
%%PHPBBDIR%%/styles/subsilver2/imageset/en/icon_contact_pm.gif
787
%%PHPBBDIR%%/styles/subsilver2/imageset/en/icon_contact_www.gif
810
%%PHPBBDIR%%/styles/subsilver2/imageset/en/icon_contact_%%WWWOWN%%.gif
788
%%PHPBBDIR%%/styles/subsilver2/imageset/en/icon_contact_yahoo.gif
811
%%PHPBBDIR%%/styles/subsilver2/imageset/en/icon_contact_yahoo.gif
789
%%PHPBBDIR%%/styles/subsilver2/imageset/en/icon_post_delete.gif
812
%%PHPBBDIR%%/styles/subsilver2/imageset/en/icon_post_delete.gif
790
%%PHPBBDIR%%/styles/subsilver2/imageset/en/icon_post_edit.gif
813
%%PHPBBDIR%%/styles/subsilver2/imageset/en/icon_post_edit.gif
Lines 966-1027 Link Here
966
%%PHPBBDIR%%/viewonline.php
989
%%PHPBBDIR%%/viewonline.php
967
%%PHPBBDIR%%/viewtopic.php
990
%%PHPBBDIR%%/viewtopic.php
968
%%PHPBBDIR%%/web.config
991
%%PHPBBDIR%%/web.config
969
@sample %%PHPBBDIR%%/config.php.sample
992
@group
970
@dirrm %%PHPBBDIR%%/styles/subsilver2/theme/images
993
@owner
971
@dirrm %%PHPBBDIR%%/styles/subsilver2/theme
994
@mode 0755
972
@dirrm %%PHPBBDIR%%/styles/subsilver2/template
995
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
973
@dirrm %%PHPBBDIR%%/styles/subsilver2/imageset/en
996
@group %%WWWGRP%%
974
@dirrm %%PHPBBDIR%%/styles/subsilver2/imageset
997
@owner %%WWWOWN%%
975
@dirrm %%PHPBBDIR%%/styles/subsilver2
998
@mode 0755
976
@dirrm %%PHPBBDIR%%/styles/prosilver/theme/images
999
@dirrmtry %%PHPBBDIR%%/adm/images
977
@dirrm %%PHPBBDIR%%/styles/prosilver/theme
1000
@dirrmtry %%PHPBBDIR%%/adm/style
978
@dirrm %%PHPBBDIR%%/styles/prosilver/template
1001
@dirrmtry %%PHPBBDIR%%/adm
979
@dirrm %%PHPBBDIR%%/styles/prosilver/imageset/en
1002
@mode 0777
980
@dirrm %%PHPBBDIR%%/styles/prosilver/imageset
1003
@dirrmtry %%PHPBBDIR%%/cache
981
@dirrm %%PHPBBDIR%%/styles/prosilver
1004
@dirrmtry %%PHPBBDIR%%/docs
982
@dirrm %%PHPBBDIR%%/styles
1005
@mode 0755
983
@dirrm %%PHPBBDIR%%/store
1006
@dirrmtry %%PHPBBDIR%%/download
984
@dirrm %%PHPBBDIR%%/language/en/mods
1007
@mode 0777
985
@dirrm %%PHPBBDIR%%/language/en/email
1008
@dirrmtry %%PHPBBDIR%%/files
986
@dirrm %%PHPBBDIR%%/language/en/acp
1009
@mode 0755
987
@dirrm %%PHPBBDIR%%/language/en
988
@dirrm %%PHPBBDIR%%/language
989
@dirrm %%PHPBBDIR%%/install/schemas
990
@dirrm %%PHPBBDIR%%/install/convertors
991
@dirrm %%PHPBBDIR%%/install
992
@dirrm %%PHPBBDIR%%/includes/utf/data
993
@dirrm %%PHPBBDIR%%/includes/utf
994
@dirrm %%PHPBBDIR%%/includes/ucp/info
995
@dirrm %%PHPBBDIR%%/includes/ucp
996
@dirrm %%PHPBBDIR%%/includes/search
997
@dirrm %%PHPBBDIR%%/includes/questionnaire
998
@dirrm %%PHPBBDIR%%/includes/mcp/info
999
@dirrm %%PHPBBDIR%%/includes/mcp
1000
@dirrm %%PHPBBDIR%%/includes/hooks
1001
@dirrm %%PHPBBDIR%%/includes/diff
1002
@dirrm %%PHPBBDIR%%/includes/db
1003
@dirrm %%PHPBBDIR%%/includes/captcha/plugins
1004
@dirrm %%PHPBBDIR%%/includes/captcha
1005
@dirrm %%PHPBBDIR%%/includes/auth
1006
@dirrm %%PHPBBDIR%%/includes/acp/info
1007
@dirrm %%PHPBBDIR%%/includes/acp
1008
@dirrm %%PHPBBDIR%%/includes/acm
1009
@dirrm %%PHPBBDIR%%/includes
1010
@dirrmtry %%PHPBBDIR%%/images/upload_icons
1011
@dirrm %%PHPBBDIR%%/images/smilies
1012
@dirrm %%PHPBBDIR%%/images/ranks
1013
@dirrm %%PHPBBDIR%%/images/icons/smile
1014
@dirrm %%PHPBBDIR%%/images/icons/misc
1015
@dirrm %%PHPBBDIR%%/images/icons
1016
@dirrmtry %%PHPBBDIR%%/images/avatars/upload
1017
@dirrmtry %%PHPBBDIR%%/images/avatars/gallery
1010
@dirrmtry %%PHPBBDIR%%/images/avatars/gallery
1011
@mode 0777
1012
@dirrmtry %%PHPBBDIR%%/images/avatars/upload
1013
@mode 0755
1018
@dirrmtry %%PHPBBDIR%%/images/avatars
1014
@dirrmtry %%PHPBBDIR%%/images/avatars
1015
@dirrmtry %%PHPBBDIR%%/images/icons/misc
1016
@dirrmtry %%PHPBBDIR%%/images/icons/smile
1017
@dirrmtry %%PHPBBDIR%%/images/icons
1018
@dirrmtry %%PHPBBDIR%%/images/ranks
1019
@dirrmtry %%PHPBBDIR%%/images/smilies
1020
@dirrmtry %%PHPBBDIR%%/images/upload_icons
1019
@dirrmtry %%PHPBBDIR%%/images
1021
@dirrmtry %%PHPBBDIR%%/images
1020
@dirrm %%PHPBBDIR%%/files
1022
@dirrmtry %%PHPBBDIR%%/includes/acm
1021
@dirrm %%PHPBBDIR%%/download
1023
@dirrmtry %%PHPBBDIR%%/includes/acp/info
1022
@dirrm %%PHPBBDIR%%/docs
1024
@dirrmtry %%PHPBBDIR%%/includes/acp
1023
@dirrm %%PHPBBDIR%%/cache
1025
@dirrmtry %%PHPBBDIR%%/includes/auth
1024
@dirrm %%PHPBBDIR%%/adm/style
1026
@dirrmtry %%PHPBBDIR%%/includes/captcha/plugins
1025
@dirrm %%PHPBBDIR%%/adm/images
1027
@dirrmtry %%PHPBBDIR%%/includes/captcha
1026
@dirrm %%PHPBBDIR%%/adm
1028
@dirrmtry %%PHPBBDIR%%/includes/db
1029
@dirrmtry %%PHPBBDIR%%/includes/diff
1030
@dirrmtry %%PHPBBDIR%%/includes/hooks
1031
@dirrmtry %%PHPBBDIR%%/includes/mcp/info
1032
@dirrmtry %%PHPBBDIR%%/includes/mcp
1033
@dirrmtry %%PHPBBDIR%%/includes/questionnaire
1034
@dirrmtry %%PHPBBDIR%%/includes/search
1035
@dirrmtry %%PHPBBDIR%%/includes/ucp/info
1036
@dirrmtry %%PHPBBDIR%%/includes/ucp
1037
@dirrmtry %%PHPBBDIR%%/includes/utf/data
1038
@dirrmtry %%PHPBBDIR%%/includes/utf
1039
@dirrmtry %%PHPBBDIR%%/includes
1040
@dirrmtry %%PHPBBDIR%%/install/convertors
1041
@dirrmtry %%PHPBBDIR%%/install/schemas
1042
@dirrmtry %%PHPBBDIR%%/install
1043
@dirrmtry %%PHPBBDIR%%/language/en/acp
1044
@dirrmtry %%PHPBBDIR%%/language/en/email
1045
@dirrmtry %%PHPBBDIR%%/language/en/mods
1046
@dirrmtry %%PHPBBDIR%%/language/en
1047
@dirrmtry %%PHPBBDIR%%/language
1048
@dirrmtry %%PHPBBDIR%%/store
1049
@dirrmtry %%PHPBBDIR%%/styles/prosilver/imageset/en
1050
@dirrmtry %%PHPBBDIR%%/styles/prosilver/imageset
1051
@dirrmtry %%PHPBBDIR%%/styles/prosilver/template
1052
@dirrmtry %%PHPBBDIR%%/styles/prosilver/theme/images
1053
@dirrmtry %%PHPBBDIR%%/styles/prosilver/theme
1054
@dirrmtry %%PHPBBDIR%%/styles/prosilver
1055
@dirrmtry %%PHPBBDIR%%/styles/subsilver2/imageset/en
1056
@dirrmtry %%PHPBBDIR%%/styles/subsilver2/imageset
1057
@dirrmtry %%PHPBBDIR%%/styles/subsilver2/template
1058
@dirrmtry %%PHPBBDIR%%/styles/subsilver2/theme/images
1059
@dirrmtry %%PHPBBDIR%%/styles/subsilver2/theme
1060
@dirrmtry %%PHPBBDIR%%/styles/subsilver2
1061
@dirrmtry %%PHPBBDIR%%/styles
1027
@dirrmtry %%PHPBBDIR%%
1062
@dirrmtry %%PHPBBDIR%%

Return to bug 191456