pkgsrc/www/typo3_45/Makefile
taca 635efc85ca Update typo3_45 to 4.5.17 (TYPO3 4.5.17).
Fix XSS in swfupload.

2012-07-04  acf7796                  [RELEASE] Release of TYPO3 4.5.17 (TYPO3 Release Team)
2012-07-04  4356de4  #38578          [SECURITY] XSS in swfupload (Oliver Hader)
2012-07-04  d5cb5fb  #35154          [BUGFIX] Exclude E_STRICT from exceptionalErrors (Mario Rimann)
2012-07-04  4cca68b  #37615          [BUGFIX] IRRE records can't be expanded without an hidden field (Oliver Hader)
2012-07-04  5fd49b5  #29254          [BUGFIX] TSFE->additionalFooterData for USER_INT (Oliver Hader)
2012-07-03  15847d2  #38574          [BUGFIX] In IE9, RTE does not work correctly in compat modes IE8/IE7 (Stanislas Rolland)
2012-07-03  9a1c36c  #34786          [BUGFIX] Custom HTML tags no longer malformed in IE (Bart Dubelaar)
2012-07-01  8ea1408  #38511          [BUGFIX] Remove a rather dubious unit test for Redis cache backend (Christian Kuhn)
2012-06-30  353ab74  #38501          [BUGFIX]  Fix unit test failure if gif compress is disabled (Susanne Moog)
2012-06-30  74701ef  #35915          [BUGFIX] VariableFrontend initializeObject not called (Daniel Pötzinger)
2012-06-30  2cc2efb  #37618          [BUGFIX] Remove class of td if "No CSS styles for this table" is set (Juergen Furrer)
2012-06-30  364926e  #36290          [BUGFIX] Markers (%s) are not replaced in TCEmain error messages (Bart Dubelaar)
2012-06-29  880f256  #38357          [TASK] Add travis configuration file (Helmut Hummel)
2012-06-29  027a9b3  #36093          [BUGFIX] Reports: Wrong indication for saltedpasswords (Markus Klein)
2012-06-28  885d256  #37541          [BUGFIX] Declaration of tx_rtehtmlarea_base::drawRTE() not compatible (Stanislas Rolland)
2012-06-28  50b5136  #34303          [BUGFIX] IRRE hide/unhide broken (dkd-egerer Sascha Egerer)
2012-06-28  6918eda  #34685          [TASK] PHP 5.4 adjustments (Markus Klein)
2012-06-28  1f7ebfd  #36194          [BUGFIX] Ensure $output is used as string (Peter Niederlag)
2012-06-27  7366511  #32773          [BUGFIX] fe_adminLib.inc uses undefined function (Sven Burkert)
2012-06-27  b82dfa5                  [TASK] Raise submodule pointer (TYPO3 Release Team)
2012-06-21  3f3c200  #36300          [BUGFIX] Properly load existing usergroups in task (Bart Dubelaar)
2012-06-13  1e97470  #35944          [BUGFIX] Hide the field "Selected Pages" for menu type "Sitemap" (Marco Huber)
2012-05-30  bbc55bf  #21943          [BUGFIX] redirect to referrer when changing password (Jigal van Hemert)
2012-05-28  1c43954  #37553          BUGFIX] Illegal string offset (Jigal van Hemert)
2012-07-05 14:21:36 +00:00

97 lines
2.9 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2012/07/05 14:21:36 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 LTS 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.5.17
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
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}
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}/localconf.php \
${TYPO3DIR}/${SITEDIR}/typo3conf/localconf.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
SUBST_CLASSES+= conf
SUBST_FILES.conf+= ${WRKDIR}/README
SUBST_FILES.conf+= ${WRKSRC}/t3lib/config_default.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
post-extract:
${CP} ${FILESDIR}/README ${WRKDIR}
pre-install:
${FIND} ${WRKSRC} -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"