Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  2 Feb 2006 19:59:43 +0800 (CST)
From:      chinsan <chinsan.tw@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        vanilla@FreeBSD.org
Subject:   ports/92734: [MAINTAINER] chinese/phpbb-tw: update to 2.0.19
Message-ID:  <20060202115943.E00F4F519E1@chinsan.twbbs.org>
Resent-Message-ID: <200602021200.k12C0TL6074538@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         92734
>Category:       ports
>Synopsis:       [MAINTAINER] chinese/phpbb-tw: update to 2.0.19
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 02 12:00:28 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     chinsan
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD chinsan.twbbs.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Jan  9 00:28:33 CST
>Description:
- Update to 2.0.19

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- phpbb-tw-2.0.19.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/phpbb-tw/Makefile /usr/home/chinsan/project/phpbb-tw/Makefile
--- /usr/ports/chinese/phpbb-tw/Makefile	Sat Dec 10 03:24:25 2005
+++ /usr/home/chinsan/project/phpbb-tw/Makefile	Thu Feb  2 19:44:12 2006
@@ -6,12 +6,10 @@
 #
 
 PORTNAME=	phpbb
-PORTVERSION=	2.0.18
+PORTVERSION=	2.0.19
 CATEGORIES=	chinese www
-MASTER_SITES=	ftp://bbs.ilc.edu.tw/chinsan/distfiles/ \
-		http://bbs.ilc.edu.tw/~chinsan/ports/phpbb/ \
-		ftp://news.giga.net.tw/chinsan/distfiles/ \
-		http://phpbb-tw.net/phpbb/download/
+MASTER_SITES=	http://chinsan2.twbbs.org/distfiles/ \
+		ftp://chinsan2.twbbs.org/distfiles/
 PKGNAMESUFFIX=	-tw
 DISTNAME=	phpBB-${PORTVERSION}
 
@@ -22,13 +20,18 @@
 
 CONFLICTS=	phpbb-[0-9]*
 
-USE_ZIP=	yes
+# Get HOSTNAME
+.if exists(/sbin/sysctl)
+HOSTNAME!=	/sbin/sysctl -n kern.hostname
+.else
+HOSTNAME!=	/usr/sbin/sysctl -n kern.hostname
+.endif
 
 # 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
-PHPBBURL?=	phpBB2
+PHPBB_URL?=	phpBB2
 WWWOWN?=	www
 WWWGRP?=	www
 #
@@ -40,7 +43,7 @@
 NO_BUILD=	yes
 USE_REINPLACE=	yes
 SUB_FILES=	pkg-message
