Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2012 13:32:35 +0900
From:      Takefu <takefu@airport.fm>
To:        freebsd-gnats-submit@FreeBSD.org
Cc:        miwi@FreeBSD.org
Subject:   ports/167219: [MAINTAINER] japanese/wordpress: update to 3.3.2 and german/wordpress update 3.3.2
Message-ID:  <4F94DB63.1070808@airport.fm>
Resent-Message-ID: <201204230440.q3N4eAKj051903@freefall.freebsd.org>

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

>Number:         167219
>Category:       ports
>Synopsis:       [MAINTAINER] japanese/wordpress: update to 3.3.2 and german/wordpress update 3.3.2
>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:   Mon Apr 23 04:40:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Takefu
>Release:        FreeBSD 8.2-RELEASE-p5 amd64
>Organization:
FOX Amateur Radio Club
>Environment:
>Description:
japanese/wordpress
- Update to 3.3.2
- add conflict list
  change file ownership to www wp-content directory

german/wordpress
- Update to 3.3.2
  change file ownership to www wp-content directory

Port maintainer (miwi@FreeBSD.org) is cc'd.
>How-To-Repeat:
>Fix:
--- japanese/wordpress.patch begins here ---
diff -ruN /usr/ports/japanese/wordpress/Makefile japanese/wordpress/Makefile
--- /usr/ports/japanese/wordpress/Makefile	2012-01-09 16:42:45.000000000 +0900
+++ japanese/wordpress/Makefile	2012-04-23 09:20:47.000000000 +0900
@@ -6,7 +6,7 @@
 #

 PORTNAME=	wordpress
-PORTVERSION=	3.3.1
+PORTVERSION=	3.3.2
 CATEGORIES=	japanese www
 MASTER_SITES=	http://ja.wordpress.org/
 PKGNAMESUFFIX=	-ja
@@ -18,14 +18,17 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/license.txt

-CONFLICTS_INSTALL=	wordpress-3.* de-wordpress-de-3.* ru-wordpress-ru-3.*
+CONFLICTS_INSTALL=	wordpress-3.* de-wordpress-de-3.* ru-wordpress-ru-3.*\
+			zh-wordpress-zh_CN-3.* zh-wordpress-zh_TW-3.*

 NO_BUILD=	yes
 USE_PHP=	curl gd mysql pcre tokenizer xml zip
 WANT_PHP_WEB=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}

-SUB_FILES=	pkg-message
+SUB_FILES=	pkg-message pkg-install
+SUB_LIST=	CHGRP="${CHGRP}" CHOWN="${CHOWN}" FIND="${FIND}"\
+		WWWGRP="${WWWGRP}" WWWOWN="${WWWOWN}"
 PLIST=		${WRKDIR}/pkg-plist
 PORTDOCS=	license.txt readme.html

@@ -50,6 +53,7 @@
 .endif

 post-install:
+	@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
 	@${CAT} ${PKGMESSAGE}

 .include <bsd.port.mk>
diff -ruN /usr/ports/japanese/wordpress/distinfo japanese/wordpress/distinfo
--- /usr/ports/japanese/wordpress/distinfo	2012-01-09 16:42:45.000000000 +0900
+++ japanese/wordpress/distinfo	2012-04-23 08:19:38.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (wordpress-3.3.1-ja.tar.gz) = 1a662f81609e5a3b3ecdfcab4ee01f838471e2c9389e19f949f3a7d4bdd32dd0
-SIZE (wordpress-3.3.1-ja.tar.gz) = 4317205
+SHA256 (wordpress-3.3.2-ja.tar.gz) = 27f11b63fcd4563d2dd207a20de7d5a275a19c0818db164f9588b53be16c0d1b
+SIZE (wordpress-3.3.2-ja.tar.gz) = 4321986
diff -ruN /usr/ports/japanese/wordpress/files/pkg-install.in japanese/wordpress/files/pkg-install.in
--- /usr/ports/japanese/wordpress/files/pkg-install.in	1970-01-01 09:00:00.000000000 +0900
+++ japanese/wordpress/files/pkg-install.in	2012-04-11 11:40:47.000000000 +0900
@@ -0,0 +1,11 @@
+#!/bin/sh
+case $2 in
+	PRE-INSTALL)
+		;;
+	POST-INSTALL)
+		%%CHOWN%% -R %%WWWOWN%% %%WWWDIR%%/wp-content
+		%%FIND%% %%WWWDIR%% -type d -execdir %%CHGRP%% %%WWWGRP%% {} \;
+		;;
+	*)
+	;;
+esac
--- japanese/wordpress.patch ends here ---

