diff options
author | clsung <clsung@FreeBSD.org> | 2006-09-30 13:06:59 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2006-09-30 13:06:59 +0800 |
commit | 13f4269610f6796383403233ea4f0cb4f40f1016 (patch) | |
tree | 0220680f8ca9bd6823b640394c4ee08724cf4efb | |
parent | d6ff9f4b2a0b58fed191f88efce51f9ef38e6ac6 (diff) | |
download | freebsd-ports-gnome-13f4269610f6796383403233ea4f0cb4f40f1016.tar.gz freebsd-ports-gnome-13f4269610f6796383403233ea4f0cb4f40f1016.tar.zst freebsd-ports-gnome-13f4269610f6796383403233ea4f0cb4f40f1016.zip |
- 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
-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} |