pkgsrc/www/typo3_60/Makefile
taca 5487ee56d3 Update typo3_60 package to 6.0.12 (TYPO3 6.0.12).
- Fix multiple vulnerabilities in TYPO3 CMS:
	http://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2013-004/

2013-12-10  55ea17b                  [RELEASE] Release of TYPO3 6.0.12 (TYPO3 Release Team)
2013-12-10  c703d1d  #31206          [SECURITY] XSS in header link of all content elements (Anja Leichsenring)
2013-12-10  0f1e28b  #42772          [SECURITY] XSS in colorpicker wizard (Marcus Krause)
2013-12-10  1cbe889  #45043          [SECURITY] Prevent editor controlled hmac content (Franz G. Jahn)
2013-12-10  79f6850  #48691          [SECURITY] XSS in backend user adminstration (Marc Bastian Heinrichs)
2013-12-10  b22cbce  #41714          [SECURITY] Information Disclosure in Wizards (Helmut Hummel)
2013-12-10  e4134ae  #54099          [SECURITY] Fix open redirection in openid extension (Helmut Hummel)
2013-12-10  2fb0277  #48187          [SECURITY] feuser_adminLib.inc allows to set arbitrary fields (Anja Leichsenring)
2013-12-10  bd6095f  #36768          [SECURITY] XSS in be_layout wizard (Anja Leichsenring)
2013-12-10  872cf3d  #47086          [SECURITY] XSS in beuser VH (Anja Leichsenring)
2013-12-10  cb55c53  #54074          [SECURITY] Remove possible XSS from ActionController Error output (Anja Leichsenring)
2013-12-10  578cc80  #54073          [SECURITY] Unsafe unserialize of GET parameter in Add-Wizard (Steffen Ritter)
2013-12-02  9757d0c  #54124          [BUGFIX] ClientUtility does not detect Internet Explorer 11 (Stefan Neufeind)
2013-12-02  5bf7430  #54117          [BUGFIX] Add missing namespacing for calling GeneralUtility (Stefan Neufeind)
2013-11-29  30e1f41  #42651          [BUGFIX] ext:adodb Restrict connection wizard to admins (Christian Kuhn)
2013-12-10 15:21:30 +00:00

95 lines
3.1 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2013/12/10 15:21:30 taca Exp $
#
DISTNAME= ${TYPO3NAME}
PKGNAME= typo3-${VER}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=typo3/}
DISTFILES= ${TYPO3NAME}${EXTRACT_SUFX} ${SITESRC}${EXTRACT_SUFX}
MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://typo3.com/
COMMENT= The TYPO3 content management system, 6.0 based release
LICENSE= gnu-gpl-v2
DEPENDS+= ${PHP_PKG_PREFIX}-{mysql,pgsql}>=5.1.0:../../databases/php-mysql
DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=5.2.0:../../archivers/php-zlib/
DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.2.0:../../textproc/php-json
VER= 6.0.12
NO_BUILD= yes
USE_TOOLS+= bash:run pax
TYPO3NAME= typo3_src-${VER}
SITESRC= dummy-${VER}
WRKSRC= ${WRKDIR}/${DISTNAME}
# maybe resides in lang/php/phpversion.mk
REPLACE_INTERPRETER+= php
REPLACE.php.old= .*php[^ ]*
REPLACE.php.new= ${PREFIX}/bin/php
REPLACE_FILES.php= typo3/cli_dispatch.phpsh
TYPO3DATADIRS= fileadmin fileadmin/_temp_ fileadmin/user_upload \
typo3conf typo3conf/ext typo3conf/l10n typo3temp uploads \
uploads/media uploads/pics uploads/tf
BUILD_DEFS+= APACHE_GROUP
FILES_SUBST+= TYPO3DIR=${TYPO3DIR} SITEDIR=${SITEDIR}
MESSAGE_SUBST+= TYPO3DIR=${TYPO3DIR} SITEDIR=${SITEDIR}
PLIST_SUBST+= EGDIR=${EGDIR} SITEDIR=${SITEDIR} \
TYPO3DIR=${TYPO3DIR} TYPO3NAME=${TYPO3NAME:Q}
EGDIR= share/examples/typo3
INSTALLATION_DIRS+= ${EGDIR} ${TYPO3DIR}/${SITEDIR} ${TYPO3DIR}/${TYPO3NAME}
CONF_FILES_PERMS+= ${EGDIR}/LocalConfiguration.php \
${TYPO3DIR}/${SITEDIR}/typo3conf/LocalConfiguration.php \
${REAL_ROOT_USER} ${APACHE_GROUP} 0660
.for d in ${TYPO3DATADIRS}
OWN_DIRS_PERMS+= ${TYPO3DIR}/${SITEDIR}/${d} ${REAL_ROOT_USER} \
${APACHE_GROUP} 0770
CHECK_PERMS_SKIP+= ${TYPO3DIR}/${SITEDIR}/${d}
.endfor
REPLACE_INTERPRETER+= sh
REPLACE.sh.old= /bin/bash
REPLACE.sh.new= ${TOOLS_PATH.bash}
REPLACE_FILES.sh= typo3/contrib/flowplayer/plugins/flowplayer.captions/example/flvtool2-cuepoints.sh
SUBST_CLASSES+= conf
SUBST_FILES.conf+= ${WRKSRC}/t3lib/stddb/DefaultConfiguration.php
SUBST_SED.conf+= -e 's|@PREFIX@|${PREFIX}|g'
SUBST_SED.conf+= -e 's|@TYPO3DIR@|${TYPO3DIR}|g'
SUBST_SED.conf+= -e 's|@SITEDIR@|${SITEDIR}|g'
SUBST_STAGE.conf= post-configure
PRINT_PLIST_AWK+= /^${EGDIR:S|/|\\/|g}/ \
{ gsub(/${EGDIR:S|/|\\/|g}/, "$${EGDIR}") }
PRINT_PLIST_AWK+= /^${TYPO3DIR:S|/|\\/|g}\/${TYPO3NAME}/ \
{ gsub(/${TYPO3DIR:S|/|\\/|g}\/${TYPO3NAME}/, \
"$${TYPO3DIR}/$${TYPO3NAME}") }
PRINT_PLIST_AWK+= /^${TYPO3DIR:S|/|\\/|g}\/${SITEDIR}/ \
{ gsub(/${TYPO3DIR:S|/|\\/|g}\/${SITEDIR}/, \
"$${TYPO3DIR}/$${SITEDIR}") }
.include "../../mk/bsd.prefs.mk"
SITEDIR?= www
TYPO3DIR?= share/typo3
do-install:
cd ${WRKSRC} && ${FIND} . ! -type d -a \! -name '*.orig' -print | \
pax -rw ${DESTDIR}${PREFIX}/${TYPO3DIR}/${TYPO3NAME}
cd ${WRKDIR}/${SITESRC} && \
${FIND} . ! -type d -a \! -name '*.orig' -print | \
pax -rw ${DESTDIR}${PREFIX}/${TYPO3DIR}/${SITEDIR}
${RM} -f ${DESTDIR}${PREFIX}/${TYPO3DIR}/${SITEDIR}/typo3conf/LocalConfiguration.php
${INSTALL_DATA} ${WRKDIR}/${SITESRC}/typo3conf/LocalConfiguration.php \
${DESTDIR}${PREFIX}/${EGDIR}
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"