diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-09-30 05:06:59 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-09-30 05:06:59 +0000 |
commit | 242038b8ce49209dfc3bacf7f8a24b53349c179d (patch) | |
tree | b9175e31e48ea51d86e10a3613126e579dcae925 /www | |
parent | - Update to 1.70 (diff) |
- Fix security issue(Codeinjection in fetch.php)
- bump PORTREVISION
- Make portlint more happy.
PR: ports/103797
Submitted by: maintainer (chinsan)
Security: http://bugs.splitbrain.org/?do=details&id=926
Notes
Notes:
svn path=/head/; revision=174127
Diffstat (limited to 'www')
-rw-r--r-- | www/dokuwiki-devel/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/www/dokuwiki-devel/Makefile b/www/dokuwiki-devel/Makefile index e7b032a6605b..964726eadad6 100644 --- a/www/dokuwiki-devel/Makefile +++ b/www/dokuwiki-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= dokuwiki PORTVERSION= ${DIST_VER:S/${PORTNAME}//:S/-//g} +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://chinsan2.twbbs.org/distfiles/ \ ftp://chinsan2.twbbs.org/distfiles/ \ @@ -80,6 +81,9 @@ pre-everything:: .endif pre-patch: +# Fix http://bugs.splitbrain.org/?do=details&id=926 + @${REINPLACE_CMD} -e '25,26 s,=,= (int),' ${WRKSRC}/lib/exe/fetch.php + @${FIND} ${WRKSRC}/lib/exe -name "*.php.bak" -delete .if defined(WIKI_LANG) @${REINPLACE_CMD} -e 's|lang\(.*\)'en'|lang\1'${WIKI_LANG}'|g' \ ${WRKSRC}/conf/dokuwiki.php @@ -89,16 +93,6 @@ pre-patch: post-patch: @${TOUCH} ${WRKSRC}/data/changes.log -# This target is only meant to be used by the port maintainer. -x-generate-plist: - @make makesum - @make patch - @cd ${WRKSRC} && ${FIND} -s . -type f | \ - ${SED} -e 's|^./||;s|^|%%DOKUWIKI_DIR%%/|' > ${TEMP_PLIST} \ - && ${FIND} -d * -type d | \ - ${SED} -e 's|^|@dirrm %%DOKUWIKI_DIR%%/|' >> ${TEMP_PLIST} \ - && ${ECHO_CMD} "@dirrmtry %%DOKUWIKI_DIR%%" >> ${TEMP_PLIST} - do-install: # Data files -${MKDIR} ${PREFIX}/${DOKUWIKI_DIR} |