diff options
author | Kenji Takefu <takefu@airport.fm> | 2022-01-05 08:35:11 -0800 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2022-01-05 22:25:32 -0800 |
commit | c44d822e8d558b399cfc0428a6f68fa3e9a217c6 (patch) | |
tree | feaaa38b14dfa97b80e6c1258bc265bb94cd48d9 /chinese/wordpress-zh_TW | |
parent | security/vuxml: Document django multiple vulnerabilities. (diff) |
*/wordpress*: Update to 5.8.2
For all languages:
Make the port portlint(1),portclippy(1) compliant.
For www,french,german,japanese,russian:
Fix pkg-message.in to only show upgrade message when upgrading.
For www,zh_CN,zh_TW,french,german:
Use do-install-DOCS-on for documentation.
For zh_CN,zh_TW:
Add CPE information
PR: 260013
Approved by: maintainer timeout
Diffstat (limited to '')
-rw-r--r-- | chinese/wordpress-zh_TW/Makefile | 25 | ||||
-rw-r--r-- | chinese/wordpress-zh_TW/distinfo | 6 |
2 files changed, 14 insertions, 17 deletions
diff --git a/chinese/wordpress-zh_TW/Makefile b/chinese/wordpress-zh_TW/Makefile index d646b29ac260..d76e0f5f0f81 100644 --- a/chinese/wordpress-zh_TW/Makefile +++ b/chinese/wordpress-zh_TW/Makefile @@ -1,10 +1,10 @@ # Created by: Joe Horn <joehorn@gmail.com> PORTNAME= wordpress -PORTVERSION= 5.8 +DISTVERSION= 5.8.2 DISTVERSIONSUFFIX= -zh_TW CATEGORIES= chinese www -MASTER_SITES= http://tw.wordpress.org/ +MASTER_SITES= https://tw.wordpress.org/ PKGNAMESUFFIX= -zh_TW MAINTAINER= joneum@FreeBSD.org @@ -13,25 +13,22 @@ COMMENT= State-of-the-art semantic personal publishing platform LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/license.txt -BROKEN= fails to fetch (checksum mismatch) - -WRKSRC= ${WRKDIR}/${PORTNAME} +RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick@${PHP_FLAVOR} -USES= php:web +USES= cpe php:web +.if ${DISTVERSION:N*.*.*} +CPE_VERSION= ${DISTVERSION}.0 +.endif USE_PHP= curl exif fileinfo ftp gd hash json mysqli pcre tokenizer xml zip zlib -RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick@${PHP_FLAVOR} +WWWDIR= ${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX} NO_ARCH= yes NO_BUILD= yes - +SUB_FILES= pkg-message +WRKSRC= ${WRKDIR}/${PORTNAME} PLIST= ${WRKDIR}/pkg-plist -WWWDIR= ${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX} - PORTDOCS= readme.html - OPTIONS_DEFINE= DOCS -SUB_FILES= pkg-message - pre-everything:: @${ECHO_CMD} "If you want to upgrade, you must read upgrade document." @${ECHO_CMD} "" @@ -49,7 +46,7 @@ pre-install: ${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi do-install: - ${MKDIR} ${STAGEDIR}${WWWDIR}/ + ${INSTALL} -d -m 755 ${STAGEDIR}${WWWDIR}/ ${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/ ${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w {} \; diff --git a/chinese/wordpress-zh_TW/distinfo b/chinese/wordpress-zh_TW/distinfo index c5f0713ebaf7..9f666ccba2be 100644 --- a/chinese/wordpress-zh_TW/distinfo +++ b/chinese/wordpress-zh_TW/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1630346342 -SHA256 (wordpress-5.8-zh_TW.tar.gz) = 234935e3ce8c1dd11f653295bad9e286b5565bf9046dcc8fe48b0bd01e1cdfc6 -SIZE (wordpress-5.8-zh_TW.tar.gz) = 15807108 +TIMESTAMP = 1637737231 +SHA256 (wordpress-5.8.2-zh_TW.tar.gz) = 42261c2801a9c07af1de570438c92d4fcf16833297cfff8d9a152bb4f6779c48 +SIZE (wordpress-5.8.2-zh_TW.tar.gz) = 15824994 |