ports/167219: [MAINTAINER] japanese/wordpress: update to 3.3.2 and german/wordpress update 3.3.2
Takefu
takefu at airport.fm
Wed May 23 13:38:17 UTC 2012
Minor fix.
- change fileowner and group
-------------- next part --------------
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-05-23 21:17:19.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}" CHMOD="${CHMOD}"\
+ 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-05-23 21:22:50.000000000 +0900
@@ -0,0 +1,12 @@
+#!/bin/sh
+case $2 in
+ PRE-INSTALL)
+ ;;
+ POST-INSTALL)
+ %%CHOWN%% -R %%WWWOWN%% %%WWWDIR%%/wp-content
+ %%FIND%% %%WWWDIR%% -type d -print | xargs %%CHGRP%% %%WWWGRP%%
+ %%FIND%% %%WWWDIR%% -type d -print | xargs %%CHMOD%% g+w
+ ;;
+ *)
+ ;;
+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
-------------- next part --------------
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-05-23 19:02:41.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}" CHMOD="${CHMOD}"\
+ 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-05-23 21:22:35.000000000 +0900
@@ -0,0 +1,12 @@
+#!/bin/sh
+case $2 in
+ PRE-INSTALL)
+ ;;
+ POST-INSTALL)
+ %%CHOWN%% -R %%WWWOWN%% %%WWWDIR%%/wp-content
+ %%FIND%% %%WWWDIR%% -type d -print | xargs %%CHGRP%% %%WWWGRP%%
+ %%FIND%% %%WWWDIR%% -type d -print | xargs %%CHMOD%% g+w
+ ;;
+ *)
+ ;;
+esac
More information about the freebsd-ports-bugs
mailing list