mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
ac22a002c2
- some small Makefile cleanups - add vuxml entry Vulnerability Types: Cross-Site Scripting, Remote Code Execution Overall Severity: Critical Vulnerable subcomponent: Third Party Libraries used for audio and video playback Affected Versions: All versions from 4.5.0 up to the development branch of 6.2 Vulnerability Type: Cross-Site Scripting Severity: Medium Vulnerable subcomponent: Backend File Upload / File Abstraction Layer Vulnerability Type: Remote Code Execution by arbitrary file creation Affected Versions: All versions from 6.0.0 up to the development branch of 6.2 Severity: Critical PR: ports/180951 ports/180952 ports/180953 Submitted by: Helmut Ritter <freebsd-ports@charlieroot.de> (maintainer) Security: http://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2013-002/ CVE-2011-3642 CVE-2013-1464
75 lines
1.8 KiB
Makefile
75 lines
1.8 KiB
Makefile
# Created by: Gerrit Beine <tux@pinguru.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= typo3
|
|
PORTVERSION= 4.5.29
|
|
CATEGORIES= www
|
|
MASTER_SITES= SF/${PORTNAME}/TYPO3%20Source%20and%20Dummy/TYPO3%20${PORTVERSION}
|
|
|
|
MAINTAINER= freebsd-ports@charlieroot.de
|
|
COMMENT= The typo3 content management system
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LATEST_LINK= ${PKGBASE}${TYPO3RELEASE}
|
|
NO_BUILD= yes
|
|
USE_PHP= ctype filter json mysql pcre session xml
|
|
WANT_PHP_WEB= yes
|
|
|
|
TYPO3WWW= www
|
|
TYPO3RELEASE= 45
|
|
TYPO3SITE= ${TYPO3WWW}/${PORTNAME}-${TYPO3RELEASE}
|
|
TYPO3PKG= ${PORTNAME}-${PORTVERSION}
|
|
TYPO3SRC= ${PORTNAME}_src-${PORTVERSION}
|
|
TYPO3DUMMY= dummy-${PORTVERSION}
|
|
|
|
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
|
|
|
|
DISTFILES+= ${TYPO3SRC}${EXTRACT_SUFX} ${TYPO3DUMMY}${EXTRACT_SUFX}
|
|
|
|
OPTIONS_DEFINE= CURL GD IMAGICK MBSTRING ZLIB
|
|
GD_DESC= GDlib/freetype support
|
|
IMAGICK_DESC= ${IMAGEMAGICK_DESC}
|
|
MBSTRING_DESC= ${MULTIBYTE_DESC}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MCURL}
|
|
USE_PHP+= curl
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MGD}
|
|
USE_PHP+= gd
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MIMAGICK}
|
|
.if ${PORT_OPTIONS:MX11}
|
|
RUN_DEPENDS+= ${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick
|
|
.else
|
|
RUN_DEPENDS+= ${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick-nox11
|
|
.endif
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MMBSTRING}
|
|
USE_PHP+= mbstring
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MZLIB}
|
|
USE_PHP+= zlib
|
|
.endif
|
|
|
|
pre-install:
|
|
${MV} ${WRKDIR}/${TYPO3DUMMY}/typo3conf/localconf.php \
|
|
${WRKDIR}/${TYPO3DUMMY}/typo3conf/localconf.php.dist
|
|
|
|
do-install:
|
|
${CP} -R ${WRKDIR}/${TYPO3DUMMY}/ ${PREFIX}/${TYPO3SITE}
|
|
${CP} -R ${WRKDIR}/${TYPO3SRC} ${PREFIX}/${TYPO3WWW}
|
|
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TYPO3SITE}
|
|
${RM} ${PREFIX}/${TYPO3SITE}/typo3_src && \
|
|
cd ${PREFIX}/${TYPO3SITE} && \
|
|
${LN} -s ../${TYPO3SRC} typo3_src
|
|
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TYPO3WWW}/${TYPO3SRC}
|
|
|
|
.include <bsd.port.mk>
|