summaryrefslogtreecommitdiff
path: root/www/typo3/Makefile
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2008-11-13 13:28:37 +0000
committertaca <taca@pkgsrc.org>2008-11-13 13:28:37 +0000
commit978b98b8ddd86e67bcd37dcaef9279cab669ee2f (patch)
tree78b1636296cf2e01b345dc2a7d4b1a59a7d83a72 /www/typo3/Makefile
parentea2eb9e32cbefba815b93f12ee7d5f552a482183 (diff)
downloadpkgsrc-978b98b8ddd86e67bcd37dcaef9279cab669ee2f.tar.gz
Update TYPO3 package to 4.2.3.
Initially it was simply bug fix release and please refer the URL for full changes: http://wiki.typo3.org/TYPO3_4.2.3. And now, it found out that two Cross Site Scripting (XSS) problem was fixed by this release. Regarding the issue in backend module "file": TYPO3 Security Bulletin TYPO3-20081113-1: Cross-Site Scripting vulnerability in TYPO3 Core <http://typo3.org/teams/security/security-bulletins/typo3-20081113-1/> Regarding the issue in system extension "felogin": TYPO3 Security Bulletin TYPO3-20081113-2: Cross-Site Scripting vulnerability in TYPO3 Core <http://typo3.org/teams/security/security-bulletins/typo3-20081113-2/>
Diffstat (limited to 'www/typo3/Makefile')
-rw-r--r--www/typo3/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/www/typo3/Makefile b/www/typo3/Makefile
index 699865cff8f..8afdfb15f32 100644
--- a/www/typo3/Makefile
+++ b/www/typo3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2008/10/12 06:41:39 taca Exp $
+# $NetBSD: Makefile,v 1.8 2008/11/13 13:28:37 taca Exp $
#
DISTNAME= ${TYPO3NAME}
@@ -16,7 +16,7 @@ DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=5.2.0:../../archivers/php-zlib/
PKG_DESTDIR_SUPPORT= destdir
-VER= 4.2.2
+VER= 4.2.3
NO_BUILD= yes
USE_TOOLS= pax
@@ -84,6 +84,12 @@ PRINT_PLIST_AWK+= /^@dirrm ${TYPO3DIR:S|/|\\/|g}\/${SITEDIR}/ \
SITEDIR?= www
TYPO3DIR?= share/typo3
+.if !empty(CHECK_FILES:M[yY][eE][sS])
+PAX_KEEP= -pm
+.else
+PAX_KEEP=
+.endif
+
post-extract:
${CP} ${FILESDIR}/README ${WRKDIR}
@@ -91,9 +97,10 @@ pre-install:
${FIND} ${WRKSRC:Q} -name "*.orig*" -exec ${RM} -f {} \;
do-install:
- cd ${WRKSRC}; pax -rw . ${DESTDIR}${PREFIX}/${TYPO3DIR}/${TYPO3NAME}
+ cd ${WRKSRC}; \
+ pax -rw ${PAX_KEEP} . ${DESTDIR}${PREFIX}/${TYPO3DIR}/${TYPO3NAME}
cd ${WRKDIR}/${SITESRC}; \
- pax -rw . ${DESTDIR}${PREFIX}/${TYPO3DIR}/${SITEDIR}
+ pax -rw ${PAX_KEEP} . ${DESTDIR}${PREFIX}/${TYPO3DIR}/${SITEDIR}
${RM} -f ${DESTDIR}${PREFIX}/${TYPO3DIR}/${SITEDIR}/typo3conf/localconf.php
${INSTALL_DATA} ${WRKDIR}/${SITESRC}/typo3conf/localconf.php \
${DESTDIR}${PREFIX}/${EGDIR}