--- german/wordpress.patch begins here ---
diff -ruN /usr/ports/german/wordpress/Makefile german/wordpress/Makefile
--- /usr/ports/german/wordpress/Makefile	2012-01-17 09:45:59.000000000 +0900
+++ german/wordpress/Makefile	2012-04-23 12:45:20.000000000 +0900
@@ -7,7 +7,7 @@
 #

 PORTNAME=	wordpress
-PORTVERSION=	3.3.1
+PORTVERSION=	3.3.2
 CATEGORIES=	german www
 MASTER_SITES=	http://static.wordpress-deutschland.org/de-edition/
 PKGNAMESUFFIX=	-de
@@ -22,12 +22,15 @@
 CONFLICTS_INSTALL=	wordpress-3.* ja-wordpress-ja-3.* \
 			zh-wordpress-zh_CN-3.* zh-wordpress-zh_TW-3.* \
 			ru-wordpress-ru-3.*
-USE_ZIP=	yes
+EXTRACT_SUFX:=	.zip
 NO_BUILD=	yes
 USE_PHP=	curl gd mysql pcre tokenizer xml zip
 WANT_PHP_WEB=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}

+SUB_FILES=	pkg-message pkg-install
+SUB_LIST=	CHGRP="${CHGRP}" CHOWN="${CHOWN}" FIND="${FIND}"\
+		WWWGRP="${WWWGRP}" WWWOWN="${WWWOWN}"
 PLIST=		${WRKDIR}/pkg-plist
 PORTDOCS=	license.txt readme.html

@@ -52,6 +55,7 @@
 .endif

 post-install:
+	@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
 	@${CAT} ${PKGMESSAGE}

 .include <bsd.port.mk>
diff -ruN /usr/ports/german/wordpress/distinfo german/wordpress/distinfo
--- /usr/ports/german/wordpress/distinfo	2012-01-17 09:45:59.000000000 +0900
+++ german/wordpress/distinfo	2012-04-23 09:19:30.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (wordpress_331-de.zip) = 89d0d65d09ea6c374c9a107e82ddd54faa323e6476ca0d8a8b4fe7bcc9a31f2c
-SIZE (wordpress_331-de.zip) = 4678868
+SHA256 (wordpress_332-de.zip) = 8be1b15de26dcb4af1c68cdbc301e21ed0a88838d649576df6b47a93a46e9558
+SIZE (wordpress_332-de.zip) = 4681616
diff -ruN /usr/ports/german/wordpress/files/pkg-install.in german/wordpress/files/pkg-install.in
--- /usr/ports/german/wordpress/files/pkg-install.in	1970-01-01 09:00:00.000000000 +0900
+++ german/wordpress/files/pkg-install.in	2012-04-11 11:40:47.000000000 +0900
@@ -0,0 +1,11 @@
+#!/bin/sh
+case $2 in
+	PRE-INSTALL)
+		;;
+	POST-INSTALL)
+		%%CHOWN%% -R %%WWWOWN%% %%WWWDIR%%/wp-content
+		%%FIND%% %%WWWDIR%% -type d -execdir %%CHGRP%% %%WWWGRP%% {} \;
+		;;
+	*)
+	;;
+esac
diff -ruN /usr/ports/german/wordpress/files/pkg-message.in german/wordpress/files/pkg-message.in
--- /usr/ports/german/wordpress/files/pkg-message.in	1970-01-01 09:00:00.000000000 +0900
+++ german/wordpress/files/pkg-message.in	2011-10-16 14:24:10.000000000 +0900
@@ -0,0 +1,6 @@
+                  **** NOTE ****
+Before the first use of WordPress, copy wp-config-sample.php to wp-config.php
+in %%WWWDIR%% and modify it to fit your MySQL.
+Maybe you need 'mysqladmin create wordpress' first.
+If you are upgrading from 1.x or 2.x to 3.x, please run
+http://your.site/wordpress/wp-admin/upgrade.php to upgrade to WordPress 3.x
diff -ruN /usr/ports/german/wordpress/pkg-message german/wordpress/pkg-message
--- /usr/ports/german/wordpress/pkg-message	2011-01-05 09:35:01.000000000 +0900
+++ german/wordpress/pkg-message	1970-01-01 09:00:00.000000000 +0900
@@ -1,6 +0,0 @@
-                  **** NOTE ****
-Before the first use of WordPress, copy wp-config-sample.php to wp-config.php
-in ${WWWDIR} and modify it to fit your MySQL.
-Maybe you need 'mysqladmin create wordpress' first.
-If you are upgrading from 1.x or 2.x to 3.x, please run
-http://your.site/wordpress/wp-admin/upgrade.php to upgrade to WordPress 3.x
--- german/wordpress.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?4F94DB63.1070808>