-SUB_LIST=	PHPBBURL="${PHPBBURL}" \
+SUB_LIST=	PHPBB_URL="${PHPBB_URL}" \
 		PHPBBDIR="${PHPBBDIR}" \
 		DELETEFILES="${EXCEPTFILES}"
 PHPBB_VER=	${PORTVERSION:S/.//g:S/.//g}
@@ -49,7 +52,7 @@
 
 # Set custom variables:
 #
-PHPBBDIR=	${WWWDOCROOT}/${PHPBBURL}
+PHPBBDIR=	${WWWDOCROOT}/${PHPBB_URL}
 PKGOPTS=	${FILESDIR}/pkg-opts
 EXCEPTFILES=	${PREFIX}/${PHPBBDIR}/install/install.php \
 		${PREFIX}/${PHPBBDIR}/install/upgrade.php \
@@ -68,7 +71,7 @@
 .endif
 
 post-patch:
-	@ ${REINPLACE_CMD} -e "s#\.\./templates#/${PHPBBURL}/templates#" \
+	@ ${REINPLACE_CMD} -e "s#\.\./templates#/${PHPBB_URL}/templates#" \
 	  ${WRKSRC}/docs/*.html
 	@${RM} -f `${FIND} ${WRKSRC} -name '*.orig'`
 
@@ -92,7 +95,8 @@
 	@ cd ${WRKSRC}/docs && ${FIND} * -type f -maxdepth 0 \! -name \*.bak \
 	  \! -name COPYING -exec ${INSTALL_DATA} {} ${DOCSDIR} \;
 .if !defined(BATCH)
-	@ ${CAT} ${PKGMESSAGE}
+	@${SED} -e 's|%%HOSTNAME%%|${HOSTNAME}|; s|%%PHPBB_URL%%|${PHPBB_URL}|' \
+		${PKGMESSAGE}
 .endif
 .endif
 
diff -ruN --exclude=CVS /usr/ports/chinese/phpbb-tw/distinfo /usr/home/chinsan/project/phpbb-tw/distinfo
--- /usr/ports/chinese/phpbb-tw/distinfo	Tue Nov 15 00:07:15 2005
+++ /usr/home/chinsan/project/phpbb-tw/distinfo	Thu Feb  2 19:22:55 2006
@@ -1,3 +1,3 @@
-MD5 (phpBB-2.0.18.zip) = 58e119dbf057aaaf46e9716fdefe89ba
-SHA256 (phpBB-2.0.18.zip) = 2e155b985dfa9582b9c37b29af1a9863b5b2a879684a76d76c3938f2c58c0017
-SIZE (phpBB-2.0.18.zip) = 746724
+MD5 (phpBB-2.0.19.tar.gz) = 264fb61192aeb5b9bc7d15785908d53f
+SHA256 (phpBB-2.0.19.tar.gz) = 4143b404534c8eddf256dba7aaf33c5326cff8584afd4652916fdb710dfdc229
+SIZE (phpBB-2.0.19.tar.gz) = 647038
diff -ruN --exclude=CVS /usr/ports/chinese/phpbb-tw/files/pkg-message.in /usr/home/chinsan/project/phpbb-tw/files/pkg-message.in
--- /usr/ports/chinese/phpbb-tw/files/pkg-message.in	Tue Nov 15 00:07:16 2005
+++ /usr/home/chinsan/project/phpbb-tw/files/pkg-message.in	Thu Feb  2 19:49:23 2006
@@ -11,16 +11,18 @@
 
   %%DOCSDIR%%/README.html
 
+
 Once these steps have been taken, you may connect to the following URL to
 configure your installation of phpBB2:
 
-  http://localhost/%%PHPBBURL%%/
+  http://%%HOSTNAME%%/%%PHPBB_URL%%
+
+
+After configuring phpBB2 and ensuring that it is operational, you **MUST**
+delete the following files manually for security purposes:
 
-After configuring phpBB2 and ensuring that it is operational, you MUST
-delete the following files manually for security purposes from
-%%PREFIX%%/%%PHPBBDIR%%:
+  # rm -rf %%PREFIX%%/%%PHPBBDIR%%/install
 
-  %%DELETEFILES%%
 
 Duplicates of these files have been installed to %%DATADIR%%.
 %%DATADIR%%/contrib contains contributed software for phpBB2.
diff -ruN --exclude=CVS /usr/ports/chinese/phpbb-tw/files/pkg-opts /usr/home/chinsan/project/phpbb-tw/files/pkg-opts
--- /usr/ports/chinese/phpbb-tw/files/pkg-opts	Tue Nov 15 00:07:16 2005
+++ /usr/home/chinsan/project/phpbb-tw/files/pkg-opts	Thu Feb  2 19:30:16 2006
@@ -2,11 +2,11 @@
 * WWWDOCROOT [www/data]
   The DocumentRoot of your webserver under ${PREFIX}
 
-* PHPBBURL [phpBB2]
+* PHPBB_URL [phpBB2]
   The base URL of phpBB2 on your webserver
 
-    phpBB2 will be installed under ${PREFIX}/${WWWDOCROOT}/${PHPBBURL},
-    and will be visible as http://<hostname>/${PHPBBURL}/
+    phpBB2 will be installed under ${PREFIX}/${WWWDOCROOT}/${PHPBB_URL},
+    and will be visible as http://<hostname>/${PHPBB_URL}/
 
 * WWWOWN [www]
   The user ID under which your webserver executes
diff -ruN --exclude=CVS /usr/ports/chinese/phpbb-tw/pkg-plist /usr/home/chinsan/project/phpbb-tw/pkg-plist
--- /usr/ports/chinese/phpbb-tw/pkg-plist	Wed Feb  1 22:28:34 2006
+++ /usr/home/chinsan/project/phpbb-tw/pkg-plist	Thu Feb  2 19:22:55 2006
@@ -50,6 +50,7 @@
 %%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
@@ -89,6 +90,8 @@
 %%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
@@ -167,8 +170,10 @@
 %%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
@@ -209,6 +214,7 @@
 %%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
@@ -217,6 +223,7 @@
 %%PHPBBDIR%%/templates/subSilver/groupcp_info_body.tpl
 %%PHPBBDIR%%/templates/subSilver/groupcp_pending_info.tpl
 %%PHPBBDIR%%/templates/subSilver/groupcp_user_body.tpl
+%%PHPBBDIR%%/templates/subSilver/images/Thumbs.db
 %%PHPBBDIR%%/templates/subSilver/images/cellpic.gif
 %%PHPBBDIR%%/templates/subSilver/images/cellpic1.gif
 %%PHPBBDIR%%/templates/subSilver/images/cellpic2.jpg
@@ -266,6 +273,7 @@
 %%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/Thumbs.db
 %%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
@@ -324,6 +332,7 @@
 %%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
--- phpbb-tw-2.0.19.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060202115943.E00F4F519E1>