aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorchinsan <chinsan@FreeBSD.org>2008-08-08 22:17:31 +0800
committerchinsan <chinsan@FreeBSD.org>2008-08-08 22:17:31 +0800
commit4d1623f2a12003b0d42661662b69d077b9261d47 (patch)
treeb317c26d6daf6a4feed76fafe4be4b2af4a3f1f7 /chinese
parent2e1fc6e5f1d9ff3f891fd56d5cd1d621d6f7094b (diff)
downloadfreebsd-ports-gnome-4d1623f2a12003b0d42661662b69d077b9261d47.tar.gz
freebsd-ports-gnome-4d1623f2a12003b0d42661662b69d077b9261d47.tar.zst
freebsd-ports-gnome-4d1623f2a12003b0d42661662b69d077b9261d47.zip
- Update to 2.0.23
- Use standard $WWWDIR PR: ports/125950 Submitted by: appleboy <appleboy.tw at gmail.com> Approved by: maintainer (me)
Diffstat (limited to 'chinese')
-rw-r--r--chinese/phpbb-tw/Makefile7
-rw-r--r--chinese/phpbb-tw/distinfo6
-rw-r--r--chinese/phpbb-tw/files/pkg-message.in15
-rw-r--r--chinese/phpbb-tw/files/pkg-opts2
-rw-r--r--chinese/phpbb-tw/pkg-plist93
5 files changed, 44 insertions, 79 deletions
diff --git a/chinese/phpbb-tw/Makefile b/chinese/phpbb-tw/Makefile
index 5feb88a81068..9a3dcfe49938 100644
--- a/chinese/phpbb-tw/Makefile
+++ b/chinese/phpbb-tw/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= phpbb
-PORTVERSION= 2.0.21
+PORTVERSION= 2.0.23
CATEGORIES= chinese www
-MASTER_SITES= LOCAL/chinsan
+MASTER_SITES= LOCAL/chinsan/php/ \
+ http://freebsd.ee.ccu.edu.tw/
PKGNAMESUFFIX= -tw
DISTNAME= phpBB-tw-${PORTVERSION}
@@ -30,7 +31,7 @@ HOSTNAME!= /usr/sbin/sysctl -n kern.hostname
# The phpBB2 port supports a number of variables that may be tweaked at build
# time. Perform a "make options" to see more information on these variables.
#
-WWWDOCROOT?= www/data
+WWWDOCROOT?= www
PHPBB_URL?= phpBB2
#
# End of user-configurable variables.
diff --git a/chinese/phpbb-tw/distinfo b/chinese/phpbb-tw/distinfo
index 0636f6accb47..e3f0e8be7227 100644
--- a/chinese/phpbb-tw/distinfo
+++ b/chinese/phpbb-tw/distinfo
@@ -1,3 +1,3 @@
-MD5 (phpBB-tw-2.0.21.tar.gz) = d8189b577925125e1fc4206d68203b7a
-SHA256 (phpBB-tw-2.0.21.tar.gz) = 221e9e76480fd059eb2d4cc56600f591a54d992a4b821002d6a8ce29400260fc
-SIZE (phpBB-tw-2.0.21.tar.gz) = 620058
+MD5 (phpBB-tw-2.0.23.tar.gz) = a3f6c899a08f41b7c892d8473ad277cc
+SHA256 (phpBB-tw-2.0.23.tar.gz) = ed5da82dd7e372806dbf7afbb57d5f7d3e5d23eae1911b8b119bda6fc3bea561
+SIZE (phpBB-tw-2.0.23.tar.gz) = 536701
diff --git a/chinese/phpbb-tw/files/pkg-message.in b/chinese/phpbb-tw/files/pkg-message.in
index bfb1ff3b4820..4fc2846da443 100644
--- a/chinese/phpbb-tw/files/pkg-message.in
+++ b/chinese/phpbb-tw/files/pkg-message.in
@@ -17,6 +17,21 @@ configure your installation of phpBB2:
http://%%HOSTNAME%%/%%PHPBB_URL%%
+To make phpBB available through your web site, I suggest
+that you add something like the following to httpd.conf:
+
+ Alias /%%PHPBB_URL%%/ "%%PREFIX%%/%%PHPBBDIR%%/"
+
+ <Directory "%%PREFIX%%/%%PHPBBDIR%%/">
+ Options none
+ AllowOverride Limit
+
+ Order Deny,Allow
+ Deny from All
+ Allow from All
+ </Directory>
+
+
After configuring phpBB2 and ensuring that it is operational, you **MUST**
delete the following files manually for security purposes:
diff --git a/chinese/phpbb-tw/files/pkg-opts b/chinese/phpbb-tw/files/pkg-opts
index d454edbd0d08..d3ed446fcc27 100644
--- a/chinese/phpbb-tw/files/pkg-opts
+++ b/chinese/phpbb-tw/files/pkg-opts
@@ -1,5 +1,5 @@
-* WWWDOCROOT [www/data]
+* WWWDOCROOT [www]
The DocumentRoot of your webserver under ${PREFIX}
* PHPBB_URL [phpBB2]
diff --git a/chinese/phpbb-tw/pkg-plist b/chinese/phpbb-tw/pkg-plist
index 28c37a640499..815dc694f2eb 100644
--- a/chinese/phpbb-tw/pkg-plist
+++ b/chinese/phpbb-tw/pkg-plist
@@ -1,4 +1,3 @@
-@unexec [ -s %D/%%PHPBBDIR%%/config.php ] || rm -f %D/%%PHPBBDIR%%/config.php
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.html
%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
@@ -36,6 +35,7 @@
%%PHPBBDIR%%/cache/.htaccess
%%PHPBBDIR%%/cache/index.htm
%%PHPBBDIR%%/common.php
+%%PHPBBDIR%%/config.php
%%PHPBBDIR%%/db/db2.php
%%PHPBBDIR%%/db/index.htm
%%PHPBBDIR%%/db/msaccess.php
@@ -50,7 +50,6 @@
%%PHPBBDIR%%/images/avatars/gallery/index.htm
%%PHPBBDIR%%/images/avatars/index.htm
%%PHPBBDIR%%/images/index.htm
-%%PHPBBDIR%%/images/rss.gif
%%PHPBBDIR%%/images/smiles/icon_arrow.gif
%%PHPBBDIR%%/images/smiles/icon_biggrin.gif
%%PHPBBDIR%%/images/smiles/icon_confused.gif
@@ -90,8 +89,6 @@
%%PHPBBDIR%%/includes/page_header.php
%%PHPBBDIR%%/includes/page_tail.php
%%PHPBBDIR%%/includes/prune.php
-%%PHPBBDIR%%/includes/rss_config.php
-%%PHPBBDIR%%/includes/rss_functions.php
%%PHPBBDIR%%/includes/sessions.php
%%PHPBBDIR%%/includes/smtp.php
%%PHPBBDIR%%/includes/sql_parse.php
@@ -118,27 +115,6 @@
%%PHPBBDIR%%/install/update_to_latest.php
%%PHPBBDIR%%/install/upgrade.php
%%PHPBBDIR%%/language/index.htm
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/email/admin_activate.tpl
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/email/admin_send_email.tpl
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/email/admin_welcome_activated.tpl
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/email/admin_welcome_inactive.tpl
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/email/coppa_welcome_inactive.tpl
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/email/group_added.tpl
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/email/group_approved.tpl
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/email/group_request.tpl
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/email/index.htm
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/email/privmsg_notify.tpl
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/email/profile_send_email.tpl
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/email/topic_notify.tpl
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/email/user_activate.tpl
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/email/user_activate_passwd.tpl
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/email/user_welcome.tpl
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/email/user_welcome_inactive.tpl
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/index.htm
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/lang_admin.php
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/lang_bbcode.php
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/lang_faq.php
-%%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/lang_main.php
%%PHPBBDIR%%/language/lang_english/email/admin_activate.tpl
%%PHPBBDIR%%/language/lang_english/email/admin_send_email.tpl
%%PHPBBDIR%%/language/lang_english/email/admin_welcome_activated.tpl
@@ -168,10 +144,8 @@
%%PHPBBDIR%%/posting.php
%%PHPBBDIR%%/privmsg.php
%%PHPBBDIR%%/profile.php
-%%PHPBBDIR%%/rss.php
%%PHPBBDIR%%/search.php
%%PHPBBDIR%%/templates/index.htm
-%%PHPBBDIR%%/templates/rss.xsl
%%PHPBBDIR%%/templates/subSilver/admin/admin_message_body.tpl
%%PHPBBDIR%%/templates/subSilver/admin/auth_forum_body.tpl
%%PHPBBDIR%%/templates/subSilver/admin/auth_select_body.tpl
@@ -213,7 +187,6 @@
%%PHPBBDIR%%/templates/subSilver/admin/words_edit_body.tpl
%%PHPBBDIR%%/templates/subSilver/admin/words_list_body.tpl
%%PHPBBDIR%%/templates/subSilver/agreement.tpl
-%%PHPBBDIR%%/templates/subSilver/atom_body.tpl
%%PHPBBDIR%%/templates/subSilver/bbcode.tpl
%%PHPBBDIR%%/templates/subSilver/confirm_body.tpl
%%PHPBBDIR%%/templates/subSilver/error_body.tpl
@@ -254,22 +227,6 @@
%%PHPBBDIR%%/templates/subSilver/images/icon_minipost_new.gif
%%PHPBBDIR%%/templates/subSilver/images/icon_newest_reply.gif
%%PHPBBDIR%%/templates/subSilver/images/index.htm
-%%PHPBBDIR%%/templates/subSilver/images/lang_chinese_traditional_taiwan/icon_aim.gif
-%%PHPBBDIR%%/templates/subSilver/images/lang_chinese_traditional_taiwan/icon_edit.gif
-%%PHPBBDIR%%/templates/subSilver/images/lang_chinese_traditional_taiwan/icon_email.gif
-%%PHPBBDIR%%/templates/subSilver/images/lang_chinese_traditional_taiwan/icon_icq_add.gif
-%%PHPBBDIR%%/templates/subSilver/images/lang_chinese_traditional_taiwan/icon_ip.gif
-%%PHPBBDIR%%/templates/subSilver/images/lang_chinese_traditional_taiwan/icon_msnm.gif
-%%PHPBBDIR%%/templates/subSilver/images/lang_chinese_traditional_taiwan/icon_pm.gif
-%%PHPBBDIR%%/templates/subSilver/images/lang_chinese_traditional_taiwan/icon_profile.gif
-%%PHPBBDIR%%/templates/subSilver/images/lang_chinese_traditional_taiwan/icon_quote.gif
-%%PHPBBDIR%%/templates/subSilver/images/lang_chinese_traditional_taiwan/icon_search.gif
-%%PHPBBDIR%%/templates/subSilver/images/lang_chinese_traditional_taiwan/icon_www.gif
-%%PHPBBDIR%%/templates/subSilver/images/lang_chinese_traditional_taiwan/icon_yim.gif
-%%PHPBBDIR%%/templates/subSilver/images/lang_chinese_traditional_taiwan/msg_newpost.gif
-%%PHPBBDIR%%/templates/subSilver/images/lang_chinese_traditional_taiwan/post.gif
-%%PHPBBDIR%%/templates/subSilver/images/lang_chinese_traditional_taiwan/reply-locked.gif
-%%PHPBBDIR%%/templates/subSilver/images/lang_chinese_traditional_taiwan/reply.gif
%%PHPBBDIR%%/templates/subSilver/images/lang_english/icon_aim.gif
%%PHPBBDIR%%/templates/subSilver/images/lang_english/icon_edit.gif
%%PHPBBDIR%%/templates/subSilver/images/lang_english/icon_email.gif
@@ -328,7 +285,6 @@
%%PHPBBDIR%%/templates/subSilver/profile_send_email.tpl
%%PHPBBDIR%%/templates/subSilver/profile_send_pass.tpl
%%PHPBBDIR%%/templates/subSilver/profile_view_body.tpl
-%%PHPBBDIR%%/templates/subSilver/rss_body.tpl
%%PHPBBDIR%%/templates/subSilver/search_body.tpl
%%PHPBBDIR%%/templates/subSilver/search_results_posts.tpl
%%PHPBBDIR%%/templates/subSilver/search_results_topics.tpl
@@ -346,33 +302,26 @@
%%PHPBBDIR%%/viewforum.php
%%PHPBBDIR%%/viewonline.php
%%PHPBBDIR%%/viewtopic.php
-@exec touch %B/config.php
-@exec chown -R %%WWWOWN%%:%%WWWGRP%% %B
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrmtry share/doc
-@dirrm %%DATADIR%%/contrib
-@dirrm %%DATADIR%%
-@dirrm %%PHPBBDIR%%/admin
-@dirrm %%PHPBBDIR%%/cache
-@dirrm %%PHPBBDIR%%/db
-@dirrm %%PHPBBDIR%%/images/smiles
-@dirrmtry %%PHPBBDIR%%/images/avatars/gallery
-@dirrmtry %%PHPBBDIR%%/images/avatars/upload
-@dirrmtry %%PHPBBDIR%%/images/avatars
-@dirrmtry %%PHPBBDIR%%/images
-@dirrm %%PHPBBDIR%%/includes
-@dirrm %%PHPBBDIR%%/install/schemas
-@dirrm %%PHPBBDIR%%/install
-@dirrm %%PHPBBDIR%%/language/lang_chinese_traditional_taiwan/email
-@dirrm %%PHPBBDIR%%/language/lang_chinese_traditional_taiwan
+@dirrm %%PHPBBDIR%%/templates/subSilver/images/lang_english
+@dirrm %%PHPBBDIR%%/templates/subSilver/images
+@dirrm %%PHPBBDIR%%/templates/subSilver/admin
+@dirrm %%PHPBBDIR%%/templates/subSilver
+@dirrm %%PHPBBDIR%%/templates
@dirrm %%PHPBBDIR%%/language/lang_english/email
@dirrm %%PHPBBDIR%%/language/lang_english
-@dirrmtry %%PHPBBDIR%%/language
-@dirrm %%PHPBBDIR%%/templates/subSilver/admin
-@dirrm %%PHPBBDIR%%/templates/subSilver/images/lang_chinese_traditional_taiwan/
-@dirrm %%PHPBBDIR%%/templates/subSilver/images/lang_english
-@dirrmtry %%PHPBBDIR%%/templates/subSilver/images
-@dirrmtry %%PHPBBDIR%%/templates/subSilver
-@dirrmtry %%PHPBBDIR%%/templates
-@dirrmtry %%PHPBBDIR%% || echo "Note: %D/%%PHPBBDIR%% not empty -- not deleted!"
-@dirrmtry www/data
+@dirrm %%PHPBBDIR%%/language
+@dirrm %%PHPBBDIR%%/install/schemas
+@dirrm %%PHPBBDIR%%/install
+@dirrm %%PHPBBDIR%%/includes
+@dirrm %%PHPBBDIR%%/images/smiles
+@dirrm %%PHPBBDIR%%/images/avatars/gallery
+@dirrm %%PHPBBDIR%%/images/avatars
+@dirrm %%PHPBBDIR%%/images
+@dirrm %%PHPBBDIR%%/db
+@dirrm %%PHPBBDIR%%/cache
+@dirrm %%PHPBBDIR%%/admin
+@dirrm %%PHPBBDIR%%
+@dirrm %%DATADIR%%/contrib
+@dirrm %%DATADIR%%
+@dirrm %%PORTDOCS%%%%DOCSDIR%%