This release fixed remote code execution problem, http://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2011-004/. 2011-12-16 5a45350 [RELEASE] Release of TYPO3 4.6.2 (TYPO3 v4 Release Team) 2011-12-16 18bb20b [TASK] Raise submodule pointer (TYPO3 v4 Release Team) 2011-12-16 4394475 #29899 [BUGFIX] RTE not loading in IE when content css file does not exist (Stanislas Rolland) 2011-12-14 19cf831 #30851 [TASK] Add CSS Class to special input types in FORM (Ingo Pfennigstorf) 2011-12-11 a36bd66 #19278 [BUGFIX] Install Tool shows internal MySQL databases (Mario Rimann) 2011-12-11 a14f4f1 #32433 [BUGFIX] Disabled ImageMagick throws Exception (Markus Klein) 2011-12-07 62d5c2b #32075 [TASK] Integrate system extension linkvalidator as submodule (Oliver Hader) 2011-12-07 67665b4 #22231 [BUGFIX] Add possibility to use Wizards->Suggest in FlexForms (Tolleiv Nietsch) 2011-12-05 4a948c9 #30631 [BUGFIX] RTE doesn't allow to create links around images in IE8 (Stanislas Rolland) 2011-11-29 3ffa430 #32040 [BUGFIX][SECURITY] XSS vulnerability in BE-User Admin module (Marco Bresch) 2011-11-26 f701338 #32025 [BUGFIX] Respect linkVars for generating the cHash (Helmut Hummel) 2011-11-24 4cffee7 #31290 [BUGFIX] Core calls deprecated ADMCMD_preview() (Markus Klein) 2011-11-22 5f8a929 [TASK] Set TYPO3 version to 4.6.2-dev (TYPO3 v4 Release Team)
97 lines
2.9 KiB
Makefile
97 lines
2.9 KiB
Makefile
# $NetBSD: Makefile,v 1.2 2011/12/16 11:29:41 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, 4.6 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
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
VER= 4.6.2
|
|
NO_BUILD= yes
|
|
USE_TOOLS= 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
|
|
|
|
TYPO3DATADIR= 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:Q} SITEDIR=${SITEDIR:Q}
|
|
PLIST_SUBST+= EGDIR=${EGDIR:Q} SITEDIR=${SITEDIR:Q} \
|
|
TYPO3DIR=${TYPO3DIR:Q} TYPO3NAME=${TYPO3NAME:Q}
|
|
|
|
EGDIR= share/examples/typo3
|
|
|
|
INSTALLATION_DIRS+= ${EGDIR} ${TYPO3DIR}/${SITEDIR} ${TYPO3DIR}/${TYPO3NAME}
|
|
|
|
CONF_FILES_PERMS+= ${EGDIR}/localconf.php \
|
|
${TYPO3DIR}/${SITEDIR}/typo3conf/localconf.php \
|
|
${REAL_ROOT_USER} ${APACHE_GROUP} 0660
|
|
|
|
.for d in ${TYPO3DATADIR}
|
|
OWN_DIRS_PERMS+= ${TYPO3DIR}/${SITEDIR}/${d} ${REAL_ROOT_USER} \
|
|
${APACHE_GROUP} 0770
|
|
CHECK_PERMS_SKIP+= ${TYPO3DIR}/${SITEDIR}/${d}
|
|
.endfor
|
|
|
|
SUBST_CLASSES+= conf
|
|
SUBST_FILES.conf+= ${WRKDIR}/README
|
|
SUBST_FILES.conf+= ${WRKSRC}/t3lib/config_default.php
|
|
SUBST_SED.conf+= -e 's|@PREFIX@|${PREFIX:Q}|g'
|
|
SUBST_SED.conf+= -e 's|@TYPO3DIR@|${TYPO3DIR:Q}|g'
|
|
SUBST_SED.conf+= -e 's|@SITEDIR@|${SITEDIR:Q}|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
|
|
|
|
post-extract:
|
|
${CP} ${FILESDIR}/README ${WRKDIR}
|
|
|
|
pre-install:
|
|
${FIND} ${WRKSRC:Q} -name "*.orig*" -exec ${RM} -f {} \;
|
|
|
|
do-install:
|
|
cd ${WRKSRC}; \
|
|
pax -rw . ${DESTDIR}${PREFIX}/${TYPO3DIR}/${TYPO3NAME}
|
|
cd ${WRKDIR}/${SITESRC}; \
|
|
pax -rw . ${DESTDIR}${PREFIX}/${TYPO3DIR}/${SITEDIR}
|
|
${RM} -f ${DESTDIR}${PREFIX}/${TYPO3DIR}/${SITEDIR}/typo3conf/localconf.php
|
|
${INSTALL_DATA} ${WRKDIR}/${SITESRC}/typo3conf/localconf.php \
|
|
${DESTDIR}${PREFIX}/${EGDIR}
|
|
|
|
.include "../../lang/php/phpversion.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|