Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 2006 13:31:30 +0800 (CST)
From:      Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/104515: [MAINTAINER] www/wordpress-mu: update to 1.0
Message-ID:  <200610180531.k9I5VUwG019162@pluto.cdpa.nsysu.edu.tw>
Resent-Message-ID: <200610180540.k9I5eI6C067350@freefall.freebsd.org>

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

>Number:         104515
>Category:       ports
>Synopsis:       [MAINTAINER] www/wordpress-mu: update to 1.0
>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:   Wed Oct 18 05:40:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jin-Shan Tseng
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD Pluto.CDPA.nsysu.edu.tw 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Thu Oct 12 11:54:24 CST 2006
>Description:
- Update to 1.0

- This is the first stable release of WordPress Mu.

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

--- wordpress-mu-1.0,2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/wordpress-mu/Makefile /hd1/wordpress-mu/Makefile
--- /usr/ports/www/wordpress-mu/Makefile	Mon May 22 05:56:06 2006
+++ /hd1/wordpress-mu/Makefile	Wed Oct 18 13:15:36 2006
@@ -6,13 +6,12 @@
 #
 
 PORTNAME=	wordpress-mu
-PORTVERSION=	1.5.1.3
-PORTEPOCH=	1
+PORTVERSION=	1.0
+PORTEPOCH=	2
 CATEGORIES=	www
-MASTER_SITES=	http://ftp.twaren.net/local-distfiles/wpmu/ \
-		http://blogs.linux.ie/download/wpmu/ \
-		http://mu.wordpress.org/nightly-builds/
-DISTNAME=	wpmu-stable-${PORTVERSION:S/./_/g}
+MASTER_SITES=	http://blogs.linux.ie/download/wpmu/ \
+		http://ftp.twaren.net/local-distfiles/wpmu/
+DISTNAME=	wordpressmu-${PORTVERSION}
 
 MAINTAINER=	tjs@cdpa.nsysu.edu.tw
 COMMENT=	Multi-user version of the famous WordPress blogging application
@@ -20,35 +19,40 @@
 WRKSRC=		${WRKDIR}/${DISTNAME}
 
 USE_PHP=	mysql pcre xml
-NO_BUILD=	yes
-WANT_PHP_WEB=	yes
+NO_BUILD=	YES
+WANT_PHP_WEB=	YES
 WORDPRESSMU?=	www/data/wordpress-mu
 PLIST_SUB+=	WORDPRESSMU=${WORDPRESSMU}
 PLIST=		${WRKDIR}/pkg-plist
 
-PORTDOCS=	license.txt readme.html
+PORTDOCS=	license.txt README.txt
+
+pre-everything::
+	@${ECHO_CMD} "If you want to upgrade, you must read upgrade document."
+	@${ECHO_CMD} ""
+	@sleep 1
+
+pre-install:
+	cd ${WRKSRC} && ${FIND} -s * -type f | \
+		${SED} -e 's|^|${WORDPRESSMU}/|' > ${PLIST} \
+		&& ${FIND} -d * -type d | \
+		${SED} -e 's|^|@dirrm ${WORDPRESSMU}/|' >> ${PLIST} \
+		&& ${ECHO_CMD} @dirrm ${WORDPRESSMU} >> ${PLIST} \
+		&& ${ECHO_CMD} @dirrmtry www/data >> ${PLIST}
 
 do-install:
 	@${MKDIR} ${PREFIX}/${WORDPRESSMU}
-	@${CHOWN} www:www ${PREFIX}/${WORDPRESSMU}
+	@${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${WORDPRESSMU}
 	@${CHMOD} 755 ${PREFIX}/${WORDPRESSMU}
 	@${CP} -R ${WRKSRC}/ ${PREFIX}/${WORDPRESSMU}
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 .for i in ${PORTDOCS}
-	@${INSTALL_DATA} ${WRKSRC}/wp-inst/${i} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
 .endfor
 .endif
 
-pre-install:
-	cd ${WRKSRC} && ${FIND} -s * -type f | \
-		${SED} -e 's|^|${WORDPRESSMU}/|' > ${PLIST} \
-		&& ${FIND} -d * -type d | \
-	${SED} -e 's|^|@dirrm ${WORDPRESSMU}/|' >> ${PLIST} \
-		&& ${ECHO_CMD} @dirrm ${WORDPRESSMU} >> ${PLIST} \
-		&& ${ECHO_CMD} @dirrmtry www/data >> ${PLIST}
-
 post-install:
-	${CAT} ${PKGMESSAGE}
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/www/wordpress-mu/distinfo /hd1/wordpress-mu/distinfo
--- /usr/ports/www/wordpress-mu/distinfo	Tue Jan 24 11:14:17 2006
+++ /hd1/wordpress-mu/distinfo	Wed Oct 18 11:15:18 2006
@@ -1,3 +1,3 @@
-MD5 (wpmu-stable-1_5_1_3.tar.gz) = b06ea062f722abe67e557f7e5a7c3960
-SHA256 (wpmu-stable-1_5_1_3.tar.gz) = 22af2a62573511d7e7241274ea6f13335c066c529efd410032e20fa94c640f53
-SIZE (wpmu-stable-1_5_1_3.tar.gz) = 598643
+MD5 (wordpressmu-1.0.tar.gz) = d682b6273de7cae6f7ede4f80ae8f64f
+SHA256 (wordpressmu-1.0.tar.gz) = ae68a67b35ba0b820f8dd7eaadc25a36ab7a7c24fb964c0c9db888344470cd26
+SIZE (wordpressmu-1.0.tar.gz) = 752871
diff -ruN --exclude=CVS /usr/ports/www/wordpress-mu/pkg-message /hd1/wordpress-mu/pkg-message
--- /usr/ports/www/wordpress-mu/pkg-message	Fri Feb 25 15:42:44 2005
+++ /hd1/wordpress-mu/pkg-message	Wed Oct 18 13:19:17 2006
@@ -1,7 +1,6 @@
-       @${ECHO_MSG}
-       @${ECHO_MSG} "          **** NOTE ****"
-       @${ECHO_MSG} "Before the first use of WordPress-MU, copy wp-inst/wp-config-sample.php to wp-inst/wp-config.php"
-       @${ECHO_MSG} "in ${PREFIX}/${WORDPRESSMU}/wp-inst/"
-       @${ECHO_MSG} "And Modify it to fit your MySQL."
-       @${ECHO_MSG} "Maybe you need 'mysqladmin create wordpress' first"
-       @${ECHO_MSG}
+
+                  **** NOTE ****
+        Before the first use of WordPress MU, copy wp-config-sample.php to wp-config.php
+        in ${PREFIX}/${WORDPRESSMU}
+        And Modify it to fit your MySQL.
+        Maybe you need 'mysqladmin create wordpressmu' first
--- wordpress-mu-1.0,2.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?200610180531.k9I5VUwG019162>